.rt-showcase {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid #d7dde4;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #f6f8fb 100%);
  box-shadow: 0 8px 20px rgba(13, 23, 38, 0.08);
}

.rt-showcase-media {
  width: 100%;
  height: 210px;
  background: #e8edf3;
}

.rt-showcase-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rt-showcase-body {
  padding: 1rem 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.rt-showcase-badge {
  display: inline-flex;
  width: fit-content;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: #111827;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.rt-showcase-title {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.2;
  font-weight: 700;
  color: #111827;
}

.rt-showcase-text {
  margin: 0;
  color: #334155;
  font-size: 0.95rem;
  line-height: 1.45;
}

.rt-showcase-cta {
  margin-top: auto;
  width: fit-content;
  text-decoration: none;
  border-radius: 8px;
  padding: 0.45rem 0.85rem;
  background: #f59e0b;
  color: #111827;
  font-weight: 700;
  font-size: 0.86rem;
}

.rt-showcase-cta:hover {
  background: #fbbf24;
  color: #111827;
}

.rt-showcase-stage-1 .rt-showcase-title {
  font-size: 1.35rem;
}

.rt-showcase-stage-1 .rt-showcase-media {
  height: 260px;
}

.rt-showcase-stage-2 .rt-showcase-media {
  height: 220px;
}

.rt-showcase-stage-3 .rt-showcase-media {
  height: 190px;
}

.rt-showcase-layout-split_2_1 {
  display: grid;
  grid-template-columns: 2fr 1fr;
  align-items: stretch;
  min-height: 360px;
  height: 360px;
}

.rt-showcase-layout-split_2_1 .rt-showcase-media {
  height: 100% !important;
  min-height: 360px;
  background: #f3f5f8;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rt-showcase-layout-split_2_1 .rt-showcase-body {
  height: 100%;
  justify-content: center;
  padding: 1.2rem 1.1rem;
  overflow: hidden;
}

.rt-showcase-layout-split_2_1 .rt-showcase-text {
  display: -webkit-box;
  -webkit-line-clamp: 7;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rt-showcase-layout-split_2_1 .rt-showcase-media img {
  object-fit: contain;
  object-position: center;
}

.rt-showcase-rotator [data-showcase-rotator-item] {
  transition: opacity 0.28s ease;
}

.rt-showcase-rotator {
  position: relative;
  min-height: 360px;
}

.rt-showcase-rotator-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border: 1px solid #f2c94c;
  border-radius: 999px;
  background: rgba(15, 20, 27, 0.86);
  color: #f2c94c;
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.rt-showcase-rotator-nav:hover {
  background: #f2c94c;
  color: #111827;
}

.rt-showcase-rotator-prev {
  left: 10px;
}

.rt-showcase-rotator-next {
  right: 10px;
}

@media (max-width: 992px) {
  .rt-showcase-stage-1 .rt-showcase-media,
  .rt-showcase-stage-2 .rt-showcase-media,
  .rt-showcase-stage-3 .rt-showcase-media {
    height: 200px;
  }

  .rt-showcase-layout-split_2_1 {
    grid-template-columns: 1fr;
    min-height: 420px;
    height: 420px;
  }

  .rt-showcase-layout-split_2_1 .rt-showcase-media {
    min-height: 240px;
  }

  .rt-showcase-layout-split_2_1 .rt-showcase-text {
    -webkit-line-clamp: 4;
  }

  .rt-showcase-rotator {
    min-height: 420px;
  }

  .rt-showcase-rotator-nav {
    width: 34px;
    height: 34px;
    font-size: 1.25rem;
  }
}

.rt-home-categories {
  margin-bottom: 0.5rem;
}

.rt-home-categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.9rem;
}

.rt-home-category-card {
  display: flex;
  flex-direction: column;
  border: 1px solid #d7dde4;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  background: #fff;
  box-shadow: 0 8px 18px rgba(13, 23, 38, 0.06);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.rt-home-category-card:hover {
  transform: translateY(-2px);
  border-color: #c9a521;
  box-shadow: 0 10px 20px rgba(13, 23, 38, 0.12);
}

.rt-home-category-media {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #eef2f6;
}

.rt-home-category-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rt-home-category-body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.7rem 0.85rem 0.8rem;
}

.rt-home-category-title {
  color: #0f172a;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.25;
}

.rt-home-category-meta {
  color: #64748b;
  font-size: 0.83rem;
  font-weight: 600;
}
