:root {
    --cj-navy-950: #071b2f;
    --cj-navy-900: #0d2742;
    --cj-navy-800: #12395f;
    --cj-blue-700: #155a96;
    --cj-blue-600: #1b6eb7;
    --cj-blue-100: #eaf3fb;
    --cj-gold: #c8a452;

    --cj-text: #172433;
    --cj-muted: #5c6b79;
    --cj-border: #dce4eb;
    --cj-surface: #ffffff;
    --cj-surface-soft: #f5f8fa;
    --cj-bg: #eef3f6;

    --cj-danger: #a92d2d;

    --cj-radius-sm: 6px;
    --cj-radius: 10px;
    --cj-radius-lg: 16px;

    --cj-shadow:
        0 12px 35px rgba(7, 27, 47, 0.08);

    --cj-shadow-lg:
        0 20px 60px rgba(7, 27, 47, 0.14);

    --site-width: 1380px;
}


/* ==========================================================
   RESET
   ========================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--cj-text);
    background: var(--cj-surface);
    font-family:
        Inter,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--cj-blue-700);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

a:hover {
    color: var(--cj-navy-900);
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

.site-width {
    width: min(
        calc(100% - 48px),
        var(--site-width)
    );
    margin-inline: auto;
}

.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.skip-link {
    position: fixed;
    z-index: 99999;
    top: 10px;
    left: 10px;
    padding: 12px 18px;
    color: #fff;
    background: var(--cj-navy-950);
    border-radius: var(--cj-radius-sm);
    transform: translateY(-150%);
}

.skip-link:focus {
    transform: none;
}


/* ==========================================================
   TOP BAR
   ========================================================== */

.institution-bar {
    color: #dfeaf3;
    background: var(--cj-navy-900);
    font-size: 0.82rem;
}

.institution-bar__inner {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.institution-bar__official {
    display: flex;
    align-items: center;
    gap: 9px;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.institution-bar__dot {
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border-radius: 50%;
    background: var(--cj-gold);
    box-shadow:
        0 0 0 3px rgba(200, 164, 82, 0.14);
}

.institution-bar__links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.institution-bar a {
    color: #dfeaf3;
    text-decoration: none;
}

.institution-bar a:hover {
    color: #fff;
    text-decoration: underline;
}


/* ==========================================================
   HEADER
   ========================================================== */

.site-header {
    position: relative;
    z-index: 1000;
    background: #fff;
    border-bottom: 1px solid var(--cj-border);
}

.site-header__main {
    min-height: 108px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    color: var(--cj-navy-950);
    text-decoration: none;
}

.brand:hover {
    color: var(--cj-navy-950);
}

.brand__mark {
    position: relative;
    width: 58px;
    height: 67px;
    flex: 0 0 58px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    background:
        linear-gradient(
            145deg,
            var(--cj-blue-700),
            var(--cj-navy-900)
        );
    border-radius:
        7px 7px 17px 17px;
    border: 2px solid rgba(200, 164, 82, 0.72);
    box-shadow:
        0 7px 20px rgba(7, 27, 47, 0.16);
}

.brand__mark::after {
    content: "";
    position: absolute;
    inset: 5px;
    border: 1px solid rgba(255, 255, 255, 0.23);
    border-radius:
        4px 4px 12px 12px;
}

.brand__mark span,
.brand__mark small {
    position: relative;
    z-index: 1;
}

.brand__mark span {
    font-size: 1.18rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.04em;
}

.brand__mark small {
    margin-top: 4px;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.16em;
}

.brand__text {
    display: flex;
    flex-direction: column;
    line-height: 1.12;
}

.brand__text strong {
    color: var(--cj-navy-900);
    font-size: clamp(1.15rem, 2vw, 1.5rem);
    font-weight: 750;
    letter-spacing: -0.025em;
}

.brand__text span {
    margin-top: 4px;
    color: var(--cj-blue-700);
    font-size: 1.02rem;
    font-weight: 650;
    letter-spacing: 0.035em;
    text-transform: uppercase;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-search {
    width: min(350px, 29vw);
    display: flex;
    align-items: stretch;
    border: 1px solid var(--cj-border);
    border-radius: 999px;
    background: var(--cj-surface-soft);
    overflow: hidden;
    transition:
        border-color 0.2s,
        box-shadow 0.2s,
        background 0.2s;
}

.header-search:focus-within {
    border-color: var(--cj-blue-600);
    background: #fff;
    box-shadow:
        0 0 0 4px rgba(27, 110, 183, 0.10);
}

.header-search input {
    min-width: 0;
    flex: 1;
    padding: 12px 8px 12px 18px;
    color: var(--cj-text);
    background: transparent;
    border: 0;
    outline: 0;
}

.header-search button {
    width: 48px;
    display: grid;
    place-items: center;
    color: var(--cj-navy-900);
    background: transparent;
    border: 0;
}

.header-search svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}


.header-archive-link {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 18px;
    color: var(--cj-navy-900);
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    border: 1px solid var(--cj-border);
    border-radius: 999px;
    background: var(--cj-surface-soft);
    transition:
        color 0.2s,
        border-color 0.2s,
        box-shadow 0.2s,
        background 0.2s,
        transform 0.2s;
}

.header-archive-link:hover {
    color: var(--cj-blue-600);
    border-color: var(--cj-blue-600);
    background: #fff;
}

.header-archive-link:focus-visible {
    outline: 0;
    color: var(--cj-blue-600);
    border-color: var(--cj-blue-600);
    background: #fff;
    box-shadow:
        0 0 0 4px rgba(27, 110, 183, 0.10);
}

.header-archive-link:active {
    transform: translateY(1px);
}

.header-archive-link svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.menu-toggle {
    display: none;
    min-height: 46px;
    align-items: center;
    gap: 9px;
    padding: 9px 14px;
    color: #fff;
    background: var(--cj-navy-900);
    border: 0;
    border-radius: var(--cj-radius-sm);
}

.menu-toggle__icon {
    width: 20px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.menu-toggle__icon span {
    height: 2px;
    width: 100%;
    display: block;
    background: #fff;
    border-radius: 2px;
}

.menu-toggle__text {
    font-size: 0.9rem;
    font-weight: 700;
}


/* ==========================================================
   NAVIGATION
   ========================================================== */

.main-nav {
    background: var(--cj-navy-800);
}

.main-nav__list {
    min-height: 58px;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: stretch;
    list-style: none;
}

.main-nav__item {
    position: relative;
    display: flex;
    align-items: stretch;
}

.main-nav__link {
    min-height: 58px;
    padding: 0 18px;
    display: flex;
    align-items: center;
    color: #fff;
    background: transparent;
    border: 0;
    text-decoration: none;
    font-size: 0.91rem;
    font-weight: 650;
    line-height: 1.15;
    white-space: nowrap;
    transition:
        background 0.18s,
        color 0.18s;
}

.main-nav__link:hover,
.main-nav__item:focus-within > .main-nav__link,
.main-nav__item.is-open > .main-nav__link {
    color: #fff;
    background: var(--cj-blue-700);
}

.main-nav__section-button {
    text-align: left;
}

.submenu-toggle {
    width: 26px;
    margin-left: -12px;
    padding: 0;
    display: grid;
    place-items: center;
    color: rgba(255, 255, 255, 0.78);
    background: transparent;
    border: 0;
}

.submenu-toggle svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    transition: transform 0.2s;
}

.main-nav__item.is-open
.submenu-toggle svg {
    transform: rotate(180deg);
}

.submenu {
    position: absolute;
    z-index: 1200;
    top: calc(100% + 1px);
    left: 0;
    width: 340px;
    padding: 0 0 9px;
    visibility: hidden;
    opacity: 0;
    transform: translateY(8px);
    color: var(--cj-text);
    background: #fff;
    border:
        1px solid var(--cj-border);
    border-top:
        3px solid var(--cj-gold);
    border-radius:
        0 0 var(--cj-radius) var(--cj-radius);
    box-shadow: var(--cj-shadow-lg);
    transition:
        opacity 0.16s,
        transform 0.16s,
        visibility 0.16s;
}

.main-nav__item:hover > .submenu,
.main-nav__item:focus-within > .submenu,
.main-nav__item.is-open > .submenu {
    visibility: visible;
    opacity: 1;
    transform: none;
}

.main-nav__item:nth-last-child(-n + 2)
.submenu {
    left: auto;
    right: 0;
}

.submenu__header {
    padding: 16px 19px 12px;
    color: var(--cj-navy-900);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.075em;
    text-transform: uppercase;
}

.submenu ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.submenu a {
    padding: 10px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: var(--cj-text);
    text-decoration: none;
    font-size: 0.92rem;
    line-height: 1.35;
    border-top:
        1px solid rgba(220, 228, 235, 0.68);
}

.submenu a span {
    color: var(--cj-blue-600);
    opacity: 0;
    transform: translateX(-4px);
    transition:
        opacity 0.16s,
        transform 0.16s;
}

.submenu a:hover,
.submenu a:focus-visible {
    color: var(--cj-navy-900);
    background: var(--cj-blue-100);
}

.submenu a:hover span,
.submenu a:focus-visible span {
    opacity: 1;
    transform: none;
}


/* ==========================================================
   BREADCRUMB
   ========================================================== */

.breadcrumbs {
    background: var(--cj-surface-soft);
    border-bottom: 1px solid var(--cj-border);
}

.breadcrumbs ol {
    min-height: 47px;
    margin: 0;
    padding: 8px 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    font-size: 0.82rem;
}

.breadcrumbs li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.breadcrumbs li:not(:last-child)::after {
    content: "/";
    color: #9aa8b5;
}

.breadcrumbs a {
    color: var(--cj-muted);
    text-decoration: none;
}

.breadcrumbs a:hover {
    color: var(--cj-blue-700);
    text-decoration: underline;
}

.breadcrumbs [aria-current="page"] {
    color: var(--cj-navy-900);
    font-weight: 650;
}


/* ==========================================================
   HOMEPAGE HERO
   ========================================================== */

.home-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(
            circle at 82% 20%,
            rgba(40, 125, 195, 0.48),
            transparent 28%
        ),
        radial-gradient(
            circle at 12% 90%,
            rgba(200, 164, 82, 0.15),
            transparent 28%
        ),
        linear-gradient(
            125deg,
            var(--cj-navy-950),
            var(--cj-navy-800)
        );
}

.home-hero::after {
    content: "";
    position: absolute;
    right: -110px;
    bottom: -210px;
    width: 520px;
    height: 520px;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 50%;
    box-shadow:
        0 0 0 55px rgba(255, 255, 255, 0.025),
        0 0 0 115px rgba(255, 255, 255, 0.018);
}

.home-hero__inner {
    position: relative;
    z-index: 1;
    min-height: 470px;
    padding-block: 80px;
    display: grid;
    grid-template-columns:
        minmax(0, 1.15fr)
        minmax(300px, 0.65fr);
    align-items: center;
    gap: 70px;
}

.home-hero__eyebrow {
    margin: 0 0 16px;
    color: #b9d9f3;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.home-hero h1 {
    max-width: 800px;
    margin: 0;
    color: #fff;
    font-size: clamp(
        2.45rem,
        5vw,
        4.4rem
    );
    line-height: 1.02;
    letter-spacing: -0.052em;
}

.home-hero__lead {
    max-width: 720px;
    margin: 24px 0 0;
    color: #d7e5f0;
    font-size: clamp(
        1.05rem,
        1.5vw,
        1.28rem
    );
    line-height: 1.65;
}

.home-hero__actions {
    margin-top: 32px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btn {
    min-height: 48px;
    padding: 11px 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: var(--cj-radius-sm);
    text-decoration: none;
    font-weight: 750;
    transition:
        transform 0.16s,
        box-shadow 0.16s,
        background 0.16s;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn--primary {
    color: var(--cj-navy-950);
    background: var(--cj-gold);
    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.16);
}

.btn--primary:hover {
    color: var(--cj-navy-950);
    background: #d6b560;
}

.btn--ghost {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.32);
    background: rgba(255, 255, 255, 0.06);
}

.btn--ghost:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
}

.home-hero__panel {
    padding: 28px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--cj-radius-lg);
    backdrop-filter: blur(12px);
}

.home-hero__panel-label {
    margin: 0 0 15px;
    color: #b9d9f3;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.home-hero__panel a {
    padding: 13px 0;
    display: flex;
    justify-content: space-between;
    gap: 15px;
    color: #fff;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    text-decoration: none;
    font-weight: 650;
}

.home-hero__panel a:first-of-type {
    border-top: 0;
}

.home-hero__panel a:hover {
    color: #eacb83;
}


/* ==========================================================
   HOMEPAGE SECTIONS
   ========================================================== */

.home-section {
    padding: 76px 0;
}

.home-section--soft {
    background: var(--cj-surface-soft);
}

.home-section__heading {
    margin-bottom: 34px;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
}

.home-section__heading h2 {
    margin: 0;
    color: var(--cj-navy-900);
    font-size: clamp(1.65rem, 3vw, 2.35rem);
    line-height: 1.1;
    letter-spacing: -0.035em;
}

.home-section__heading p {
    max-width: 580px;
    margin: 8px 0 0;
    color: var(--cj-muted);
}

