
#myDIV {
  width: auto;

  border: 1px solid black;
  animation: mymove .5s infinite;
}

@keyframes mymove {
50% {border-bottom: 3px solid #7B68EE;}
}

/* =======================================================
   RESET + TYPOGRAPHY
   ======================================================= */
body {
    background: #fff;
        font-family: 'Lora', 'Times New Roman', Times, serif;
    /*font-family: 'Roboto', sans-serif;*/
    font-size: 18px;
    line-height: 1.7;
    color: #333;
    margin: 0;
    font-display: swap;
        font-weight: normal;
}

h1 {
    font-family: 'Montserrat-Regular', sans-serif;
    font-weight: 700;
    font-size: 30px;
    margin-bottom: 10px;
}

h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    margin-top: 3px;
    margin-bottom: 15px;
}

h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    margin-bottom: 15px;
}

/* =======================================================
   CONTAINER (responsive width)
   ======================================================= */
.container {
        max-width: 98% !important;
    width: 98%;
    margin: auto;
}

@media (min-width:1400px) {
    .container {
        max-width: 99%;
    }
}


/* =======================================================
   BUTTONS
   ======================================================= */
.btn-primary {
    background: #7B68EE;
    border-color: #7B68EE;
    border-radius: 12px;
    color: #fff;
    transition: 0.2s;
}

.btn-primary:hover {
    background: #5a4fc1;
    border-color: #5a4fc1;
}

/* =======================================================
   TOPBAR
   ======================================================= */
.topbar {
    background: #f1f1f1;
    padding: 8px;
    font-size: 14px;
}

/* =======================================================
   CATEGORY STRIP
   ======================================================= */
.category-strip {
    background: #fff;
    padding: 3px;
    display: flex;
    justify-content: center;
    gap: 10px;
    overflow-x: auto;
    white-space: nowrap;
    /*border-bottom: 3px solid #7B68EE;*/
}


.dot{
    width:10px;
    height:10px;
    background:#7B68EE;
    border-radius:50%;
    display:inline-block;
    margin-right:6px;
}


.category-strip a {
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 600;
    background: #f4f6f9;
    text-decoration: none;
    color: #000;
    flex: 0 0 auto;
    transition: 0.2s;
}

.category-strip a:hover {
    background: #7B68EE;
    color: #fff;
}







.full-news-btn {
    display: inline-block;
    background-color: #7B68EE;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    padding: 1px 7rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    text-align: center;
    font-size: 16px;
}

.full-news-btn span {
    display: inline-block;
    transition: transform 0.3s ease;
}

.full-news-btn:hover {
    background-color: #6a54d9; /* по-тъмен при hover */
    box-shadow: 0 3px 12px rgba(0,0,0,0.25);
}

.full-news-btn:hover span {
    transform: translateX(25px); /* леко движение на стрелката */
}
/* =======================================================
   BADGES
   ======================================================= */
.category-badge, .cat-badge {
    display: inline-block;
    font-size: 1rem;
    font-weight: 600;
    color: #7B68EE;
    border: 0px solid #7B68EE;
    padding: 2px 6px;
    border-radius: 3px;
    margin-bottom: 5px;
}

/* =======================================================
   NEWS CARDS
   ======================================================= */
