 /* header stick  */
 .sticky-bar {
    position: relative;
    width: 100%;
    z-index: 999;
    /* background: #fff; */
    transition: all .3s ease;
  }
  
  .sticky-bar.is-sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
  
    /* background: #fff; */
    box-shadow: 0 4px 12px rgba(0,0,0,.08);
  
    animation: slideDown .3s ease;
  }
  
  @keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
  }

 /* Header Menu All Category Dropdown ScrollBar And In Mobile View All Category Hide */
   .sub-menu {
    max-height: 420px;
    overflow-y: auto;
    overflow-x: hidden;
  
    /* Firefox */
    scrollbar-width: thin;
    scrollbar-color: #888 transparent;
  }
  
  /* Chrome / Edge / Safari */
  .sub-menu::-webkit-scrollbar {
    width: 5px;
  }
  
 .sub-menu::-webkit-scrollbar-track {
    background: transparent;
  }
  
  .sub-menu::-webkit-scrollbar-thumb {
    background: #888; 
    border-radius: 10px;
  }
  
  .sub-menu::-webkit-scrollbar-thumb:hover {
    background: #aaa;
  }

  @media (max-width: 767.98px) {
    .all-categories-menu {
      display: none !important;
    }
  }


/* =========================================================
   BANNER CARD
========================================================= */

.banner-card {
  position: relative;
  display: block;
  overflow: hidden;
  isolation: isolate;
}


/* =========================================================
   IMAGE
========================================================= */

.banner-card .featured-img {
  position: absolute;
  inset: 0;
  z-index: 0;

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  transition: transform 0.4s ease;
}


/* Slight image zoom */
.banner-card:hover .featured-img {
  transform: scale(1.04);
}


/* =========================================================
   DARK GRADIENT OVERLAY
   Makes white text readable regardless of image
========================================================= */

.banner-card .banner-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;

  pointer-events: none;

  background:
    linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.05) 0%,
      rgba(0, 0, 0, 0.12) 35%,
      rgba(0, 0, 0, 0.55) 65%,
      rgba(0, 0, 0, 0.88) 100%
    );
}


/* =========================================================
   CATEGORY BADGE
========================================================= */

.banner-card .category-badge-n {
  position: absolute;

  /* Center horizontally */
  left: 50%;
  bottom: 75px;

  transform: translateX(-50%);

  z-index: 5;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 7px 16px;

  background: #ffffff;
  color: rgba(0, 0, 0, 0.9);

  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 1px;

  text-transform: uppercase;
  white-space: nowrap;

  border-radius: 3px;

  cursor: pointer;

  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.25);

  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}


/* Badge hover */
.banner-card .category-badge-n:hover {
  background: #a60e88;
  color: #ffffff;

  transform: translateX(-50%) translateY(-3px);

  box-shadow:
    0 7px 18px rgba(0, 0, 0, 0.35);
}


/* =========================================================
   TEXT
========================================================= */

.banner-card .banner-text {
  position: absolute;

  left: 0;
  right: 0;
  bottom: 0;

  z-index: 3;

  padding: 20px 20px 18px;

  color: #ffffff;

  pointer-events: none;
}


/* Title */
.banner-card .banner-text h2 {
  margin: 0 0 8px;

  color: #ffffff;

  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;

  text-shadow:
    0 2px 5px rgba(0, 0, 0, 0.75);
}


/* Date + author */
.banner-card .banner-text .date {
  display: block;

  color: rgba(255, 255, 255, 0.9);

  font-size: 11px;
  line-height: 1.4;

  text-shadow:
    0 1px 4px rgba(0, 0, 0, 0.8);
}


/* =========================================================
   IMPORTANT:
   Badge must remain clickable
========================================================= */

.banner-card .category-badge-n {
  pointer-events: auto;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

  .banner-card .category-badge-n {
    bottom: 80px;

    padding: 6px 13px;

    font-size: 9px;
  }

  .banner-card .banner-text {
    padding: 18px 15px 15px;
  }

  .banner-card .banner-text h2 {
    font-size: 17px;
  }

  .banner-card .banner-text .date {
    font-size: 10px;
  }
}

.content-preview {
  position: relative;
  height: 45px;
  overflow: hidden;
  text-align: left !important;
}

.content-preview > div {
  margin: 0;
  text-align: left !important;
}

.content-preview p {
  margin-top: 0;
  margin-bottom: 8px;
  text-align: left !important;
}