.quick-grid {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.quick-card {
    min-height: 190px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    color: var(--cj-text);
    background: #fff;
    border: 1px solid var(--cj-border);
    border-radius: var(--cj-radius);
    text-decoration: none;
    box-shadow:
        0 5px 20px rgba(7, 27, 47, 0.035);
    transition:
        transform 0.18s,
        border-color 0.18s,
        box-shadow 0.18s;
}

.quick-card:hover {
    color: var(--cj-text);
    border-color: #b8ccdc;
    transform: translateY(-3px);
    box-shadow: var(--cj-shadow);
}

.quick-card__number {
    margin-bottom: 30px;
    color: var(--cj-blue-600);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.quick-card h3 {
    margin: auto 0 8px;
    color: var(--cj-navy-900);
    font-size: 1.2rem;
    line-height: 1.25;
}

.quick-card p {
    margin: 0;
    color: var(--cj-muted);
    font-size: 0.9rem;
}

.quick-card__arrow {
    margin-top: 18px;
    color: var(--cj-blue-600);
    font-size: 1.25rem;
}

.home-two-column {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.home-panel {
    padding: 30px;
    background: #fff;
    border: 1px solid var(--cj-border);
    border-radius: var(--cj-radius-lg);
}

.home-panel h2 {
    margin: 0 0 8px;
    color: var(--cj-navy-900);
    font-size: 1.45rem;
}

.home-panel > p {
    margin: 0 0 22px;
    color: var(--cj-muted);
}

.link-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.link-list li {
    border-top: 1px solid var(--cj-border);
}

.link-list a {
    padding: 13px 2px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: var(--cj-text);
    text-decoration: none;
    font-weight: 620;
}

.link-list a:hover {
    color: var(--cj-blue-700);
}

.link-list a span:last-child {
    color: var(--cj-blue-600);
}


/* ==========================================================
   GENERAL PAGE CONTENT
   ========================================================== */

.cj-page,
.page-content,
.standard-page {
    min-height: 420px;
}

.cj-container,
.page-container {
    width: min(
        calc(100% - 48px),
        1100px
    );
    margin-inline: auto;
    padding-block: 55px 80px;
}

.cj-page-header {
    margin-bottom: 32px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--cj-border);
}

.cj-page-header h1,
.page-content h1 {
    margin: 0;
    color: var(--cj-navy-900);
    font-size: clamp(2rem, 4vw, 3.1rem);
    line-height: 1.08;
    letter-spacing: -0.042em;
}

.cj-page-content,
.richtext {
    color: #243444;
}

.cj-page-content h2,
.richtext h2 {
    margin: 2em 0 0.6em;
    color: var(--cj-navy-900);
    font-size: 1.65rem;
    line-height: 1.2;
}

.cj-page-content h3,
.richtext h3 {
    margin: 1.7em 0 0.5em;
    color: var(--cj-navy-900);
    line-height: 1.25;
}

.cj-page-content p,
.richtext p {
    margin: 0 0 1.15em;
}

.cj-page-content table,
.richtext table {
    width: 100%;
    margin: 25px 0;
    border-collapse: collapse;
    font-size: 0.93rem;
}

.cj-page-content th,
.cj-page-content td,
.richtext th,
.richtext td {
    padding: 11px 13px;
    text-align: left;
    vertical-align: top;
    border: 1px solid var(--cj-border);
}

.cj-page-content th,
.richtext th {
    color: var(--cj-navy-900);
    background: var(--cj-surface-soft);
}

.cj-page-content img,
.richtext img {
    border-radius: var(--cj-radius);
}

.cj-page-content a,
.richtext a {
    overflow-wrap: anywhere;
}


/* ==========================================================
   FORMS
   ========================================================== */

.cj-form {
    max-width: 820px;
    margin-top: 30px;
}

.cj-form-field {
    margin-bottom: 22px;
}

.cj-form-field label {
    margin-bottom: 7px;
    display: block;
    color: var(--cj-navy-900);
    font-weight: 700;
}

.cj-form input,
.cj-form textarea,
.cj-form select {
    width: 100%;
    padding: 12px 13px;
    color: var(--cj-text);
    background: #fff;
    border: 1px solid #bac8d3;
    border-radius: var(--cj-radius-sm);
    outline: 0;
}

.cj-form textarea {
    min-height: 130px;
    resize: vertical;
}

.cj-form input:focus,
.cj-form textarea:focus,
.cj-form select:focus {
    border-color: var(--cj-blue-600);
    box-shadow:
        0 0 0 4px rgba(27, 110, 183, 0.10);
}

.cj-form button[type="submit"] {
    min-height: 48px;
    padding: 11px 22px;
    color: #fff;
    background: var(--cj-blue-700);
    border: 0;
    border-radius: var(--cj-radius-sm);
    font-weight: 750;
}

.cj-form-error {
    margin-top: 5px;
    color: var(--cj-danger);
    font-size: 0.88rem;
}

.cj-form-help {
    margin-top: 5px;
    color: var(--cj-muted);
    font-size: 0.85rem;
}

.cj-form-success {
    padding: 24px;
    background: #edf8f0;
    border: 1px solid #bee0c6;
    border-radius: var(--cj-radius);
}


/* ==========================================================
   FOOTER
   ========================================================== */

.site-footer {
    color: #cbd7e1;
    background: var(--cj-navy-950);
}

.site-footer__grid {
    padding-block: 58px;
    display: grid;
    grid-template-columns:
        1.4fr 0.8fr 0.8fr;
    gap: 60px;
}

.site-footer h2 {
    margin: 0 0 16px;
    color: #fff;
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.footer-brand__identity {
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand__mark--footer {
    width: 48px;
    height: 56px;
    flex-basis: 48px;
}

.footer-brand__identity strong {
    display: block;
    color: #fff;
    font-size: 1.06rem;
}

.footer-brand__identity p {
    margin: 2px 0 0;
    color: #92a6b7;
    font-size: 0.85rem;
}

.footer-brand__text {
    max-width: 450px;
    margin: 20px 0 0;
    color: #9fb0be;
}

.footer-links {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-links li + li {
    margin-top: 8px;
}

.footer-links a,
.site-footer__bottom a {
    color: #cbd7e1;
    text-decoration: none;
}

.footer-links a:hover,
.site-footer__bottom a:hover {
    color: #fff;
    text-decoration: underline;
}

.site-footer__bottom {
    border-top:
        1px solid rgba(255, 255, 255, 0.10);
}

.site-footer__bottom-inner {
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    color: #8399aa;
    font-size: 0.82rem;
}

.site-footer__bottom-inner div {
    display: flex;
    gap: 22px;
}


/* ==========================================================
   ACCESSIBILITY
   ========================================================== */

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid #f2c861;
    outline-offset: 3px;
}


/* ==========================================================
   BACKDROP
   ========================================================== */

.nav-backdrop {
    display: none;
}


/* ==========================================================
   TABLET / MOBILE
   ========================================================== */

@media (max-width: 1120px) {

    .site-width {
        width: min(
            calc(100% - 36px),
            var(--site-width)
        );
    }

    .menu-toggle {
        display: inline-flex;
    }

    .main-nav {
        position: fixed;
        z-index: 2000;
        top: 0;
        right: 0;
        bottom: 0;
        width: min(420px, 92vw);
        padding-top: 20px;
        overflow-y: auto;
        background: #fff;
        box-shadow:
            -18px 0 45px rgba(7, 27, 47, 0.20);
        transform: translateX(105%);
        transition: transform 0.22s ease;
    }

    body.menu-open .main-nav {
        transform: none;
    }

    .main-nav > .site-width {
        width: 100%;
        margin: 0;
        padding: 76px 22px 30px;
    }

    .main-nav__list {
        display: block;
    }

    .main-nav__item {
        display: grid;
        grid-template-columns:
            minmax(0, 1fr)
            45px;
        border-bottom: 1px solid var(--cj-border);
    }

    .main-nav__link {
        min-height: 54px;
        padding: 10px 4px;
        color: var(--cj-navy-900);
        white-space: normal;
    }

    .main-nav__link:hover,
    .main-nav__item:focus-within > .main-nav__link,
    .main-nav__item.is-open > .main-nav__link {
        color: var(--cj-blue-700);
        background: transparent;
    }

    .submenu-toggle {
        width: 45px;
        margin: 0;
        color: var(--cj-navy-900);
    }

    .submenu {
        position: static;
        grid-column: 1 / -1;
        width: auto;
        max-height: 0;
        padding: 0;
        visibility: visible;
        opacity: 1;
        overflow: hidden;
        transform: none;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        transition: max-height 0.25s ease;
    }

    .main-nav__item:hover > .submenu,
    .main-nav__item:focus-within > .submenu {
        max-height: 0;
    }

    .main-nav__item.is-open > .submenu {
        max-height: 900px;
    }

    .submenu__header {
        display: none;
    }

    .submenu a {
        padding: 11px 14px;
        background: var(--cj-surface-soft);
    }

    .nav-backdrop {
        position: fixed;
        z-index: 1500;
        inset: 0;
        background: rgba(7, 27, 47, 0.50);
        opacity: 0;
        visibility: hidden;
        display: block;
        transition:
            opacity 0.2s,
            visibility 0.2s;
    }

    body.menu-open
    .nav-backdrop {
        opacity: 1;
        visibility: visible;
    }

    .home-hero__inner {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .home-hero__panel {
        max-width: 720px;
    }
}


@media (max-width: 760px) {

    .site-width,
    .cj-container,
    .page-container {
        width: min(
            calc(100% - 28px),
            var(--site-width)
        );
    }

    .institution-bar__inner {
        min-height: 34px;
    }

    .institution-bar__links {
        display: none;
    }

    .institution-bar__official {
        font-size: 0.74rem;
    }

    .site-header__main {
        min-height: 82px;
        gap: 12px;
    }

    .brand {
        gap: 10px;
    }

    .brand__mark {
        width: 43px;
        height: 51px;
        flex-basis: 43px;
    }

    .brand__mark span {
        font-size: 0.91rem;
    }

    .brand__mark small {
        font-size: 0.49rem;
    }

    .brand__text strong {
        font-size: 1rem;
    }

    .brand__text span {
        font-size: 0.75rem;
    }

    .header-archive-link {
        display: none;
    }

    .menu-toggle__text {
        display: none;
    }

    .home-hero__inner {
        min-height: auto;
        padding-block: 58px;
    }

    .home-hero h1 {
        font-size: clamp(
            2.35rem,
            12vw,
            3.2rem
        );
    }

    .home-hero__panel {
        padding: 20px;
    }

    .home-section {
        padding: 54px 0;
    }

    .home-section__heading {
        align-items: start;
        flex-direction: column;
    }

    .quick-grid,
    .home-two-column {
        grid-template-columns: 1fr;
    }

    .site-footer__grid {
        grid-template-columns: 1fr;
        gap: 36px;
        padding-block: 45px;
    }

    .site-footer__bottom-inner {
        padding-block: 18px;
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .site-footer__bottom-inner div {
        flex-wrap: wrap;
    }

    .breadcrumbs ol {
        font-size: 0.76rem;
    }
}


/* Reduce motion when requested */
@media (
    prefers-reduced-motion: reduce
) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.001ms !important;
        animation-duration: 0.001ms !important;
    }
}

/* Stema oficială în header */
.brand__crest {
    width: 64px;
    height: 72px;
    flex: 0 0 64px;
    display: block;
    object-fit: contain;
}

@media (max-width: 760px) {
    .brand__crest {
        width: 45px;
        height: 54px;
        flex-basis: 45px;
    }
}

/* ==========================================================
   HOMEPAGE PORTAL
   ========================================================== */

.portal-hero {
    min-height: 470px;
    color: #fff;
    background:
        linear-gradient(
            90deg,
            rgba(7, 27, 47, .79),
            rgba(7, 27, 47, .43) 62%,
            rgba(7, 27, 47, .20)
        ),
        url("../images/home/hero-decebal.d1a3ce6f8e51.jpg")
        center 48% / cover no-repeat;
}

.portal-hero__inner {
    min-height: 470px;
    padding-bottom: 80px;
    display: flex;
    align-items: center;
}

.portal-hero__content {
    width: min(680px, 70%);
}

.portal-hero h1 {
    margin: 0 0 16px;
    color: #fff;
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    line-height: 1.03;
    letter-spacing: -.045em;
    text-shadow: 0 3px 20px rgba(0,0,0,.30);
}

.portal-hero p {
    max-width: 630px;
    margin: 0;
    font-size: 1.18rem;
    line-height: 1.55;
    text-shadow: 0 2px 12px rgba(0,0,0,.40);
}

.portal-shortcuts {
    position: relative;
    z-index: 20;
    margin-top: -68px;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    overflow: hidden;
    background: #fff;
    border: 1px solid #dde3e9;
    border-radius: 13px;
    box-shadow: 0 15px 38px rgba(13,39,66,.16);
}

.portal-shortcuts > a {
    min-height: 135px;
    padding: 18px 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 11px;
    color: #192d5a;
    text-align: center;
    text-decoration: none;
    border-right: 1px solid #e1e6eb;
    transition: background .18s, transform .18s;
}

.portal-shortcuts > a:last-child {
    border-right: 0;
}

.portal-shortcuts > a:hover {
    color: #192d5a;
    background: #f7f9fc;
}

.portal-shortcut__icon {
    color: #c8a452;
    font-size: 2.25rem;
    line-height: 1;
}

.portal-shortcuts strong {
    font-size: .93rem;
    line-height: 1.25;
}

.portal-section {
    padding: 72px 0;
}

.portal-section--soft {
    background: #f5f7fa;
}

.portal-president {
    padding-top: 96px;
}

.portal-president__grid {
    max-width: 1040px;
    display: grid;
    grid-template-columns: 330px minmax(0, 1fr);
    gap: 58px;
    align-items: center;
}

.portal-president__photo {
    height: 390px;
    overflow: hidden;
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(10,35,60,.13);
}

.portal-president__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.portal-kicker {
    margin-bottom: 7px;
    color: #b58d35;
    font-size: .77rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.portal-president h2,
.portal-monitor h2,
.portal-contact h2 {
    margin: 5px 0 18px;
    color: #172e60;
    font-size: 2rem;
    line-height: 1.1;
}

.portal-president p {
    color: #48576b;
}

.portal-more {
    margin-top: 8px;
    display: inline-flex;
    gap: 10px;
    color: #175fa8;
    font-weight: 750;
    text-decoration: none;
}

.portal-heading h2 {
    margin: 0 0 22px;
    color: #172e60;
    font-size: 1.55rem;
}

.portal-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.portal-gallery figure {
    margin: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid #dce3e9;
    border-radius: 7px;
}

.portal-gallery img {
    width: 100%;
    height: 220px;
    display: block;
    object-fit: cover;
}

.portal-gallery figcaption {
    padding: 11px 14px;
    color: #1b2f59;
    font-size: .9rem;
    font-weight: 700;
}

.portal-columns {
    max-width: 1040px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.portal-list-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid #d9e0e7;
    border-radius: 8px;
    box-shadow: 0 5px 18px rgba(15,39,68,.05);
}

.portal-list-card header {
    padding: 18px 20px;
    color: #fff;
    background: linear-gradient(110deg, #1e4e9c, #236ab2);
}

.portal-list-card h2 {
    margin: 0;
    color: #fff;
    font-size: 1.1rem;
}

.portal-list-card header p {
    margin: 3px 0 0;
    color: #dceafd;
    font-size: .78rem;
}

.portal-list-card > a {
    min-height: 48px;
    padding: 11px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #283a5c;
    text-decoration: none;
    border-top: 1px solid #e5e9ee;
    font-size: .9rem;
    font-weight: 650;
}

.portal-list-card > a:hover {
    background: #f5f8fc;
    color: #165d9e;
}

.portal-list-card b {
    color: #94aac2;
    font-size: 1.35rem;
}

.portal-decisions {
    overflow: hidden;
    background: #fff;
    border: 1px solid #dce2e8;
    border-radius: 9px;
}

.portal-decisions header {
    min-height: 58px;
    padding: 13px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-bottom: 1px solid #dfe5eb;
}

.portal-decisions h2 {
    margin: 0;
    color: #173568;
    font-size: 1rem;
}

.portal-decisions header > a {
    font-size: .82rem;
    font-weight: 700;
    text-decoration: none;
}

.portal-decision {
    min-height: 50px;
    padding: 11px 18px;
    display: grid;
    grid-template-columns: 105px minmax(0, 1fr) 20px;
    align-items: center;
    gap: 16px;
    color: #35445a;
    text-decoration: none;
    border-bottom: 1px solid #edf0f3;
    font-size: .86rem;
}

.portal-decision:last-child {
    border-bottom: 0;
}

.portal-decision:hover {
    color: #165d9e;
    background: #fafbfd;
}

.portal-decision time {
    color: #6e7c8e;
    font-size: .76rem;
    font-weight: 700;
}

.portal-monitor {
    max-width: 1040px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.portal-monitor__links {
    border-top: 1px solid #dce3e9;
}

.portal-monitor__links a {
    padding: 13px 3px;
    display: block;
    color: #263d62;
    text-decoration: none;
    border-bottom: 1px solid #dce3e9;
    font-weight: 650;
}

.portal-contact {
    padding: 66px 0;
    color: #dce7f0;
    background:
        linear-gradient(120deg, #071b2f, #123d66);
}

.portal-contact__grid {
    max-width: 1040px;
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 70px;
}

.portal-contact h2 {
    color: #fff;
}

.portal-contact p {
    color: #aebfce;
}

.portal-kicker--light {
    color: #e5bc5e;
}

.portal-contact address {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 35px;
    font-style: normal;
}

.portal-contact address div {
    display: flex;
    flex-direction: column;
}

.portal-contact address strong {
    margin-bottom: 5px;
    color: #fff;
    font-size: .84rem;
}

.portal-contact address span,
.portal-contact address a {
    color: #d4e0e9;
    text-decoration: none;
}

.portal-contact address a:hover {
    color: #fff;
    text-decoration: underline;
}

@media (max-width: 1050px) {
    .portal-shortcuts {
        grid-template-columns: repeat(3, 1fr);
    }

    .portal-shortcuts > a {
        border-bottom: 1px solid #e1e6eb;
    }
}

@media (max-width: 760px) {
    .portal-hero,
    .portal-hero__inner {
        min-height: 390px;
    }

    .portal-hero__content {
        width: 100%;
    }

    .portal-hero h1 {
        font-size: 2.6rem;
    }

    .portal-shortcuts {
        margin-top: -40px;
        grid-template-columns: repeat(2, 1fr);
    }

    .portal-shortcuts > a {
        min-height: 115px;
    }

    .portal-president__grid,
    .portal-columns,
    .portal-monitor,
    .portal-contact__grid {
        grid-template-columns: 1fr;
    }

    .portal-president__photo {
        width: min(100%, 420px);
        height: 400px;
    }

    .portal-gallery {
        grid-template-columns: 1fr;
    }

    .portal-gallery img {
        height: 230px;
    }

    .portal-decision {
        grid-template-columns: 1fr 20px;
    }

    .portal-decision time {
        grid-column: 1;
    }

    .portal-decision span {
        grid-column: 1;
    }

    .portal-decision b {
        grid-column: 2;
        grid-row: 1 / 3;
    }

    .portal-contact address {
        grid-template-columns: 1fr;
    }
}

.brand__crest--footer {
    width: 58px;
    height: 66px;
    flex: 0 0 58px;
    object-fit: contain;
}


/* ==========================================================
   ARHIVE ACTE ADMINISTRATIVE
   ========================================================== */

.archive-main {
    min-height: 600px;
    background: #f6f8fa;
}

.archive-container {
    max-width: 1180px;
    padding-top: 52px;
    padding-bottom: 80px;
}

.archive-header {
    margin-bottom: 30px;
}

.archive-eyebrow {
    display: block;
    margin-bottom: 7px;
    color: #b58d35;
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.archive-header h1 {
    max-width: 900px;
    margin: 0;
    color: #102d4c;
    font-size: clamp(2rem, 4vw, 3.1rem);
    line-height: 1.08;
    letter-spacing: -.035em;
}

.archive-header p {
    max-width: 850px;
    margin: 15px 0 0;
    color: #647487;
    font-size: 1.02rem;
}

.archive-filters {
    margin-bottom: 20px;
    padding: 20px;
    display: flex;
    align-items: end;
    gap: 14px;
    background: #fff;
    border: 1px solid #dce4eb;
    border-radius: 10px;
    box-shadow:
        0 5px 18px rgba(10, 35, 60, .04);
}

.archive-filter {
    width: 190px;
}

.archive-filter--search {
    width: auto;
    flex: 1;
}

.archive-filter label {
    margin-bottom: 6px;
    display: block;
    color: #243a55;
    font-size: .79rem;
    font-weight: 750;
}

.archive-filter select,
.archive-filter input {
    width: 100%;
    height: 46px;
    padding: 0 13px;
    color: #24374b;
    background: #fff;
    border: 1px solid #bdc9d5;
    border-radius: 6px;
    outline: none;
}

.archive-filter select:focus,
.archive-filter input:focus {
    border-color: #1a6cb0;
    box-shadow:
        0 0 0 3px rgba(26, 108, 176, .10);
}

.archive-filter-button {
    height: 46px;
    padding: 0 22px;
    color: #fff;
    background: #175d99;
    border: 0;
    border-radius: 6px;
    font-weight: 750;
}

.archive-filter-button:hover {
    background: #104d81;
}

.archive-reset {
    height: 46px;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    color: #52677b;
    text-decoration: none;
    font-size: .87rem;
}

.archive-summary {
    margin: 17px 2px;
    color: #617184;
    font-size: .86rem;
}

.archive-summary strong {
    color: #183452;
}

.archive-list {
    display: grid;
    gap: 12px;
}

.archive-card {
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr);
    overflow: hidden;
    background: #fff;
    border: 1px solid #dde4ea;
    border-radius: 9px;
    box-shadow:
        0 4px 14px rgba(7, 27, 47, .035);
}

.archive-card__meta {
    padding: 22px 19px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    color: #fff;
    background:
        linear-gradient(
            145deg,
            #123d66,
            #0d2948
        );
}

.archive-card__number {
    font-size: 1rem;
    font-weight: 800;
}

.archive-card__meta time,
.archive-card__meta > span:not(
    .archive-card__number
) {
    color: #c5d4e1;
    font-size: .78rem;
}

.archive-card__content {
    padding: 21px 24px;
}

.archive-card__content h2 {
    margin: 0 0 9px;
    font-size: 1.08rem;
    line-height: 1.3;
}

.archive-card__content h2 a {
    color: #15385c;
    text-decoration: none;
}

.archive-card__content h2 a:hover {
    color: #1769a8;
    text-decoration: underline;
}

.archive-card__content p {
    margin: 0;
    color: #546477;
    font-size: .92rem;
    line-height: 1.55;
}

.archive-card__actions {
    margin-top: 15px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.archive-action {
    min-height: 34px;
    padding: 6px 11px;
    display: inline-flex;
    align-items: center;
    border-radius: 5px;
    text-decoration: none;
    font-size: .8rem;
    font-weight: 750;
}

.archive-action--primary {
    color: #fff;
    background: #1766a6;
}

.archive-action--primary:hover {
    color: #fff;
    background: #0f5289;
}

.archive-action--secondary {
    color: #19486f;
    background: #edf4f9;
    border: 1px solid #ccdde9;
}

.archive-no-document {
    padding: 5px 9px;
    color: #788696;
    background: #f2f4f6;
    border-radius: 4px;
    font-size: .77rem;
}

.archive-empty {
    padding: 50px 30px;
    background: #fff;
    border: 1px solid #dde4ea;
    border-radius: 9px;
    text-align: center;
}

.archive-empty h2 {
    margin: 0 0 5px;
    color: #173756;
}

.archive-empty p {
    margin: 0;
    color: #6a7887;
}

.archive-pagination {
    margin-top: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
}

.archive-pagination a {
    padding: 8px 13px;
    color: #175d99;
    background: #fff;
    border: 1px solid #d6e0e8;
    border-radius: 5px;
    text-decoration: none;
    font-size: .84rem;
    font-weight: 700;
}

.archive-pagination span {
    color: #657587;
    font-size: .84rem;
}

@media (max-width: 760px) {

    .archive-container {
        padding-top: 34px;
    }

    .archive-filters {
        align-items: stretch;
        flex-direction: column;
    }

    .archive-filter,
    .archive-filter--search {
        width: 100%;
    }

    .archive-filter-button {
        width: 100%;
    }

    .archive-card {
        grid-template-columns: 1fr;
    }

    .archive-card__meta {
        padding: 13px 18px;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .archive-pagination {
        flex-wrap: wrap;
    }
}


/* ==========================================================
   PAGINA PREȘEDINTE
   ========================================================== */

.president-page {
    background: #fff;
}

.president-page__hero {
    padding-top: 58px;
    padding-bottom: 58px;
    display: grid;
    grid-template-columns: 330px minmax(0, 1fr);
    gap: 60px;
    align-items: center;
}

.president-page__photo {
    height: 390px;
    overflow: hidden;
    border-radius: 9px;
    box-shadow:
        0 12px 34px rgba(10, 35, 60, .14);
}

.president-page__photo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center top;
}

.president-page__eyebrow {
    display: block;
    margin-bottom: 9px;
    color: #b58d35;
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.president-page__intro h1 {
    margin: 0;
    color: #102e4e;
    font-size: clamp(2.7rem, 5vw, 4.3rem);
    line-height: 1;
    letter-spacing: -.045em;
}

.president-page__role {
    margin-top: 12px;
    color: #577087;
    font-size: 1.12rem;
}

.president-page__contact {
    margin-top: 30px;
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 18px 35px;
}

.president-page__contact div {
    display: flex;
    flex-direction: column;
}

.president-page__contact strong {
    margin-bottom: 3px;
    color: #153a5d;
    font-size: .79rem;
}

.president-page__contact span,
.president-page__contact a {
    color: #52677b;
    text-decoration: none;
}

.president-page__contact a:hover {
    color: #1765a4;
    text-decoration: underline;
}

.president-page__content {
    padding-top: 18px;
    padding-bottom: 80px;
    display: grid;
    grid-template-columns:
        minmax(0, 1.45fr)
        minmax(300px, .65fr);
    gap: 65px;
}

.president-message {
    padding-top: 30px;
    border-top: 1px solid #dfe6ec;
}

.president-message h2 {
    margin: 5px 0 22px;
    color: #122f50;
    font-size: 2rem;
}

.president-message__body {
    color: #425468;
    font-size: 1rem;
    line-height: 1.75;
}

.president-links {
    padding: 28px;
    align-self: start;
    background: #f5f8fb;
    border: 1px solid #dce5ed;
    border-radius: 10px;
}

.president-links h2 {
    margin: 0 0 16px;
    color: #133654;
    font-size: 1.15rem;
}

.president-links__grid {
    display: grid;
}

.president-links__grid a {
    padding: 15px 2px;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    color: #233d58;
    border-top: 1px solid #d9e1e8;
    text-decoration: none;
}

.president-links__grid a:first-child {
    border-top: 0;
}

.president-links__grid a:hover {
    color: #1765a4;
}

.president-links__grid strong {
    display: block;
}

.president-links__grid span {
    margin-top: 2px;
    display: block;
    color: #758493;
    font-size: .78rem;
}

.president-links__grid b {
    color: #1765a4;
}

.section-children {
    margin-top: 55px;
    padding-top: 25px;
    border-top: 1px solid #dce4eb;
}

.section-children h2 {
    color: #123451;
}

.section-children ul {
    padding-left: 24px;
}

@media (max-width: 800px) {

    .president-page__hero,
    .president-page__content {
        grid-template-columns: 1fr;
    }

    .president-page__photo {
        width: min(100%, 400px);
    }

    .president-page__contact {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================
   ACCENT INSTITUȚIONAL
   ========================================================== */

.portal-kicker,
.president-page__eyebrow,
.new-home-kicker,
.archive-eyebrow {
    color: #b58d35;
}

.portal-shortcut__icon,
.new-home-shortcut svg {
    color: #b58d35;
    stroke: #b58d35;
}

.institution-bar__dot {
    background: #c8a452;
}


/* ==========================================================
   PALETĂ INSTITUȚIONALĂ FINALĂ
   Bleumarin + albastru + auriu
   ========================================================== */

:root {
    --cj-gold: #c8a452;
    --cj-gold-text: #b58d35;
}

/* Etichete / texte accent */
.portal-kicker,
.president-page__eyebrow,
.new-home-kicker,
.archive-eyebrow {
    color: var(--cj-gold-text);
}

/* Iconițe homepage */
.portal-shortcut__icon {
    color: var(--cj-gold);
}

.new-home-shortcut svg {
    stroke: var(--cj-gold);
}

/* Indicator site oficial */
.institution-bar__dot {
    background: var(--cj-gold);
    box-shadow:
        0 0 0 3px rgba(200, 164, 82, 0.14);
}

/* Accent în elementele de identitate */
.brand__mark {
    border-color: rgba(200, 164, 82, 0.72);
}

/* Hover discret pentru shortcut-uri */
.portal-shortcuts > a:hover .portal-shortcut__icon {
    color: #a57e2d;
}

.new-home-shortcut:hover svg {
    stroke: #a57e2d;
}

/* Linkurile rămân albastre - auriul este doar accent */
.portal-more,
.new-home-text-link {
    color: #155a96;
}


/* ==========================================================
   LANDING PAGINI INSTITUȚIONALE
   ========================================================== */

.section-eyebrow {
    display: block;
    margin-bottom: 8px;
    color: var(--cj-gold-text);
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.section-landing {
    min-height: 580px;
    padding: 62px 0 85px;
    background: #f7f9fb;
}

.section-landing__header {
    margin-bottom: 38px;
}

.section-landing__header h1 {
    max-width: 850px;
    margin: 0;
    color: #102e4e;
    font-size: clamp(2.5rem, 4vw, 3.6rem);
    line-height: 1.05;
    letter-spacing: -.04em;
}

.section-landing__header p {
    max-width: 760px;
    margin: 17px 0 0;
    color: #647588;
    font-size: 1.05rem;
}

.section-card-grid {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.section-card {
    min-height: 128px;
    padding: 23px 25px;
    display: grid;
    grid-template-columns:
        45px minmax(0, 1fr) 25px;
    align-items: center;
    gap: 18px;
    color: #203a54;
    background: #fff;
    border: 1px solid #dce5ec;
    border-radius: 9px;
    text-decoration: none;
    box-shadow:
        0 4px 16px rgba(7, 27, 47, .035);
    transition:
        transform .16s,
        border-color .16s,
        box-shadow .16s;
}

.section-card:hover {
    color: #163f66;
    border-color: #bacbd9;
    transform: translateY(-2px);
    box-shadow:
        0 10px 28px rgba(7, 27, 47, .08);
}

.section-card__number {
    color: var(--cj-gold-text);
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .08em;
}

.section-card h2 {
    margin: 0;
    color: #163755;
    font-size: 1.05rem;
    line-height: 1.3;
}

.section-card span {
    margin-top: 5px;
    display: block;
    color: #788797;
    font-size: .8rem;
}

.section-card b {
    color: #17639d;
    font-size: 1.2rem;
}

.section-card-grid--directions
.section-card {
    grid-template-columns:
        minmax(0, 1fr) 25px;
}


/* ==========================================================
   CONDUCERE - VP / SECRETAR GENERAL
   ========================================================== */

.leadership-page {
    min-height: 600px;
}

.leadership-hero {
    padding-top: 62px;
    padding-bottom: 58px;
    display: grid;
    grid-template-columns:
        160px minmax(0, 1fr);
    align-items: center;
    gap: 45px;
}

.leadership-hero__crest {
    width: 145px;
    height: 165px;
    padding: 15px;
    display: grid;
    place-items: center;
    background: #f5f8fa;
    border: 1px solid #dce5ec;
    border-radius: 12px;
}

.leadership-hero__crest img {
    max-width: 100px;
    max-height: 130px;
}

.leadership-hero__content h1 {
    margin: 0;
    color: #102e4e;
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.04;
    letter-spacing: -.045em;
}

.leadership-hero__content p {
    max-width: 650px;
    margin: 15px 0 0;
    color: #66788a;
    font-size: 1.04rem;
}

.leadership-content {
    padding-top: 38px;
    padding-bottom: 85px;
    display: grid;
    grid-template-columns:
        minmax(240px, .6fr)
        minmax(0, 1.4fr);
    gap: 70px;
    border-top: 1px solid #dfe6ec;
}

.leadership-intro h2 {
    margin: 5px 0 10px;
    color: #153653;
    font-size: 1.65rem;
}

.leadership-intro p {
    color: #708090;
}

.leadership-cards {
    display: grid;
    gap: 10px;
}

.leadership-card {
    min-height: 90px;
    padding: 18px 21px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: #223c56;
    background: #f6f9fb;
    border: 1px solid #dbe4eb;
    border-radius: 8px;
    text-decoration: none;
}

.leadership-card:hover {
    color: #155a96;
    background: #fff;
    border-color: #bfd0dd;
}

.leadership-card strong {
    display: block;
    color: #183957;
}

.leadership-card span {
    margin-top: 3px;
    display: block;
    color: #7b8997;
    font-size: .78rem;
}

.leadership-card b {
    color: #17639d;
}


/* ==========================================================
   SUBSECȚIUNI GENERICE
   ========================================================== */

.standard-subsections {
    margin-top: 55px;
    padding-top: 30px;
    border-top: 1px solid #dce5ec;
}

.standard-subsections__header h2 {
    margin: 3px 0 20px;
    color: #173653;
    font-size: 1.45rem;
}

.standard-subsections__grid {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.standard-subsection-card {
    min-height: 64px;
    padding: 14px 17px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: #25425c;
    background: #f6f8fa;
    border: 1px solid #dce4eb;
    border-radius: 7px;
    text-decoration: none;
    font-weight: 650;
}

.standard-subsection-card:hover {
    color: #155a96;
    background: #fff;
    border-color: #bfcfdc;
}

.standard-subsection-card b {
    color: #17639d;
}


@media (max-width: 800px) {

    .section-card-grid,
    .standard-subsections__grid {
        grid-template-columns: 1fr;
    }

    .leadership-hero {
        grid-template-columns: 100px minmax(0, 1fr);
        gap: 25px;
    }

    .leadership-hero__crest {
        width: 95px;
        height: 115px;
    }

    .leadership-hero__crest img {
        max-width: 70px;
        max-height: 90px;
    }

    .leadership-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

.archive-special-links {
    margin: 0 0 22px;
}

.archive-special-card {
    padding: 18px 21px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: #173a59;
    background: #f6f9fb;
    border: 1px solid #d8e3eb;
    border-radius: 8px;
    text-decoration: none;
}

.archive-special-card:hover {
    background: #fff;
    border-color: #b9cad8;
}

.archive-special-card strong {
    display: block;
}

.archive-special-card span {
    margin-top: 3px;
    display: block;
    color: #788897;
    font-size: .8rem;
}

.archive-special-card b {
    color: #155a96;
}


/* ==========================================================
   DECLARAȚII AVERE / INTERESE
   ========================================================== */

.declarations-main {
    background: #f5f8fa;
}

.declarations-container {
    padding-top: 52px;
    padding-bottom: 72px;
}

.declaration-years {
    margin: 26px 0 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.declaration-year {
    min-width: 64px;
    padding: 10px 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: #173d61;
    background: #fff;

    border: 1px solid #d4e0e8;
    border-radius: 7px;

    font-size: .9rem;
    font-weight: 700;
    text-decoration: none;
}

.declaration-year:hover {
    border-color: #155a96;
    color: #155a96;
}

.declaration-year.is-active {
    color: #fff;
    background: #123e66;
    border-color: #123e66;
}

.declaration-year--all {
    min-width: 92px;
}

.declaration-search {
    margin-top: 0;
}

.declaration-summary {
    margin: 22px 0 12px;

    color: #697d8e;
    font-size: .9rem;
}

.declaration-summary strong {
    color: #102f4d;
}

.declaration-list {
    display: grid;
    gap: 9px;
}

.declaration-item {
    min-height: 78px;
    padding: 16px 18px 16px 20px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;

    background: #fff;

    border: 1px solid #d9e3ea;
    border-radius: 8px;

    box-shadow:
        0 2px 8px rgba(7, 27, 47, .025);
}

.declaration-item:hover {
    border-color: #b9cbd8;

    box-shadow:
        0 5px 16px rgba(7, 27, 47, .05);
}

.declaration-item__person {
    min-width: 0;
}

.declaration-item__person h2 {
    margin: 0;

    color: #102f4d;

    font-size: 1rem;
    line-height: 1.35;
}

.declaration-item__person span {
    margin-top: 5px;
    display: block;

    color: #758798;

    font-size: .78rem;
}

.declaration-item__action {
    flex: 0 0 auto;

    padding: 9px 12px;

    display: inline-flex;
    align-items: center;
    gap: 14px;

    color: #155a96;

    border: 1px solid #c7d8e4;
    border-radius: 6px;

    font-size: .82rem;
    font-weight: 700;
    text-decoration: none;
}

.declaration-item__action:hover {
    color: #fff;
    background: #155a96;
    border-color: #155a96;
}


@media (max-width: 720px) {

    .declarations-container {
        padding-top: 34px;
        padding-bottom: 50px;
    }

    .declaration-item {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .declaration-item__action {
        width: 100%;
        justify-content: space-between;
    }

}


/* Empty state instituțional */

.institutional-empty-state {
    margin-top: 28px;
    margin-bottom: 70px;
    padding: 28px 32px;

    background: #fff;
    border: 1px solid #d9e3ea;
    border-left: 4px solid #b88a25;
    border-radius: 8px;
}

.institutional-empty-state h2 {
    margin: 0 0 8px;

    color: #102f4d;
    font-size: 1.2rem;
}

.institutional-empty-state p {
    margin: 0;

    color: #627789;
    line-height: 1.6;
}



/* SALARII ARCHIVE */

.salary-archive {
    background: #f5f8fa;
}

.salary-archive__container {
    padding-top: 52px;
    padding-bottom: 72px;
}

.salary-summary {
    margin: 22px 0 12px;

    color: #6b7f90;
    font-size: .9rem;
}

.salary-summary strong {
    color: #102f4d;
}

.salary-list {
    display: grid;
    gap: 10px;
}

.salary-item {
    min-height: 92px;
    padding: 16px 18px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;

    background: #fff;

    border: 1px solid #d9e3ea;
    border-radius: 8px;

    box-shadow:
        0 2px 8px rgba(7, 27, 47, .025);
}

.salary-item:hover {
    border-color: #b8cbd8;

    box-shadow:
        0 5px 16px rgba(7, 27, 47, .05);
}

.salary-item__main {
    min-width: 0;

    display: flex;
    align-items: center;
    gap: 18px;
}

.salary-item__year {
    flex: 0 0 auto;

    min-width: 58px;
    padding: 8px 10px;

    color: #fff;
    background: #123e66;

    border-radius: 6px;

    text-align: center;
    font-size: .86rem;
    font-weight: 800;
}

.salary-item__content {
    min-width: 0;
}

.salary-item__content h2 {
    margin: 0;

    color: #102f4d;

    font-size: .98rem;
    line-height: 1.4;
}

.salary-item__content span {
    display: block;
    margin-top: 5px;

    color: #768899;
    font-size: .78rem;
}

.salary-item__action {
    flex: 0 0 auto;

    padding: 9px 12px;

    display: inline-flex;
    align-items: center;
    gap: 12px;

    color: #155a96;

    border: 1px solid #c7d8e4;
    border-radius: 6px;

    font-size: .82rem;
    font-weight: 700;
    text-decoration: none;
}

.salary-item__action:hover {
    color: #fff;
    background: #155a96;
    border-color: #155a96;
}


@media (max-width: 720px) {

    .salary-archive__container {
        padding-top: 34px;
        padding-bottom: 50px;
    }

    .salary-item {
        align-items: flex-start;
        flex-direction: column;
    }

    .salary-item__action {
        width: 100%;
        justify-content: space-between;
    }

}



/* LEGEA 544 / FORMULARE */

.law544-page {
    background: #f5f8fa;
}

.law544-page__container {
    padding-top: 52px;
    padding-bottom: 76px;
}

.law544-header {
    max-width: 900px;
}

.law544-info {
    margin: 28px 0 20px;
    padding: 18px 22px;

    background: #eef4f8;
    border-left: 4px solid #b88a25;
    border-radius: 7px;
}

.law544-info strong {
    display: block;

    color: #102f4d;

    font-size: 1rem;
}

.law544-info p {
    margin: 5px 0 0;

    color: #617789;
    line-height: 1.55;
}

.law544-grid {
    display: grid;
    gap: 14px;
}

.law544-card {
    padding: 24px;

    display: grid;
    grid-template-columns:
        54px
        minmax(0, 1fr)
        auto;

    align-items: center;
    gap: 22px;

    background: #fff;

    border: 1px solid #d9e3ea;
    border-radius: 9px;

    box-shadow:
        0 3px 12px rgba(7, 27, 47, .035);
}

.law544-card:hover {
    border-color: #bdceda;

    box-shadow:
        0 6px 18px rgba(7, 27, 47, .055);
}

.law544-card__number {
    width: 46px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #fff;
    background: #123e66;

    border-radius: 50%;

    font-size: .86rem;
    font-weight: 800;
}

.law544-card__body h2 {
    margin: 0;

    color: #102f4d;

    font-size: 1.05rem;
    line-height: 1.4;
}

.law544-card__body p {
    margin: 7px 0 0;

    color: #718595;

    font-size: .9rem;
    line-height: 1.5;
}

.law544-card__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 9px;
}

.law544-button {
    min-height: 42px;
    padding: 9px 13px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    border-radius: 6px;

    font-size: .82rem;
    font-weight: 700;
    text-decoration: none;
}

.law544-button--primary {
    color: #fff;
    background: #155a96;
    border: 1px solid #155a96;
}

.law544-button--primary:hover {
    background: #104a7d;
    border-color: #104a7d;
}

.law544-button--secondary {
    color: #155a96;
    background: #fff;
    border: 1px solid #c4d5e1;
}

.law544-button--secondary:hover {
    background: #edf4f8;
    border-color: #9fbbcE;
}


@media (max-width: 900px) {

    .law544-card {
        grid-template-columns:
            46px
            minmax(0, 1fr);
    }

    .law544-card__actions {
        grid-column: 1 / -1;
        justify-content: flex-start;
        padding-left: 68px;
    }

}


@media (max-width: 640px) {

    .law544-page__container {
        padding-top: 34px;
        padding-bottom: 52px;
    }

    .law544-card {
        padding: 20px;
        grid-template-columns: 1fr;
    }

    .law544-card__number {
        width: 40px;
        height: 40px;
    }

    .law544-card__actions {
        grid-column: auto;
        padding-left: 0;
    }

    .law544-button {
        width: 100%;
        justify-content: space-between;
    }

}



/* DECLARATII - DOCUMENT INDISPONIBIL */

.declaration-item__unavailable {
    flex: 0 0 auto;

    max-width: 220px;
    padding: 9px 12px;

    color: #6f5b2c;
    background: #faf6ea;

    border: 1px solid #dfcf9f;
    border-radius: 6px;

    font-size: .78rem;
    font-weight: 700;
    line-height: 1.35;
    text-align: center;
}

@media (max-width: 720px) {

    .declaration-item__unavailable {
        width: 100%;
        max-width: none;
        text-align: left;
    }

}



/* INFORMATII PUBLICE HUB */

.public-info-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.public-info-card__top h2 {
    margin: 0;
}

.public-info-card__count {
    flex: 0 0 auto;

    padding: 5px 9px;

    border: 1px solid rgba(18, 49, 79, .14);
    border-radius: 999px;

    background: rgba(18, 49, 79, .05);

    font-size: .76rem;
    font-weight: 700;
    white-space: nowrap;
}

.public-info-card p {
    margin: 12px 0 16px;

    color: var(--text-muted, #606975);
    line-height: 1.55;
}

.public-info-card__link {
    font-size: .82rem;
    font-weight: 700;
}

@media (max-width: 620px) {

    .public-info-card__top {
        display: block;
    }

    .public-info-card__count {
        display: inline-block;
        margin-top: 8px;
    }

}



/* INFORMATII PUBLICE HUB LAYOUT FIX */

.public-info-hub .section-landing__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.public-info-hub .public-info-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;

    width: 100%;
    min-width: 0;
    min-height: 0;
    height: auto;

    padding: 24px 26px;
}

.public-info-hub .public-info-card .section-card__body {
    width: auto;
    min-width: 0;
    max-width: none;
}

.public-info-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.public-info-card__top h2 {
    width: auto;
    max-width: none;
    margin: 0;
}

.public-info-card p {
    width: auto;
    max-width: 60ch;
    margin: 12px 0 18px;
}

.public-info-card > b {
    align-self: center;
    justify-self: end;

    font-size: 1.45rem;
    line-height: 1;
}

@media (max-width: 900px) {

    .public-info-hub .section-landing__grid {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 620px) {

    .public-info-hub .public-info-card {
        grid-template-columns: minmax(0, 1fr) auto;
        padding: 20px;
    }

    .public-info-card__top {
        display: block;
    }

}


/* =========================================================
   PROIECTE SI INVESTITII
   ========================================================= */

.project-program-header {
    max-width: 1180px;
}

.project-program-header p {
    max-width: 760px;
    margin-top: 1rem;
    color: #607084;
    font-size: 1.05rem;
    line-height: 1.65;
}

.project-program-content {
    max-width: 1180px;
    margin: 2.25rem auto 5rem;
    color: #22384d;
    line-height: 1.65;
}

.project-program-content a {
    color: #075fa9;
    text-underline-offset: 3px;
}

.project-primary-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.project-card {
    position: relative;
    margin: 0 !important;
    padding: 1.5rem 1.6rem !important;
    border: 1px solid #dce5ed;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 5px 18px rgba(13, 45, 73, .06);
}

.project-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 1.5rem;
    width: 48px;
    height: 3px;
    background: #c89b31;
}

.project-card > a:first-child {
    display: inline;
    font-weight: 700;
    line-height: 1.5;
}

.project-sublist {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    margin: 1.15rem 0 0 !important;
    padding: 1rem 0 0 !important;
    border-top: 1px solid #e4eaf0;
    list-style: none !important;
}

.project-sublist > li {
    margin: 0 !important;
    padding: 0 !important;
}

.project-link--document {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .48rem .75rem;
    border: 1px solid #e0e8ef;
    border-radius: 7px;
    background: #f5f8fa;
    font-weight: 650;
    text-decoration: none;
}

.project-link--document::before {
    content: "↗";
    color: #b8871f;
    font-weight: 800;
}

.project-group-card {
    margin: 1.25rem 0;
    padding: 1.6rem;
    border: 1px solid #dce5ed;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 5px 18px rgba(13, 45, 73, .05);
}

.project-group-card__title {
    margin: 0 0 1.1rem !important;
    padding-bottom: .8rem;
    border-bottom: 2px solid #c89b31;
    color: #0b2d4d;
    font-size: 1.15rem;
    font-style: normal;
    font-weight: 800;
}

.project-group-card ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.project-group-card li {
    margin: .55rem 0;
}

.project-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.project-resource-card {
    padding: 1.5rem;
    border: 1px solid #dce5ed;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 5px 18px rgba(13,45,73,.05);
}

.project-resource-card h2 {
    margin: 0 0 1rem;
    color: #0b2d4d;
    font-size: 1.15rem;
}

.project-resource-card ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.project-resource-card li {
    margin: .6rem 0;
}

.project-social-link {
    display: block;
    padding: .65rem .8rem;
    border-radius: 7px;
    background: #f5f8fa;
    text-decoration: none;
    font-weight: 600;
}

.project-social-link::before {
    content: "↗ ";
    color: #b8871f;
}

@media (max-width: 850px) {
    .project-primary-list,
    .project-split {
        grid-template-columns: 1fr;
    }

    .project-card,
    .project-group-card,
    .project-resource-card {
        padding: 1.2rem !important;
    }
}

/* MOBILE MENU - touch fix */
@media (max-width: 1120px) {

    .main-nav__item.is-open > .submenu {
        pointer-events: auto;
    }

    .submenu a {
        position: relative;
        z-index: 2;
        pointer-events: auto;
        touch-action: manipulation;
        -webkit-tap-highlight-color: rgba(13, 39, 66, 0.10);
    }

    .submenu-toggle {
        touch-action: manipulation;
    }
}


/* MOBILE MENU - stacking fix */
@media (max-width: 1120px) {

    .site-header {
        position: relative;
        z-index: 3000;
    }

    .nav-backdrop {
        z-index: 2990;
    }

    .main-nav {
        z-index: 3010;
        pointer-events: auto;
    }

    .main-nav *,
    .main-nav a,
    .main-nav button {
        pointer-events: auto;
    }
}


/* ==========================================================
   JUDETUL MEHEDINTI
   ========================================================== */

.county-page {
    padding: 62px 0 90px;
    background: #fff;
}

.county-page__header {
    padding-bottom: 38px;
    border-bottom: 1px solid #dce5ec;
}

.county-page__header h1 {
    max-width: 900px;
    margin: 10px 0 0;
    color: #102e4e;
    font-size: clamp(2.5rem, 4vw, 3.6rem);
    line-height: 1.05;
    letter-spacing: -.04em;
}

.county-page__header p {
    max-width: 760px;
    margin: 17px 0 0;
    color: #647588;
    font-size: 1.05rem;
    line-height: 1.7;
}


/* DESPRE JUDET */

.county-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 34px;
}

.county-info-card {
    padding: 28px;
    border: 1px solid #dce5ec;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 5px 20px rgba(7, 27, 47, .045);
}

.county-info-card > span {
    color: #b88620;
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .1em;
}

.county-info-card h2 {
    margin: 10px 0 9px;
    color: #163755;
    font-size: 1.2rem;
}

.county-info-card p {
    margin: 0;
    color: #5c6f82;
    line-height: 1.7;
}

.county-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 18px;
}

.county-action {
    padding: 21px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    border: 1px solid #dce5ec;
    border-radius: 9px;
    color: #153653;
    background: #f7f9fb;
    text-decoration: none;
}

.county-action strong {
    font-size: .98rem;
}

.county-action span {
    color: #17639d;
    font-size: .86rem;
}

.county-action:hover {
    border-color: #bdccd9;
    background: #f1f6f9;
}

.county-source {
    margin-top: 28px;
    color: #788797;
    font-size: .82rem;
}


/* HARTA */

.county-map-card {
    margin-top: 34px;
    padding: 40px;
    display: grid;
    grid-template-columns: 100px minmax(0, 1fr);
    gap: 32px;
    align-items: center;
    border: 1px solid #dce5ec;
    border-radius: 12px;
    background:
        linear-gradient(
            135deg,
            #f8fafc,
            #fff
        );
    box-shadow: 0 8px 28px rgba(7,27,47,.055);
}

.county-map-card__icon {
    width: 86px;
    height: 86px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #b88620;
    background: #fff;
    border: 1px solid #e2e8ed;
    font-size: 2.3rem;
}

.county-map-card h2 {
    margin: 8px 0 8px;
    color: #102e4e;
    font-size: 1.65rem;
}

.county-map-card p {
    max-width: 700px;
    margin: 0;
    color: #637588;
    line-height: 1.65;
}

.county-map-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.county-primary-button,
.county-secondary-button {
    padding: 11px 17px;
    border-radius: 7px;
    font-weight: 700;
    text-decoration: none;
}

.county-primary-button {
    color: #fff;
    background: #12395f;
}

.county-secondary-button {
    color: #12395f;
    background: #eef3f7;
    border: 1px solid #d7e0e8;
}


/* UAT */

.county-admin-content {
    margin-top: 35px;
}

.county-admin-content > p {
    margin: 30px 0 12px;
    color: #b07d14;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.county-admin-content > p:first-child {
    margin-top: 0;
}

.county-admin-content > p em {
    font-style: normal;
}

.county-admin-content > ul {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.county-admin-content > ul > li {
    padding: 11px 14px;
    color: #29445e;
    background: #f7f9fb;
    border: 1px solid #e0e7ed;
    border-radius: 6px;
}


/* RESPONSIVE */

@media (max-width: 800px) {

    .county-info-grid,
    .county-actions {
        grid-template-columns: 1fr;
    }

    .county-map-card {
        grid-template-columns: 1fr;
        padding: 26px;
    }

    .county-admin-content > ul {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {

    .county-page {
        padding-top: 42px;
    }

    .county-admin-content > ul {
        grid-template-columns: 1fr;
    }

    .county-action {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }
}


/* ==========================================================
   ORGANISME SI ASOCIATII
   ========================================================== */

.association-page {
    padding: 62px 0 90px;
}

.association-content {
    max-width: 1180px;
    margin-top: 32px;
    padding: 30px 34px;
    color: #334b61;
    background: #fff;
    border: 1px solid #dce5ec;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(7,27,47,.04);
    line-height: 1.75;
}

.association-content p:first-child {
    margin-top: 0;
}

.association-content p:last-child {
    margin-bottom: 0;
}

.association-links {
    margin-top: 32px;
}

.association-links > .section-eyebrow {
    display: block;
    margin-bottom: 14px;
}

@media (max-width: 700px) {
    .association-content {
        padding: 22px;
    }
}


/* ==========================================================
   A.T.O.P.
   ========================================================== */

.atop-section {
    padding: 62px 0 90px;
}

.atop-section__header {
    padding-bottom: 34px;
    border-bottom: 1px solid #dce5ec;
}

.atop-section__header h1 {
    margin: 10px 0 0;
    color: #102e4e;
    font-size: clamp(2.5rem, 4vw, 3.6rem);
    line-height: 1.05;
    letter-spacing: -.04em;
}

.atop-section__intro {
    margin-top: 32px;
}

.atop-section__intro h2 {
    margin: 0 0 8px;
    color: #163755;
    font-size: 1.35rem;
}

.atop-section__intro p {
    max-width: 820px;
    margin: 0;
    color: #65778a;
    line-height: 1.7;
}

.atop-decisions {
    display: grid;
    gap: 10px;
    margin-top: 24px;
}

.atop-decision {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 28px;
    align-items: center;
    gap: 22px;
    padding: 20px 22px;
    color: #193a58;
    background: #fff;
    border: 1px solid #dce5ec;
    border-radius: 8px;
    text-decoration: none;
    transition: .16s ease;
}

.atop-decision:hover {
    border-color: #b9cad8;
    box-shadow: 0 7px 20px rgba(7,27,47,.07);
    transform: translateY(-1px);
}

.atop-decision strong {
    display: block;
    color: #0e4e80;
    font-size: 1rem;
}

.atop-decision span {
    display: block;
    margin-top: 6px;
    color: #66788a;
    font-size: .9rem;
    line-height: 1.55;
}

.atop-decision b {
    color: #b88620;
    font-size: 1.25rem;
}

.atop-empty {
    margin-top: 32px;
    padding: 25px 28px;
    border-left: 4px solid #c3962f;
    border-radius: 7px;
    background: #f6f8fa;
}

.atop-empty strong {
    color: #173a59;
}

.atop-empty p {
    margin: 7px 0 0;
    color: #697a8b;
}

.atop-document-content {
    margin-top: 24px;
}

.atop-document-content ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.atop-document-content li {
    margin: 0;
}

.atop-document-content a {
    display: block;
    padding: 20px 22px;
    color: #0d5d99;
    background: #f6f8fa;
    border: 1px solid #dce5ec;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
}

.atop-document-content a::before {
    content: "↗  ";
    color: #b88620;
}

@media (max-width: 700px) {
    .atop-decision {
        padding: 17px;
    }

    .atop-empty {
        padding: 20px;
    }
}


/* ==========================================================
   A.D.I.
   ========================================================== */

.adi-page {
    padding: 62px 0 90px;
}

.adi-page__header {
    padding-bottom: 35px;
    border-bottom: 1px solid #dce5ec;
}

.adi-page__header h1 {
    max-width: 1000px;
    margin: 10px 0 0;
    color: #102e4e;
    font-size: clamp(2.35rem, 4vw, 3.5rem);
    line-height: 1.06;
    letter-spacing: -.04em;
}

.adi-intro-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 34px;
}

.adi-feature {
    padding: 30px;
    border: 1px solid #dce5ec;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 6px 22px rgba(7,27,47,.045);
}

.adi-feature h2 {
    margin: 9px 0 10px;
    color: #163755;
    font-size: 1.35rem;
}

.adi-feature p {
    color: #607387;
    line-height: 1.7;
}

.adi-button {
    display: inline-block;
    margin-top: 10px;
    padding: 11px 16px;
    color: #12395f;
    background: #eef3f7;
    border: 1px solid #d7e1e9;
    border-radius: 7px;
    font-weight: 700;
    text-decoration: none;
}

.adi-button--primary {
    color: #fff;
    background: #12395f;
    border-color: #12395f;
}

.adi-description {
    margin-top: 34px;
    padding: 28px 30px;
    border: 1px solid #dce5ec;
    border-radius: 10px;
    background: #fff;
}

.adi-description p {
    margin: 12px 0 0;
    color: #40576d;
    line-height: 1.8;
}

.adi-members {
    margin-top: 34px;
}

.adi-members__header h2 {
    margin: 8px 0 20px;
    color: #163755;
    font-size: 1.45rem;
}

.adi-members__grid {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: 9px;
}

.adi-member {
    padding: 12px 14px;
    color: #29445e;
    background: #f7f9fb;
    border: 1px solid #e0e7ed;
    border-radius: 6px;
}

.adi-resource {
    margin-top: 32px;
    padding: 22px 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    background: #f6f8fa;
    border-left: 4px solid #c3962f;
    border-radius: 7px;
}

.adi-resource strong {
    display: block;
    margin-top: 5px;
    color: #163755;
}

.adi-resource a {
    color: #0d5d99;
    font-weight: 700;
    text-decoration: none;
}

@media (max-width: 800px) {
    .adi-intro-grid {
        grid-template-columns: 1fr;
    }

    .adi-members__grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .adi-members__grid {
        grid-template-columns: 1fr;
    }

    .adi-resource {
        align-items: flex-start;
        flex-direction: column;
    }
}


/* ==========================================================
   CONTACT
   ========================================================== */

.contact-page {
    padding: 62px 0 90px;
}

.contact-page__header {
    padding-bottom: 34px;
    border-bottom: 1px solid #dce5ec;
}

.contact-page__header h1 {
    margin: 10px 0 0;
    color: #102e4e;
    font-size: clamp(2.5rem, 4vw, 3.6rem);
    line-height: 1.05;
    letter-spacing: -.04em;
}

.contact-intro {
    margin-top: 32px;
}

.contact-intro h2 {
    margin: 0 0 8px;
    color: #163755;
    font-size: 1.4rem;
}

.contact-intro p {
    max-width: 850px;
    margin: 0;
    color: #66798b;
    line-height: 1.7;
}

.contact-schedule-grid,
.contact-audience-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 25px;
}

.contact-schedule-card,
.contact-person {
    padding: 28px;
    background: #fff;
    border: 1px solid #dce5ec;
    border-radius: 10px;
    box-shadow: 0 6px 22px rgba(7,27,47,.045);
}

.contact-schedule-card h2,
.contact-person h2 {
    margin: 9px 0 20px;
    color: #163755;
    font-size: 1.3rem;
}

.contact-schedule-card dl {
    margin: 0;
}

.contact-schedule-card dl div {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 13px 0;
    border-top: 1px solid #e5ebef;
}

.contact-schedule-card dt {
    color: #40566c;
}

.contact-schedule-card dd {
    margin: 0;
    color: #0f4d7b;
    font-weight: 700;
}

.contact-person__role {
    display: inline-block;
    color: #b18322;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.contact-person p {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin: 0;
    padding-top: 15px;
    border-top: 1px solid #e5ebef;
    color: #52687b;
}

.contact-person p span {
    color: #0f4d7b;
    font-weight: 700;
}

.contact-resource {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    margin-top: 25px;
    padding: 23px 26px;
    background: #f6f8fa;
    border-left: 4px solid #c3962f;
    border-radius: 7px;
}

.contact-resource strong {
    display: block;
    margin-top: 5px;
    color: #163755;
    font-size: 1.05rem;
}

.contact-resource p {
    margin: 5px 0 0;
    color: #687b8c;
}

.contact-resource a {
    white-space: nowrap;
    color: #0d5d99;
    font-weight: 700;
    text-decoration: none;
}

.contact-documents {
    display: grid;
    gap: 10px;
    margin-top: 25px;
}

.contact-documents p {
    margin: 0;
}

.contact-documents a {
    position: relative;
    display: block;
    padding: 18px 55px 18px 20px;
    color: #0d5d99;
    background: #f7f9fb;
    border: 1px solid #dce5ec;
    border-radius: 8px;
    font-weight: 700;
    line-height: 1.5;
    text-decoration: none;
}

.contact-documents a::after {
    content: "→";
    position: absolute;
    top: 50%;
    right: 20px;
    color: #b88620;
    transform: translateY(-50%);
}

.contact-documents a:hover {
    background: #fff;
    border-color: #b9cad8;
    box-shadow: 0 6px 18px rgba(7,27,47,.06);
}

.contact-empty {
    margin-top: 32px;
    padding: 25px 28px;
    background: #f6f8fa;
    border-left: 4px solid #c3962f;
    border-radius: 7px;
}

.contact-empty strong {
    color: #173a59;
}

.contact-empty p {
    margin: 7px 0 0;
    color: #697a8b;
}

@media (max-width: 760px) {
    .contact-schedule-grid,
    .contact-audience-grid {
        grid-template-columns: 1fr;
    }

    .contact-resource {
        align-items: flex-start;
        flex-direction: column;
    }

    .contact-schedule-card dl div,
    .contact-person p {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }
}


.contact-details-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 25px;
}

.contact-detail-card {
    padding: 28px;
    background: #fff;
    border: 1px solid #dce5ec;
    border-radius: 10px;
    box-shadow: 0 6px 22px rgba(7,27,47,.045);
}

.contact-detail-card h2 {
    margin: 9px 0 18px;
    color: #163755;
    font-size: 1.3rem;
}

.contact-detail-card p {
    margin: 7px 0;
    color: #52687b;
    line-height: 1.7;
}

.contact-detail-card a {
    color: #0d5d99;
    font-weight: 700;
    text-decoration: none;
}

.contact-detail-link {
    display: inline-block;
    margin-top: 12px;
}

@media (max-width: 760px) {
    .contact-details-grid {
        grid-template-columns: 1fr;
    }
}


.contact-documents ul,
.contact-documents ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

.contact-documents li {
    margin: 0;
    padding: 0;
    list-style: none;
}


/* ==========================================================
   CONTROL INTERN MANAGERIAL
   ========================================================== */

.cim-page {
    padding: 62px 0 90px;
}

.cim-page__header {
    padding-bottom: 34px;
    border-bottom: 1px solid #dce5ec;
}

.cim-page__header h1 {
    margin: 10px 0 0;
    color: #102e4e;
    font-size: clamp(2.5rem, 4vw, 3.6rem);
    line-height: 1.05;
    letter-spacing: -.04em;
}

.cim-intro {
    margin-top: 32px;
}

.cim-intro h2 {
    margin: 0 0 8px;
    color: #163755;
    font-size: 1.4rem;
}

.cim-intro p {
    max-width: 850px;
    margin: 0;
    color: #66798b;
    line-height: 1.7;
}

.cim-grid {
    display: grid;
    gap: 12px;
    margin-top: 25px;
}

.cim-card {
    display: grid;
    grid-template-columns: minmax(0,1fr) 28px;
    align-items: center;
    gap: 20px;
    padding: 23px 25px;
    color: #173a59;
    background: #fff;
    border: 1px solid #dce5ec;
    border-radius: 9px;
    text-decoration: none;
}

.cim-card strong {
    display: block;
    color: #0e4e80;
    font-size: 1.05rem;
}

.cim-card span {
    display: block;
    margin-top: 5px;
    color: #687b8c;
    line-height: 1.55;
}

.cim-card b {
    color: #b88620;
}

.cim-documents {
    margin-top: 25px;
}

.cim-documents ul,
.cim-documents ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

.cim-documents li {
    margin: 0 0 10px;
    list-style: none;
}

.cim-documents a {
    position: relative;
    display: block;
    padding: 18px 55px 18px 20px;
    color: #0d5d99;
    background: #f7f9fb;
    border: 1px solid #dce5ec;
    border-radius: 8px;
    font-weight: 700;
    line-height: 1.5;
    text-decoration: none;
}

.cim-documents a::after {
    content: "→";
    position: absolute;
    right: 20px;
    top: 50%;
    color: #b88620;
    transform: translateY(-50%);
}

.cim-empty {
    margin-top: 32px;
    padding: 25px 28px;
    background: #f6f8fa;
    border-left: 4px solid #c3962f;
    border-radius: 7px;
}

.cim-empty strong {
    color: #173a59;
}

.cim-empty p {
    margin: 7px 0 0;
    color: #697a8b;
}


/* ==========================================================
   REGULAMENT / MONITORUL OFICIAL
   ========================================================== */

.reg-page {
    padding: 62px 0 90px;
}

.reg-page__header {
    padding-bottom: 34px;
    border-bottom: 1px solid #dce5ec;
}

.reg-page__header h1 {
    margin: 10px 0 0;
    color: #102e4e;
    font-size: clamp(2.4rem, 4vw, 3.6rem);
    line-height: 1.05;
    letter-spacing: -.04em;
}

.reg-intro {
    margin-top: 32px;
}

.reg-intro h2 {
    margin: 0 0 8px;
    color: #163755;
    font-size: 1.4rem;
}

.reg-intro p {
    max-width: 850px;
    margin: 0;
    color: #66798b;
    line-height: 1.7;
}

.reg-grid,
.reg-subsections {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 12px;
    margin-top: 25px;
}

.reg-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 22px;
    color: #0e4e80;
    background: #fff;
    border: 1px solid #dce5ec;
    border-radius: 8px;
    font-weight: 700;
    line-height: 1.45;
    text-decoration: none;
}

.reg-card b {
    color: #b88620;
}

.reg-documents {
    margin-top: 25px;
}

.reg-documents ul,
.reg-documents ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

.reg-documents li,
.reg-documents p {
    margin: 0 0 10px;
    list-style: none;
}

.reg-documents a {
    position: relative;
    display: block;
    padding: 18px 55px 18px 20px;
    color: #0d5d99;
    background: #f7f9fb;
    border: 1px solid #dce5ec;
    border-radius: 8px;
    font-weight: 700;
    line-height: 1.5;
    text-decoration: none;
}

.reg-documents a::after {
    content: "→";
    position: absolute;
    top: 50%;
    right: 20px;
    color: #b88620;
    transform: translateY(-50%);
}

.reg-empty {
    margin-top: 32px;
    padding: 25px 28px;
    background: #f6f8fa;
    border-left: 4px solid #c3962f;
    border-radius: 7px;
}

.reg-empty strong {
    color: #173a59;
}

.reg-empty p {
    margin: 7px 0 0;
    color: #697a8b;
}

@media (max-width: 760px) {
    .reg-grid,
    .reg-subsections {
        grid-template-columns: 1fr;
    }
}


/* ==========================================================
   INFORMATII UTILE
   ========================================================== */

.info-page {
    padding: 62px 0 90px;
}

.info-page__header {
    padding-bottom: 34px;
    border-bottom: 1px solid #dce5ec;
}

.info-page__header h1 {
    margin: 10px 0 0;
    color: #102e4e;
    font-size: clamp(2.5rem, 4vw, 3.6rem);
    line-height: 1.05;
    letter-spacing: -.04em;
}

.info-intro {
    margin-top: 32px;
}

.info-intro h2 {
    margin: 0 0 8px;
    color: #163755;
    font-size: 1.4rem;
}

.info-intro p {
    max-width: 850px;
    margin: 0;
    color: #66798b;
    line-height: 1.7;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 14px;
    margin-top: 25px;
}

.info-card {
    display: grid;
    grid-template-columns: minmax(0,1fr) 28px;
    align-items: center;
    gap: 20px;
    padding: 24px;
    color: #173a59;
    background: #fff;
    border: 1px solid #dce5ec;
    border-radius: 9px;
    text-decoration: none;
}

.info-card strong {
    display: block;
    color: #0e4e80;
    font-size: 1.06rem;
}

.info-card span {
    display: block;
    margin-top: 6px;
    color: #687b8c;
    line-height: 1.55;
}

.info-card b {
    color: #b88620;
}

.sitemap-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 18px;
    margin-top: 25px;
}

.sitemap-group {
    padding: 25px;
    background: #fff;
    border: 1px solid #dce5ec;
    border-radius: 9px;
}

.sitemap-group h2 {
    margin: 0 0 14px;
    color: #163755;
    font-size: 1.15rem;
}

.sitemap-group ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.sitemap-group li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.sitemap-group a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 10px 0;
    color: #405a71;
    border-top: 1px solid #e5ebef;
    text-decoration: none;
}

.sitemap-group a:hover {
    color: #0d5d99;
}

.sitemap-group a span {
    color: #b88620;
}

.info-documents {
    margin-top: 25px;
}

.info-documents ul,
.info-documents ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

.info-documents li,
.info-documents p {
    margin: 0 0 10px;
}

.info-documents a:empty {
    display: none;
}

.info-documents a {
    position: relative;
    display: block;
    padding: 18px 55px 18px 20px;
    color: #0d5d99;
    background: #f7f9fb;
    border: 1px solid #dce5ec;
    border-radius: 8px;
    font-weight: 700;
    line-height: 1.5;
    text-decoration: none;
}

.info-documents a::after {
    content: "→";
    position: absolute;
    right: 20px;
    top: 50%;
    color: #b88620;
    transform: translateY(-50%);
}

.info-notice {
    margin-top: 32px;
    padding: 25px 28px;
    background: #f6f8fa;
    border-left: 4px solid #c3962f;
    border-radius: 7px;
}

.info-notice strong {
    color: #173a59;
}

.info-notice p {
    margin: 7px 0 0;
    color: #697a8b;
}

@media (max-width: 760px) {
    .info-grid,
    .sitemap-grid {
        grid-template-columns: 1fr;
    }
}


/* ===== CJ GALLERY LIGHTBOX ===== */

.gallery-lightbox-item {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
}

.gallery-lightbox-item img {
    display: block;
    width: 100%;
}

.gallery-lightbox[hidden] {
    display: none;
}

.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.gallery-lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
}

.gallery-lightbox__dialog {
    position: relative;
    z-index: 1;
    width: min(1200px, 94vw);
    height: min(850px, 92vh);
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-lightbox__image {
    display: block;
    max-width: 100%;
    max-height: calc(92vh - 70px);
    width: auto;
    height: auto;
    object-fit: contain;
    box-shadow: 0 12px 45px rgba(0, 0, 0, 0.45);
}

.gallery-lightbox__close,
.gallery-lightbox__prev,
.gallery-lightbox__next {
    position: absolute;
    z-index: 2;
    border: 0;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    cursor: pointer;
    line-height: 1;
}

.gallery-lightbox__close {
    top: 0;
    right: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 34px;
}

.gallery-lightbox__prev,
.gallery-lightbox__next {
    top: 50%;
    transform: translateY(-50%);
    width: 54px;
    height: 64px;
    border-radius: 8px;
    font-size: 48px;
}

.gallery-lightbox__prev {
    left: 0;
}

.gallery-lightbox__next {
    right: 0;
}

.gallery-lightbox__caption {
    position: absolute;
    left: 70px;
    right: 70px;
    bottom: 0;
    color: #fff;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    text-shadow: 0 1px 4px #000;
}

.gallery-lightbox__close:hover,
.gallery-lightbox__prev:hover,
.gallery-lightbox__next:hover {
    background: rgba(0, 0, 0, 0.8);
}

@media (max-width: 700px) {
    .gallery-lightbox {
        padding: 12px;
    }

    .gallery-lightbox__dialog {
        width: 100%;
        height: 94vh;
    }

    .gallery-lightbox__image {
        max-height: calc(94vh - 80px);
    }

    .gallery-lightbox__prev,
    .gallery-lightbox__next {
        width: 44px;
        height: 56px;
        font-size: 40px;
    }

    .gallery-lightbox__caption {
        left: 50px;
        right: 50px;
    }
}

/* ===== END CJ GALLERY LIGHTBOX ===== */


/* ===== HOMEPAGE GALLERY CARDS ===== */

.portal-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.portal-gallery figure {
    margin: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid #dce4ec;
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(15, 42, 70, 0.06);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.portal-gallery figure:hover {
    transform: translateY(-3px);
    border-color: #c6d4e2;
    box-shadow: 0 10px 26px rgba(15, 42, 70, 0.12);
}

.portal-gallery .gallery-lightbox-item {
    display: block;
    width: 100%;
    overflow: hidden;
    border: 0;
    padding: 0;
    background: #eef3f7;
    cursor: zoom-in;
}

.portal-gallery .gallery-lightbox-item img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.portal-gallery figure:hover .gallery-lightbox-item img {
    transform: scale(1.035);
}

.portal-gallery figcaption {
    padding: 15px 16px 16px;
    color: #0d3157;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
}

.portal-gallery .gallery-lightbox-item:focus-visible {
    outline: 3px solid #c99018;
    outline-offset: -3px;
}

@media (max-width: 900px) {
    .portal-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .portal-gallery {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* ===== END HOMEPAGE GALLERY CARDS ===== */


/* ===== ORGANIGRAMA ===== */

.organigrama-section {
    padding-top: 32px;
    padding-bottom: 70px;
}

.organigrama-intro {
    margin-bottom: 24px;
    color: #52697e;
    font-size: 17px;
}

.organigrama-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.organigrama-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;

    min-height: 160px;
    padding: 26px 28px;

    border: 1px solid #d9e3ec;
    border-radius: 12px;
    background: #fff;

    color: #0d3157;
    text-decoration: none;

    box-shadow: 0 4px 16px rgba(15, 42, 70, 0.06);

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        border-color .2s ease;
}

.organigrama-card:hover {
    transform: translateY(-3px);
    border-color: #b9ccdc;
    box-shadow: 0 10px 28px rgba(15, 42, 70, 0.12);
}

.organigrama-card--current {
    border-top: 4px solid #c6921d;
}

.organigrama-card--archive {
    background: #f7f9fb;
}

.organigrama-card__label {
    display: block;
    margin-bottom: 10px;

    color: #b17e13;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.organigrama-card strong {
    display: block;
    font-size: 19px;
    line-height: 1.35;
}

.organigrama-card__action {
    display: block;
    margin-top: 14px;

    color: #5c7185;
    font-size: 14px;
}

.organigrama-card__arrow {
    flex: 0 0 auto;

    color: #c6921d;
    font-size: 28px;
    font-weight: 700;
}

@media (max-width: 760px) {
    .organigrama-grid {
        grid-template-columns: 1fr;
    }

    .organigrama-card {
        min-height: 130px;
        padding: 22px;
    }
}

/* ===== END ORGANIGRAMA ===== */


/* ===== PR 2021-2027 NORMALIZED CARDS ===== */

.project-program-content .project-primary-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 22px;
}

.project-program-content .project-card {
    display: flex;
    flex-direction: column;
    margin: 0 !important;
    min-width: 0;
}

.project-card-title {
    margin: 0 !important;
    color: #0b5fa5;
    font-size: 18px;
    font-weight: 750;
    line-height: 1.45;
}

.project-card-code {
    margin: 10px 0 0 !important;
    color: #536b80;
    font-size: 14px;
    font-weight: 700;
}

.project-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: auto;
    padding-top: 20px;
}

.project-card-actions a {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    padding: 9px 13px;

    border: 1px solid #dce6ee;
    border-radius: 7px;
    background: #f5f8fa;

    color: #075fa9;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none;
}

.project-card-actions a::before {
    content: "↗";
    color: #b8871f;
}

.project-card-actions a:hover {
    border-color: #bfd1df;
    background: #edf4f8;
}

@media (max-width: 820px) {
    .project-program-content .project-primary-list {
        grid-template-columns: 1fr;
    }
}

/* ===== END PR 2021-2027 ===== */


.project-primary-list--single {
    grid-template-columns: 1fr;
}

.project-card-subtitle {
    margin: 24px 0 0;
    padding-top: 18px;
    border-top: 1px solid #e3eaf0;
    color: #0b2d4d;
    font-size: 15px;
    font-weight: 800;
}


/* ===== DETALIU ACT ADMINISTRATIV ===== */

.act-detail-page {
    padding: 48px 0 72px;
}

.act-detail {
    max-width: 1180px;
}

.act-detail__header {
    padding-bottom: 28px;
    margin-bottom: 30px;
    border-bottom: 1px solid #dce5ec;
}

.act-detail__header h1 {
    margin: 10px 0 0;
    color: #0b2d4d;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.12;
}

.act-detail__section {
    margin-top: 30px;
}

.act-detail__section h2 {
    margin: 0 0 14px;
    color: #0b2d4d;
    font-size: 23px;
    line-height: 1.3;
}

.act-detail__section p {
    max-width: 1050px;
    margin: 0;
    color: #263f55;
    font-size: 17px;
    line-height: 1.7;
}

.act-document-card {
    display: flex;
    align-items: center;
    gap: 18px;

    max-width: 720px;
    padding: 18px 20px;

    border: 1px solid #d8e3ec;
    border-radius: 10px;
    background: #fff;

    color: #0b5fa5;
    text-decoration: none;

    box-shadow: 0 4px 14px rgba(15, 42, 70, 0.05);

    transition:
        transform .2s ease,
        border-color .2s ease,
        box-shadow .2s ease;
}

.act-document-card:hover {
    transform: translateY(-2px);
    border-color: #b9ccdc;
    box-shadow: 0 9px 24px rgba(15, 42, 70, 0.1);
}

.act-document-card__icon {
    flex: 0 0 auto;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 52px;
    height: 52px;

    border-radius: 8px;
    background: #0b5fa5;

    color: #fff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .04em;
}

.act-document-card__content {
    min-width: 0;
    flex: 1;
}

.act-document-card__content strong {
    display: block;
    color: #0b2d4d;
    font-size: 16px;
    line-height: 1.35;
}

.act-document-card__content span {
    display: block;
    margin-top: 4px;
    color: #607487;
    font-size: 14px;
}

.act-document-card__arrow {
    flex: 0 0 auto;
    color: #c6921d;
    font-size: 27px;
    font-weight: 700;
}

@media (max-width: 700px) {
    .act-detail-page {
        padding: 32px 0 50px;
    }

    .act-detail__header h1 {
        font-size: 30px;
    }

    .act-detail__section h2 {
        font-size: 21px;
    }

    .act-detail__section p {
        font-size: 16px;
    }

    .act-document-card {
        padding: 15px;
    }
}

/* ===== END DETALIU ACT ADMINISTRATIV ===== */


/* =========================================================
   COMUNICATE / ACTUALITATE
   ========================================================= */

.comunicate-page,
.comunicat-detail {
    padding: 46px 0 76px;
}

.comunicate-page__header {
    max-width: 850px;
    margin-bottom: 42px;
}

.comunicate-page__header h1,
.comunicat-article__header h1 {
    margin: 8px 0 14px;
    color: #0b2d4d;
    font-size: clamp(34px, 5vw, 52px);
    line-height: 1.1;
}

.comunicate-page__header p {
    margin: 0;
    color: #536a7d;
    font-size: 18px;
    line-height: 1.65;
}

.comunicate-section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 22px;
}

.comunicate-section-heading h2 {
    margin: 6px 0 0;
    color: #0b2d4d;
    font-size: 28px;
}

.comunicate-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.comunicat-card {
    overflow: hidden;
    border: 1px solid #dce5ec;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 5px 18px rgba(20, 45, 70, .06);
}

.comunicat-card__image {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #edf2f6;
}

.comunicat-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}

.comunicat-card:hover .comunicat-card__image img {
    transform: scale(1.035);
}

.comunicat-card__body {
    padding: 20px;
}

.comunicat-card__meta,
.comunicat-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    color: #6b7c8b;
    font-size: 13px;
    font-weight: 700;
}

.comunicat-card__meta span,
.comunicat-meta span {
    color: #0b5fa5;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.comunicat-card h3 {
    margin: 12px 0 10px;
    font-size: 21px;
    line-height: 1.3;
}

.comunicat-card h3 a {
    color: #0b2d4d;
    text-decoration: none;
}

.comunicat-card p {
    margin: 0 0 18px;
    color: #536a7d;
    line-height: 1.6;
}

.comunicat-card__more {
    color: #0b5fa5;
    font-weight: 700;
    text-decoration: none;
}

.comunicate-archive {
    margin-top: 54px;
}

.comunicate-archive details {
    border: 1px solid #dce5ec;
    border-radius: 12px;
    background: #fff;
}

.comunicate-archive summary {
    cursor: pointer;
    padding: 20px 22px;
    color: #0b2d4d;
    font-size: 20px;
    font-weight: 700;
}

.comunicate-archive summary small {
    display: block;
    margin-top: 4px;
    color: #738596;
    font-size: 13px;
    font-weight: 500;
}

.comunicate-archive__body {
    padding: 5px 22px 26px;
    border-top: 1px solid #e6edf2;
}

.comunicat-article {
    max-width: 1100px;
}

.comunicat-article__header {
    max-width: 930px;
    margin-bottom: 32px;
}

.comunicat-lead {
    margin: 20px 0 0;
    color: #536a7d;
    font-size: 20px;
    line-height: 1.65;
}

.comunicat-hero {
    margin: 0 0 38px;
}

.comunicat-hero img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 650px;
    object-fit: cover;
    border-radius: 14px;
}

.comunicat-body {
    max-width: 900px;
    color: #263f55;
    font-size: 17px;
    line-height: 1.75;
}

.comunicat-gallery,
.comunicat-video {
    margin-top: 48px;
}

.comunicat-gallery h2,
.comunicat-video h2 {
    color: #0b2d4d;
    font-size: 27px;
}

.comunicat-gallery__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.comunicat-gallery__item {
    overflow: hidden;
    border-radius: 10px;
    aspect-ratio: 3 / 2;
}

.comunicat-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .25s ease;
}

.comunicat-gallery__item:hover img {
    transform: scale(1.035);
}

.comunicat-video video {
    width: 100%;
    max-height: 700px;
    border-radius: 12px;
    background: #000;
}

.comunicat-back {
    margin-top: 48px;
    padding-top: 26px;
    border-top: 1px solid #dce5ec;
}

.comunicat-back a {
    color: #0b5fa5;
    font-weight: 700;
    text-decoration: none;
}

@media (max-width: 950px) {
    .comunicate-grid,
    .comunicat-gallery__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 650px) {
    .comunicate-page,
    .comunicat-detail {
        padding: 30px 0 52px;
    }

    .comunicate-grid,
    .comunicat-gallery__grid {
        grid-template-columns: 1fr;
    }

    .comunicat-article__header h1 {
        font-size: 32px;
    }

    .comunicat-lead {
        font-size: 17px;
    }
}

/* ========================================================= */

/* ===== COMUNICAT - AJUSTARI FINALE ===== */

.comunicat-article__header h1 {
    max-width: 960px;
    font-size: clamp(30px, 3.5vw, 44px);
    line-height: 1.12;
}

.comunicat-gallery__item {
    border: 0;
    padding: 0;
    background: transparent;
    cursor: zoom-in;
}

.comunicat-gallery__item:focus-visible {
    outline: 3px solid #c99018;
    outline-offset: 3px;
}

@media (max-width: 650px) {
    .comunicat-article__header h1 {
        font-size: 29px;
    }
}

/* ===== END COMUNICAT - AJUSTARI FINALE ===== */


/* ===== HOMEPAGE COMUNICATE ===== */

.home-news-section {
    padding: 58px 0;
}

.home-news-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
}

.home-news-heading h2 {
    margin-top: 6px;
}

.home-news-all {
    flex: 0 0 auto;
    color: #0b5fa5;
    font-weight: 700;
    text-decoration: none;
}

.home-news-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    margin-top: 24px;
}

.home-news-card {
    overflow: hidden;
    border: 1px solid #dce5ec;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 5px 18px rgba(15, 42, 70, .07);
    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.home-news-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(15, 42, 70, .12);
}

.home-news-card__image {
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #edf2f6;
}

.home-news-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}

.home-news-card:hover .home-news-card__image img {
    transform: scale(1.035);
}

.home-news-card__body {
    padding: 18px;
}

.home-news-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 12px;
    margin-bottom: 10px;
    color: #748493;
    font-size: 12px;
    font-weight: 700;
}

.home-news-card__meta span {
    color: #0b5fa5;
    text-transform: uppercase;
}

.home-news-card h3 {
    margin: 0 0 11px;
    font-size: 19px;
    line-height: 1.32;
}

.home-news-card h3 a {
    color: #0b2d4d;
    text-decoration: none;
}

.home-news-card p {
    margin: 0 0 15px;
    color: #586e80;
    font-size: 14px;
    line-height: 1.55;
}

.home-news-card__more {
    color: #0b5fa5;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

@media (max-width: 1100px) {
    .home-news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 650px) {
    .home-news-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .home-news-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== END HOMEPAGE COMUNICATE ===== */

/* ===== COMUNICATE - ARHIVA VECHE ===== */

.legacy-archive {
    overflow: hidden;
    border: 1px solid #dce5ec;
    border-radius: 12px;
    background: #fff;
}

.legacy-archive__summary {
    cursor: pointer;
    padding: 20px 22px;
    color: #0b2d4d;
    font-size: 20px;
    font-weight: 700;
}

.legacy-archive__summary small {
    display: block;
    margin-top: 5px;
    color: #738596;
    font-size: 13px;
    font-weight: 500;
}

.legacy-archive__list {
    padding: 12px 18px 20px;
    border-top: 1px solid #e6edf2;
    background: #f8fafc;
}

.legacy-comunicat {
    margin: 8px 0;
    overflow: hidden;
    border: 1px solid #dde6ed;
    border-radius: 9px;
    background: #fff;
}

.legacy-comunicat__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    cursor: pointer;
    padding: 15px 17px;
    color: #173b5c;
    font-weight: 700;
    line-height: 1.4;
}

.legacy-comunicat__summary:hover {
    background: #f5f8fb;
}

.legacy-comunicat__title {
    flex: 1 1 auto;
}

.legacy-comunicat__date {
    flex: 0 0 auto;
    color: #0b5fa5;
    font-size: 13px;
    font-weight: 700;
}

.legacy-comunicat__body {
    padding: 18px 20px 22px;
    border-top: 1px solid #e7edf2;
    color: #344f65;
    line-height: 1.7;
}

.legacy-comunicat__body p:first-child {
    margin-top: 0;
}

.legacy-comunicat__body p:last-child {
    margin-bottom: 0;
}

.legacy-comunicat__body ul,
.legacy-comunicat__body ol {
    padding-left: 24px;
}

.legacy-comunicat__body a {
    color: #0b5fa5;
    overflow-wrap: anywhere;
}

@media (max-width: 650px) {
    .legacy-comunicat__summary {
        align-items: flex-start;
        flex-direction: column;
        gap: 7px;
    }

    .legacy-comunicat__body {
        padding: 16px;
    }
}

/* ===== END COMUNICATE - ARHIVA VECHE ===== */

/* Indicator expandare comunicate arhiva */

.legacy-comunicat__summary {
    list-style: none;
}

.legacy-comunicat__summary::-webkit-details-marker {
    display: none;
}

.legacy-comunicat__summary::after {
    content: "›";
    flex: 0 0 auto;
    color: #0b5fa5;
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
    transition: transform .18s ease;
}

.legacy-comunicat[open] > .legacy-comunicat__summary::after {
    transform: rotate(90deg);
}

/* ===== HOMEPAGE ACTUALITATE TABS ===== */

.home-actualitate__heading {
    margin-bottom: 22px;
}

.home-actualitate__tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 28px;
    padding-bottom: 1px;
    border-bottom: 1px solid #dce5ec;
}

.home-actualitate__tab {
    position: relative;
    border: 0;
    border-radius: 8px 8px 0 0;
    padding: 13px 22px;
    background: transparent;
    color: #597083;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    transition:
        color .18s ease,
        background .18s ease;
}

.home-actualitate__tab:hover {
    color: #0b5fa5;
    background: #f4f8fb;
}

.home-actualitate__tab.is-active {
    color: #0b5fa5;
    background: #eef5fa;
}

.home-actualitate__tab.is-active::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -2px;
    left: 0;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: #0b5fa5;
}

.home-actualitate__panel[hidden] {
    display: none;
}

.home-documents-list {
    overflow: hidden;
    border: 1px solid #dce5ec;
    border-radius: 12px;
    background: #fff;
}

.home-document {
    display: flex;
    align-items: center;
    gap: 17px;
    padding: 18px 20px;
    color: #173b5c;
    text-decoration: none;
    border-bottom: 1px solid #e6edf2;
    transition:
        background .18s ease,
        color .18s ease;
}

.home-document:last-child {
    border-bottom: 0;
}

.home-document:hover {
    background: #f5f8fb;
    color: #0b5fa5;
}

.home-document__icon {
    display: grid;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 9px;
    background: #eef5fa;
    color: #0b5fa5;
    font-size: 20px;
}

.home-document__content {
    min-width: 0;
    flex: 1 1 auto;
}

.home-document__content strong {
    display: block;
    font-size: 15px;
    line-height: 1.45;
}

.home-document__content small {
    display: block;
    margin-top: 4px;
    color: #7a8c9b;
    font-size: 12px;
    font-weight: 600;
}

.home-document__arrow {
    flex: 0 0 auto;
    color: #0b5fa5;
    font-size: 21px;
}

.home-actualitate__footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
}

@media (max-width: 700px) {

    .home-actualitate__tabs {
        overflow-x: auto;
        gap: 4px;
        scrollbar-width: thin;
    }

    .home-actualitate__tab {
        flex: 0 0 auto;
        padding: 12px 15px;
        white-space: nowrap;
        font-size: 14px;
    }

    .home-document {
        align-items: flex-start;
        padding: 15px;
    }

    .home-document__icon {
        flex-basis: 36px;
        width: 36px;
        height: 36px;
        font-size: 17px;
    }

    .home-document__arrow {
        margin-top: 5px;
    }
}

/* ===== END HOMEPAGE ACTUALITATE TABS ===== */

/* ===== HOMEPAGE PROIECTE SI INVESTITII ===== */

.home-projects-section {
    position: relative;
}

.home-projects-heading {
    margin-bottom: 28px;
}

.home-projects-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.home-project-card {
    position: relative;
    overflow: hidden;
    min-height: 330px;
    padding: 30px;
    border: 1px solid #dce5ec;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(12, 45, 73, .05);
}

.home-project-card__number {
    position: absolute;
    top: 12px;
    right: 20px;
    color: #edf2f6;
    font-size: 72px;
    font-weight: 800;
    line-height: 1;
    pointer-events: none;
}

.home-project-card__category {
    position: relative;
    display: inline-block;
    margin-bottom: 18px;
    color: #b78218;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.home-project-card h3 {
    position: relative;
    margin: 0 0 16px;
    color: #0b2d4d;
    font-size: 24px;
    line-height: 1.2;
}

.home-project-card p {
    position: relative;
    margin: 0 0 24px;
    color: #607588;
    line-height: 1.65;
}

.home-project-card a {
    position: absolute;
    right: 30px;
    bottom: 28px;
    left: 30px;
    color: #0b5fa5;
    font-weight: 700;
    text-decoration: none;
}

.home-project-card a:hover {
    text-decoration: underline;
}

@media (max-width: 1000px) {
    .home-projects-grid {
        grid-template-columns: 1fr;
    }

    .home-project-card {
        min-height: 250px;
    }
}

@media (max-width: 650px) {
    .home-project-card {
        min-height: 0;
        padding: 24px;
        padding-bottom: 68px;
    }

    .home-project-card__number {
        font-size: 58px;
    }

    .home-project-card h3 {
        font-size: 21px;
    }

    .home-project-card a {
        right: 24px;
        bottom: 22px;
        left: 24px;
    }
}

/* ===== END HOMEPAGE PROIECTE SI INVESTITII ===== */

/* Ajustare distanta Actualitate -> Proiecte */
.home-news-section {
    padding-bottom: 48px;
}

.home-projects-section {
    padding-top: 48px;
}

/* Ajustare finala distanta Actualitate -> Proiecte */
.home-news-section {
    padding-bottom: 20px;
}

.home-projects-section {
    padding-top: 24px;
}

/* ===== HOMEPAGE SERVICII ONLINE ===== */

.home-services {
    padding-top: 52px;
    padding-bottom: 30px;
}

.home-services__heading {
    margin-bottom: 24px;
}

.home-services__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.home-service-card {
    display: flex;
    align-items: center;
    gap: 18px;
    min-height: 150px;
    padding: 24px;
    border: 1px solid #dce5ec;
    border-radius: 14px;
    background: #fff;
    color: #173b5c;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(12, 45, 73, .04);
    transition:
        transform .18s ease,
        box-shadow .18s ease,
        border-color .18s ease;
}

.home-service-card:hover {
    transform: translateY(-2px);
    border-color: #b9cfdf;
    box-shadow: 0 14px 30px rgba(12, 45, 73, .08);
}

.home-service-card__icon {
    display: grid;
    flex: 0 0 54px;
    width: 54px;
    height: 54px;
    place-items: center;
    border-radius: 12px;
    background: #eef5fa;
    color: #b78218;
    font-size: 25px;
    font-weight: 700;
}

.home-service-card__content {
    min-width: 0;
    flex: 1 1 auto;
}

.home-service-card__content small {
    display: block;
    margin-bottom: 6px;
    color: #b78218;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.home-service-card__content strong {
    display: block;
    margin-bottom: 7px;
    color: #0b2d4d;
    font-size: 18px;
    line-height: 1.3;
}

.home-service-card__content span {
    display: block;
    color: #667d90;
    font-size: 14px;
    line-height: 1.5;
}

.home-service-card__arrow {
    flex: 0 0 auto;
    color: #0b5fa5;
    font-size: 22px;
}

@media (max-width: 1000px) {
    .home-services__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 650px) {
    .home-services {
        padding-top: 36px;
    }

    .home-service-card {
        align-items: flex-start;
        min-height: 0;
        padding: 20px;
    }

    .home-service-card__icon {
        flex-basis: 46px;
        width: 46px;
        height: 46px;
        font-size: 21px;
    }
}

/* ===== END HOMEPAGE SERVICII ONLINE ===== */

/* ===== HOMEPAGE GALERIE -> ULTIMELE HOTARARI ===== */

.home-gallery-section {
    padding-bottom: 28px;
}

.home-decisions-section {
    padding-top: 28px;
}

/* ===== END HOMEPAGE GALERIE -> ULTIMELE HOTARARI ===== */

/* ===== ACTE ADMINISTRATIVE - DETALIU MODERN ===== */

.act-detail {
    max-width: 1080px;
}

.act-detail__back {
    display: inline-flex;
    align-items: center;
    margin-bottom: 30px;
    color: #587084;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.act-detail__back:hover {
    color: #0b5fa5;
}

.act-detail__header {
    position: relative;
    margin-bottom: 34px;
    padding: 34px 38px;
    border: 1px solid #dce5ec;
    border-radius: 16px;
    background:
        linear-gradient(135deg, #ffffff 0%, #f7fafc 100%);
    box-shadow: 0 10px 30px rgba(12, 45, 73, .05);
}

.act-detail__header::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 4px;
    border-radius: 16px 0 0 16px;
    background: #b78218;
}

.act-detail__type {
    margin-top: 8px;
    color: #607588;
    font-size: 15px;
    font-weight: 700;
}

.act-detail__header h1 {
    margin: 8px 0 22px;
    font-size: clamp(34px, 4vw, 48px);
}

.act-detail__meta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 9px 14px;
    border-radius: 8px;
    background: #eef5fa;
}

