/*
Theme Name: ASH Theme
Author: 
Description: Theme për Autoritetin e Sigurisë Hekurudhore
Version: 1.0
*/

body { font-family: 'Roboto', sans-serif; }
.site-title { text-transform: uppercase; color: #0045AB; text-shadow: 1px 1px 2px #001431; font-weight:700; font-size:1.6rem; }
.action, .info { border:2px solid #0045AB; transition: transform 0.2s, box-shadow 0.2s; }
.action:hover, .info:hover { transform:translateY(-5px); box-shadow:0 6px 20px rgba(0,69,171,0.3)!important; }
.action .icon { background-color:#cce0ff; color:#0045AB; width:64px;height:64px; margin-bottom:1rem; border-radius:50%; display:flex; justify-content:center; align-items:center; }
.footer { background-color:#0045AB; color:#fff; font-size:.9rem; }
.footer-title { font-weight:bold; text-transform:uppercase; color:#fff; display:inline-block; border-bottom:1px solid rgba(255,255,255,0.8); padding-bottom:.25rem; }
.footer-list a { color:#fff; text-decoration:none; }
.footer-list a:hover { color:#b3bbc6; }
.lang-btn { width:36px; height:24px; border-radius:4px; border:2px solid #0045AB; overflow:hidden; display:flex; justify-content:center; align-items:center; cursor:pointer; transition:all .2s; }
.lang-btn img { width:100%; height:100%; object-fit:cover; opacity:.85; transition:all .2s; }
.lang-btn:hover img, .lang-btn.active img { opacity:1; transform:scale(1.1); }
header { position:sticky; top:0; z-index:999; background:#fff; box-shadow:0 2px 5px rgba(0,0,0,.1);}

/* =========================
   CONTAINER
========================= */
.container {
    max-width: 1450px;
}

@media (max-width: 768px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* =========================
   GLOBAL LAYOUT
========================= */
html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
}

/* =========================
   VARIABLES
========================= */
:root {
    --nav-height: 140px;
    --content-gap: 50px;
}

/* =========================
   CONTENT AREA
========================= */
.content-area {
    flex: 1; /* shtyn footer poshtë */

    padding-top: var(--nav-height);      /* distanca nga navbar */
    padding-bottom: var(--content-gap);  /* distanca nga footer */

    display: flex;
    flex-direction: column;
}

/* =========================
   MOBILE
========================= */
@media (max-width: 768px) {
    :root {
        --nav-height: 20px;
        --content-gap: 20px;
    }
}


/* =========================
   FIXED NAVBAR
========================= */

.navbar-custom {
    background: #fff;
    padding: 12px 0;
    border-bottom: 1px solid #e5e5e5;

    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
}

/* CONTAINER */
/* ALIGN MENU ME TITULLIN */

.right-column > .d-flex {
    display: flex;
    justify-content: flex-start; /* JO space-between */
    align-items: center;
    gap: 40px; /* hapësirë midis menusë dhe search */
}

/* =========================
   LOGO
========================= */

.logo-column img {
    max-height: 100px;
    object-fit: contain;
}

/* =========================
   RIGHT COLUMN
========================= */

.right-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 110px;
    margin-left: 30px;
    flex: 1;
}

/* =========================
   TITLE
========================= */

.site-title {
    font-size: 22px;
    font-weight: 700;
    color: #0045AB;
    line-height: 1.2;
    margin-bottom: 8px; /* ky e ul vizualisht */
}

/* =========================
   MENU ROW
========================= */

.right-column > .d-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}


/* =========================
   MENU STYLE
========================= */

.nav,
.nav ul {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 25px;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* LINKET */
.nav a {
    text-decoration: none;
    color: #6c757d;        /* gri */
    font-size: 14px;
    font-weight: 700;      /* bold */
    white-space: nowrap;
    transition: 0.2s ease;
}

/* HOVER */
.nav a:hover {
    color: #0045AB;        /* blu */
    text-decoration: none;
}

/* ACTIVE (faqja ku je) */
.nav .current-menu-item > a,
.nav .current_page_item > a {
    color: #0045AB;
}

.nav .current-menu-item > a {
    border-bottom: 2px solid #0045AB;
    padding-bottom: 3px;
}
/* =========================
   UNDERLINE ANIMATION
========================= */

.nav a {
    position: relative;
    text-decoration: none;
    color: #6c757d;
    font-size: 16px;
    font-weight: 700;
    white-space: nowrap;
}

/* vijë e fshehur fillimisht */
.nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: #0045AB;
    transition: width 0.3s ease;
}

/* kur hover */
.nav a:hover::after {
    width: 100%;
}

/* kur është aktive */
.nav .current-menu-item > a::after,
.nav .current_page_item > a::after {
    width: 100%;
}

/* hover color */
.nav a:hover {
    color: #0045AB;
}
/* =========================
   SEARCH + FLAGS
========================= */

.header-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* =========================
   SEARCH butoni
========================= */

/* wrapper */
.header-right form {
    position: relative;
}

/* input */
.header-right input {
    height: 34px;
    font-size: 13px;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 0 35px 0 12px; /* hapësirë për ikonën */
    transition: 0.3s ease;
}

/* focus */
.header-right input:focus {
    outline: none;
    border-color: #0045AB;
    box-shadow: 0 0 0 2px rgba(0, 69, 171, 0.1);
}

/* button si ikonë brenda input */
.search-btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    padding: 4px;
    cursor: pointer;
}

/* ikona */
.search-btn svg {
    stroke: #6c757d;
    transition: 0.3s ease;
}

/* hover */
.search-btn:hover svg {
    stroke: #0045AB;
}
/* =========================
   FLAGS dygjyhesi
========================= */

.lang-btn {
    width: 32px;
    height: 22px;
    border-radius: 4px;
    border: 1px solid #ddd;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s ease;
}

.lang-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* hover */
.lang-btn:hover {
    transform: scale(1.05);
    border-color: #0045AB;
}

/* active */
.lang-btn.active {
    border: 2px solid #0045AB;
}

/* =========================
   RESPONSIVE HEADER
========================= */

@media (max-width: 992px) {

    .navbar-custom .container {
        flex-direction: column;
        align-items: flex-start;
    }

    .right-column {
        width: 100%;
        margin-left: 0;
        height: auto;
    }

    .right-column > .d-flex {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .nav {
        flex-wrap: wrap;
        gap: 10px;
    }

    .header-right {
        flex-wrap: wrap;
    }
}

/* =========================
   DROPDOWN MENU 
========================= */
/* =========================
   DROPDOWN LEVEL 2 & 3 - FINAL CLEAN
========================= */

/* parent li */
.nav li {
    position: relative;
}

/* =========================
   LEVEL 2 (submenu)
========================= */

.nav ul {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 220px;
    padding: 8px 0;
    border: 1px solid #eee;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);

    display: flex;
    flex-direction: column;

    opacity: 0;
    visibility: hidden;
    transform: translateY(12px) scale(0.98);
    transition: 0.25s ease;
    z-index: 999;
}

/* show dropdown */
.nav li:hover > ul {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/* items */
.nav ul li {
    width: 100%;
}

/* links */
.nav ul a {
    display: block;
    padding: 10px 16px;
    font-size: 14px;
    color: #6c757d;
    text-decoration: none;
    position: relative;
    transition: 0.2s ease;
}

/* hover clean */
.nav ul a:hover {
    background: #f5f7fb;
    color: #0045AB;
}

/* ❌ HIQ TOTALISHT underline */
.nav ul a::after {
    display: none !important;
}

/* =========================
   LEVEL 3 FIXED (clean + override)
========================= */

.nav ul ul {
    position: absolute;
    top: 0;
    left: 100%;
    margin-left: 2px;

    background: #fff;
    min-width: 220px;
    padding: 8px 0;
    border: 1px solid #eee;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);

    display: flex;
    flex-direction: column;

    opacity: 0;
    visibility: hidden;
    transform: translateY(12px) scale(0.98);
    transition: 0.25s ease;
    z-index: 999;
}

/* SHOW LEVEL 3 */
.nav ul li:hover > ul {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/* =========================
   TEXT COLOR + REMOVE UNDERLINE (FORCED)
========================= */

.nav ul ul a {
    color: #6c757d !important;
    text-decoration: none !important;
    position: relative;
}

/* hover -> blue */
.nav ul ul a:hover {
    color: #0045AB !important;
    background: #f5f7fb;
}

/* =========================
   REMOVE ALL UNDERLINES (IMPORTANT)
========================= */

.nav ul ul a::after {
    display: none !important;
    content: none !important;
}


/* =========================
   FORCE NO UNDERLINE IN ALL SUBMENUS
========================= */

/* HIQ ÇDO underline në dropdown 2 & 3 */
.nav ul a::after,
.nav ul ul a::after {
    display: none !important;
    content: none !important;
}

/* siguri absolute: as border, as underline */
.nav ul a,
.nav ul ul a {
    text-decoration: none !important;
    border-bottom: none !important;
}

/* =========================
   KEEP UNDERLINE ONLY IN MAIN MENU
========================= */

/* kjo LË vijen vetëm në menu kryesore */
.nav > li > a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: #0045AB;
    transition: width 0.3s ease;
}

/* hover only main menu */
.nav > li > a:hover::after {
    width: 100%;
}


/* =========================
   BASE LINK STYLE
========================= */

.nav li {
    position: relative;
}

.nav a {
    position: relative;
    text-decoration: none !important;
}

/* =========================
   UNDERLINE BASE (ALL LEVELS SAME STYLE)
========================= */

.nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: #0045AB;
    transition: width 0.3s ease;
}

/* =========================
   HOVER (ALL LEVELS)
========================= */

.nav a:hover::after {
    width: 100%;
}

/* submenu hover color */
.nav ul a:hover {
    color: #0045AB !important;
    background: #f5f7fb;
}

/* =========================
   ACTIVE (MAIN + SUB + SUB-SUB)
========================= */

/* MAIN MENU ACTIVE */
.nav > li.current-menu-item > a::after,
.nav > li.current-menu-parent > a::after,
.nav > li.current-menu-ancestor > a::after {
    width: 100% !important;
}

/* SUBMENU + LEVEL 3 ACTIVE */
.nav li.current-menu-item > a::after,
.nav li.current-menu-parent > a::after,
.nav li.current-menu-ancestor > a::after {
    width: 100% !important;
}

/* =========================
   ❌ NO DOUBLE LINE / NO PARENT BUG
========================= */

/* mos e lejo parent-in me u “ngrirë” gabim */
.nav li.current-menu-parent > a,
.nav li.current-menu-ancestor > a {
    color: #0045AB;
}

/* vetëm item aktiv real të jetë blu */
.nav li.current-menu-item > a {
    color: #0045AB !important;
}







/* =========================
   MOBILE NAVBAR
========================= */
@media (max-width: 992px) {
    /* Navbar i thjeshtuar për mobile */
    .navbar-custom {
        padding: 8px 0; /* Zvogëlimi i padding-ut */
    }

    /* Logo dhe Titulli në një rresht */
    .navbar-custom .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 20px; /* Hapsirë mes elementeve */
    }

    /* Zvogëlimi i logos dhe titullit */
    .logo-column img {
        max-height: 60px; /* Zvogëlimi i logos */
        object-fit: contain;
    }
.site-title {
    font-size: 18px;
    font-weight: 700;
    color: #0045AB;
    line-height: 1.2;
    text-shadow: none;
    filter: none;
    -webkit-font-smoothing: none;
    -moz-osx-font-smoothing: auto;
}

    /* Hamburger për menu mobile */
    .mobile-hamburger {
        display: flex;
        flex-direction: column;
        cursor: pointer;
        gap: 5px;
    }

    .mobile-hamburger span {
        width: 25px;
        height: 3px;
        background: #0045AB;
        display: block;
    }

    /* Mobile menu panel */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 85%;
    height: 100%;
    background: #fff;
    z-index: 9999;
    padding: 20px;
    overflow-y: auto;
    transition: 0.3s ease;
}

.mobile-menu.active {
    left: 0;
}

    /* Kur hapet menu */
    .mobile-menu.active {
        left: 0;
    }

 

    /* Menu mobile (elementet brenda) */
    .mobile-nav {
        list-style: none;
        padding: 0;
        margin-top: 25px;
    }

    .mobile-nav li {
        border-bottom: 1px solid #eee;
    }

    .mobile-nav a {
        display: block;
        padding: 12px 0;
        color: #333;
        font-weight: 600;
        text-decoration: none;
    }

    .mobile-nav a:hover {
        color: #0045AB;
    }

    /* Overlay për menunë mobile */
.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    z-index: 9998;
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}
}

@media (max-width: 992px) {

    /* FSHEH MENU DESKTOP */
    nav {
        display: none !important;
    }

    .header-right {
        display: none !important; /* nëse do të mos shfaqet search + flags */
    }

    /* LË VETËM HAMBURGER */
    .mobile-hamburger {
        display: flex;
    }
}
@media (max-width: 992px) {

    .navbar-custom .container {
        display: flex !important;
        flex-direction: row !important;
        align-items: center;
        justify-content: space-between;
        flex-wrap: nowrap !important;
    }

    /* LOGO */
    .logo-column {
        display: flex !important;
        flex: 0 0 auto;
        align-items: center;
    }

    .logo-column img {
        max-height: 38px;
        width: auto;
    }

    /* TITULLI */
    .site-title {
        display: block !important;
        flex: 1 1 auto;
        min-width: 0; /* SHUMË E RËNDËSISHME për ellipsis */
        font-size: 11px;
        font-weight: 600;
        color: #0045AB;

        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        margin: 0 10px;
    }

    /* HAMBURGER */
    .mobile-hamburger {
        display: flex !important;
        flex: 0 0 auto;
        margin-left: auto;
    }

    /* FSHEH desktop menu */
    nav,
    .header-right {
        display: none !important;
    }
}

/* SUBMENU default hidden */
.mobile-nav ul {
    display: none;
    padding-left: 15px;
}

/* kur hapet */
.mobile-nav li.open > ul {
    display: block;
}

/* parent item */
.mobile-nav li {
    position: relative;
}

/* arrow */
.mobile-nav li > a::after {
    content: "▾";
    float: right;
    font-size: 12px;
}

/* vetëm për ato që kanë submenu */
.mobile-nav li:not(.menu-item-has-children) > a::after {
    content: "";
}


:root {
    --navbar-height: 60px;
}

@media (max-width: 992px) {

.navbar-custom {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 999999 !important;
    background: #fff !important;
}

    body {
        padding-top: var(--navbar-height);
    }
}

/* FLAMUJT MOBILE */
.mobile-langs {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
}

/* LINK */
.mobile-langs a {
    width: 42px;
    height: 30px;
    border: 2px solid #dcdcdc;
    border-radius: 4px;
    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #fff;
    transition: 0.25s ease;
}

/* HOVER */
.mobile-langs a:hover {
    border-color: #0045AB;
    transform: translateY(-1px);
}

/* IMAGES */
.mobile-langs img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}



/* =========================
   HERO SLIDER PRO DESIGN
========================= */

#heroCarousel {
    height: 600px;
    overflow: hidden;
}

#heroCarousel .carousel-inner,
#heroCarousel .carousel-item {
    height: 100%;
}

/* IMAGE */
.slider-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* OVERLAY I LEHTE */
.overlay-dark {
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.55),
        rgba(0, 0, 0, 0.2),
        transparent
    );
    z-index: 1;
}
/* CAPTION POSHTE + CENTER */
.custom-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 2;
    padding: 40px;

    display: flex;
    justify-content: center;  /* horizontal center */
    align-items: flex-end;    /* poshtë */
    text-align: center;
}
/* BOX */
.caption-box {
    max-width: 650px;
}
/* TITULLI */
.caption-box h2 {
    font-size: 2.4rem;
    color: #fff;
    margin-bottom: 10px;
}
/* TEKSTI */
.caption-box p {
    font-size: 1.1rem;
    color: #e0e0e0;
    margin-bottom: 20px;
}
/* BUTTON (SMALL & CLEAN) */
.btn-slider {
    display: inline-block;
    padding: 8px 18px;   /* më i vogël */
    background: #0045AB;
    color: #fff;
    font-weight: 600;
    font-size: 14px;     /* tekst më i vogël */
    border-radius: 3px;  /* më pak i rrumbullakët */
    text-decoration: none;
    transition: 0.25s ease;
    line-height: 1;
}
/* HOVER */
.btn-slider:hover {
    background: #6c757d;
    transform: translateY(-1px);
    color: #fff;
}
.overlay-dark {
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.45),
        rgba(0, 0, 0, 0.15),
        transparent
    );
}



