.BannersSide img {
  border-radius: calc(var(--b-radius) * 2);
}


/*********************Blog**************************/
.ItemBlog h2 {
  font-size: 1.1rem;
}

.title-detail-blog h1 {
  font-size: 1.5rem;
}

.in_article_image img {
  max-width: 100%;
  height: 100%;
  border-radius: 0.3rem;
  padding: 0.2rem;
  border: 0.1rem solid var(--accent-color);
  background-color: var(--accent-color);
  display: block;
  margin-right: auto;
  margin-left: auto;
}

.DetailArticleBlog :where(h2, h3, h4, h5, h6) {
  font-size: 1.3rem !important;
}

.DetailArticleBlog :where(a, a:link, a:hover, a:visited) {
  color: var(--accent-color) !important;
  font-weight: bold
}

.article_pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.article_pager a {
  width: 2rem;
  height: 2rem;
  display: block;
  text-align: center;
  border-radius: var(--b-radius);
  background-color: var(--accent-color);
  color: var(--Black) !important;
}

.article_pager a.active {
  color: var(--accent-color) !important;
  background-color: var(--Black);
}

.DateExpired:has(.seconds:empty) {
  display: none;
}


.DateExpired.soon {
  background: #cc2127;
  border-radius: 1vw;
  width: 40%;
  height: 14%;
  position: absolute;
  bottom: 2%;
  right: 2%;
  font-size: clamp(1vw, 1rem, 2vw) !important;
  padding: 1% 1.6% !important;

}

.DateExpired.soon .soon-text.soon-label {
  line-height: clamp(0.7vw, 0.5rem, 1vw);
  font-size: clamp(0.7vw, 0.7rem, 2vw);
}

.DateExpired.soon .soon-group {
  height: 100%;
}

.DateExpired.soon span.soon-repeater.soon-value {
  background: var(--White);
  padding: 6% 4%;
  border: 0;
  height: 52%;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 22%;
}

.DateExpired.soon span.soon-group.soon-group-sub {
  margin: 0;
  flex: 1 0 auto;
}

.DateExpired.soon .soon-group-inner {
  display: flex;
  gap: 2%;
  width: 100%;
  justify-content: center;
  height: inherit;
}

/********BannersManagement*********/
.BannersManagement {
  .Header {
    background: var(--dsilver);
    color: var(--White);
    padding: 0.5rem;
  }

  .BannerItem {
    padding: 0.5rem;

    &:nth-of-type(odd) {
      background: var(--silver);
    }

    >.BannerCol {
      align-items: center;
      display: flex;
      justify-content: center;
    }

  }
}

@media screen and (max-width: 991px) {
  .BannersManagement {
    .BannerItem {
      >.BannerCol {
        justify-content: flex-start;
        padding: 0;

        >* {
          flex: 1 0 auto;
          display: flex;
          padding: 0.5rem;
          justify-content: center;
          align-items: center;
        }
      }
    }

    .BannerItem .BannerCol::before {
      content: attr(data-name);
      background: var(--dsilver);
      flex: 0 0 45%;
      justify-content: center;
      display: flex;
      border-top: 0.1em solid var(--lsilver);
      align-items: center;
      height: 100%;
      color: var(--White);
    }
  }
}

.p-sticky {
  position: sticky;
  align-self: flex-start;
  top: 5rem;
}

.BlogIcon {
  display: grid;
  background-color: var(--accent-color2);
  border-radius: 50%;
  width: 3rem;
  height: 3rem;
  padding: 0.3rem;
  place-content: center;
}

.desc-article .cta-box {
  background: var(--silver);
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin: 1rem;
}

.desc-article {
  line-height: 2.5;
}

/* =========================
   FAQ – Smooth Details Transition (No JS)
   Parent: .desc-article
========================= */

.desc-article .faq {
  margin-top: 2.5rem;
  border-top: 1px solid #eee;
  padding-top: 2rem;
}

.desc-article .faq h3 {
  font-size: 1.2rem;
  margin-bottom: 1.2rem;
  color: #222;
}

/* Card */
.desc-article .faq details {
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 0.85rem 1rem;
  margin-bottom: 0.75rem;
  background: #fafafa;
  transition: background 180ms ease, border-color 180ms ease;
  overflow: hidden;
  /* helps rounded corners */
}

.desc-article .faq details[open] {
  background: #fff;
  border-color: #dedede;
}

/* Summary */
.desc-article .faq summary {
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  color: #111;
  padding-right: 2.2rem;
  position: relative;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

/* Remove default marker */
.desc-article .faq summary::-webkit-details-marker {
  display: none;
}

/* Custom icon */
.desc-article .faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0.05rem;
  font-size: 1.35rem;
  line-height: 1;
  color: #666;
  transform-origin: center;
  transition: transform 180ms ease, color 180ms ease;
}

.desc-article .faq details[open] summary::after {
  content: "–";
  color: #111;
}

/* Smooth content open/close using grid rows */
.desc-article .faq .faq__content {
  display: grid;
  grid-template-rows: 0fr;
  /* collapsed */
  transition: grid-template-rows 220ms ease;
}

.desc-article .faq details[open] .faq__content {
  grid-template-rows: 1fr;
  /* expanded */
}

/* inner wrapper behavior */
.desc-article .faq .faq__content>* {
  overflow: hidden;
  /* important */
}

/* Animate text feel (opacity + translate) */
.desc-article .faq .faq__content p {
  margin: 0.75rem 0 0;
  font-size: 0.95rem;
  line-height: 1.8;
  color: #444;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.desc-article .faq details[open] .faq__content p {
  opacity: 1;
  transform: translateY(0);
}

/* Links */
.desc-article .faq a {
  color: #0a58ca;
  text-decoration: none;
  border-bottom: 1px dashed rgba(10, 88, 202, 0.35);
}

.desc-article .faq a:hover {
  border-bottom-style: solid;
}

/* Optional: focus style (accessibility) */
.desc-article .faq summary:focus-visible {
  box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.18);
  border-radius: 10px;
}

/* Mobile */
@media (max-width: 768px) {
  .desc-article .faq summary {
    font-size: 0.98rem;
  }

  .desc-article .faq .faq__content p {
    font-size: 0.92rem;
  }
}