.act-detail__meta span {
    color: #667d90;
    font-size: 13px;
}

.act-detail__meta strong {
    color: #0b5fa5;
    font-size: 14px;
}

.act-detail__object-card {
    margin-top: 0;
    padding: 30px 34px;
    border: 1px solid #dce5ec;
    border-radius: 14px;
    background: #fff;
}

.act-detail__object-label {
    display: block;
    margin-bottom: 7px;
    color: #b78218;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.act-detail__object-card h2 {
    margin: 0 0 14px;
    color: #0b2d4d;
    font-size: 22px;
}

.act-detail__object-card p {
    margin: 0;
    color: #304b62;
    font-size: 17px;
    line-height: 1.75;
}

.act-detail__section {
    margin-top: 34px;
}

.act-detail__section-heading {
    margin-bottom: 15px;
}

.act-detail__section-heading h2 {
    margin: 5px 0 0;
}

.act-document-card {
    max-width: none;
    padding: 20px 22px;
    border-radius: 12px;
}

@media (max-width: 700px) {

    .act-detail__back {
        margin-bottom: 20px;
    }

    .act-detail__header {
        padding: 27px 24px;
    }

    .act-detail__header h1 {
        font-size: 30px;
    }

    .act-detail__meta {
        align-items: flex-start;
        flex-direction: column;
        gap: 2px;
    }

    .act-detail__object-card {
        padding: 24px 21px;
    }

    .act-detail__object-card p {
        font-size: 16px;
    }
}