/* =========================
   ACTION CARDS (2 të mëdha)
========================= */
.action {
    border: 2px solid #0045AB;
    background: #fff;
    transition: all 0.3s ease;
    position: relative;
}
/* IKONA NË MES SIPËR */
.action .icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #f5f7fb;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: #0045AB;
}
/* TEKSTI */
.action h4 {
    color: #333;
    font-size: 16px;
    font-weight: 600;
    margin-top: 10px;
    letter-spacing: 0.5px;
}
/* VIJA POSHTE IKONES */
.action::after {
    content: "";
    display: block;
    width: 60%;
    height: 2px;
    background: #0045AB;
    margin: 15px auto 0;
}


/* =========================
   INFO CARDS (REFINED)
========================= */

.info {
    border: 2px solid #0045AB !important;
    border-radius: 8px;
    background: #fff;
    padding: 18px;
}

/* HEADER */
.info h5 {
    background: linear-gradient(to right, #f4f6fb, #eef2f9);
    color: #000; /* TITULLI I ZI */
    font-size: 14px;
    font-weight: 700;
    text-align: center; /* NË QENDËR */
    padding: 12px;
    margin-bottom: 12px;
    border-radius: 6px;
    letter-spacing: 0.5px;
    border: 1px solid #e0e6f2;
}
/* LISTA */
.info ul {
    margin: 0;
    padding: 0;
}
.info ul li {
    list-style: none;
    font-size: 14px;
    color: #000;
    padding: 6px 0;
    border-bottom: 1px solid #f1f1f1;
}
/* hiq border për elementin e fundit */
.info ul li:last-child {
    border-bottom: none;
}
/* HOVER (zyrtar, i butë) */
.info:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 69, 171, 0.08);
}



