.home-page__body {
  display: flex;
  flex-direction: column;
  gap: 32rpx;
  padding-bottom: 48rpx;
}

.home-carousel {
  overflow: hidden;
  border-radius: 24rpx;
}

.home-carousel__swiper,
.home-carousel__item,
.home-carousel__image,
.home-carousel__placeholder {
  width: 100%;
  height: 352rpx;
}

.home-carousel__item {
  position: relative;
}

.home-carousel__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #edf5ff 0%, #d7e2f1 100%);
  color: #ffffff;
  font-size: 26rpx;
}

.home-carousel__mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.08) 0%, rgba(15, 23, 42, 0.5) 100%);
}

.home-carousel__content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 32rpx;
}

.home-carousel__title {
  color: #ffffff;
  font-size: 32rpx;
  font-weight: 700;
  line-height: 1.45;
}

.home-error {
  padding: 20rpx 24rpx;
  border-radius: 20rpx;
  background: #fef2f2;
  color: #dc2626;
  font-size: 24rpx;
}

.home-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  row-gap: 36rpx;
  column-gap: 8rpx;
}

.home-grid__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12rpx;
  transition: transform 120ms ease, opacity 120ms ease;
}

.home-grid__item:active,
.home-branches__item:active,
.home-media__button:active,
.home-guess__card:active,
.media-icon:active {
  transform: scale(0.985);
}

.home-grid__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 96rpx;
  height: 96rpx;
  border-radius: 9999rpx;
}

.home-grid__icon-image {
  width: 44rpx;
  height: 44rpx;
}

.home-grid__label {
  font-size: 24rpx;
  color: #374151;
  text-align: center;
  line-height: 1.35;
}

.home-grid__icon--news {
  background: #edf5ff;
  color: #123e7c;
}

.home-grid__icon--learning {
  background: #ecfdf5;
  color: #10b981;
}

.home-grid__icon--suggestions {
  background: #fff7ed;
  color: #f97316;
}

.home-grid__icon--services {
  background: #fef2f2;
  color: #ef4444;
}

.home-grid__icon--members {
  background: #faf5ff;
  color: #a855f7;
}

.home-grid__icon--survey {
  background: #eef2ff;
  color: #6366f1;
}

.home-grid__icon--events {
  background: #fdf2f8;
  color: #ec4899;
}

.home-grid__icon--join {
  background: #f0fdfa;
  color: #14b8a6;
}

.home-branches__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16rpx;
}

.home-branches__item {
  min-height: 92rpx;
  padding: 12rpx 10rpx;
  background: linear-gradient(180deg, #f8fbff 0%, #eef5ff 100%);
  border: 1rpx solid #dce8f7;
  border-radius: 16rpx;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-branches__name {
  font-size: 25rpx;
  font-weight: 700;
  line-height: 1.35;
  color: #123e7c;
  text-align: center;
  word-break: break-all;
}

.home-media {
  position: relative;
  overflow: hidden;
  padding: 30rpx;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24rpx;
  border: 1rpx solid rgba(18, 62, 124, 0.12);
  background: linear-gradient(135deg, #ffffff 0%, #f5f9ff 58%, #eef8f2 100%);
  box-shadow: 0 12rpx 30rpx rgba(18, 62, 124, 0.08);
}

.home-media::after {
  content: "";
  position: absolute;
  right: -36rpx;
  top: -50rpx;
  width: 170rpx;
  height: 170rpx;
  border-radius: 999rpx;
  background: rgba(18, 62, 124, 0.06);
}

.home-media__content {
  flex: 1;
  min-width: 0;
  position: relative;
  z-index: 1;
}

.home-media__eyebrow {
  display: block;
  color: #0f766e;
  font-size: 18rpx;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.2;
}

.home-media__title {
  display: block;
  margin-top: 8rpx;
  font-size: 28rpx;
  font-weight: 800;
  color: #111827;
  line-height: 1.35;
}

.home-media__desc {
  display: block;
  margin-top: 8rpx;
  color: #667085;
  font-size: 22rpx;
  line-height: 1.45;
}

.home-media__icons {
  margin-top: 22rpx;
  display: flex;
  gap: 14rpx;
}

.media-icon {
  width: 68rpx;
  height: 68rpx;
  border-radius: 18rpx;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1rpx solid #eef2f7;
  box-shadow: 0 6rpx 18rpx rgba(15, 23, 42, 0.08);
}

.media-icon__image {
  width: 48rpx;
  height: 48rpx;
}

.home-media__button {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  padding: 13rpx 26rpx;
  border-radius: 9999rpx;
  background: #123e7c;
  transition: transform 120ms ease, background 120ms ease;
}

.home-media__button-text {
  color: #ffffff;
  font-size: 24rpx;
  font-weight: 700;
}

.home-guess__list {
  margin-top: 20rpx;
  display: flex;
  flex-direction: column;
  gap: 16rpx;
}

.home-guess__card {
  padding: 24rpx;
  display: flex;
  gap: 24rpx;
}

.home-guess__cover {
  width: 192rpx;
  height: 160rpx;
  flex-shrink: 0;
  border-radius: 16rpx;
  overflow: hidden;
  background: #e5e7eb;
}

.home-guess__cover-image,
.home-guess__cover-empty {
  width: 100%;
  height: 100%;
}

.home-guess__cover-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  font-size: 22rpx;
}

.home-guess__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
}

.home-guess__category {
  display: inline-block;
  margin-bottom: 8rpx;
  padding: 4rpx 10rpx;
  background: #f3f4f6;
  border-radius: 8rpx;
  color: #6b7280;
  font-size: 20rpx;
}

.home-guess__title {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 28rpx;
  line-height: 1.45;
  color: #111827;
}

.home-guess__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16rpx;
}

.home-guess__meta-text,
.home-guess__date {
  font-size: 22rpx;
  color: #6b7280;
}

.home-guess__action-pill {
  flex-shrink: 0;
  padding: 8rpx 20rpx;
  border-radius: 9999rpx;
  background: #123e7c;
  color: #ffffff;
  font-size: 22rpx;
}

.home-empty-text {
  color: #9ca3af;
  font-size: 24rpx;
}