/* ===== END ACTE ADMINISTRATIVE - DETALIU MODERN ===== */

/* ===== ARHIVE ACTE ADMINISTRATIVE - POLISH FINAL ===== */

.archive-main {
    background: #f8fafc;
}

.archive-container {
    max-width: 1080px;
    padding-top: 48px;
}

.archive-header {
    position: relative;
    margin-bottom: 28px;
    padding: 32px 38px;
    overflow: hidden;
    border: 1px solid #dce5ec;
    border-radius: 16px;
    background:
        linear-gradient(135deg, #ffffff 0%, #f7fafc 100%);
    box-shadow: 0 10px 30px rgba(12, 45, 73, .05);
}

.archive-header::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 4px;
    background: #b78218;
}

.archive-eyebrow {
    color: #b78218;
}

.archive-header h1 {
    color: #0b2d4d;
    font-size: clamp(34px, 4vw, 46px);
}

.archive-header p {
    color: #607588;
    line-height: 1.65;
}

.archive-filters {
    padding: 22px;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(12, 45, 73, .04);
}

.archive-filter select,
.archive-filter input {
    border-color: #d2dde6;
    border-radius: 8px;
}

.archive-filter-button {
    border-radius: 8px;
    background: #0b5fa5;
    cursor: pointer;
}