/* =========================
   single post
========================= */

.single-post .post-thumbnail img {
    width: 100%;        /* sa kolona */
    height: 350px;      /* lartësi fikse */
    object-fit: cover;  /* crop automatik */
    display: block;
    border-radius: 6px;
}
.post-content {
    margin-top: 40px;
}
.single-post .post-date {
    margin: 0 0 8px 0;
    font-size: 14px;
}
.single-post h1,
.single-post .text-muted {
    text-align: center;
}
/* AFRO DATEN ME TITULLIN */
.single-post .entry-title {
    margin-bottom: 3px !important; /* ishte mb-3 (~16px) */
}

.single-post .post-date {
    margin-top: 0 !important;
    margin-bottom: 10px;
}

/* DISTANCE MIDIS DATES DHE IMAZHIT */
.single-post .post-date {
    margin-bottom: 25px;
}


@media (max-width: 768px) {

    /* 🔥 SIGURON QE FAQJA MOS DALË JASHTË */
    html, body {
        overflow-x: hidden !important;
        max-width: 100% !important;
    }

    /* 🔥 CONTAINER FULL SAFE */
    .single-post .container {
        padding-left: 15px !important;
        padding-right: 15px !important;
        max-width: 100% !important;
    }

    /* 🔥 ROW FIX (shkaku #1 i scroll horizontal) */
    .single-post .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* 🔥 COL FIX */
    .single-post .col-md-10,
    .single-post .col-lg-8 {
        max-width: 100% !important;
        flex: 0 0 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* 🔥 IMAZH FIX (shkaku #2 më i madh i scroll) */
    .single-post img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* 🔥 THYEN ÇDO ELEMENT QË DEL JASHTË */
    .single-post * {
        box-sizing: border-box;
    }

    /* 🔥 THYEN MARGIN TE MUNDSHME PROBLEMATIKE */
    .single-post {
        overflow-x: hidden !important;
    }
}


/* =========================
   STICKY FOOTER - GLOBAL
========================= */
html, body {
    height: 100%;
    margin: 0;
}

#page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.content-area {
    flex: 1;
}

.footer {
    margin-top: auto;
}





/* =========================
   LAJME TEMPLATE
========================= */
/* CARD */
.lajm-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    overflow: hidden;
    transition: 0.3s ease;
    border: 1px solid #0045AB;
     box-shadow: 0 2px 8px rgba(0, 69, 171, 0.08); /* hije e lehtë blu */
}

