#bgVideo {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    z-index: -1;
}

/***************************
* news - Card Style
***************************/
.news-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    padding: 10px 0;
}

.news-card {
    display: flex;
    flex-direction: column;
width: 350px;
    height: 325px;
    background: rgba(10, 5, 5, 0.85);
    border: 1px solid rgba(255, 140, 0, 0.15);
    border-radius: 10px;
    box-shadow: 0 10px 12px rgba(0, 0, 0, 0.3), -4px -4px 12px rgba(255, 140, 0, 0.03);
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
    padding: 10px;
    backdrop-filter: blur(10px);
    opacity: 0.75;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 140, 0, 0.15), -4px -4px 12px rgba(255, 140, 0, 0.05);
    border-color: rgba(255, 140, 0, 0.4);
    opacity: 1;
}

.news-card-image {
    width: 30%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 10px;
    overflow: hidden;
    background: rgba(30, 20, 15, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-card-image img {
    width: 70%;
    height: auto;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card:hover .news-card-image img {
    transform: scale(1.05);
}

.news-card-image .angled-img,
.news-card-image .no-image {
    color: rgba(255, 140, 0, 0.3);
    font-size: 30px;
}

.news-card-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow: hidden;
}

.news-card-title {
    margin: 0 0 8px;
    font-size: 14px;
    font-weight: 700;
    color: #ff8c00;
    font-family: Lato, sans-serif;
    cursor: default;
    text-shadow: 0 0 8px rgba(255, 140, 0, 0.3);
    -webkit-box-orient: vertical;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    transition: color 0.3s ease;
}

.news-card:hover .news-card-title {
    color: #ffa94d;
    text-shadow: 0 0 12px rgba(255, 140, 0, 0.5);
}

.news-card-des {
    -webkit-box-orient: vertical;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    margin: 0 0 8px;
    font-size: 11px;
    font-family: Lato, sans-serif;
    color: #b0a090;
    cursor: default;
    line-height: 1.4;
    flex: 1;
}

.news-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 140, 0, 0.1);
    margin-top: auto;
}

.news-date {
    font-size: 10px;
    color: #807060;
}

.news-read-more {
    font-size: 11px;
    color: #ff8c00;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    text-shadow: 0 0 5px rgba(255, 140, 0, 0.2);
}

.news-read-more:hover {
    color: #ffa94d;
    text-shadow: 0 0 10px rgba(255, 140, 0, 0.5);
}

/* =============================================
   NEWS FULL PAGE - Wave Style
   ============================================= */
.newsstream-card {
    max-width: 820px;
    margin: 20px auto;
    position: relative;
    background: rgb(0 0 0 / 42%);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(255, 140, 0, 0.08);
    border: 1px solid rgba(255, 140, 0, 0.15);
}

.newsstream-header {
    position: relative;
    z-index: 1;
    padding: 25px 30px 30px;
    background: rgb(10 5 5 / 58%);
    clip-path: polygon(0% 0%, 100% 0%, 100% 75%, 0% 100%);
}

.newsstream-title {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: #ff8c00;
    font-family: Lato, sans-serif;
    text-shadow: 0 0 10px rgba(255, 140, 0, 0.3);
    letter-spacing: 0.5px;
}

.newsstream-image {
    position: relative;
    z-index: 1;
    width: 40%;
    max-height: 420px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    margin: -20px 15px 15px;
    border-radius: 8px;
}

.newsstream-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to top, rgba(37, 2, 2, 0.85), transparent);
    z-index: 2;
    pointer-events: none;
}

.newsstream-image img {
    width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: cover;
    display: block;
}

.newsstream-content {
    position: relative;
    z-index: 1;
    padding: 25px 30px;
    background: rgba(37, 2, 2, 0.85);
    clip-path: polygon(0% 0%, 100% 12%, 100% 100%, 0% 88%);
    color: #d0c0b0;
    font-size: 15px;
    line-height: 1.8;
    font-family: Lato, sans-serif;
}

.newsstream-content p {
    margin-bottom: 15px;
}

.newsstream-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 10px 0;
}

.newsstream-footer {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px 25px;
    background: rgb(10 5 5 / 58%);
    clip-path: polygon(0% 12%, 100% 0%, 100% 100%, 0% 100%);
    border-top: 1px solid rgba(255, 140, 0, 0.1);
}

.newsstream-date {
    font-size: 12px;
    color: #807060;
}

.newsstream-author {
    font-size: 12px;
    color: #ff8c00;
    font-weight: 600;
    text-shadow: 0 0 5px rgba(255, 140, 0, 0.2);
}
/* =============================================
   LAYOUT FIX - Content & Footer
   ============================================= */


.contentside {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0px; /* Sidebar-ის სიგანე */
    right: 0;
    overflow-y: auto;
    padding: 20px;
    background: rgba(15, 8, 8, 0.82); /* გამჭვირვალე ფონი */
    color: #fff;
    z-index: 1;
    transition: left 0.4s ease;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 140, 0, 0.3) transparent;
}

.footerside {
        margin-top: auto;
    position: absolute;
    bottom: 0;
    left: 0px;
    right: 0;
    background: rgba(15, 8, 8, 0.88);
    color: #fff;
    z-index: 2;
    padding: 12px;
    text-align: center;
    border-top: 1px solid rgba(255, 140, 0, 0.15);
    transition: left 0.4s ease;
}