/* =========================================
   SMART IMAGE TEXT READABILITY
   ========================================= */

   .smart-image-card {
    position: relative;
    overflow: hidden;
    isolation: isolate;
  }
  
  /* Image */
  .smart-image-card .featured-img {
    position: absolute;
    inset: 0;
    z-index: 0;
  
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  
    transition: transform 0.45s ease;
  }
  
  /* Slight zoom on hover */
  .smart-image-card:hover .featured-img {
    transform: scale(1.04);
  }
  
  /* =========================================
     DARK OVERLAY
     ========================================= */
  
  .smart-image-card .image-dark-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
  
    pointer-events: none;
  
    background:
      linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.08) 0%,
        rgba(0, 0, 0, 0.12) 25%,
        rgba(0, 0, 0, 0.38) 50%,
        rgba(0, 0, 0, 0.78) 78%,
        rgba(0, 0, 0, 0.94) 100%
      );
  }
  
  /* =========================================
     TEXT
     ========================================= */
  
  .smart-image-card .smart-image-text {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
  
    z-index: 3;
  
    padding: 25px 22px 20px;
  
    color: #fff;
  }
  
  /* Date / author */
  .smart-image-card .smart-image-text > span {
    display: block;
  
    margin-bottom: 7px;
  
    color: rgba(255, 255, 255, 0.92);
  
    font-size: 11px;
    font-weight: 500;
    line-height: 1.4;
  
    text-shadow:
      0 1px 2px rgba(0, 0, 0, 0.9),
      0 2px 6px rgba(0, 0, 0, 0.8);
  }
  
  /* Title */
  .smart-image-card .smart-image-text h2 {
    margin: 0;
  
    color: #fff;
  
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
  
    text-shadow:
      0 1px 2px rgba(0, 0, 0, 1),
      0 2px 5px rgba(0, 0, 0, 0.95),
      0 4px 12px rgba(0, 0, 0, 0.8);
  }
  
  /* Small cards */
  .smart-image-card.img-2 .smart-image-text {
    padding: 18px 20px 16px;
  }
  
  .smart-image-card.img-2 .smart-image-text h2 {
    font-size: 17px;
  }
  
  /* =========================================
     HOVER
     ========================================= */
  
  .smart-image-card:hover .image-dark-overlay {
    background:
      linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.12) 0%,
        rgba(0, 0, 0, 0.18) 25%,
        rgba(0, 0, 0, 0.45) 50%,
        rgba(0, 0, 0, 0.82) 78%,
        rgba(0, 0, 0, 0.96) 100%
      );
  }

  .category-badge-n2 {
    position: absolute;
  
    /* X = center of image */
    left: 50%;
  
    /* Y = bottom of image */
    bottom: 10px;
  
    transform: translateX(-50%);
  
    z-index: 30;
  
    display: inline-flex;
    align-items: center;
    justify-content: center;
  
    padding: 7px 15px;
  
    background: rgba(255, 255, 255, 0.96);
    color: rgba(0, 0, 0, 0.88);
  
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1.2;
  
    text-transform: uppercase;
    white-space: nowrap;
  
    border-radius: 4px;
  
    cursor: pointer;
  
    box-shadow:
      0 3px 10px rgba(0, 0, 0, 0.25);
  
    transition:
      background-color 0.25s ease,
      color 0.25s ease,
      transform 0.25s ease,
      box-shadow 0.25s ease;
  }
  
  .category-badge-n2:hover {
    background: #a60e88;
    color: #fff;
  
    transform: translateX(-50%) translateY(-4px);
  
    box-shadow:
      0 7px 18px rgba(0, 0, 0, 0.35);
  }

  /* =========================================
   BREADCRUMB WRAPPER
========================================= */

.category-breadcrumb-wrapn {
  width: 100%;

  padding: 18px 20px 22px;

  margin: 0;
}


/* =========================================
   BREADCRUMB
========================================= */

.category-breadcrumbn {
  width: 100%;

  margin: 0;

  padding: 0;
}


/* =========================================
   BREADCRUMB ROW
========================================= */

.breadcrumb-line {
  display: flex;

  align-items: center;

  flex-wrap: wrap;

  gap: 7px;

  width: 100%;

  font-size: 14px;

  line-height: 1.5;

  color: #999;
}


/* =========================================
   HOME / CATEGORY
========================================= */

.breadcrumb-link {
  flex: 0 0 auto;

  color: #999;

  font-size: 14px;

  font-weight: 500;

  text-decoration: none;

  white-space: nowrap;

  transition: color 0.2s ease;
}

.breadcrumb-link:hover {
  color: #f2b01e;

  text-decoration: none;
}


/* =========================================
   ARROW
========================================= */

.breadcrumb-arrow {
  flex: 0 0 auto;

  width: 16px;

  height: 16px;

  color: #aaa;
}


/* =========================================
   ARTICLE TITLE
========================================= */

.breadcrumb-title {
  flex: 1 1 400px;

  min-width: 0;

  max-width: 750px;

  color: #222;

  font-size: 15px;

  font-weight: 600;

  line-height: 1.55;

  white-space: normal;

  overflow-wrap: anywhere;

  word-break: break-word;
}