.archive-summary {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin: 4px 0 18px;
    padding: 7px 11px;
    border-radius: 7px;
    background: #eef5fa;
    color: #607588;
}

.archive-summary strong {
    color: #0b5fa5;
}

.archive-list {
    gap: 14px;
}

.archive-card {
    grid-template-columns: 145px minmax(0, 1fr);
    border-color: #dce5ec;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(12, 45, 73, .04);
    transition:
        transform .18s ease,
        box-shadow .18s ease,
        border-color .18s ease;
}

.archive-card:hover {
    transform: translateY(-1px);
    border-color: #c6d7e3;
    box-shadow: 0 10px 26px rgba(12, 45, 73, .07);
}

.archive-card__meta {
    position: relative;
    padding: 23px 20px;
    color: #0b2d4d;
    background: #eef5fa;
}

.archive-card__meta::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 3px;
    background: #b78218;
}

.archive-card__number {
    color: #0b5fa5;
    font-size: 15px;
}

.archive-card__meta time,
.archive-card__meta > span:not(.archive-card__number) {
    color: #647b8e;
}

.archive-card__content {
    padding: 23px 26px;
}

.archive-card__content h2 {
    font-size: 18px;
}

.archive-card__content h2 a {
    color: #0b2d4d;
}

.archive-card__content p {
    color: #526a7e;
    font-size: 15px;
    line-height: 1.65;
}

