.news-section{
    width: 100% !important;
    max-width: 1600px !important;
    margin: 0 auto !important;
    padding: 0 6vw !important;
}
.news-section-title{
    margin-bottom: 30px;
}
.news-section-title h2{
    font-family: "MB";
    font-weight: 700;
    font-size: 34px;
    text-align: center;
}

.cn-news-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 20px;
}
.cn-news-card {
  width: calc(33.33% - 20px);
    margin-bottom: 40px;
  cursor: pointer;
  text-align: center;

}
#cn-popup {
  position: fixed;
  top:0; left:0; right:0; bottom:0;
  background: rgba(0,0,0,0.8);
  display:flex; align-items:center; justify-content:center;
  z-index: 9999;
}
.cn-popup-inner {
    background: #fff;
    padding: 20px;
    max-width: 600px;
    width: 100%;
    position: relative;
    height: 75vh;
    overflow: scroll;
}
.cn-popup-data h2{
    margin: 0;
    font-size: 24px;
}
#cn-close {
    position: absolute;
    right: 10px;
    top: 10px;
    cursor: pointer;
    font-size: 36px;
    background: #fff;
    width: 20px;
    height: 20px;
    line-height: 19px;
    font-weight: 700;
    border-radius: 25px;
}
.cn-popup-inner img{
     width: 100%;
      height: 340px;
    object-fit: cover;
}
.cn-news-card img{
    border-radius: 16px;
    max-width: 100%;
    max-height: 100%;
    width: 100%;
    height: 340px;
    object-fit: cover;
    margin-bottom: 10px;
    box-shadow: 0px 1px 24px -5px rgba(0, 0, 0, 0.6);
    -webkit-box-shadow: 0px 1px 24px -5px rgba(0, 0, 0, 0.6);
    -moz-box-shadow: 0px 1px 24px -5px rgba(0, 0, 0, 0.6);
}
.cn-news-card h3{
    font-family: "MB";
    font-size: 18px;
    margin: 0;
}
#cn-load-more{
    cursor: pointer;
    background: transparent;
    border-radius: 25px;
    padding: 10px 20px;
    border: 1px solid #757575 !important;
    text-decoration: none;
    font-family: "MB" !important;
    font-weight: 600;
    border: 0px solid;
    max-width: 100%;
    width: 220px;
    display: block;
    margin: 0 auto;
    text-align: center;
    color: #757575;
    transition: background 0.3s ease, color 0.3s ease;
}
#cn-load-more:hover{
    background: #757575;
    color: #fff;
    transition: background 0.3s ease, color 0.3s ease;
}
/* ======================================================
📰 Single News Page Styling
====================================================== */
.single-news .site-main {
    display: flex;
    justify-content: center;
}

.single-news article {
    max-width: 880px;
    width: 100%;
    margin: 0 auto;
    padding: 40px 20px;
    font-family: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 17px;
    line-height: 1.8;
    color: #222;
}

.single-news .entry-header,
.single-news .post-thumbnail,
.single-news .entry-content > * {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

/* Заглавие */
.single-news .entry-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--base-color-palette-1000, #1A1A1A);
}

/* Основно изображение */
.single-news .post-thumbnail img {
    border-radius: 16px;
    width: 100%;
    height: auto;
    margin-bottom: 40px;
    box-shadow: 0 4px 25px rgba(0,0,0,0.08);
    object-fit: cover;
}

/* Вътрешни изображения в съдържанието */
.single-news .entry-content img {
    border-radius: 16px;
    width: 100%;
    height: auto;
    margin: 25px 0;
    box-shadow: 0 2px 16px rgba(0,0,0,0.05);
}

/* Абзаци */
.single-news .entry-content p {
    margin-bottom: 1.6em;
}

/* Галерия (ако има) */
.single-news .blocks-gallery-item img {
    border-radius: 12px;
}
.post-navigation{
    display: none;
}

.single article footer{
   display: none !important;
}
.single h1{
    position: relative;
    width: 100%;
    height: auto;
    padding: 0;
    margin: 0;
    font-size: 22px !important;
    overflow: inherit;
    clip: rect(0, 0, 0, 0);
    white-space: inherit;
}


/* Responsive */
@media (max-width: 768px) {
    .single-news .entry-content {
        padding: 20px;
        font-size: 16px;
    }

    .single-news .entry-title {
        font-size: 28px;
    }

    .single-news .post-thumbnail img {
        margin-bottom: 25px;
    }
}


/* ===========================
ðŸ“± Responsive â€” Ð´Ð¾ 480px
=========================== */
@media (max-width: 480px) {


  .news-section-title h2 {
    font-size: 26px;
    line-height: 1.2;
    text-align: center;
  }

  .cn-news-grid {
    flex-direction: column;
    gap: 24px;
    align-items: center;
  }

  .cn-news-card {
    width: 100%;
    margin-bottom: 30px;
  }

  .cn-news-card img {
    height: 220px;
    border-radius: 12px;
    box-shadow: 0px 2px 16px -4px rgba(0, 0, 0, 0.5);
  }

  .cn-news-card h3 {
    font-size: 16px;
    padding: 0 10px;
  }

  #cn-load-more {
    width: 100%;
    max-width: 280px;
    padding: 12px 0;
    font-size: 16px;
    border-radius: 35px;
  }

  #cn-popup {
    background: rgba(0,0,0,0.9);
    padding: 10px;
  }

  .cn-popup-inner {
    max-width: 95%;
    height: 80vh;
    border-radius: 8px;
    padding: 16px;
    overflow-y: auto;
  }

  .cn-popup-inner img {
    height: 200px;
    border-radius: 8px;
  }

  .cn-popup-data h2 {
    font-size: 20px;
    margin-top: 10px;
    line-height: 1.3;
  }

  #cn-close {
    top: 8px;
    right: 8px;
    font-size: 28px;
    width: 24px;
    height: 24px;
    line-height: 22px;
  }
}
