/* Home page only: guide cards used inside .hot-guides-section */

.guide-card{
  position: relative;
  display: flex;
  flex-direction: column;
  background: #121212;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 18px rgba(0,0,0,.22);
  width: 100%;
  cursor: pointer;
  transition: transform .24s cubic-bezier(.25,.8,.25,1), box-shadow .24s cubic-bezier(.25,.8,.25,1);
  min-height: 380px;
  text-decoration: none;
  color: inherit;
}

.guide-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 6px 24px rgba(119,9,255,.35);
}

.guide-img-box{
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #0f1218;
}

.guide-img-box img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .45s ease, filter .35s ease;
}

.guide-card:hover .guide-img-box img{
  transform: scale(1.06);
  filter: brightness(.92);
}

.guide-logo{
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 5;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.guide-logo svg,
.guide-logo img,
.guide-logo .nav-svg-img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.guide-card-title{
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  margin: .6rem 1rem .2rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.guide-card-desc{
  font-size: .95rem;
  color: #b0b3c7;
  margin: 0 1rem .8rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1 1 auto;
}

.guide-card-desc p{
  margin: 0;
}

.guide-card-desc p,
.guide-card-desc strong,
.guide-card-desc em,
.guide-card-desc span,
.guide-card-desc br{
  color: inherit;
}

.guide-card-desc a{
  color: inherit;
  text-decoration: underline;
}

.guide-meta-row{
  margin: 0 1rem 1rem;
  display: flex;
  gap: .6rem;
  align-items: center;
  margin-top: auto;
}

.rt-pill{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  color: #cbd1e1;
  font-size: 12px;
  line-height: 1;
  font-weight: 600;
}

.rt-pill img{
  width: 14px;
  height: 14px;
  display: block;
  opacity: .9;
}

@media (max-width: 900px){
  .guide-card{
    margin-bottom: 18px;
  }
}