.lajm-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,69,171,0.15);
}

/* IMAGE */
.lajm-img img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

/* CONTENT */
.lajm-content {
    padding: 15px;
}

.lajm-date {
    font-size: 13px;
    color: #6c757d;
    display: block;
    margin-bottom: 8px;
}

/* TITULLI */
.lajm-content h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
}

.lajm-content h3 a {
    color: #333;
    text-decoration: none;
}

.lajm-content h3 a:hover {
    color: #0045AB;
}

/* TEKSTI */
.lajm-content p {
    font-size: 14px;
    color: #555;
}

/* BUTTON */
.btn-read {
    display: inline-block;
    margin-top: 10px;
    font-size: 13px;
    font-weight: 600;
    color: #0045AB;
    text-decoration: none;
    background: #f5f7fb;
}

.btn-read:hover {
    color: #6c757d;
}

/* BUTTON */
.btn-read {
    display: inline-block;
    margin-top: 10px;
    font-size: 13px;
    font-weight: 600;
    color: #0045AB;
    text-decoration: none;
}

.btn-read:hover {
    color: #6c757d;
}


.btn-read {
    display: inline-block;
    margin-top: 12px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
    color: #0045AB;
    border: 1px solid #0045AB;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.25s ease;
    background: transparent;
}

.btn-read:hover {
    background: #0045AB;
    color: #fff;
    box-shadow: 0 4px 10px rgba(0,69,171,0.2);
}