.archive-card__actions {
    margin-top: 18px;
}

.archive-action {
    min-height: 38px;
    padding: 8px 14px;
    border-radius: 7px;
}

.archive-action--primary {
    background: #0b5fa5;
}

.archive-action--secondary {
    color: #0b5fa5;
    background: #f3f8fb;
    border-color: #d3e2ec;
}

.archive-pagination a {
    border-radius: 7px;
}

@media (max-width: 760px) {

    .archive-container {
        padding-top: 30px;
    }

    .archive-header {
        padding: 27px 24px;
    }

    .archive-header h1 {
        font-size: 32px;
    }

    .archive-filters {
        padding: 18px;
    }

    .archive-card {
        grid-template-columns: 1fr;
    }

    .archive-card__meta {
        padding: 14px 18px;
    }

    .archive-card__meta::before {
        right: 0;
        bottom: auto;
        width: auto;
        height: 3px;
    }

    .archive-card__content {
        padding: 20px;
    }
}

/* ===== END ARHIVE ACTE ADMINISTRATIVE - POLISH FINAL ===== */

/* ===== ANUNTURI MODERN ===== */

.announcements-page {
    min-height: 600px;
    padding: 48px 0 80px;
    background: #f8fafc;
}

.announcements-page__container {
    max-width: 1080px;
}

.announcements-header {
    position: relative;
    overflow: hidden;
    margin-bottom: 26px;
    padding: 32px 38px;
    border: 1px solid #dce5ec;
    border-radius: 16px;
    background: linear-gradient(135deg, #fff 0%, #f7fafc 100%);
    box-shadow: 0 10px 30px rgba(12, 45, 73, .05);
}

.announcements-header::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: #b78218;
}

.announcements-header h1 {
    margin: 7px 0 10px;
    color: #0b2d4d;
    font-size: clamp(34px, 4vw, 46px);
    line-height: 1.1;
}

.announcements-header p {
    max-width: 760px;
    margin: 0;
    color: #607588;
    line-height: 1.65;
}

.announcements-tools {
    display: flex;
    align-items: end;
    gap: 18px;
    margin-bottom: 20px;
    padding: 20px;
    border: 1px solid #dce5ec;
    border-radius: 14px;
    background: #fff;
}

.announcements-search {
    flex: 1 1 auto;
}

.announcements-search label {
    display: block;
    margin-bottom: 7px;
    color: #243a55;
    font-size: 13px;
    font-weight: 700;
}

.announcements-search__field {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 48px;
    padding: 0 14px;
    border: 1px solid #ccd9e3;
    border-radius: 8px;
    background: #fff;
}

.announcements-search__field span {
    color: #7890a3;
    font-size: 21px;
}

.announcements-search__field input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: #243a55;
    font: inherit;
}

.announcements-search__field:focus-within {
    border-color: #0b5fa5;
    box-shadow: 0 0 0 3px rgba(11, 95, 165, .09);
}

.announcements-count {
    flex: 0 0 auto;
    min-width: 110px;
    padding: 10px 15px;
    border-radius: 8px;
    background: #eef5fa;
    text-align: center;
}

.announcements-count strong {
    display: block;
    color: #0b5fa5;
    font-size: 20px;
}

.announcements-count span {
    color: #647b8e;
    font-size: 12px;
}

.announcements-list {
    display: grid;
    gap: 12px;
}

.announcement-card {
    display: flex;
    gap: 18px;
    padding: 21px 22px;
    border: 1px solid #dce5ec;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 5px 18px rgba(12, 45, 73, .035);
}

.announcement-card__icon {
    display: grid;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 9px;
    background: #eef5fa;
    color: #0b5fa5;
    font-size: 20px;
}

.announcement-card__content {
    min-width: 0;
    flex: 1;
}

.announcement-card h2 {
    margin: 0;
    color: #0b2d4d;
    font-size: 16px;
    line-height: 1.5;
}

.announcement-card__meta {
    margin-top: 6px;
    color: #7a8d9d;
    font-size: 12px;
    font-weight: 600;
}

.announcement-document {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 13px;
    color: #0b5fa5;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.announcement-document:hover {
    text-decoration: underline;
}

.announcement-documents {
    margin-top: 13px;
}

.announcement-documents summary {
    cursor: pointer;
    color: #0b5fa5;
    font-size: 13px;
    font-weight: 700;
}

.announcement-documents__list {
    display: grid;
    gap: 7px;
    margin-top: 10px;
}

.announcement-documents__list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 10px 12px;
    border-radius: 7px;
    background: #f5f8fb;
    color: #38546d;
    font-size: 13px;
    text-decoration: none;
}

.announcement-documents__list a:hover {
    background: #edf4f9;
    color: #0b5fa5;
}

.announcements-more {
    margin-top: 24px;
    text-align: center;
}

.announcements-more button {
    padding: 11px 22px;
    border: 1px solid #cbdbe6;
    border-radius: 8px;
    background: #fff;
    color: #0b5fa5;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.announcements-more button:hover {
    background: #eef5fa;
}

.announcements-empty {
    padding: 40px 25px;
    border: 1px solid #dce5ec;
    border-radius: 12px;
    background: #fff;
    text-align: center;
}

.announcements-empty strong,
.announcements-empty span {
    display: block;
}

.announcements-empty strong {
    color: #0b2d4d;
}

.announcements-empty span {
    margin-top: 5px;
    color: #718698;
}

@media (max-width: 700px) {
    .announcements-page {
        padding-top: 30px;
    }

    .announcements-header {
        padding: 27px 24px;
    }

    .announcements-tools {
        align-items: stretch;
        flex-direction: column;
    }

    .announcements-count {
        min-width: 0;
    }

    .announcement-card {
        padding: 18px;
    }

    .announcement-card__icon {
        display: none;
    }
}

/* ===== END ANUNTURI MODERN ===== */

/* ===== ACHIZITII PUBLICE MODERN ===== */

.procurement-page {
    min-height: 600px;
    padding: 48px 0 80px;
    background: #f8fafc;
}

.procurement-page__container {
    max-width: 1080px;
}

.procurement-header {
    position: relative;
    overflow: hidden;
    margin-bottom: 26px;
    padding: 32px 38px;
    border: 1px solid #dce5ec;
    border-radius: 16px;
    background: linear-gradient(135deg, #fff 0%, #f7fafc 100%);
    box-shadow: 0 10px 30px rgba(12,45,73,.05);
}

.procurement-header::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: #b78218;
}

.procurement-header h1 {
    margin: 7px 0 10px;
    color: #0b2d4d;
    font-size: clamp(34px,4vw,46px);
    line-height: 1.1;
}

.procurement-header p {
    max-width: 760px;
    margin: 0;
    color: #607588;
    line-height: 1.65;
}

.procurement-tools {
    display: flex;
    align-items: end;
    gap: 18px;
    margin-bottom: 20px;
    padding: 20px;
    border: 1px solid #dce5ec;
    border-radius: 14px;
    background: #fff;
}

.procurement-search {
    flex: 1;
}

.procurement-search label {
    display: block;
    margin-bottom: 7px;
    color: #243a55;
    font-size: 13px;
    font-weight: 700;
}

.procurement-search__field {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 48px;
    padding: 0 14px;
    border: 1px solid #ccd9e3;
    border-radius: 8px;
}

.procurement-search__field input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: #243a55;
    font: inherit;
}

.procurement-search__field:focus-within {
    border-color: #0b5fa5;
    box-shadow: 0 0 0 3px rgba(11,95,165,.09);
}

.procurement-count {
    min-width: 115px;
    padding: 10px 15px;
    border-radius: 8px;
    background: #eef5fa;
    text-align: center;
}

.procurement-count strong {
    display: block;
    color: #0b5fa5;
    font-size: 20px;
}

.procurement-count span {
    color: #647b8e;
    font-size: 12px;
}

.procurement-list {
    display: grid;
    gap: 12px;
}

.procurement-card {
    display: grid;
    grid-template-columns: 58px minmax(0,1fr);
    overflow: hidden;
    border: 1px solid #dce5ec;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 5px 18px rgba(12,45,73,.035);
}

.procurement-card__number {
    display: flex;
    justify-content: center;
    padding-top: 23px;
    color: #b78218;
    background: #f3f7fa;
    font-size: 14px;
    font-weight: 800;
}

.procurement-card__content {
    padding: 21px 23px;
}

.procurement-card h2 {
    margin: 0;
    color: #0b2d4d;
    font-size: 16px;
    line-height: 1.5;
}

.procurement-card__meta {
    margin-top: 6px;
    color: #7a8d9d;
    font-size: 12px;
    font-weight: 600;
}

.procurement-document {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 13px;
    color: #0b5fa5;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.procurement-documents {
    margin-top: 13px;
}

.procurement-documents summary {
    cursor: pointer;
    color: #0b5fa5;
    font-size: 13px;
    font-weight: 700;
}

.procurement-documents__list {
    display: grid;
    gap: 7px;
    margin-top: 11px;
}

.procurement-documents__list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 10px 12px;
    border-radius: 7px;
    background: #f5f8fb;
    color: #38546d;
    font-size: 13px;
    text-decoration: none;
}

.procurement-documents__list a:hover {
    background: #edf4f9;
    color: #0b5fa5;
}

.procurement-no-document {
    display: inline-block;
    margin-top: 12px;
    color: #7a8d9d;
    font-size: 13px;
}

.procurement-more {
    margin-top: 24px;
    text-align: center;
}

.procurement-more button {
    padding: 11px 22px;
    border: 1px solid #cbdbe6;
    border-radius: 8px;
    background: #fff;
    color: #0b5fa5;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.procurement-empty {
    padding: 40px;
    border: 1px solid #dce5ec;
    border-radius: 12px;
    background: #fff;
    text-align: center;
}

.procurement-empty strong,
.procurement-empty span {
    display: block;
}

.procurement-empty span {
    margin-top: 5px;
    color: #718698;
}

