/* ============================================================
   ELEKTRO-MOBIL.NET — Custom Theme
   ============================================================ */

@import url('fonts/fonts.css');

/* ============================================================
   CSS Custom Properties
   ============================================================ */
:root {
    --c-green:        #d6ca17;
    --c-green-dark:   #beb314;
    --c-green-light:  #ecf7e0;
    --c-dark:         #3b4c47;
    --c-text:         #1e2c27;
    --c-muted:        #5e7870;
    --c-bg:           #f4f8f3;
    --c-white:        #ffffff;
    --c-border:       #d6e8d0;

    --font-head: 'Exo 2', 'Segoe UI', system-ui, sans-serif;
    --font-body: 'Nunito', 'Segoe UI', system-ui, sans-serif;

    --radius:     10px;
    --radius-sm:  6px;
    --radius-lg:  18px;
    --shadow:     0 2px 14px rgba(59, 76, 71, 0.08);
    --shadow-md:  0 4px 20px rgba(59, 76, 71, 0.13);
    --shadow-up:  0 8px 32px rgba(59, 76, 71, 0.20);
    --transition: 0.22s ease;

    /* Nav height — reserved to prevent CLS */
    --nav-h: 70px;
}

/* ============================================================
   Base overrides
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.72;
    color: var(--c-text);
    background-color: var(--c-bg);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-head);
    font-weight: 700;
    line-height: 1.22;
    color: var(--c-dark);
    margin-top: 0;
}

a { color: var(--c-green); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--c-green-dark); }

img { max-width: 100%; height: auto; display: block; }
p   { margin-top: 0; margin-bottom: 1rem; }

/* ============================================================
   Page skeleton
   ============================================================ */
.container-fluid {
    padding-left: 0;
    padding-right: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main { flex: 1; }

.container { max-width: 1200px; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.em-nav {
    background-color: var(--c-dark);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.18);
    height: var(--nav-h);
    display: flex;
    align-items: center;
}

.em-nav .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
}

.em-nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--nav-h);
    gap: 1rem;
}

.em-nav__brand {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    text-decoration: none;
    line-height: 1;
}
.em-nav__brand img {
    height: 46px;
    width: auto;
    display: block;
}

.em-nav__list {
    display: flex;
    align-items: center;
    gap: 0.15rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.em-nav__item { position: relative; }

.em-nav__item a {
    display: block;
    padding: 0.42rem 0.85rem;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: color var(--transition), background-color var(--transition);
}

.em-nav__item a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0.85rem;
    right: 0.85rem;
    height: 2px;
    background-color: var(--c-green);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform var(--transition);
    border-radius: 2px;
}

.em-nav__item a:hover,
.em-nav__item.is-active a {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.08);
}

.em-nav__item.is-active a::after,
.em-nav__item a:hover::after {
    transform: scaleX(1);
}

.em-nav__item--cta a {
    background-color: var(--c-green);
    color: #fff !important;
    border-radius: 20px;
    padding: 0.4rem 1.1rem;
}
.em-nav__item--cta a:hover { background-color: var(--c-green-dark) !important; }
.em-nav__item--cta a::after { display: none !important; }

.em-nav__toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 42px;
    height: 42px;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.38);
    border-radius: var(--radius-sm);
    cursor: pointer;
    padding: 9px 10px;
    gap: 5px;
    transition: border-color var(--transition);
    flex-shrink: 0;
}
.em-nav__toggle:hover { border-color: rgba(255, 255, 255, 0.65); }
.em-nav__toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
    transform-origin: center;
}

.em-nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.em-nav__toggle.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.em-nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 991px) {
    .em-nav__toggle { display: flex; }

    .em-nav__list {
        position: absolute;
        top: var(--nav-h);
        left: 0;
        right: 0;
        background-color: var(--c-dark);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0.5rem 1rem 1rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
        overflow: hidden;
        max-height: 0;
        transition: max-height 0.32s ease;
        pointer-events: none;
    }

    .em-nav__list.is-open {
        max-height: 420px;
        pointer-events: auto;
    }

    .em-nav__item a {
        font-size: 0.95rem;
        padding: 0.65rem 0.75rem;
    }
    .em-nav__item a::after { display: none; }

    .em-nav__item--cta a {
        border-radius: var(--radius-sm);
        text-align: center;
        margin-top: 0.35rem;
    }
}

/* ============================================================
   BREADCRUMB
   ============================================================ */
.em-breadcrumb {
    background-color: var(--c-white);
    border-bottom: 1px solid var(--c-border);
    padding: 0.45rem 0;
    font-size: 0.8rem;
}

.em-breadcrumb .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.em-breadcrumb .row { --bs-gutter-x: 0; }