.pagination-wrapper {
    display: flex;
    justify-content: center;
    margin: 60px 0;
}

.pagination-wrapper ul {
    display: flex;
    gap: 8px;
    padding: 0;
    list-style: none;
}

.pagination-wrapper li a,
.pagination-wrapper li span {
    display: inline-block;
    padding: 10px 16px;
    border-radius: 8px;
    border: 1px solid #0045AB;
    color: #0045AB;
    background: #fff;
    text-decoration: none;
    transition: 0.3s ease;
    font-size: 14px;
}

/* HOVER */
.pagination-wrapper li a:hover {
    background: #0045AB;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0,69,171,0.2);
}

/* ACTIVE PAGE */
.pagination-wrapper li .current {
    background: #0045AB;
    color: #fff;
    font-weight: bold;
}



.mobile-menu {
    display: block;
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: #fff;
    transition: 0.3s ease;
    z-index: 9999;

    /* 🔥 KJO ËSHTË ZGJIDHJA */
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.mobile-menu.active {
    right: 0;
}
.mobile-logo img,
.logo-column img {
    max-width: 160px;
    height: auto;
}

.mobile-langs img {
    width: 28px;
    height: auto;
}

img {
    max-width: 100%;
    height: auto;
}















/* =========================
   page.php
========================= */

/* vetëm titulli + foto të kufizuara dhe në qendër */
.page-header {
    max-width: 900px;
    margin: 0 auto 30px auto;
    text-align: center;
}

.page-featured-image img {
    max-width: 700px; /* më e madhe */
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* content FULL WIDTH */
.page-content {
    width: 100%;
}

.page-featured-image {
    width: 700px;        /* gjerësia fikse */
    height: 300px;       /* lartësia fikse */
    margin: 0 auto 25px auto;
    overflow: hidden;
    border-radius: 10px;
}

.page-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;   /* mbush kutinë pa u shtrembëruar */
}


/* =========================
   CONTACT PAGE
========================= */

/* ❗ Hiq spacing lokal që prish navbar uniform */
.contact-page {
    padding: 0;
}

/* =========================
   CONTACT BOX (PA PREKUR DESIGN)
========================= */
.contact-box {
    background: #fff;
    border: 2px solid #0045AB;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.05);
}

/* TITLE (SI E KE, VETËM PA KONFLIKTE MARGIN) */
.contact-box h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #000;
    text-transform: uppercase;

    background: linear-gradient(to right, #f4f6fb, #eef2f9);
    text-align: center;
    padding: 12px;
    border-radius: 6px;
    border: 1px solid #e0e6f2;
}

/* =========================
   CONTACT ITEMS (PA NDRYSHIM DESIGN)
========================= */
.contact-item {
    margin-bottom: 10px;
}

.contact-item h5 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 5px;
    color: #333;
}