@media (max-width:700px) {
    .procurement-page {
        padding-top: 30px;
    }

    .procurement-header {
        padding: 27px 24px;
    }

    .procurement-tools {
        align-items: stretch;
        flex-direction: column;
    }

    .procurement-card {
        grid-template-columns: 1fr;
    }

    .procurement-card__number {
        justify-content: flex-start;
        padding: 12px 18px;
    }

    .procurement-card__content {
        padding: 18px;
    }
}

/* ===== END ACHIZITII PUBLICE MODERN ===== */

/* ===== URBANISM MODERN ===== */

.urbanism-page {
    min-height: 600px;
    padding: 48px 0 80px;
    background: #f8fafc;
}

.urbanism-page__container {
    max-width: 1080px;
}

.urbanism-header {
    position: relative;
    overflow: hidden;
    margin-bottom: 26px;
    padding: 32px 38px;
    border: 1px solid #dce5ec;
    border-radius: 16px;
    background: linear-gradient(135deg, #fff 0%, #f7fafc 100%);
    box-shadow: 0 10px 30px rgba(12,45,73,.05);
}

.urbanism-header::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: #b78218;
}

.urbanism-header h1 {
    margin: 7px 0 10px;
    color: #0b2d4d;
    font-size: clamp(34px,4vw,46px);
    line-height: 1.1;
}

.urbanism-header p {
    max-width: 780px;
    margin: 0;
    color: #607588;
    line-height: 1.65;
}

.urbanism-tools {
    display: flex;
    align-items: end;
    gap: 18px;
    margin-bottom: 20px;
    padding: 20px;
    border: 1px solid #dce5ec;
    border-radius: 14px;
    background: #fff;
}

.urbanism-search {
    flex: 1;
}

.urbanism-search label {
    display: block;
    margin-bottom: 7px;
    color: #243a55;
    font-size: 13px;
    font-weight: 700;
}

.urbanism-search__field {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 48px;
    padding: 0 14px;
    border: 1px solid #ccd9e3;
    border-radius: 8px;
}

.urbanism-search__field input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: #243a55;
    font: inherit;
}

.urbanism-search__field:focus-within {
    border-color: #0b5fa5;
    box-shadow: 0 0 0 3px rgba(11,95,165,.09);
}

.urbanism-count {
    min-width: 105px;
    padding: 10px 15px;
    border-radius: 8px;
    background: #eef5fa;
    text-align: center;
}

.urbanism-count strong {
    display: block;
    color: #0b5fa5;
    font-size: 20px;
}

.urbanism-count span {
    color: #647b8e;
    font-size: 12px;
}

.urbanism-tabs {
    display: flex;
    gap: 7px;
    margin-bottom: 22px;
    border-bottom: 1px solid #dce5ec;
}

.urbanism-tab {
    border: 0;
    border-radius: 8px 8px 0 0;
    padding: 13px 18px;
    background: transparent;
    color: #607588;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.urbanism-tab span {
    margin-left: 7px;
    padding: 2px 7px;
    border-radius: 10px;
    background: #e8eef3;
    font-size: 11px;
}

.urbanism-tab.is-active {
    color: #0b5fa5;
    background: #eef5fa;
}

.urbanism-section__heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 15px;
}

.urbanism-section__heading h2 {
    margin: 0;
    color: #0b2d4d;
    font-size: 23px;
}

.urbanism-section__heading > span {
    color: #718698;
    font-size: 13px;
}

.urbanism-list {
    display: grid;
    gap: 11px;
}

.urbanism-card {
    display: flex;
    gap: 17px;
    padding: 19px 21px;
    border: 1px solid #dce5ec;
    border-radius: 11px;
    background: #fff;
}

.urbanism-card__icon {
    display: grid;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 8px;
    background: #eef5fa;
    color: #0b5fa5;
}

.urbanism-card__content {
    min-width: 0;
    flex: 1;
}

.urbanism-card h3 {
    margin: 0;
    color: #0b2d4d;
    font-size: 15px;
    line-height: 1.5;
}

.urbanism-card__meta {
    margin-top: 5px;
    color: #7a8d9d;
    font-size: 12px;
}

.urbanism-document {
    display: inline-flex;
    gap: 8px;
    margin-top: 11px;
    color: #0b5fa5;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.urbanism-documents {
    margin-top: 11px;
}

.urbanism-documents summary {
    cursor: pointer;
    color: #0b5fa5;
    font-size: 13px;
    font-weight: 700;
}

.urbanism-documents__list {
    display: grid;
    gap: 7px;
    margin-top: 10px;
}

.urbanism-documents__list a {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 10px 12px;
    border-radius: 7px;
    background: #f5f8fb;
    color: #38546d;
    font-size: 13px;
    text-decoration: none;
}

.urbanism-empty {
    padding: 40px;
    border: 1px solid #dce5ec;
    border-radius: 12px;
    background: #fff;
    text-align: center;
}

.urbanism-empty strong,
.urbanism-empty span {
    display: block;
}

.urbanism-empty span {
    margin-top: 5px;
    color: #718698;
}

@media (max-width:700px) {
    .urbanism-page {
        padding-top: 30px;
    }

    .urbanism-header {
        padding: 27px 24px;
    }

    .urbanism-tools {
        align-items: stretch;
        flex-direction: column;
    }

    .urbanism-tabs {
        overflow-x: auto;
    }

    .urbanism-tab {
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .urbanism-card__icon {
        display: none;
    }
}

/* ===== END URBANISM MODERN ===== */

/* URBANISM - hidden must override component display */
.urbanism-card[hidden],
.urbanism-section[hidden] {
    display: none !important;
}



/* ==========================================================
   JUDETUL MEHEDINTI - PREZENTARE
   Text editorial, separat de stilurile UAT
   ========================================================== */

.county-about-page .county-admin-content > p {
    margin: 0 0 20px;
    color: #5c6f82;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: normal;
    line-height: 1.7;
    text-transform: none;
}

.county-about-page .county-admin-content > h2 {
    margin: 34px 0 16px;
    color: #163755;
    font-size: 1.45rem;
    line-height: 1.3;
}

.county-about-page .county-admin-content > h2:first-child {
    margin-top: 0;
}


/* JUDETUL MEHEDINTI - PREZENTARE - IMAGINI RICHTEXT */

.county-about-page .county-admin-content img.richtext-image {
    display: block;
    width: 100%;
    max-width: 800px;
    height: auto;
    margin: 26px auto 34px;
    border-radius: var(--cj-radius);
}



/* ==========================================================
   HOMEPAGE 2026 - DECEBAL + PROIECTE SI INVESTITII
   ========================================================== */

.template-homepage .portal-hero {
    background:
        linear-gradient(
            270deg,
            rgba(7, 27, 47, .86) 0%,
            rgba(7, 27, 47, .62) 37%,
            rgba(7, 27, 47, .16) 67%,
            rgba(7, 27, 47, .05) 100%
        ),
        url("../images/home/hero-decebal.d1a3ce6f8e51.jpg")
        center 46% / cover no-repeat;
}

.template-homepage .portal-hero__inner {
    padding-bottom: 0;
}

.template-homepage .portal-hero__content {
    width: min(620px, 48%);
    margin-left: auto;
}

.template-homepage .home-projects-section {
    padding-top: 64px;
    padding-bottom: 64px;
}

.template-homepage .home-projects-heading {
    margin-bottom: 30px;
}

.template-homepage .home-projects-intro {
    max-width: 760px;
    margin: 10px 0 0;
    color: #607588;
    line-height: 1.65;
}

.template-homepage .home-project-card {
    min-height: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.template-homepage .home-project-card a {
    position: static;
    right: auto;
    bottom: auto;
    left: auto;
}

.template-homepage .home-project-card__image {
    display: block;
    width: 100%;
    aspect-ratio: 760 / 430;
    overflow: hidden;
    background: #eef3f7;
}

.template-homepage .home-project-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .25s ease;
}

.template-homepage .home-project-card:hover
.home-project-card__image img {
    transform: scale(1.025);
}

.template-homepage .home-project-card__body {
    padding: 24px 26px 26px;
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
}

.template-homepage .home-project-card__meta {
    position: relative;
    margin-bottom: 13px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.template-homepage .home-project-card__category {
    margin: 0;
}

.template-homepage .home-project-card__status {
    padding: 5px 9px;
    flex: 0 0 auto;
    border-radius: 999px;
    background: #eef5fa;
    color: #456379;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.template-homepage .home-project-card h3 {
    margin-bottom: 13px;
    font-size: 22px;
}

.template-homepage .home-project-card h3 a {
    color: inherit;
    text-decoration: none;
}

.template-homepage .home-project-card h3 a:hover {
    color: #0b5fa5;
}

.template-homepage .home-project-card p {
    margin-bottom: 20px;
}

.template-homepage .home-project-card__more {
    margin-top: auto;
    color: #0b5fa5;
    font-weight: 800;
    text-decoration: none;
}

.template-homepage .home-project-card__more:hover {
    text-decoration: underline;
}

@media (max-width: 1000px) {

    .template-homepage .portal-hero__content {
        width: min(560px, 58%);
    }

}

@media (max-width: 760px) {

    .template-homepage .portal-hero {
        background:
            linear-gradient(
                rgba(7, 27, 47, .48),
                rgba(7, 27, 47, .74)
            ),
            url("../images/home/hero-decebal.d1a3ce6f8e51.jpg")
            35% center / cover no-repeat;
    }

    .template-homepage .portal-hero__content {
        width: 100%;
        margin-left: 0;
    }

    .template-homepage .home-projects-section {
        padding-top: 42px;
        padding-bottom: 42px;
    }

    .template-homepage .home-project-card__body {
        padding: 21px;
    }

    .template-homepage .home-project-card__meta {
        align-items: flex-start;
    }

}



/* ==========================================================
   HOMEPAGE PROIECTE - ACCENT V2
   ========================================================== */

.template-homepage .home-projects-section {
    padding-top: 72px;
    padding-bottom: 72px;
    background:
        linear-gradient(
            180deg,
            #f7fafc 0%,
            #ffffff 100%
        );
    border-top: 1px solid #edf2f6;
    border-bottom: 1px solid #edf2f6;
}

.template-homepage .home-projects-heading {
    max-width: 880px;
    margin-bottom: 36px;
}

.template-homepage .home-projects-heading h2 {
    margin-bottom: 0;
    font-size: clamp(2rem, 3vw, 2.65rem);
    line-height: 1.08;
    letter-spacing: -.025em;
}

.template-homepage .home-projects-intro {
    max-width: 760px;
    margin-top: 14px;
    font-size: 1.02rem;
    line-height: 1.65;
}

.template-homepage .home-projects-grid {
    gap: 26px;
}

.template-homepage .home-project-card {
    height: 100%;
    border: 1px solid #d9e3ea;
    border-radius: 16px;
    background: #fff;
    box-shadow:
        0 12px 32px rgba(12, 45, 73, .075);
    transition:
        transform .20s ease,
        box-shadow .20s ease,
        border-color .20s ease;
}

.template-homepage .home-project-card:hover {
    transform: translateY(-4px);
    border-color: #c3d4df;
    box-shadow:
        0 20px 42px rgba(12, 45, 73, .12);
}

.template-homepage .home-project-card:nth-child(1) {
    border-top: 4px solid #0b5fa5;
}

.template-homepage .home-project-card:nth-child(2) {
    border-top: 4px solid #b78218;
}

.template-homepage .home-project-card:nth-child(3) {
    border-top: 4px solid #466d61;
}

.template-homepage .home-project-card__image {
    aspect-ratio: 16 / 9;
}

.template-homepage .home-project-card__body {
    padding: 26px 28px 28px;
}

.template-homepage .home-project-card__meta {
    margin-bottom: 15px;
}

.template-homepage .home-project-card__category {
    font-size: 12px;
    letter-spacing: .075em;
}

.template-homepage .home-project-card__status {
    padding: 6px 10px;
    border: 1px solid #d9e3ea;
    background: #f4f7f9;
    color: #617687;
}

.template-homepage .home-project-card__status.is-active {
    border-color: #dfc27f;
    background: #fff7df;
    color: #805b0e;
}

.template-homepage .home-project-card h3 {
    margin-bottom: 14px;
    font-size: 1.38rem;
    line-height: 1.24;
}

.template-homepage .home-project-card p {
    margin-bottom: 24px;
    font-size: .97rem;
    line-height: 1.65;
}

.template-homepage .home-project-card__more {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-top: auto;
    font-size: .95rem;
}

@media (max-width: 1000px) {

    .template-homepage .home-projects-section {
        padding-top: 56px;
        padding-bottom: 56px;
    }

}

@media (max-width: 650px) {

    .template-homepage .home-projects-section {
        padding-top: 42px;
        padding-bottom: 42px;
    }

    .template-homepage .home-projects-heading {
        margin-bottom: 26px;
    }

    .template-homepage .home-project-card__body {
        padding: 22px;
    }

    .template-homepage .home-project-card h3 {
        font-size: 1.25rem;
    }

}

/* ===== END HOMEPAGE PROIECTE - ACCENT V2 ===== */



/* ==========================================================
   HOMEPAGE SPACING V3
   Proiecte -> Presedinte -> Actualitate
   ========================================================== */

/*
 * Separarea dintre sectiuni este intentionat mai compacta
 * decat valorile generale .portal-section.
 */

.template-homepage .home-projects-section {
    padding-bottom: 36px;
}

.template-homepage .portal-president {
    padding-top: 36px;
    padding-bottom: 36px;
}

.template-homepage .home-news-section {
    padding-top: 36px;
}

/* Evitam ca regulile mai vechi pentru Actualitate/Proiecte
   sa mareasca din nou distantele. */
.template-homepage .home-news-section.home-actualitate {
    padding-top: 36px;
}

@media (max-width: 760px) {

    .template-homepage .home-projects-section {
        padding-bottom: 28px;
    }

    .template-homepage .portal-president {
        padding-top: 28px;
        padding-bottom: 28px;
    }

    .template-homepage .home-news-section,
    .template-homepage .home-news-section.home-actualitate {
        padding-top: 28px;
    }

}

/* ===== END HOMEPAGE SPACING V3 ===== */







/* ==========================================================
   HOMEPAGE HERO SLIDER V1
   Decebal este intotdeauna primul slide
   ========================================================== */

.template-homepage .portal-hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

/* ==========================================================
   HOMEPAGE HERO HEIGHT V1

   Pe desktop facem hero-ul mai inalt pentru a reduce
   crop-ul vertical produs de background-size: cover.
   Mobilul <= 760px ramane la dimensiunea existenta.
   ========================================================== */

@media (min-width: 761px) {

    .template-homepage .portal-hero {
        min-height: clamp(600px, 44vw, 720px);
    }

    .template-homepage .portal-hero__inner {
        min-height: clamp(600px, 44vw, 720px);
    }

}

/* ===== END HOMEPAGE HERO HEIGHT V1 ===== */

.template-homepage .portal-hero__slides {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.template-homepage .portal-hero__slide {
    position: absolute;
    inset: 0;

    opacity: 0;

    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;

    transform: none;

    transition:
        opacity 1.15s ease;
}

.template-homepage .portal-hero__slide.is-active {
    opacity: 1;
}

.template-homepage .portal-hero::after {
    content: "";

    position: absolute;
    inset: 0;
    z-index: 1;

    pointer-events: none;

    background:
        linear-gradient(
            270deg,
            rgba(7, 27, 47, .78) 0%,
            rgba(7, 27, 47, .52) 38%,
            rgba(7, 27, 47, .13) 68%,
            rgba(7, 27, 47, .03) 100%
        );
}

.template-homepage .portal-hero__inner {
    position: relative;
    z-index: 2;
}

.template-homepage .portal-hero__footer {
    position: absolute;

    right: 0;
    bottom: 17px;
    left: 0;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.template-homepage .portal-hero__caption {
    padding: 7px 11px;

    border: 1px solid rgba(255,255,255,.22);
    border-radius: 6px;

    background: rgba(5,24,43,.54);
    backdrop-filter: blur(4px);

    color: rgba(255,255,255,.94);

    font-size: 12px;
    font-weight: 600;
    letter-spacing: .02em;

    text-shadow:
        0 1px 4px rgba(0,0,0,.45);
}

.template-homepage .portal-hero__dots {
    display: flex;
    align-items: center;
    gap: 7px;
}

.template-homepage .portal-hero__dot {
    width: 8px;
    height: 8px;

    padding: 0;

    border: 1px solid rgba(255,255,255,.90);
    border-radius: 50%;

    background: rgba(255,255,255,.28);

    cursor: pointer;

    transition:
        width .20s ease,
        background .20s ease;
}

.template-homepage .portal-hero__dot:hover {
    background: rgba(255,255,255,.70);
}

.template-homepage .portal-hero__dot.is-active {
    width: 25px;
    border-radius: 999px;
    background: #fff;
}

@media (max-width: 760px) {

    .template-homepage .portal-hero::after {
        background:
            linear-gradient(
                180deg,
                rgba(7,27,47,.18),
                rgba(7,27,47,.78)
            );
    }

    .template-homepage .portal-hero__footer {
        bottom: 12px;
        gap: 12px;
    }

    .template-homepage .portal-hero__caption {
        max-width: 67%;
        font-size: 11px;
    }

    .template-homepage .portal-hero__dots {
        gap: 5px;
    }

}

@media (prefers-reduced-motion: reduce) {

    .template-homepage .portal-hero__slide {
        transition: none;
        transform: none;
    }

}


/* ==========================================================
   HOMEPAGE HERO IMAGE BRIGHTNESS V1

   Corectii individuale aplicate numai fotografiei.
   Overlay-ul general al hero-ului ramane neschimbat.
   ========================================================== */

.template-homepage
.portal-hero__slide[data-image-id="100"] {
    filter: brightness(1.08);
}

.template-homepage
.portal-hero__slide[data-image-id="97"] {
    filter: brightness(1.03);
}

.template-homepage
.portal-hero__slide[data-image-id="101"] {
    filter: brightness(1);
}

.template-homepage
.portal-hero__slide[data-image-id="102"] {
    filter: brightness(1);
}

.template-homepage
.portal-hero__slide[data-image-id="125"] {
    filter: brightness(1.06);
}

.template-homepage
.portal-hero__slide[data-image-id="136"] {
    filter: brightness(1);
}

.template-homepage
.portal-hero__slide[data-image-id="103"] {
    filter: brightness(1);
}

.template-homepage
.portal-hero__slide[data-image-id="105"] {
    filter: brightness(1);
}

.template-homepage
.portal-hero__slide[data-image-id="142"] {
    filter: brightness(1.05);
}

.template-homepage
.portal-hero__slide[data-image-id="145"] {
    filter: brightness(1.02);
}

.template-homepage
.portal-hero__slide[data-image-id="150"] {
    filter: brightness(1.06);
}

/* ===== END HOMEPAGE HERO IMAGE BRIGHTNESS V1 ===== */

/* ===== END HOMEPAGE HERO SLIDER V1 ===== */

/* ==========================================================
   HOMEPAGE - INFRASTRUCTURA RUTIERA
   ========================================================== */

.home-roads-showcase {
    position: relative;
    overflow: hidden;
    padding-top: 78px;
    padding-bottom: 78px;
}

.home-roads-showcase::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(32, 139, 207, .10),
            transparent 34%
        ),
        radial-gradient(
            circle at 10% 85%,
            rgba(26, 137, 103, .08),
            transparent 30%
        );
}

.home-roads-showcase__shell {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
    gap: 48px;
    align-items: center;

    padding: 54px;

    border-radius: 30px;
    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #082f4f 0%,
            #0b4569 48%,
            #0c5c71 100%
        );

    box-shadow:
        0 30px 70px rgba(5, 34, 54, .18);
}

.home-roads-showcase__shell::after {
    content: "";
    position: absolute;
    width: 380px;
    height: 380px;
    right: -130px;
    top: -170px;
    border-radius: 50%;

    border: 1px solid rgba(255, 255, 255, .10);
    box-shadow:
        0 0 0 52px rgba(255, 255, 255, .025),
        0 0 0 104px rgba(255, 255, 255, .018);

    pointer-events: none;
}

.home-roads-showcase__content {
    position: relative;
    z-index: 2;
}

.home-roads-showcase .section-eyebrow {
    color: #81dffc;
}

.home-roads-showcase__content h2 {
    max-width: 640px;
    margin:
        12px
        0
        18px;

    color: #ffffff;

    font-size: clamp(2rem, 3.3vw, 3.6rem);
    line-height: 1.06;
    letter-spacing: -.035em;
}

.home-roads-showcase__lead {
    max-width: 610px;
    margin: 0;

    color: rgba(255, 255, 255, .78);

    font-size: 1.08rem;
    line-height: 1.75;
}

.home-roads-showcase__facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;

    margin-top: 30px;
}