.breadcrumb {
    margin-bottom: 0;
    background: transparent;
    padding: 0;
    flex-wrap: nowrap;
    overflow-x: auto;
    white-space: nowrap;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.breadcrumb::-webkit-scrollbar { display: none; }

.breadcrumb-item a  { color: var(--c-muted); font-weight: 500; }
.breadcrumb-item a:hover { color: var(--c-green); }
.breadcrumb-item.active { color: var(--c-dark); font-weight: 600; }

.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: var(--c-muted);
    padding-right: 0.3rem;
}

/* ============================================================
   INNER WRAPPER
   ============================================================ */
.inner-wrapper {
    padding: 2.5rem 0 3.5rem;
}

.inner-wrapper .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.inner-wrapper .row { --bs-gutter-x: 2rem; }

/* ============================================================
   HOME HERO
   ============================================================ */
.home-hero {
    background: linear-gradient(140deg, var(--c-dark) 0%, #2a3c37 55%, #1f2e2a 100%);
    padding: 3.5rem 0 3rem;
    position: relative;
    overflow: hidden;
}

.home-hero::before {
    content: '';
    position: absolute;
    right: -80px;
    top: -80px;
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, rgba(101, 175, 35, 0.20) 0%, transparent 68%);
    pointer-events: none;
}

.home-hero::after {
    content: '';
    position: absolute;
    left: 20%;
    bottom: -80px;
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, rgba(101, 175, 35, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.home-hero .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 1;
}

.home-hero__label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-head);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--c-green);
    margin-bottom: 0.85rem;
}

.home-hero__label::before {
    content: '';
    display: inline-block;
    width: 28px;
    height: 2px;
    background-color: var(--c-green);
    border-radius: 2px;
}

.home-hero h1 {
    font-family: var(--font-head);
    font-size: clamp(1.9rem, 4vw, 3rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
    line-height: 1.15;
}

.home-hero__lead {
    font-size: clamp(0.95rem, 1.5vw, 1.08rem);
    color: rgba(255, 255, 255, 0.78);
    max-width: 620px;
    margin-bottom: 0;
    line-height: 1.72;
}

/* ============================================================
   ARTICLE SECTION HEADER (home page)
   ============================================================ */
.article-section { margin-bottom: 3rem; }

.article-section__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.35rem;
    padding-bottom: 0.7rem;
    border-bottom: 2px solid var(--c-border);
    flex-wrap: wrap;
    gap: 0.5rem;
}

.article-section__title {
    font-family: var(--font-head);
    font-size: 1.18rem;
    font-weight: 800;
    color: var(--c-dark);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.article-section__title::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 1.05em;
    background-color: var(--c-green);
    border-radius: 2px;
    flex-shrink: 0;
}

.article-section__more {
    font-family: var(--font-head);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--c-green);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    white-space: nowrap;
    transition: color var(--transition);
}
.article-section__more:hover { color: var(--c-green-dark); }
.article-section__more::after { content: '→'; font-size: 0.9em; }

/* ============================================================
   ARTICLE-LIST — Grid variant (home, related)
   ============================================================ */
.article-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
}

@media (max-width: 991px) { .article-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px)  { .article-grid { grid-template-columns: 1fr; } }

.article-card {
    background: var(--c-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
    display: flex;
    flex-direction: column;
}
.article-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-up);
}