.news-card {
    display: flex;
    flex-direction: column;
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    transform: translateZ(0);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* ==================== Новинарски изображения ==================== */
.news-card img,
.latest-news .news-img,
.news-thumb-lg img,
.news-thumb-sm img {
    width: 100%;
    height: 200px; 
   /* object-fit: contain;*/
    /* фиксирана височина за всички изображения */
   object-fit: cover;   /*  изображението се изрязва, за да пасне на размера */
    border-radius: 6px;
}
.accent-section .news-img {
    width: 120px;
    height: 90px;
    /*object-fit: contain;
     object-fit: cover;*/
    border-radius: 5px;
}

/* Ако искаш картите да са еднакви височини */
.latest-news .news-card,
.news-card-sm,
.news-card-lg {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-body {
    padding: 10px;
}

.news-title {
        font-weight: normal; 
         font-size: 1.188rem;
   /* font-size:18px;
    font-weight: 700;*/
            flex: 1 1 1;
    min-height: 1px;
         
}

.news-title a, .news-overlay a {
    color: #000;
    text-decoration: none;
}

.news-title a:hover, .news-overlay a:hover {
    color: #5a4fc1;
    text-decoration: underline;
}

.article-meta {
    font-size: 13px;
    color: #555;
}

/* =======================================================
   SMALL NEWS CARDS
   ======================================================= */
.news-card-sm {
    display: flex;
    gap: 10px;
    height: 90px;
    flex: 1;
}

.news-thumb-sm {
    flex: 0 0 180px;
    height: 140px;
    overflow: hidden;
}

.news-thumb-sm img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

/* =======================================================
   LARGE NEWS CARDS
   ======================================================= */
.news-card-lg {
    height: 225px;
}

.news-thumb-lg {
    flex: 0 0 60%;
    max-width: 98%;
    height: 300px;/*230px;*/
    overflow: hidden;
}

.news-thumb-lg img {
    width: 100%;
    height: 100%;
  object-fit: cover;
         /* border-radius: 600px;*/
       
}

.news-overlay {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* =======================================================
   MEDIA ICONS
   ======================================================= */
.media-icon {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    font-size: 16px;
    padding: 4px 7px;
    border-radius: 6px;
    z-index: 5;
}

/* =======================================================
   LATEST NEWS SPECIFIC
   ======================================================= */
.latest-news .news-card {
    height: 100%;
    border-radius: 6px;
    overflow: hidden;
    transition: transform 0.2s;
}

.latest-news .news-card:hover {
    transform: translateY(-5px);
}

.latest-news .news-img {
          display: flex;
    flex-direction: column;
    width: 80%;
    height: 280px;
    object-fit: cover;
}

/* =======================================================
   LOGO BAR
   ======================================================= */
.logo-bar {
    display: flex;
    align-items: center;
   justify-content: space-between;
    gap: 15px;
}

.logo-left {
    height: 100px;
}

.logo-banner {
    flex: 1;
    max-width: 900px;
    height: 120px;
    object-fit: contain;
        /* display: block;*/
}

/* =======================================================
   SECTION TITLES
   ======================================================= */
.section-title {
    border-top: 5px solid #7B68EE;
    margin-bottom: 25px;
}

.section-title span {
    background: #7B68EE;
    color: #fff;
    padding: 5px 20px;
    font-weight: 700;
    position: relative;
         
}

.section-title span:after {
    content: "";
    position: absolute;
    right: -10px;
    top: 0;
    border-top: 16px solid transparent;
    border-bottom: 16px solid transparent;
    border-left: 10px solid #7B68EE;
}

/* =======================================================
   HAMBURGER & MOBILE MENU
   ======================================================= */
.hamburger-btn {
    font-size: 10px;
    background: #7B68EE;
    color: white;
    border: none;
    padding: 4px 10px;
    border-radius: 6px;
}

.mobile-slide-menu {
    position: fixed;
    top: 0;
    left: -280px;
    width: 260px;
    height: 100%;
    background: #fff;
    box-shadow: 4px 0 20px rgba(0,0,0,0.2);
    z-index: 9999;
    transition: 0.3s;
    padding-top: 15px;
}

.mobile-slide-menu.active {
    left: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    font-weight: 700;
    border-bottom: 1px solid #eee;
}

#closeMenu {
    border: none;
    background: none;
    font-size: 20px;
}

.mobile-slide-menu a {
    display: block;
    padding: 12px 15px;
    text-decoration: none;
    color: #333;
    border-bottom: 1px solid #f1f1f1;
}

.mobile-slide-menu a:hover {
    background: #f4f6f9;
    color: #7B68EE;
}

#menuOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    display: none;
    z-index: 9998;
}

#menuOverlay.active {
    display: block;
}

/* =======================================================
   COOKIE BANNER
   ======================================================= */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    padding: 15px;
    box-sizing: border-box;
    z-index: 9999;
}

.cookie-content {
    display: flex;
    flex-direction: column; /* на малки екрани бутоните ще са под текста */
    gap: 10px;
    max-width: 800px;
    margin: 0 auto;
}

.cookie-actions {
    display: flex;
    gap: 10px;       /* разстояние между бутоните */
}

.cookie-actions button {
    flex: 1;          /* бутоните стават еднакви по ширина */
    padding: 10px 0;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    text-align: center;
}

.btn-accept {
    background-color: #4CAF50;
    color: #fff;
}

.btn-decline {
    background-color: #f44336;
    color: #fff;
}

/* Responsive за мобилни устройства */
@media (max-width: 480px) {
    .cookie-content {
        flex-direction: column;
    }
    .cookie-actions {
        flex-direction: column;
    }
    .cookie-actions button {
        flex: unset;
        width: 100%;
    }
}

.btn-accept {
    background: #4CAF50;
    color: #fff;
}

.btn-decline {
    background: #444;
    color: #fff;
}

.btn-accept:hover {
    background: #43a047;
}

.btn-decline:hover {
    background: #333;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translate(-50%, 20px); }
    to   { opacity: 1; transform: translate(-50%, 0); }
}

/* =======================================================
   RESPONSIVE
   ======================================================= */
@media (max-width: 992px) {
    .logo-left { height: 60px; }
    .logo-banner { height: 70px; }
    .col-md-8, .col-md-4 { flex: 0 0 100%; max-width: 100%; }
    .news-card-sm { flex-direction: column; }
    .news-thumb-sm img { height: 120px; }
}