.home-roads-showcase__fact {
    min-width: 0;
    padding: 17px 16px;

    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 16px;

    background: rgba(255, 255, 255, .07);
    backdrop-filter: blur(9px);

    transition:
        transform .25s ease,
        background .25s ease,
        border-color .25s ease;
}

.home-roads-showcase__fact:hover {
    transform: translateY(-4px);
    border-color: rgba(129, 223, 252, .42);
    background: rgba(255, 255, 255, .11);
}

.home-roads-showcase__fact strong,
.home-roads-showcase__fact span {
    display: block;
}

.home-roads-showcase__fact strong {
    margin-bottom: 5px;
    color: #ffffff;
    font-size: 1rem;
}

.home-roads-showcase__fact span {
    color: rgba(255, 255, 255, .64);
    font-size: .78rem;
    line-height: 1.4;
}

.home-roads-showcase__button {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    margin-top: 30px;
    padding: 13px 20px;

    border-radius: 999px;

    background: #ffffff;
    color: #093651;

    font-weight: 700;
    text-decoration: none;

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.home-roads-showcase__button:hover {
    transform: translateY(-2px);

    box-shadow:
        0 12px 28px rgba(0, 0, 0, .18);
}

.home-roads-showcase__button span {
    transition: transform .2s ease;
}

.home-roads-showcase__button:hover span {
    transform: translateX(4px);
}


/* vizual */

.home-roads-showcase__visual {
    position: relative;
    z-index: 2;

    padding: 24px 22px 18px;

    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 24px;

    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, .09),
            rgba(255, 255, 255, .035)
        );

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .08);

    backdrop-filter: blur(12px);
}

.home-roads-showcase__visual-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;

    color: rgba(255, 255, 255, .66);
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.home-roads-showcase__visual-head strong {
    color: #ffffff;
}

.home-roads-showcase__map {
    display: block;
    width: 100%;
    height: auto;
    margin-top: 6px;
    overflow: visible;
}


/* traseu */

.home-roads-showcase__route-base,
.home-roads-showcase__route-glow {
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.home-roads-showcase__route-base {
    stroke: rgba(255, 255, 255, .16);
    stroke-width: 13;
}

.home-roads-showcase__route-glow {
    stroke: url(#roadGlow);
    stroke-width: 5;

    stroke-dasharray: 24 15;

    filter: url(#roadShadow);

    animation:
        homeRoadFlow 1.75s linear infinite;
}

@keyframes homeRoadFlow {
    to {
        stroke-dashoffset: -78;
    }
}


/* puncte */

.home-roads-showcase__point > circle:first-child {
    fill: #ffffff;
    stroke: #47cde9;
    stroke-width: 4;
}

.home-roads-showcase__point .pulse {
    fill: none;
    stroke: rgba(102, 232, 208, .65);
    stroke-width: 2;

    transform-origin: center;
    transform-box: fill-box;

    animation:
        homeRoadPulse 2.3s ease-out infinite;

    animation-delay: var(--delay);
}

@keyframes homeRoadPulse {
    0% {
        opacity: .9;
        transform: scale(.55);
    }

    70% {
        opacity: 0;
        transform: scale(1.55);
    }

    100% {
        opacity: 0;
        transform: scale(1.55);
    }
}

.home-roads-showcase__point text {
    fill: rgba(255, 255, 255, .88);

    font-size: 14px;
    font-weight: 600;

    paint-order: stroke;
    stroke: rgba(7, 45, 70, .85);
    stroke-width: 4px;
    stroke-linejoin: round;
}


/* DJ labels */

.home-roads-showcase__road-label rect {
    fill: rgba(6, 37, 58, .88);
    stroke: rgba(120, 225, 246, .38);
}

.home-roads-showcase__road-label text {
    fill: #ffffff;

    font-size: 13px;
    font-weight: 800;

    text-anchor: middle;
}


/* legenda */

.home-roads-showcase__legend {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;

    padding-top: 12px;

    border-top: 1px solid rgba(255, 255, 255, .10);

    color: rgba(255, 255, 255, .63);
    font-size: .78rem;
}

.home-roads-showcase__legend span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.home-roads-showcase__legend i {
    display: inline-block;
    width: 24px;
    height: 4px;

    border-radius: 999px;

    background:
        linear-gradient(
            90deg,
            #5dd6ff,
            #64f0be
        );
}

.home-roads-showcase__legend strong {
    color: rgba(255, 255, 255, .88);
}


/* responsive */

@media (max-width: 980px) {

    .home-roads-showcase__shell {
        grid-template-columns: 1fr;
        padding: 38px 30px;
    }

    .home-roads-showcase__content h2 {
        max-width: 760px;
    }

}

@media (max-width: 680px) {

    .home-roads-showcase {
        padding-top: 48px;
        padding-bottom: 48px;
    }

    .home-roads-showcase__shell {
        gap: 30px;
        padding: 30px 20px;

        border-radius: 22px;
    }

    .home-roads-showcase__facts {
        grid-template-columns: 1fr;
    }

    .home-roads-showcase__visual {
        padding: 18px 12px 14px;
    }

    .home-roads-showcase__visual-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .home-roads-showcase__point text {
        font-size: 12px;
    }

}


/* accesibilitate */

@media (prefers-reduced-motion: reduce) {

    .home-roads-showcase__route-glow,
    .home-roads-showcase__point .pulse {
        animation: none;
    }

    .home-roads-showcase__fact,
    .home-roads-showcase__button,
    .home-roads-showcase__button span {
        transition: none;
    }

}

/* ==========================================================
   HOMEPAGE - INFRASTRUCTURA RUTIERA V2
   ========================================================== */

.home-roads-showcase__content h2 {
    font-size: clamp(2rem, 3vw, 3.25rem);
    max-width: 610px;
}

.home-roads-showcase__visual-head > div {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.home-roads-showcase__visual-head small {
    color: rgba(255, 255, 255, .42);
    font-size: .66rem;
    font-weight: 500;
    letter-spacing: .035em;
    text-transform: none;
}

.home-roads-showcase__map--v2 {
    margin-top: 10px;
}

.home-roads-showcase__terrain {
    fill: none;
    stroke: rgba(255, 255, 255, .055);
    stroke-width: 1.5;
}

.home-roads-showcase__terrain path:nth-child(2) {
    stroke-dasharray: 7 9;
}

.home-roads-showcase__terrain path:nth-child(3) {
    opacity: .65;
}

.home-roads-showcase__route-underlay {
    fill: none;
    stroke: rgba(255, 255, 255, .12);
    stroke-width: 14;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.home-roads-showcase__route-v2 {
    fill: none;
    stroke-width: 5;
    stroke-linecap: round;
    stroke-linejoin: round;

    stroke-dasharray: 22 13;

    filter: url(#roadGlowV2);

    animation: homeRoadFlowV2 1.8s linear infinite;
}

.home-roads-showcase__route-v2--562 {
    stroke: url(#road562Gradient);
}

.home-roads-showcase__route-v2--564 {
    stroke: url(#road564Gradient);
    animation-delay: -.65s;
}

@keyframes homeRoadFlowV2 {
    to {
        stroke-dashoffset: -70;
    }
}


/* punctele de pe DJ 564 */

.home-roads-showcase__point--564 > circle:first-child {
    stroke: #68e9c3;
}

.home-roads-showcase__point--564 .pulse {
    stroke: rgba(105, 239, 197, .70);
}


/* nod comun */

.home-roads-showcase__point--junction > circle:first-child {
    fill: #ffffff;
    stroke: #7ce7dc;
    stroke-width: 5;
}


/* etichete DJ */

.home-roads-showcase__road-label--562 rect {
    stroke: rgba(84, 216, 255, .55);
}

.home-roads-showcase__road-label--564 rect {
    stroke: rgba(105, 239, 197, .55);
}


/* conexiuni */

.home-roads-showcase__connections {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;

    margin: -2px 0 14px;
}

.home-roads-showcase__connections > span {
    margin-right: 3px;

    color: rgba(255, 255, 255, .44);

    font-size: .69rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.home-roads-showcase__connections strong {
    display: inline-flex;
    align-items: center;

    min-height: 28px;
    padding: 5px 10px;

    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 999px;

    background: rgba(4, 39, 61, .48);

    color: rgba(255, 255, 255, .82);

    font-size: .69rem;
    letter-spacing: .03em;
}


/* legendă */

.home-roads-showcase__legend--v2 > div {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.home-roads-showcase__legend--v2 .road-legend {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.home-roads-showcase__legend--v2 .road-legend i {
    width: 27px;
    height: 4px;

    border-radius: 999px;
}

.home-roads-showcase__legend--v2 .road-legend--562 i {
    background: linear-gradient(
        90deg,
        #54d8ff,
        #a6f3ff
    );
}

.home-roads-showcase__legend--v2 .road-legend--564 i {
    background: linear-gradient(
        90deg,
        #69efc5,
        #d2ffec
    );
}


@media (max-width: 680px) {

    .home-roads-showcase__content h2 {
        font-size: clamp(2rem, 10vw, 2.65rem);
    }

    .home-roads-showcase__connections {
        margin-top: 4px;
    }

    .home-roads-showcase__legend--v2 {
        align-items: flex-start;
        flex-direction: column;
    }

}


@media (prefers-reduced-motion: reduce) {

    .home-roads-showcase__route-v2 {
        animation: none;
    }

}

/* =========================================================
   Homepage - Modernizarea drumurilor judetene V3
   ========================================================= */

.cj-roadmap-v3 {
    padding: 3rem 0;
    overflow: hidden;
}

.cj-roadmap-v3__frame {
    width: 100%;
    overflow: hidden;
    border-radius: 30px;
}

.cj-roadmap-v3__image {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
}

@media (max-width: 767.98px) {
    .cj-roadmap-v3 {
        padding: 2rem 0;
    }

    .cj-roadmap-v3__frame {
        border-radius: 20px;
        overflow-x: auto;
    }

    .cj-roadmap-v3__image {
        width: 1050px;
        max-width: none;
    }
}


/* ==== HOME DRUMURI V4 START ==== */

img[src*="preview-smis300116-v4.svg"] {
    display: block;
    width: min(100%, 980px);
    max-width: 980px;
    height: auto;
    margin: -20px auto 0;
    filter: drop-shadow(0 20px 44px rgba(0, 0, 0, 0.22));
}

@media (min-width: 1400px) {
    img[src*="preview-smis300116-v4.svg"] {
        width: min(100%, 1000px);
        margin-top: -28px;
    }
}

@media (max-width: 1199px) {
    img[src*="preview-smis300116-v4.svg"] {
        width: 100%;
        margin-top: -10px;
    }
}

@media (max-width: 767px) {
    img[src*="preview-smis300116-v4.svg"] {
        width: 100%;
        margin-top: 0;
        filter: none;
    }
}

/* ==== HOME DRUMURI V4 END ==== */


/* ==== HOME DRUMURI V5 START ==== */

.cj-roadmap-v5 {
    padding: 3rem 0;
    overflow: hidden;
}

.cj-roadmap-v5__frame {
    width: 100%;
    overflow: hidden;
    border-radius: 30px;
    box-shadow:
        0 24px 60px rgba(4, 24, 43, .16);
}

.cj-roadmap-v5__frame > svg {
    display: block;
    width: 100%;
    height: auto;
}

@media (max-width: 767.98px) {
    .cj-roadmap-v5 {
        padding: 2rem 0;
    }

    .cj-roadmap-v5__frame {
        overflow-x: auto;
        border-radius: 20px;
        -webkit-overflow-scrolling: touch;
    }

    .cj-roadmap-v5__frame > svg {
        width: 1050px;
        max-width: none;
    }
}

/* ==== HOME DRUMURI V5 END ==== */

/* =========================================================
   Homepage Roadmap V5 - compact / aliniere continut
   ========================================================= */

.cj-roadmap-v5 {
    padding: 2.25rem 0;
}

.cj-roadmap-v5 > .container {
    width: calc(100% - 32px);
    max-width: 1480px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
}

.cj-roadmap-v5__frame {
    width: 100%;
    margin: 0 auto;
}

/* titlul ramane pentru accesibilitate, dar nu se afiseaza vizual */
#cj-roadmap-v5-title,
#cj-roadmap-v5-status {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

@media (max-width: 767.98px) {
    .cj-roadmap-v5 {
        padding: 1.5rem 0;
    }

    .cj-roadmap-v5 > .container {
        width: calc(100% - 24px);
    }
}

/* =========================================================
   HOME - DRUMURI JUDETENE V6
   ========================================================= */

.cj-roadmap-v6 {
    padding: 2rem 0;
    overflow: hidden;
}

.cj-roadmap-v6 > .container {
    width: calc(100% - 32px);
    max-width: 1480px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
}

.cj-roadmap-v6__frame {
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 30px;
    box-shadow:
        0 20px 55px rgba(4, 24, 43, .15);
}

.cj-roadmap-v6__frame > svg {
    display: block;
    width: 100%;
    height: auto;
}

#cj-roadmap-v6-title,
#cj-roadmap-v6-status {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

@media (max-width: 767.98px) {

    .cj-roadmap-v6 {
        padding: 1.4rem 0;
    }

    .cj-roadmap-v6 > .container {
        width: calc(100% - 24px);
    }

    .cj-roadmap-v6__frame {
        overflow-x: auto;
        border-radius: 20px;
        -webkit-overflow-scrolling: touch;
    }

    .cj-roadmap-v6__frame > svg {
        width: 1050px;
        max-width: none;
    }
}

/* ========================================================= */

/* ===== HOME STRATEGY COVERS V2 START ===== */

/* Tranzitie mai compacta intre strategii si proiecte. */
.template-homepage .home-services {
    padding-bottom: 12px;
}

.template-homepage
.home-services
+ .home-projects-section {
    padding-top: 14px;
}


/* Copertele documentelor strategice. */
.template-homepage
.home-service-card--strategy {
    gap: 17px;
}

.template-homepage
.home-service-card__cover {
    display: flex;
    flex: 0 0 82px;
    width: 82px;
    height: 116px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid #dce5ec;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(12, 45, 73, .06);
}

.template-homepage
.home-service-card__cover img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}


@media (max-width: 1150px) {

    .template-homepage
    .home-service-card__cover {
        flex-basis: 72px;
        width: 72px;
        height: 102px;
    }

}


@media (max-width: 1000px) {

    .template-homepage
    .home-service-card__cover {
        flex-basis: 82px;
        width: 82px;
        height: 116px;
    }

}


@media (max-width: 650px) {

    .template-homepage .home-services {
        padding-bottom: 8px;
    }

    .template-homepage
    .home-services
    + .home-projects-section {
        padding-top: 10px;
    }

    .template-homepage
    .home-service-card--strategy {
        align-items: center;
        gap: 14px;
    }

    .template-homepage
    .home-service-card__cover {
        flex-basis: 68px;
        width: 68px;
        height: 96px;
    }

}

/* ===== HOME STRATEGY COVERS V2 END ===== */



/* ===== RAPOARTE ANUALE DESIGN ===== */

.annual-reports-page {
    padding-bottom: 80px;
}

.annual-reports-header {
    max-width: 1180px;
}

.annual-reports-header p {
    max-width: 760px;
    margin-top: 1rem;
    color: #607084;
    font-size: 1.05rem;
    line-height: 1.7;
}

.annual-reports-content {
    max-width: 1180px;
    margin: 2.25rem auto 0;
}


/* HUB */

.annual-reports-grid {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.annual-report-hub-card {
    position: relative;
    min-width: 0;
    padding: 28px;
    display: flex;
    flex-direction: column;
    min-height: 255px;

    color: #183752;
    background: #fff;

    border: 1px solid #dce5ed;
    border-radius: 12px;

    box-shadow:
        0 6px 22px rgba(7, 27, 47, .055);

    text-decoration: none;

    transition:
        border-color .16s ease,
        box-shadow .16s ease,
        transform .16s ease;
}

.annual-report-hub-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 28px;

    width: 48px;
    height: 3px;

    background: #c89b31;
}

.annual-report-hub-card:hover {
    border-color: #bdcfdd;

    box-shadow:
        0 10px 28px rgba(7, 27, 47, .09);

    transform: translateY(-2px);
}

.annual-report-hub-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.annual-report-hub-card__type {
    color: #a97717;
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.annual-report-hub-card__arrow {
    color: #b78724;
    font-size: 1.3rem;
    font-weight: 800;
}

.annual-report-hub-card h2 {
    margin: 28px 0 0;
    color: #113653;
    font-size: 1.25rem;
    line-height: 1.38;
}

.annual-report-hub-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.annual-report-hub-card__meta span {
    padding: 6px 9px;

    color: #536b80;
    background: #f5f8fa;

    border: 1px solid #e1e8ee;
    border-radius: 6px;

    font-size: .82rem;
    font-weight: 650;
}

.annual-report-hub-card__action {
    margin-top: auto;
    padding-top: 25px;

    color: #075fa9;
    font-weight: 750;
}


/* PAGINI MANAGER */

.manager-report-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 30px;
}

.manager-report-summary__item {
    min-width: 170px;
    padding: 15px 18px;

    background: #f7f9fb;
    border: 1px solid #dfe7ed;
    border-radius: 8px;
}

.manager-report-summary__item span {
    display: block;

    color: #697c8e;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .03em;
}

.manager-report-summary__item strong {
    display: block;
    margin-top: 4px;

    color: #123755;
    font-size: 1.35rem;
}

.manager-report-section {
    margin-top: 36px;
}

.manager-report-section:first-of-type {
    margin-top: 0;
}

.manager-report-section__header {
    margin-bottom: 15px;
}

.manager-report-section__header h2 {
    margin: 7px 0 0;

    color: #143956;
    font-size: 1.45rem;
}

.manager-report-list {
    display: grid;
    gap: 10px;
}

.manager-report-document {
    display: grid;

    grid-template-columns:
        56px
        minmax(0, 1fr)
        auto;

    align-items: center;

    gap: 18px;

    padding: 18px 20px;

    color: #1a3c57;
    background: #fff;

    border: 1px solid #dce5ec;
    border-radius: 9px;

    text-decoration: none;

    transition:
        background .15s ease,
        border-color .15s ease,
        box-shadow .15s ease;
}

.manager-report-document:hover {
    background: #f9fbfc;
    border-color: #bdccd8;

    box-shadow:
        0 5px 18px rgba(7, 27, 47, .055);
}

.manager-report-document__type {
    width: 48px;
    height: 48px;

    display: grid;
    place-items: center;

    color: #9c711c;
    background: #f7f2e7;

    border: 1px solid #eadcbc;
    border-radius: 8px;

    font-size: .72rem;
    font-weight: 850;
    letter-spacing: .04em;
}

.manager-report-document__body {
    min-width: 0;
}

.manager-report-document__body strong {
    display: block;

    color: #0f4f80;
    font-size: 1rem;
    line-height: 1.45;
}

.manager-report-document__body > span {
    display: block;
    margin-top: 4px;

    color: #687c8e;
    font-size: .88rem;
}

.manager-report-document__action {
    display: flex;
    align-items: center;
    gap: 10px;

    color: #536b80;
    font-size: .84rem;
    font-weight: 700;
    white-space: nowrap;
}

.manager-report-document__action b {
    color: #b48622;
    font-size: 1rem;
}

.manager-report-back {
    display: inline-flex;
    margin-top: 35px;

    color: #075fa9;
    font-weight: 700;
    text-decoration: none;
}

.manager-report-back:hover {
    text-decoration: underline;
}

.manager-report-empty {
    padding: 24px;

    color: #687b8c;
    background: #f7f9fb;

    border: 1px solid #dce5ec;
    border-radius: 8px;
}


@media (max-width: 900px) {

    .annual-reports-grid {
        grid-template-columns: 1fr;
    }

    .annual-report-hub-card {
        min-height: auto;
    }

}


@media (max-width: 700px) {

    .manager-report-document {
        grid-template-columns:
            48px
            minmax(0, 1fr);
    }

    .manager-report-document__action {
        grid-column: 2;
        justify-content: flex-start;
    }

}


@media (max-width: 480px) {

    .annual-report-hub-card {
        padding: 22px;
    }

    .manager-report-summary {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .manager-report-summary__item {
        min-width: 0;
    }

    .manager-report-document {
        padding: 15px;
        gap: 13px;
    }

    .manager-report-document__action span {
        display: none;
    }

}


/* ===== END RAPOARTE ANUALE DESIGN ===== */