.contact-item p {
    margin: 0;
    font-size: 14px;
    color: #555;
}

/* =========================
   FORM (PA NDRYSHIM DESIGN)
========================= */
.contact-box form input,
.contact-box form textarea {
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 10px;
    font-size: 14px;
}

.contact-box form input:focus,
.contact-box form textarea:focus {
    border-color: #0045AB;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0,69,171,0.1);
}

/* BUTTON (PA NDRYSHIM DESIGN) */
.contact-box button {
    width: auto !important;
    display: block;
    margin: 10px auto 0 auto;
    padding: 10px 25px;

    background-color: #0045AB;
    border: 1px solid #0045AB;
    color: #fff;
}

.contact-box button:hover {
    background: #6c757d;
}

/* =========================
   EQUAL HEIGHT (SAFE FIX)
========================= */
@media (min-width: 768px) {
    .contact-page .col-md-6 {
        display: flex;
    }

    .contact-box {
        height: 100%;
        width: 100%;
    }
}

/* =========================
   MOBILE FIX (ONLY SPACING SAFETY)
========================= */
@media (max-width: 768px) {

    .contact-box {
        width: 100%;
    }

    .contact-box button {
        width: 100%;
        max-width: 220px;
    }
}

/* =========================
   MAP (UNCHANGED)
========================= */
.contact-map {
    margin-top: 20px;
}

.contact-map iframe {
    width: 100%;
    height: 250px;
    border-radius: 8px;
}
/* =========================
  INLINE CONTACT
========================= */

.contact-item {
    margin-bottom: 10px;
}

.contact-item h5,
.contact-item p {
    display: inline !important;
    margin: 0;
}

.contact-item h5::after {
    content: ": ";
}
/* harta */
.contact-map {
    margin-top: 20px;
}

.contact-map iframe {
    width: 100%;
    height: 250px;
    border-radius: 8px;
}












.category-link {
    display: inline-block;
    margin-right: 20px;
    font-weight: bold;
    color: #333;
}

.category-link:hover {
    color: #F2A71B;
}
.card-footer.text-muted {
    font-size: 10px;   /* zvogëlon madhësinë */

    padding: 5px 10px; /* zvogëlon hapësirën brenda */
}

/* ===============================
   FOTO GALERI AREA – KARTA TË GRI
=================================*/
/* Karta e kompresuar për të gjithë përmbajtjen */
.photo-gallery-area .card {
    width: 100% !important;
    max-width: 17rem !important;
    max-height: 250px !important; /* lartësia totale e kartës */
    overflow: hidden;              /* prish çdo hapësirë të tepërt */
    margin: 0 auto !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

/* Imazhi brenda kartës */
.photo-gallery-area .card-img-top {
    width: 100% !important;
    height: 120px !important;      /* zvogëlon lartësinë e imazhit */
    object-fit: cover !important;
}

/* Body i kartës (titulli + data) */
.photo-gallery-area .card-body {
    padding: 6px 10px !important;  /* pak më i vogël */
    flex-shrink: 1;
    text-align: center !important;
}

/* Titulli */
.photo-gallery-area .card-title {
    font-size: 14px !important;
    font-weight: 600 !important;
    margin-bottom: 4px !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Footer / data */
.photo-gallery-area .card-footer {
    font-size: 12px !important;
    text-align: center; /* qendërzon datën */
    padding: 4px !important;
    margin-top: 2px !important;
    color: #222 !important;
    background: inherit !important;
    border: none !important;
}

/* Vetëm për mobile dhe dimensione deri në laptopë */
/* Vetëm për mobile dhe tablet */
@media (max-width: 1024px) {
  .swiper-slide {
      display: flex !important;
      align-items: center !important;
      justify-content: center !important;
      background: #000; /* sfond i errët për të gjitha */
  }

  .swiper-slide img {
      width: 100% !important;       /* mbush gjerësinë e kornizës */
      max-width: 100% !important;
      height: 300px !important;     /* e gjithë korniza ka të njëjtën lartësi */
      max-height: 300px !important;
      object-fit: cover !important; /* mbush kornizën dhe nuk humbet vendi */
      display: block;
      margin: 0 auto;
  }
}
.gallery-modal {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--nav-height));
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}
.gallery-grid {
    padding-left: 0;
}