@media (max-width: 576px) {
    .logo-left { height: 55px; }
    .logo-banner { display: none; }
    .logo-bar { justify-content: center; }
}







.small-date {
    font-size: 0.7rem; /* Може да променяш стойността */
}

/* Изравняване на всички редове и карти */
.category-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem; /* разстояние между картите */
}

.news-card {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
}

.news-img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
}

.news-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0.5rem;
    flex-grow: 1;
}

.news-link {
    text-decoration: none;
    color: #000;
}

@media (max-width: 768px) {
    .category-row {
        flex-direction: column;
    }
    .news-card {
        height: auto;
    }
}

/* Контейнерът за малките видеа с вертикален скрол */
.small-videos-wrapper {
    max-height: 800px;      /* Ограничаваме височината */
    overflow-y: auto;       /* Вертикален скрол, когато има много видеа */
    padding-right: 5px;     /* Малко място за скролбара */
}

/* Стил на скролбара за Chrome/Edge/Safari */
.small-videos-wrapper::-webkit-scrollbar {
    width: 6px;
}

.small-videos-wrapper::-webkit-scrollbar-track {
    background: #7B68EE;
    border-radius: 3px;
}

.small-videos-wrapper::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
}

.small-videos-wrapper::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Малките видео карти */
.small-video-card {
    display: flex;
    gap: 0.5rem;           /* Разстояние между миниатюрата и текста */
    align-items: flex-start;
}

/* Миниатюра на видеото */
.small-video-card .video-card {
    flex-shrink: 0;
    width: 120px;
    height: 90px;
    border-radius: 8px;
    overflow: hidden;
    background: #000;
}

/* Текст до миниатюрата */
.small-video-card .ms-2 {
    flex: 1;
}

/* Заглавие на малките видеа */
.small-video-card .video-title.small {
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.2;
    color: #000;
    text-decoration: none;
}

/* Дата, час и гледания */
.small-video-card .text-muted {
    font-size: 0.75rem;
    color: #666;
    line-height: 1.2;
}

/* Отстояние между малките видео карти */
.small-video-card + .small-video-card {
    margin-top: 0.5rem;
}

/* Голямото видео остава както е, но може да добавим border-radius */
.video-card video,
.video-card iframe {
    border-radius: 8px;
    display: block;
}
/* Контейнер за малките видеа с вертикален скрол */
.small-videos-wrapper {
    max-height: 300px;   /* ограничена височина */
    overflow-y: auto;    /* вертикален скрол при много видеа */
    padding-right: 5px;
}

/* Стил на скролбара (Chrome, Edge, Safari) */
.small-videos-wrapper::-webkit-scrollbar {
    width: 6px;
}

.small-videos-wrapper::-webkit-scrollbar-track {
    background: #ddd;
    border-radius: 3px;
}

.small-videos-wrapper::-webkit-scrollbar-thumb {
    background: #7B68EE;
    border-radius: 3px;
}

.small-videos-wrapper::-webkit-scrollbar-thumb:hover {
    background: #ddd;
}

/* Малките видео карти */
.small-video-card {
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
}

/* Миниатюра на видеото */
.small-video-card .video-card {
    flex-shrink: 0;
    width: 320px;
    height: 40px;
    border-radius: 8px;
    overflow: hidden;
    background: #000;
}

/* Текст до видеото */
.small-video-card .ms-2 {
    flex: 1;
}

/* Заглавие на видеото */
.small-video-card .video-title.small {
    font-size: 0.9rem;
    font-weight: 500;
    color: #000;
    text-decoration: none;
    line-height: 1.2;
}

/* Дата, час и гледания */
.small-video-card .text-muted {
    font-size: 0.75rem;
    color: #555;
    line-height: 1.2;
}

/* Отстояние между малките видео карти */
.small-video-card + .small-video-card {
    margin-top: 0.5rem;
}


#scrollTopBtn {
    display: none; /* Скрит по подразбиране */
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    background-color: #7B68EE; /* Може да смениш */
    border: none;
    outline: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: background-color 0.3s, transform 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

#scrollTopBtn:hover {
    background-color: #5a4cd0;
    transform: translateY(-2px);
}

#scrollTopBtn img {
    display: block;
}

/* Scroll to top button */

#scrollTopBtn{
position:fixed;
bottom:30px;
right:30px;
width:48px;
height:48px;
border-radius:50%;
border:none;
background:#7B68EE;
cursor:pointer;
display:flex;
align-items:center;
justify-content:center;

opacity:0;
visibility:hidden;
transform:translateY(15px);

transition:all .35s ease;
box-shadow:0 6px 14px rgba(0,0,0,0.25);

z-index:999;
}

/* иконата */