.article-card > a {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.article-card__img {
    aspect-ratio: 3 / 2;
    overflow: hidden;
    flex-shrink: 0;
    background-color: var(--c-bg);
}

.article-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.article-card:hover .article-card__img img { transform: scale(1.05); }

.article-card__body {
    padding: 0.9rem 1.1rem 1.1rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.article-card__date {
    font-size: 0.72rem;
    color: var(--c-muted);
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 0.35rem;
}

.article-card__title {
    font-family: var(--font-head);
    font-size: 0.97rem;
    font-weight: 700;
    color: var(--c-dark);
    margin-bottom: 0.45rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}
.article-card:hover .article-card__title { color: var(--c-green); }

.article-card__excerpt {
    font-size: 0.845rem;
    color: var(--c-muted);
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ============================================================
   ARTICLE-LIST — List variant (category page)
   ============================================================ */
.article-list-stack {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.article-list-item {
    background: var(--c-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
}
.article-list-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-up);
}

.article-list-item > a {
    display: grid;
    grid-template-columns: 280px 1fr;
    min-height: 180px;
    text-decoration: none;
    color: inherit;
}

@media (max-width: 767px) {
    .article-list-item > a { grid-template-columns: 1fr; }
}

.article-list-item__img {
    overflow: hidden;
    flex-shrink: 0;
    background-color: var(--c-bg);
}

.article-list-item__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-height: 180px;
    transition: transform 0.4s ease;
}

@media (max-width: 767px) {
    .article-list-item__img { aspect-ratio: 16 / 9; }
    .article-list-item__img img { min-height: unset; height: 100%; }
}

.article-list-item:hover .article-list-item__img img { transform: scale(1.04); }

.article-list-item__body {
    padding: 1.25rem 1.6rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.25rem;
}

.article-list-item__date {
    font-size: 0.72rem;
    color: var(--c-muted);
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.article-list-item__title {
    font-family: var(--font-head);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--c-dark);
    line-height: 1.3;
    margin: 0;
}
.article-list-item:hover .article-list-item__title { color: var(--c-green); }

.article-list-item__excerpt {
    font-size: 0.88rem;
    color: var(--c-muted);
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}

/* ============================================================
   SIDEBAR
   ============================================================ */
.em-sidebar {
    position: sticky;
    top: calc(var(--nav-h) + 1.5rem);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

@media (max-width: 991px) {
    .em-sidebar { position: static; margin-top: 2rem; }
}

.sidebar-nl {
    background: linear-gradient(140deg, var(--c-green) 0%, #4e9b18 100%);
    border-radius: var(--radius-lg);
    padding: 1.75rem 1.5rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(101, 175, 35, 0.35);
}

.sidebar-nl__icon {
    font-size: 2.4rem;
    line-height: 1;
    margin-bottom: 0.7rem;
}

.sidebar-nl h3 {
    font-family: var(--font-head);
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.45rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.sidebar-nl p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.1rem;
    line-height: 1.5;
}

.sidebar-nl__btn {
    display: inline-block;
    background: #fff;
    color: var(--c-green) !important;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 0.84rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.6rem 1.6rem;
    border-radius: 24px;
    text-decoration: none !important;
    transition: background-color var(--transition), color var(--transition), transform var(--transition);
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.14);
}
.sidebar-nl__btn:hover {
    background: var(--c-dark);
    color: #fff !important;
    transform: translateY(-2px);
}

.sidebar-cats {
    background: var(--c-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.sidebar-cats__title {
    font-family: var(--font-head);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--c-muted);
    padding: 1rem 1.35rem 0.6rem;
}

.sidebar-cats ul {
    list-style: none;
    margin: 0;
    padding: 0 0 0.5rem;
}

.sidebar-cats li { border-top: 1px solid var(--c-border); }

.sidebar-cats li a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.62rem 1.35rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--c-text);
    text-decoration: none;
    transition: color var(--transition), background-color var(--transition);
}

.sidebar-cats li a::before {
    content: '→';
    color: var(--c-green);
    font-weight: 700;
    flex-shrink: 0;
    font-size: 0.85em;
    transition: transform var(--transition);
}

.sidebar-cats li a:hover {
    color: var(--c-green);
    background-color: var(--c-green-light);
}
.sidebar-cats li a:hover::before { transform: translateX(3px); }

/* ============================================================
   ARTICLE PAGE
   ============================================================ */
.article-page {
    padding: 2rem 0 3rem;
}

.article-page .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.article-page .row { --bs-gutter-x: 2rem; }

.article-header h1 {
    font-size: clamp(1.55rem, 3vw, 2.35rem);
    font-weight: 800;
    color: var(--c-dark);
    margin-bottom: 1.25rem;
    line-height: 1.18;
}

.article-hero {
    aspect-ratio: 970 / 500;
    overflow: hidden;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
    background-color: var(--c-bg);
}

.article-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.article-date {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.8rem;
    color: var(--c-muted);
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1.6rem;
}

.article-date::before {
    content: '';
    display: inline-block;
    width: 22px;
    height: 2px;
    background-color: var(--c-green);
    border-radius: 2px;
    flex-shrink: 0;
}

.article-body {
    font-size: 1.05rem;
    line-height: 1.82;
    color: var(--c-text);
}

.article-body h2 { font-size: 1.45rem; font-weight: 700; margin: 2rem 0 0.75rem; }
.article-body h3 { font-size: 1.15rem; font-weight: 700; margin: 1.5rem 0 0.6rem; }
.article-body p  { margin-bottom: 1.1rem; }

.article-body ul,
.article-body ol { padding-left: 1.5rem; margin-bottom: 1.1rem; }
.article-body li { margin-bottom: 0.4rem; }

.article-body strong { color: var(--c-dark); font-weight: 700; }

.article-body a {
    color: var(--c-green);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.article-body blockquote {
    border-left: 4px solid var(--c-green);
    padding: 0.9rem 1.35rem;
    background: var(--c-green-light);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin: 1.5rem 0;
    font-style: italic;
    color: var(--c-dark);
}

.article-body img { border-radius: var(--radius-sm); margin: 1rem 0; max-width: 100%; }

.article-body table { width: 100%; border-collapse: collapse; margin-bottom: 1.25rem; font-size: 0.95rem; }
.article-body th,
.article-body td { padding: 0.6rem 0.9rem; text-align: left; border: 1px solid var(--c-border); }
.article-body th  { background: var(--c-bg); font-weight: 700; }

.related-articles {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 2px solid var(--c-border);
}

.related-articles__label {
    font-family: var(--font-head);
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--c-muted);
    margin-bottom: 1.2rem;
}

/* ============================================================
   CATEGORY PAGE
   ============================================================ */
.category-intro { margin-bottom: 1.75rem; }

.category-intro h1 {
    font-size: clamp(1.55rem, 3vw, 2.1rem);
    font-weight: 800;
    margin-bottom: 0.65rem;
}

.category-intro .category-lead {
    font-size: 1.02rem;
    color: var(--c-muted);
    line-height: 1.65;
    max-width: 700px;
}

/* ============================================================
   PAGE LAYOUT (standard pages)
   ============================================================ */
.page-layout {
    padding: 2.5rem 0 3.5rem;
}

.page-layout .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.page-layout .row { --bs-gutter-x: 2rem; }

.page-box {
    background: var(--c-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 2.5rem 3rem;
}

@media (max-width: 767px) {
    .page-box { padding: 1.6rem 1.35rem; }
}

.page-box h1 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    padding-bottom: 1.1rem;
    border-bottom: 2px solid var(--c-border);
}

.page-box p  { margin-bottom: 1rem; }
.page-box ul { padding-left: 1.4rem; margin-bottom: 1rem; }
.page-box li { margin-bottom: 0.4rem; }
.page-box h2 { font-size: 1.3rem; margin-top: 1.75rem; margin-bottom: 0.6rem; }
.page-box h3 { font-size: 1.1rem; margin-top: 1.35rem; margin-bottom: 0.5rem; }
.page-box a  { color: var(--c-green); text-decoration: underline; text-underline-offset: 2px; }

.confirm-box {
    text-align: center;
    padding: 3.5rem 2rem;
}

.confirm-box__icon {
    font-size: 4rem;
    line-height: 1;
    margin-bottom: 1.5rem;
}

.confirm-box h1 {
    font-size: clamp(1.5rem, 3vw, 1.9rem);
    color: var(--c-green);
    border-bottom: none;
    margin-bottom: 0.85rem;
    padding-bottom: 0;
}

.confirm-box p {
    color: var(--c-muted);
    max-width: 520px;
    margin: 0 auto 0.75rem;
    font-size: 1rem;
}

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination { gap: 0.3rem; margin-top: 2rem; }

.page-link {
    border-radius: var(--radius-sm) !important;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 0.88rem;
    padding: 0.45rem 0.88rem;
    border: 2px solid var(--c-border);
    color: var(--c-dark);
    background: var(--c-white);
    transition: all var(--transition);
    line-height: 1.4;
}

.page-link:hover {
    background: var(--c-green);
    border-color: var(--c-green);
    color: #fff;
}

.page-item.active .page-link {
    background: var(--c-green);
    border-color: var(--c-green);
    color: #fff;
    box-shadow: 0 2px 8px rgba(101, 175, 35, 0.38);
}

.page-item.disabled .page-link { opacity: 0.4; cursor: not-allowed; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer-wrapper {
    background-color: var(--c-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 1.75rem 0;
    border-top: 3px solid var(--c-green);
}

.footer-wrapper .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.footer-wrapper .row { align-items: center; }

.footer-wrapper p {
    margin: 0;
    font-size: 0.86rem;
    font-weight: 500;
}

.footer-nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.2rem 0.6rem;
}

.footer-nav a {
    font-size: 0.86rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    transition: color var(--transition), background-color var(--transition);
}

.footer-nav a:hover {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.1);
}

@media (max-width: 575px) {
    .footer-nav { justify-content: flex-start; margin-top: 0.75rem; }
}

/* ============================================================
   COOKIE ICON
   ============================================================ */
.cookieicon {
    width: 46px;
    height: 46px;
    background-color: var(--c-dark);
    cursor: pointer;
    position: fixed;
    left: 12px;
    bottom: 12px;
    border-radius: 50%;
    mask-image: url(/themes/base/assets/cookie.png);
    mask-size: 60%;
    mask-repeat: no-repeat;
    mask-position: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
    transition: background-color var(--transition), transform var(--transition);
}
.cookieicon:hover {
    background-color: var(--c-green);
    transform: scale(1.08);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991px) {
    .inner-wrapper  { padding: 1.75rem 0 2.5rem; }
    .home-hero      { padding: 2.5rem 0 2.25rem; }
    .article-page   { padding: 1.5rem 0 2.5rem; }
    .page-layout    { padding: 1.75rem 0 2.5rem; }
}

@media (max-width: 767px) {
    :root { --nav-h: 64px; }
}

@media (max-width: 575px) {
    .home-hero h1 { font-size: 1.65rem; }
    .inner-wrapper .row { --bs-gutter-x: 1rem; }
}