@media (min-width: 769px) {

    .gallery-grid {
        padding-left: 20px;
    }

}
.gallery-title {
    padding-left: 20px;
        text-align: center;
}
.gallery-modal-content {
    position: relative;
    width: 90%;
    max-width: 1000px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main-swiper, .main-swiper .swiper-slide {
    width: 100%;
    height: 600px; /* ose sipas dëshirës */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden; /* kjo e ndalon të shfaqen imazhet e tjera pas */
}

.main-swiper img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* mbulon plotësisht kutinë */
    display: block;
}


/* Miniaturat poshtë */
.thumb-swiper {
    width: 100%;
    margin-top: 10px;
    display: flex;
    justify-content: center;
}

.thumb-swiper .swiper-slide {
    width: 100px;
    height: 20px;
    opacity: 0.6;
    margin-right:5px;
    cursor:pointer;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.thumb-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumb-swiper .swiper-slide-thumb-active {
    opacity:1;
    border:2px solid #fff;
}

/* Butoni për mbylljen e modalit */
.gallery-modal-close {
    position: absolute;
    top:10px; right:10px;
    color:white;
    font-size:30px;
    cursor:pointer;
    z-index: 10;
}
/* Gallery grid */
.gallery-grid .col-lg-4,
.gallery-grid .col-md-6,
.gallery-grid .col-sm-12 {
    padding: 5px; /* hapësirë minimale midis kartave */
}

.gallery-grid img {
    width: 100%;       /* mbush kolonën */
    height: 250px;     /* lartësi fikse për të gjitha imazhet */
    object-fit: cover; /* prerje pa deformim */
    display: block;
}

/* Sigurojmë që foto-gallery-area të shtrihet plotësisht */
.photo-gallery-area {
    width: 100%; /* Shtrihet plotësisht */
    padding-left: 0;
    padding-right: 0;
}

/* Qendërzimi i container-it për Foto Galerinë */
.photo-gallery-area .container {
    max-width: 1450px;  /* Gjerësi e kufizuar si navbar */
    margin-left: auto;  /* Qendrimi në mes */
    margin-right: auto; /* Qendrimi në mes */
    padding-left: 15px; /* Padding në anën e majtë */
    padding-right: 15px; /* Padding në anën e djathtë */
}
/* Distancat midis kartave për Foto Galerinë */
.photo-gallery-area .row {
    --bs-gutter-x: 40px; /* Horizontal gap */
    --bs-gutter-y: 10px; /* Vertical gap */
}





/* =========================
   video gallery
========================= */

.video-gallery-area .video-card {
    width: 100%;
    height: 100%;
    max-width: 100%; /* 🔥 ky është fix kryesor */

    display: flex;
    flex-direction: column;

    border: 1px solid #0045AB;
    border-radius: 6px;
    overflow: hidden;

    transition: 0.3s ease;
}

.video-gallery-area .video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,69,171,0.15);
}

/* VIDEO */
.video-gallery-area .video-wrapper iframe {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

/* CONTENT */
.video-gallery-area .card-body {
    padding: 8px 0 0 0;
}
.video-gallery-area .row {
    --bs-gutter-x: 40px; /* horizontal gap */
    --bs-gutter-y: 30px; /* vertical gap */
}

/* =========================
   VIDEO GALLERY - MOBILE LIKE LAJME
========================= */

@media (max-width: 768px) {

    /* hiq gutters (shkaku i hapësirave anësore) */
    .video-gallery-area .row {
        --bs-gutter-x: 0 !important;
        --bs-gutter-y: 15px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* kolonat full width si lajme */
    .video-gallery-area .col,
    .video-gallery-area .col-md-4,
    .video-gallery-area .col-lg-4 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* karta full width clean */
    .video-gallery-area .video-card {
        width: 100% !important;
        border-radius: 6px;
        margin: 0 !important;
    }

    /* video më kompakt si lajme image */
    .video-gallery-area .video-wrapper iframe {
        height: 220px !important;
    }

    /* pak spacing brenda si lajme */
    .video-gallery-area .card-body {
        padding: 12px !important;
    }
}

/* =========================
   LEGISLACIONI PAGE (FULL WIDTH GRID)
========================= */

/* kolonat të mos ngjiten majtas */
.laws-page .col {
    display: flex;
}


.laws-title {
    font-size: 26px;
    font-weight: 800;
    color: #0045AB;
    text-transform: uppercase;
}

.laws-line {
    width: 80px;
    height: 3px;
    background: #0045AB;
    margin: 10px auto 30px;
}

/* =========================
   GRID FIX (SHTRIRJE E PLOTË)
========================= */

.laws-page .row {
    width: 100%;
}

/* =========================
   CARD (FULL WIDTH + SAME SIZE)
========================= */
.law-card {
    width: 100%;
    margin: 0;

    background: #fff;
    border: 2px solid #0045AB;
    border-radius: 10px;
    padding: 18px;

    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;

    transition: 0.3s ease;
}
.law-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,69,171,0.15);
}