#scrollTopBtn svg{
width:22px;
height:22px;
fill:white;
}

/* когато е активен */

#scrollTopBtn.show{
opacity:1;
visibility:visible;
transform:translateY(0);
}

/* hover ефект */

#scrollTopBtn:hover{
background:#5a4cd0;
transform:translateY(-3px) scale(1.05);
box-shadow:0 10px 20px rgba(0,0,0,0.3);
}




/* Scroll progress bar */

#scrollProgress{
position:fixed;
top:0;
left:0;
height:4px;
width:1%;
background:#7B68EE;
z-index:9999;
transition:width 0.1s linear;
}



.video-section {
    display: flex;
    gap: 3rem;
}
.left-video, .right-videos {
    display: flex;
    flex-direction: column;
    height: 420px; /* височина за десктоп */
    width:300px;
}
.left-video .video-card {
    flex-grow: 1;
    min-height: 0;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
}
.right-videos .small-videos-wrapper {
    flex-grow: 1;
    max-height: 310px;
    overflow-y: auto;
    
}
.video-title {
    text-decoration: none;
    color: #000;
    font-weight: 500;
}
.video-title.small {
    font-size: 0.9rem;
}

/* Мобилни устройства */
@media (max-width: 767px) {
    .video-section {
        flex-direction: column;
    }
    .left-video {
        height: 200px; /* лявото по-малко на мобилни */
    }
    .right-videos .small-videos-wrapper {
        max-height: 250px;
    }
}

.category-strip{
  position: sticky;
  top: 0;
  z-index: 9999;
  background: white;
  padding: 10px 20px;
}

/* малко лого */
.sticky-logo{
  display:none;
  margin-right:20px;
}

.sticky-logo img{
  height:35px;
}

/* когато се скролне */
.category-strip.scrolled .sticky-logo{
  display:block;
}

.hide-on-scroll{
  transition: transform 0.3s ease;
}

.hide{
  transform: translateY(-100%);
}


.category-strip.scrolled{
  box-shadow:0 2px 10px rgba(0,0,0,0.1);
}

.article-meta{
font-size:14px;
margin:15px 0;
}

.share-bar{
display:flex;
align-items:center;
gap:10px;
}

.share-btn{
border:none;
background:#f3f3f3;
padding:4px 8px;
border-radius:6px;
cursor:pointer;
}

.share-btn:hover{
background:#e6e6e6;
}
.article-meta{
font-size:14px;
color:#666;
margin:1px 0;
}

.meta-left{
display:flex;
align-items:center;
gap:6px;
}

.meta-dot{
color:#bbb;
}

.meta-views i{
margin-right:4px;
}

.share-bar{
display:flex;
align-items:center;
gap:8px;
}

.share-label{
color:#888;
font-size:13px;
}

.share-btn{
display:flex;
align-items:center;
justify-content:center;
width:28px;
height:28px;
border-radius:50%;
background:#f3f3f3;
color:#333;
border:none;
cursor:pointer;
text-decoration:none;
transition:0.2s;
}

.share-btn:hover{
background:#e6e6e6;
}

  
                .video-section{
    display:flex;
    gap:25px;
    background:#f6f7fb;
    padding:25px;
    border-radius:12px;
}

/* лява колона */
.left-video{
    flex:1.4;
}

/* дясна колона */
.right-videos{
    flex:1;
}

/* видео карта */
.video-card{
    position:relative;
    border-radius:10px;
    overflow:hidden;
    background:#000;
}

/* голямо видео */
.left-video .video-card{
    height:360px;
}

/* малко видео */
.small-video-card .video-card{
    flex-shrink:0;
}

/* hover ефект */
.video-card{
    transition:transform .25s ease, box-shadow .25s ease;
}

.video-card:hover{
    transform:translateY(-3px);
    box-shadow:0 10px 20px rgba(0,0,0,0.15);
}

/* заглавие */
.video-title{
    font-size:1.1rem;
    font-weight:600;
    color:#111;
    text-decoration:none;
    line-height:1.35;
}

.video-title:hover{
    color:#7B68EE;
}

/* малки заглавия */
.video-title.small{
    font-size:0.95rem;
}

/* малки видеа */
.small-video-card{
    padding:6px 0;
    border-bottom:1px solid #e5e5e5;
}

.small-video-card:last-child{
    border-bottom:none;
}

/* responsive */
@media (max-width: 768px){

.video-section{
    flex-direction:column;
}

.left-video .video-card{
    height:250px;
}

}
        
  /* .video-card::after{
    content:"▶";
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    font-size:50px;
    color:white;
    opacity:0.85;
    pointer-events:none;
    text-shadow:0 0 10px rgba(0,0,0,0.6);
}
     */      
        
     


@media (max-width: 576px) {
  .mobile-top {
    top: 80%;
  }
}