
/* --- RT Brand High-Fashion Architecture --- */
.rt-category-section {
  padding: 50px 0;
  width: 100%;
}

.rt-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

.rt-section-header {
  text-align: center;
  margin-bottom: 35px;
}

.rt-section-title {
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0;
  color: inherit;
  font-family: inherit; /* 强制继承主题标头字体 */
}

/* 非对称响应式网格架构 */
.rt-category-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: 15px;
  align-items: stretch;
}

.rt-side-stack {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.rt-split-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  flex: 1;
}

/* 卡片基础与图片处理 */
.rt-cat-card {
  position: relative;
  overflow: hidden;
  display: block;
  text-decoration: none;
  background-color: #f8f8f8;
}

.rt-cat-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.rt-card-tall {
  min-height: 500px;
}

.rt-card-short, .rt-card-short-half {
  height: 156px;
}

/* 高定微渐变遮罩，保障文本在复杂背景图片上的读写对比度 */
.rt-card-content {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.65) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  box-sizing: border-box;
}

.rt-card-title {
  font-size: 1.25rem;
  font-weight: 400;
  margin: 0 0 6px 0;
  letter-spacing: 1px;
  color: #ffffff;
  font-family: inherit;
}

.rt-card-short .rt-card-title,
.rt-card-short-half .rt-card-title {
  font-size: 1.05rem;
}

.rt-btn-link {
  color: #ffffff;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  opacity: 0.9;
  font-family: inherit;
}

/* 动效：深粹的艺术感微放大 */
.rt-cat-card:hover img {
  transform: scale(1.03);
}

/* 移动端自适应 */
@media (max-width: 992px) {
  .rt-category-grid {
    grid-template-columns: 1fr;
  }
  .rt-card-tall {
    min-height: 360px;
  }
  .rt-card-short, .rt-card-short-half {
    height: 160px;
  }
}