.top {
    position: absolute;
    top: 0;
    height:66px;
    left: 0px;
    right: 0;
    background: rgba(15, 8, 8, 0.88);
    color: #fff;
    z-index: 2;
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 140, 0, 0.15);
    transition: top 0.4s ease;
}
.top ~ .contentside {
    margin-top: 66px;
}

/* მობილურზე ადაპტაცია */
@media (max-width: 991px) {
    .contentside, .footerside {
        left: 0;
    }
    
    .contentside {
        padding-top: 65px; /* Toggle ღილაკისთვის ადგილი */
    }
}
/* =============================================
   SIDEBAR MENU (გასწორებული)
   ============================================= */
.sidebar-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 40px;
    height: 100vh;
    background: rgba(10, 5, 5, 0.95);
    border-right: 1px solid rgba(255, 140, 0, 0.15);
    z-index: 1050;
    transition: width 0.4s ease;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

.sidebar-wrapper:hover {
    width: 240px;
    box-shadow: 5px 0 20px rgba(255, 140, 0, 0.15);
}

.sidebar-logo {
    padding: 15px 0;
    text-align: center;
    border-bottom: 1px solid rgba(255, 140, 0, 0.1);
}

.sidebar-logo img {
    height: 35px;
    transition: transform 0.3s ease;
}

.sidebar-wrapper:hover .sidebar-logo img {
    transform: scale(1.1);
}

.sidebar-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-menu > ul > li {
    position: relative;
    border-bottom: 1px solid rgba(255, 140, 0, 0.05);
}

/* აიქთემების ფონი */
.sidebar-menu > ul > li > a {
    display: flex;
    align-items: center;
    padding: 15px 0;
    color: #b0a090;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
    background: rgba(10, 5, 5, 0.85); /* გამჭვირვალობა მოხსნილია */
}

.sidebar-menu > ul > li > a:hover {
    color: #ff8c00;
    background: rgba(255, 140, 0, 0.1);
    text-shadow: 0 0 8px rgba(255, 140, 0, 0.4);
}

.sidebar-menu > ul > li > a i.fa {
    width: 20px;
    text-align: center;
    margin-left:8px;
    font-size: 18px;
    transition: all 0.3s ease;
}

.sidebar-menu > ul > li > a span {
    opacity: 0;
    margin-left: 10px;
    transition: opacity 0.3s ease;
    font-size: 14px;
    font-weight: 500;
}

.sidebar-wrapper:hover .sidebar-menu > ul > li > a span {
    opacity: 1;
    transition-delay: 0.1s;
}
@media (min-width: 992px) {
.sidebar-wrapper:hover ~ .main-wrapper {
    margin-left: 240px;
}
.sidebar-wrapper ~ .main-wrapper {
    margin-left: 40px;
}
}
.submenu-arrow {
    position: absolute;
    right: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sidebar-wrapper:hover .submenu-arrow {
    opacity: 1;
}

/* Dropdown Desktop */
.sidebar-submenu {
    display: none;
    background: rgba(5, 2, 2, 0.98);
    padding: 5px 0;
    
}

@media (min-width: 992px) {
    .sidebar-dropdown:hover .sidebar-submenu {
        display: block;
    }
}

.sidebar-submenu ul {
    padding-left: 15px;
    
}

.sidebar-submenu ul li a {
    display: block;
    padding: 8px 15px;
    color: #807060;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.2s ease;
}

.sidebar-submenu ul li a:hover {
    color: #ff8c00;
    padding-left: 20px;
    background: rgba(255, 140, 0, 0.05);
    
}

/* Mobile Toggle */
.sidebar-toggle-btn {
    display: none;
    position: fixed;
    top: 5px;
    left: 1px;
    z-index: 1060;
    background: rgba(10, 5, 5, 0.9);
    border: 1px solid rgba(255, 140, 0, 0.3);
    color: #ff8c00;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 18px;
}

/* =============================================
   LAYOUT & FOOTER FIX
   ============================================= */
body {
    margin: 0;
    display: flex;
    min-height: 100vh;
}

.main-wrapper {
    position: relative;
    margin-left: 0px; /* Sidebar-ისთვის ადგილი */
    min-height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    transition: margin-left 0.4s ease;
}

.contentside {
    position: relative; /* Absolute მოხსნილია */
    padding: 20px;
    margin-bottom:44px;
    background: rgba(15, 8, 8, 0.82); /* გამჭვირვალე ფონი */
    color: #fff;
    flex: 1; /* კონტენტი იკავებს დარჩენილ ადგილს */
}


/* Mobile Responsive */
@media (max-width: 991px) {
    body {
        display: block;
    }

    .sidebar-wrapper {
        position: fixed;
        left: -260px;
        width: 240px;
        height: 100%;
    }

    .sidebar-wrapper.active {
        left: 0;
    }

.sidebar-wrapper:hover {
    width: 240px;
}
    
    .sidebar-wrapper.active .sidebar-menu > ul > li > a span,
    .sidebar-wrapper.active .submenu-arrow {
        opacity: 1;
    }

    .sidebar-toggle-btn {
        display: block;
    }

    .sidebar-submenu.show {
        display: block;
    }

}