/* =========================
   ICON (CENTERED TOP)
========================= */

.law-icon {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: #cce0ff;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 22px;
    color: #0045AB;

    margin: 0 auto 12px auto;
}

/* =========================
   CONTENT
========================= */

.law-content {
    text-align: center;
    flex: 1;
}

.law-title {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 6px;
    color: #333;
}

.law-date {
    font-size: 12px;
    color: #6c757d;
    display: block;
    margin-bottom: 12px;
}

/* =========================
   LINK TITLE
========================= */

.law-title-link {
    color: #333;
    text-decoration: none;
    transition: 0.2s ease;
}

.law-title-link:hover {
    color: #0045AB;
    text-decoration: underline;
}

/* =========================
   BUTTON (OPTIONAL)
========================= */

.law-btn {
    display: inline-block;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 600;
    color: #0045AB;
    border: 1px solid #0045AB;
    border-radius: 4px;
    text-decoration: none;
    transition: 0.3s ease;

    margin-top: auto;
}

.law-btn:hover {
    background: #0045AB;
    color: #fff;
}


/* =========================
   RESPONSIVE FIX
========================= */

@media (max-width: 768px) {
    .law-card {
        padding: 14px;
    }

    .law-title {
        font-size: 14px;
    }
}
.container {
    max-width: 1450px;
    width: 100%;
    padding-left: 40px;
    padding-right: 40px;
}

@media (max-width: 768px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
}
/* =========================
   LEGJISLACIONI MOBILE = LAJME STYLE
========================= */

@media (max-width: 768px) {

    /* 🔥 CONTAINER FULL WIDTH */
    .laws-page .container {
        max-width: 100% !important;
        width: 100% !important;
        padding-left: 5px !important;   /* njësoj si lajmet */
        padding-right: 5px !important;  /* njësoj si lajmet */
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* 🔥 ROW pa hapësira */
    .laws-page .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* 🔥 COL full width si lajme */
    .laws-page .col {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-bottom: 15px !important;
    }

    /* 🔥 CARD full clean */
    .law-card {
        width: 100% !important;
        border-radius: 6px !important;
        padding: 14px !important;
    }

    .law-title {
        font-size: 14px !important;
    }

    .law-icon {
        width: 45px !important;
        height: 45px !important;
        font-size: 18px !important;
    }
}

/* ❌ HIQ KONFLIKTIN GLOBAL (SHUMË E RËNDËSISHME) */
.laws-page .container { max-width: 1450px; padding-left: 40px; padding-right: 0; }


@media (max-width: 768px) {
    .laws-page .law-card,
    .laws-page .law-card * {
        pointer-events: auto !important;
        z-index: 10 !important;
    }

    .laws-page a {
        display: block !important;
    }
}



/* ========================================
   e pergjithshme PAGE
======================================== */

.modern-page {
    background: #f5f7fb;
}

/* HERO SECTION */
.modern-hero {
    padding-top: 70px; /* Rregulloni këtë sipas lartësisë së navbar-it tuaj */
    padding-bottom: 50px;
}

.modern-hero .row {
    align-items: center;
}

/* TEXT IN HERO */
.modern-hero-content {
    padding-right: 50px;
}

.modern-hero-content h1 {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.15;
    color: #0045AB;
    margin-bottom: 20px;
    margin-top: 60px;
}

.modern-hero-content p {
    font-size: 16px;
    line-height: 1.9;
    color: #555;
    margin-bottom: 0;
}

/* IMAGE IN HERO */
.modern-hero-image {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.modern-hero-image img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
}

/* CONTENT SECTION */
.modern-content-section {
    padding-bottom: 80px;
}

.modern-content-card {
    background: #fff;
    border-radius: 16px;
    padding: 45px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);

    font-size: 16px;
    line-height: 1.9;
    color: #444;
}

.modern-content-card h2,
.modern-content-card h3,
.modern-content-card h4 {
    color: #0045AB;
    font-weight: 700;
    margin-top: 30px;
    margin-bottom: 15px;
}

.modern-content-card p {
    margin-bottom: 18px;
}

.modern-content-card img {
    width: 100%;
    border-radius: 10px;
    margin: 20px 0;
}

/* MOBILE STYLES */
@media (max-width: 991px) {

    /* HERO SECTION */
    .modern-hero {
        padding-top: 30px; /* Adjust this as needed */
    }

    .modern-hero-content {
        padding-right: 0;
        margin-bottom: 30px;
    }

    .modern-hero-content h1 {
        font-size: 30px;
    }

    .modern-hero-image img {
        height: 280px;
    }

    .modern-content-card {
        padding: 25px;
    }

}

/* =========================
   SEARCH PAGE OFFSET FIX
========================= */

.search-page {
    padding-top: var(--nav-height);
}