/* ============================================================
   TOP TRENDING — sections/trending.css
   ============================================================ */

.trending {
  display: none;
  background: var(--clr-cream);
  padding-block: var(--section-py);
}

.trending__header {
  text-align: center;
  margin-bottom: var(--sp-10);
}

.trending .section-title {
  font-family: 'Nomiyola', 'Normiyola', 'Normiyola VIP', var(--ff-display);
  font-size: clamp(3rem, 6vw, 5rem);
  letter-spacing: 0.035em;
  line-height: 0.95;
}

/* Same card sizing as featured-trips */
.trending .carousel__track .tour-card {
  min-width: calc((100% - 60px) / 4.15);
}

.trending .tour-card {
  position: relative;
  border-radius: 0 !important;
  clip-path: polygon(
    16px 0,
    calc(100% - 16px) 0,
    100% 16px,
    100% calc(100% - 16px),
    calc(100% - 16px) 100%,
    16px 100%,
    0 calc(100% - 16px),
    0 16px
  );
  border: 0;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.06) !important;
  background: transparent;
}

.trending .tour-card > * {
  position: relative;
  z-index: 2;
}

.trending .tour-card::before,
.trending .tour-card::after {
  content: '';
  position: absolute;
  pointer-events: none;
  clip-path: polygon(
    16px 0,
    calc(100% - 16px) 0,
    100% 16px,
    100% calc(100% - 16px),
    calc(100% - 16px) 100%,
    16px 100%,
    0 calc(100% - 16px),
    0 16px
  );
}

.trending .tour-card::before {
  display: none;
}

.trending .tour-card::after {
  inset: 0;
  z-index: 1;
  background: #fff;
}

.trending .tour-card__image,
.trending .tour-card__image img {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.trending .tour-card__image {
  height: 200px;
  clip-path: polygon(
    16px 0,
    calc(100% - 16px) 0,
    100% 16px,
    100% 100%,
    0 100%,
    0 16px
  );
}

.trending .tour-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.trending .tour-card__body {
  padding: 16px 18px 18px !important;
}

.trending .tour-card__title {
  min-height: 3.1em;
}

.trending .tour-card__footer {
  margin-top: 14px !important;
  padding-top: 14px;
  border-top: none;
}

.trending .carousel__btn {
  width: 56px;
  height: 32px;
  border-radius: 0;
  border: 0;
  background: #d49a32;
  clip-path: polygon(
    10px 0,
    calc(100% - 10px) 0,
    100% 10px,
    100% calc(100% - 10px),
    calc(100% - 10px) 100%,
    10px 100%,
    0 calc(100% - 10px),
    0 10px
  );
}

.trending .btn--explore {
  --bevel-size: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 78px;
  padding: 7px 16px;
  border: 0;
  border-radius: 0;
  color: #fff !important;
  background: #d49a32;
  clip-path: polygon(
    var(--bevel-size) 0,
    calc(100% - var(--bevel-size)) 0,
    100% var(--bevel-size),
    100% calc(100% - var(--bevel-size)),
    calc(100% - var(--bevel-size)) 100%,
    var(--bevel-size) 100%,
    0 calc(100% - var(--bevel-size)),
    0 var(--bevel-size)
  );
  line-height: 1;
}

.trending .btn--explore:hover {
  color: #fff !important;
  background: #c98d23;
}
