.container {
  margin-top: 45rem;
}

.breadcrumb {
  display: flex;
  gap: 6rem;
  align-items: center;
  background: linear-gradient(
    90deg,
    rgba(36, 16, 46, 0.7) 0%,
    rgba(125, 58, 117, 0.6) 50%,
    rgba(36, 16, 46, 0.7) 100%
  );
  border: 1px solid #7c4586;
  border-radius: 8px;
  padding: 14rem 29rem;
  margin-bottom: 12rem;
  box-shadow: 0px 4px 4px 0px #0000004d;
  color: #ffffff80;
}
.breadcrumb .active {
  color: #ffffff;
}
.breadcrumb a {
  text-decoration: none;
  color: #ffffff80 !important;
}
.drawer-icon.icon-images.active {
  background: #fecb45;
  -webkit-mask: url(../icon/images-icon.svg) no-repeat center / contain;
  mask: url(../icon/images-icon.svg) no-repeat center / contain;
  width: 24rem;
  height: 24rem;
  margin-right: 6rem;
  flex-shrink: 0;
}

.layout {
  display: grid;
  grid-template-columns: 2.1fr 1fr;
  gap: 12px;
}
.main-column {
  background: #3900554d;
  padding: 25rem 20rem;
  position: relative;
  color: white;
  overflow: hidden;
  border-radius: 10rem;
}
.main-column-lighten {
  background: url(../images/lighten-small.webp) top center no-repeat;
  background-size: cover;
  position: absolute;
  top: -6rem;
  left: 0;
  right: 0;
  height: 165.5rem;
  z-index: -1;
}
.article-detail h1:hover,
.content-text {
  cursor: pointer;
  opacity: 0.9;
}
.article-detail {
  color: #ddd8cd;
}
.article-detail h1 {
  font-size: 22rem;
  line-height: 36rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 17rem;
}
.article-detail .content-img {
  margin-bottom: 15.5rem;
  width: 100%;
}
.content-img img {
  width: 100%;
}
.article-detail p,
.content-paragraph {
  color: #ddd8cd;
  font-size: 16rem;
  line-height: 22rem;
  text-align: justify;
  margin-bottom: 20rem;
}
.content-heading-secondary {
  font-size: 18rem;
  line-height: 44rem;
  text-transform: uppercase;
  margin-block: 16rem 5rem;
  color: #fecb45;
}
.date-time {
  margin-bottom: 18rem;
}

.sidebar {
  display: flex;
  flex-direction: column;
  position: relative;
  gap: 18rem;
  overflow: hidden;
}

.sidebar-lighten {
  background: url(../images/lighten-small.webp) top center no-repeat;
  background-size: cover;
  position: absolute;
  top: -3rem;
  left: 0;
  right: 0;
  height: 165.6rem;
  z-index: 0;
}
.side-card {
  background: #3900554d;
  /* border: 1px solid rgba(198, 84, 255, 0.28); */
  border-radius: 10rem;
  backdrop-filter: blur(37px);
  padding: 22rem 11rem 25rem;
  color: white;
}
.side-card::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1rem; /* border thickness */
  border-radius: inherit;

  background: linear-gradient(
    90deg,
    rgba(232, 56, 229, 0.3) -1.12%,
    rgba(250, 228, 177, 0.3) 100.84%
  );

  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.side-tags {
  display: flex;
  align-items: center;
  gap: 16rem;
  margin-bottom: 13rem;
  flex-wrap: wrap;
  padding-bottom: 19rem;
  font-size: 16rem;
  line-height: 20rem;
  background: url(../images/divider-small.webp) bottom center no-repeat;
  background-size: contain;
}

.drawer-icon.icon-diamond.active {
  background: #fecb45;
  -webkit-mask: url("../icon/diamond-icon.svg") no-repeat center /
    contain;
  mask: url("../icon/diamond-icon.svg") no-repeat center / contain;
  width: 24rem;
  height: 24rem;
}
.drawer-icon.icon-poker.active {
  background: #e82767;
  -webkit-mask: url("../icon/PokerChip.svg") no-repeat center / contain;
  mask: url("../icon/PokerChip.svg") no-repeat center / contain;
  width: 24rem;
  height: 24rem;
}
.drawer-icon.icon-club.active {
  background: #54b932;
  -webkit-mask: url("../icon/Club.svg") no-repeat center / contain;
  mask: url("../icon/Club.svg") no-repeat center / contain;
  width: 24rem;
  height: 24rem;
}
.side-tags span {
  position: relative;
  color: #e6d9eb;
}
.side-tags span:hover,
.side-card h2:hover,
.side-card p:hover {
  cursor: pointer;
  opacity: 0.9;
}

.side-tags.gold span:first-child,
.side-tags.pink span:first-child,
.side-tags.green span:first-child {
  color: #fecb45;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 600;
  gap: 10rem;
}

.side-tags.pink span:first-child {
  color: #e82767;
}

.side-tags.green span:first-child {
  color: #54b932;
}

.side-card h2 {
  font-size: 20rem;
  line-height: 1.4;
  margin-bottom: 13rem;
  font-weight: 600;
  color: white;
}

.side-card p {
  font-size: 16rem;
  line-height: 22rem;
  margin-bottom: 18rem;
  color: #ddd8cd;
}
.side-card-img {
  aspect-ratio: 380 / 214;
  object-fit: cover;
  border-radius: 12rem;
  display: block;
  margin-bottom: 21rem;
  overflow: hidden;
}
.side-card > img,
.side-card-img img {
  width: 100%;
}
.side-card ul {
  list-style: none;
}

.side-card li {
  display: flex;
  gap: 11rem;
  color: inherit;
  font-size: 16rem;
  line-height: 22rem;
  margin-bottom: 21rem;
}

.side-card li p {
  height: 11rem;
  margin-bottom: unset;
}
.side-card li img {
  width: 18rem;
  height: 18rem;
  margin-top: 5rem;
}

@media (max-width: 768px) {
  .container {
    margin-top: 21rem;
}
  .layout {
    grid-template-columns: 1fr;
  }
  .breadcrumb {
    max-width: 402rem;
    overflow-x: auto;
    margin-bottom: 15rem;
    text-wrap-mode: nowrap;
    padding: 11rem;
    border-inline: unset;
    border-radius: 0;
  }
  .breadcrumb .active {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .post-grid {
    grid-template-columns: 1fr;
    gap: 20rem;
  }
  .main-column {
    margin-inline: 12rem;
    padding: 15rem 10rem;
  }
  .article-detail h1 {
    font-size: 18rem;
    line-height: 26rem;
    margin-bottom: 16rem;
  }
  .content-text.date-time {
    font-size: 14rem;
    margin-bottom: 16rem;
  }
  .content-heading-secondary {
    line-height: 22rem;
    margin-block: 24rem 11rem;
  }
  .article-detail p,
  .content-paragraph {
    font-size: 15rem;
    margin-bottom: 18rem;
  }
  .side-card p {
    font-size: 15rem;
  }
}