.article-figure {
  margin: 0;

  padding: 0;

  width: 100%;
}


/* =========================================
   IMAGE CAPTION
========================================= */

.article-image-caption {
  margin-top: 9px;

  padding: 0 8px;

  text-align: center;

  font-size: 12px;

  line-height: 1.5;

  font-style: italic;

  color: #888;
}

/* ==========================================
   POSTER CARD
   ========================================== */

   .poster-card {
    position: relative !important;
  
    width: 100%;
    max-width: 300px;
  
    margin: 0 auto;
  
    overflow: hidden !important;
  }
  
  
  /* ==========================================
     POSTER IMAGE
     ========================================== */
  
  .poster-image {
    width: 100%;
  
    aspect-ratio: 300 / 600;
  
    object-fit: cover;
  
    display: block;
  
    transition: transform 0.25s ease;
  }
  
  .poster-card:hover .poster-image {
    transform: scale(1.01);
  }
  
  
  /* ==========================================
     DELETE BUTTON
     ========================================== */
  
  .poster-card .poster-delete {
    position: absolute !important;
  
    top: 15px !important;
    right: 15px !important;
  
    width: 42px !important;
    height: 42px !important;
  
    min-width: 42px !important;
    min-height: 42px !important;
  
    padding: 0 !important;
    margin: 0 !important;
  
    border: none !important;
    border-radius: 50% !important;
  
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  
    background: rgba(0, 0, 0, 0.80) !important;
  
    color: #fff !important;
  
    cursor: pointer !important;
  
    opacity: 0;
    visibility: hidden;
  
    transform: translateY(-8px);
  
    z-index: 9999 !important;
  
    transition:
      opacity 0.25s ease,
      visibility 0.25s ease,
      transform 0.25s ease,
      background-color 0.25s ease;
  }
  
  
  /* ==========================================
     SHOW TRASH ON POSTER HOVER
     ========================================== */
  
  .poster-card:hover .poster-delete {
    opacity: 1 !important;
  
    visibility: visible !important;
  
    transform: translateY(0) !important;
  }
  
  
  /* ==========================================
     TRASH BUTTON HOVER
     ========================================== */
  
  .poster-card .poster-delete:hover {
    background: #dc3545 !important;
  
    color: #fff !important;
  
    /* Keep button completely inside image */
    transform: translateY(0) !important;
  }
  
  
  /* ==========================================
     TRASH ICON
     ========================================== */
  
  .poster-card .poster-delete svg {
    width: 16px !important;
  
    height: 16px !important;
  
    display: block !important;
  
    color: #fff !important;
  
    fill: currentColor;
  }
  
  
  /* ==========================================
     MOBILE
     ========================================== */
  
  @media (max-width: 767.98px) {
  
    .poster-card .poster-delete {
      top: 10px !important;
  
      right: 10px !important;
  
      width: 36px !important;
  
      height: 36px !important;
  
      min-width: 36px !important;
  
      min-height: 36px !important;
    }
  
    .poster-card .poster-delete svg {
      width: 14px !important;
  
      height: 14px !important;
    }
  
  }
  
  .poster-cardn {
    position: relative;
    width: 100%;
    max-width: 728px;
    margin: 0 auto;
    overflow: visible !important;
  }
  
  .poster-imagen {
    width: 100%;
    aspect-ratio: 728 / 90;
    object-fit: cover;
    display: block;
  }
  
  /* Trash button */
  .poster-cardn .poster-deleten {
    position: absolute !important;
  
    top: 10px !important;
    right: 10px !important;
  
    width: 36px !important;
    height: 36px !important;
  
    padding: 0 !important;
    margin: 0 !important;
  
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  
    border: none !important;
    border-radius: 50% !important;
  
    background: rgba(0, 0, 0, 0.8) !important;
    color: #fff !important;
  
    opacity: 0;
    visibility: hidden;
  
    transform: translateY(-8px);
  
    cursor: pointer !important;
  
    z-index: 999999 !important;
  
    transition:
      opacity 0.25s ease,
      visibility 0.25s ease,
      transform 0.25s ease;
  }
  
  /* Show on banner hover */
  .poster-cardn:hover .poster-deleten {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
  }
  
  /* Trash hover */
  .poster-cardn .poster-deleten:hover {
    background: #dc3545 !important;
    color: #fff !important;
    transform: scale(1.1) !important;
  }
  
  /* Make icon visible */
  .poster-cardn .poster-deleten svg {
    width: 16px !important;
    height: 16px !important;
    display: block !important;
    color: #fff !important;
    fill: currentColor !important;
  }

  .all-categories-menu .all-categories-link {
    color: #fff;
    font-weight: 600;
    opacity: 1;
    cursor: pointer;
  }