.page-story-tea .page-content { padding-top: 47px; padding-bottom: 35px; }
.story-page-title { margin: 0 auto 35px; color: #07519b; font-size: 35px; font-weight: 700; line-height: 34px; text-align: center; }
.story-page-title a { color: inherit; text-decoration: none; }
.story-tea-hero { position: relative; display: flex; height: 274px; margin: 0 0 38px; background: #f5f5f5; }
.story-tea-slider { position: relative; width: 58%; height: 100%; flex: 0 0 58%; overflow: hidden; }
.story-tea-slider .swiper-wrapper,
.story-tea-slider .swiper-slide { height: 100%; }
.story-tea-slider .swiper-slide img { display: block; width: 100%; height: 100%; object-fit: cover; }
.story-tea-controls { position: absolute; right: 10%; bottom: 12px; z-index: 10; display: flex; width: 308px; align-items: center; }
.story-tea-controls .swiper-button-prev,
.story-tea-controls .swiper-button-next { position: static; top: auto; width: 15px; height: 24px; flex: 0 0 15px; margin: 0; background-size: 15px 24px; }
.story-tea-controls .swiper-button-prev { margin-right: 18px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='24' viewBox='0 0 15 24'%3E%3Cpath d='M12 2L3 12l9 10' fill='none' stroke='%2307519b' stroke-width='2'/%3E%3C/svg%3E"); }
.story-tea-controls .swiper-button-next { margin-left: 18px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='24' viewBox='0 0 15 24'%3E%3Cpath d='M3 2l9 10-9 10' fill='none' stroke='%2307519b' stroke-width='2'/%3E%3C/svg%3E"); }
.story-tea-pagination { position: static; width: 242px !important; flex: 0 0 242px; text-align: center; }
.story-tea-pagination .swiper-pagination-bullet { width: 34px; height: 34px; margin: 0 9px !important; background: #ddd; color: #666; font-size: 14px; line-height: 34px; opacity: 1; text-align: center; }
.story-tea-pagination .swiper-pagination-bullet:first-child { margin-left: 0 !important; }
.story-tea-pagination .swiper-pagination-bullet:last-child { margin-right: 0 !important; }
.story-tea-pagination .swiper-pagination-bullet-active { background: #07519b; color: #fff; }
.story-tea-caption { display: flex; min-width: 0; flex: 1 1 auto; flex-direction: column; padding: 25px 30px 16px; }
.story-tea-caption h2 { margin: 0 0 14px; color: var(--site-text); font-size: 18px; font-weight: 400; line-height: 1.5; }
.story-tea-caption p { margin: 0; color: #666; font-size: 14px; line-height: 1.8; }
.story-tea-content { display: flex; align-items: flex-start; }
.story-tea-main { min-width: 0; flex: 1 1 auto; }
.story-tea-sidebar { width: 42.2%; flex: 0 0 42.2%; margin-left: 45px; padding: 27px 30px; background: #f7f7f7; }
.story-tea-section { margin: 0 0 31px; }
.story-tea-section-title { display: flex; align-items: center; margin: 0 0 18px; color: #333; font-family: "宋体", SimSun, serif; font-size: 26px; font-weight: 700; line-height: 1.2; }
.story-tea-section-title:after { height: 1px; flex: 1 1 auto; order: 2; margin-left: 13px; background: #ddd; content: ""; }
.story-tea-section-title a { flex: 0 0 auto; order: 3; margin-left: 10px; color: #666; font-family: Arial, sans-serif; font-size: 13px; font-weight: 400; }
.story-tea-list { margin: 0; padding: 0; list-style: none; }
.story-tea-list li { margin: 0 0 20px; color: var(--site-text); }
.story-tea-list h3 { margin: 0 0 8px; font-size: 16px; font-weight: 400; line-height: 20px; }
.story-tea-list p { color: var(--site-muted); margin: 0; font-size: 14px; line-height: 20px; }
.story-tea-list a { color: inherit; }
.story-tea-two-col { display: flex;}
.story-tea-two-col > section { width: 48.2%; min-width: 0; }
.story-tea-two-col > section + section { margin-left: 3.6%; }
.story-tea-archive { margin-top: 39px; }
.story-tea-archive-grid { display: flex; justify-content: space-between; margin: 0; padding: 0; list-style: none; }
.story-tea-archive-grid li { color: var(--site-text); width: 18.2%; }
.story-tea-archive-grid img { display: block; width: 100%; height: auto; }
.story-tea-archive-grid a { display: block; margin-top: 15px; color: inherit; font-size: 14px; line-height: 1.5; }
.tea-story-list { margin: 0; padding: 0; list-style: none; }
.tea-story-list li { display: flex; align-items: flex-start; margin: 0 0 25px; }
.tea-story-list img { display: block; width: 190px; height: 110px; flex: 0 0 190px; margin-right: 30px; object-fit: cover; }
.tea-story-copy { min-width: 0; }
.tea-story-copy h3 { margin: 0 0 9px; color: var(--site-text); font-size: 16px; font-weight: 400; line-height: 1.5; }
.tea-story-copy p { margin: 0; color: #666; font-size: 14px; line-height: 1.8; }
.tea-story-copy a { color: inherit; }
.tea-topic-list a { color: inherit; }
.tea-more { display: block; width: 122px; height: 30px; margin: 4px auto 0; border: 1px solid #3985d2; border-radius: 16px; color: #666; font-size: 14px; line-height: 28px; text-align: center; }
.tea-side-section + .tea-side-section { margin-top: 28px; }
.tea-side-title { display: flex; align-items: center; margin: 0 0 17px; color: #333; font-size: 21px; font-weight: 400; line-height: 1.3; }
.tea-side-title:after { height: 1px; flex: 1 1 auto; margin-left: 12px; background: #ddd; content: ""; }
.tea-side-section p { margin: 0; color: #666; font-size: 14px; line-height: 1.8; }
.tea-topic-list { margin: 0; padding: 0; list-style: none; }
.tea-topic-list li { display: flex; align-items: flex-start; margin: 0 0 19px; color: var(--site-text); font-size: 14px; line-height: 1.7; }
.tea-topic-list img { display: block; width: 190px; height: 110px; flex: 0 0 190px; margin-right: 27px; object-fit: cover; }
.page-story .page-content { max-width: 1380px; }

@media (max-width: 1379px) and (min-width: 768px) {
  .story-tea-sidebar { margin-left: 28px; padding: 21px; }
  .tea-story-list img,
  .tea-topic-list img { width: 32%; height: auto; flex-basis: 32%; margin-right: 16px; }
  .story-tea-two-col > section + section { margin-left: 25px; }
  .story-tea-caption { padding: 18px 20px 16px; }
  .story-tea-caption h2 { font-size: 16px; }
  .story-tea-controls { right: 4%; width: 260px; }
  .story-tea-controls .swiper-button-prev { margin-right: 8px; }
  .story-tea-controls .swiper-button-next { margin-left: 8px; }
  .story-tea-pagination { width: 216px !important; flex-basis: 216px; }
  .story-tea-pagination .swiper-pagination-bullet { width: 30px; height: 30px; margin: 0 6px !important; line-height: 30px; }
}
@media (max-width: 767px) {
  .page-story-tea .page-content { width: auto; margin: 0 16px; padding: 24px 0 30px; }
  .story-page-title { margin-bottom: 18px; font-size: 22px; font-weight: 400; line-height: 1.4; }
  .story-tea-hero { display: block; height: auto; margin-bottom: 27px; }
  .story-tea-slider { position: relative; width: 100%; height: auto; }
  .story-tea-slider:before { display: block; padding-top: 33.75%; content: ""; }
  .story-tea-slider .swiper-wrapper { position: absolute; top: 0; right: 0; bottom: 0; left: 0; }
  .story-tea-slider .swiper-slide img { height: 100%; }
  .story-tea-controls { position: static; top: auto; right: auto; bottom: auto; width: 100%; justify-content: center; padding: 0 0 12px; }
  .story-tea-controls .swiper-button-prev { margin-right: 3px; }
  .story-tea-controls .swiper-button-next { margin-left: 3px; }
  .story-tea-pagination { width: 194px !important; flex-basis: 194px; }
  .story-tea-pagination .swiper-pagination-bullet { width: 24px; height: 24px; margin: 0 3px !important; font-size: 11px; line-height: 24px; }
  .story-tea-caption { padding: 16px; }
  .story-tea-caption h2 { margin-bottom: 8px; font-size: 17px; }
  .story-tea-caption p { font-size: 14px; }
  .story-tea-content { display: block; }
  .story-tea-two-col { display: block; min-height: 0; }
  .story-tea-two-col > section { width: 100%; }
  .story-tea-two-col > section + section { margin: 28px 0 0; }
  .story-tea-section-title { margin-bottom: 14px; }
  .story-tea-list li { margin-bottom: 19px; }
  .story-tea-list h3 { margin-bottom: 7px; font-size: 15px; line-height: 1.5; }
  .story-tea-list p { font-size: 14px; line-height: 1.75; }
  .story-tea-archive-grid { flex-wrap: wrap; }
  .story-tea-archive-grid li { width: 48%; margin-bottom: 17px; }
  .story-tea-archive-grid a { font-size: 13px; }
  .story-tea-sidebar { width: 100%; margin: 20px 0 0; padding: 20px 16px; }
  .tea-story-list li { margin-bottom: 20px; }
  .tea-story-list img { width: 34%; height: auto; flex-basis: 34%; margin-right: 12px; }
  .tea-story-copy h3 { margin-bottom: 5px; font-size: 15px; }
  .tea-story-copy p { font-size: 13px; line-height: 1.65; }
  .page-tea .tea-story-copy p { display: none; }
  .tea-topic-list img { width: 38%; height: auto; flex-basis: 38%; margin-right: 12px; }
  .tea-topic-list li { font-size: 14px; }
}
/* Shared slide template for second-level page feature carousels. */
.story-tea-slider{width:100%;height:100%;flex:1 1 100%}
.story-tea-slider .swiper-slide{display:flex;align-items:stretch}
.secondary-carousel-image{display:block;width:58%;height:100%;flex:0 0 58%;overflow:hidden}
.secondary-carousel-image img{display:block;width:100%;height:100%;object-fit:cover}
.secondary-carousel-copy{display:flex;min-width:0;flex:1 1 auto;flex-direction:column;padding:25px 30px 16px}
.secondary-carousel-copy h2{margin:0 0 14px;color: var(--site-text);font-size:18px;font-weight:400;line-height:1.5}
.secondary-carousel-copy h2 a{color:inherit;text-decoration:none}
.secondary-carousel-copy p{margin:0;color:#666;font-size:14px;line-height:1.8}
@media(max-width:1379px) and (min-width:768px){.secondary-carousel-copy{padding:18px 20px 16px}.secondary-carousel-copy h2{font-size:16px}}
@media(max-width:767px){
 .story-tea-slider{height:auto}
 .story-tea-slider:before{display:none;padding:0;content:none}
 .story-tea-slider .swiper-wrapper{position:relative;top:auto;right:auto;bottom:auto;left:auto}
 .story-tea-slider .swiper-slide{display:block;height:auto}
 .secondary-carousel-image{width:100%;height:auto;aspect-ratio:800/270}
 .secondary-carousel-image img{height:100%}
 .secondary-carousel-copy{padding:16px}
 .secondary-carousel-copy h2{margin-bottom:8px;font-size:18px}
 .secondary-carousel-copy p{font-size:14px}
 .story-tea-controls{position:static;top:auto;right:auto;bottom:auto;width:100%;justify-content:center;padding:0 0 12px}
}
/* Image links preserve the thumbnail geometry in article lists. */
.story-archive-image{display:block;margin:0!important;overflow:hidden}
.story-archive-image img{display:block;width:100%;height:auto}
.tea-story-list .tea-story-image{display:block;width:190px;height:110px;flex:0 0 190px;margin-right:30px;overflow:hidden}
.tea-story-list .tea-story-image img{display:block;width:100%;height:100%;margin:0;object-fit:cover}
.tea-topic-list .tea-topic-image{display:block;width:190px;height:110px;flex:0 0 190px;margin-right:27px;overflow:hidden}
.tea-topic-list .tea-topic-image img{display:block;width:100%;height:100%;margin:0;object-fit:cover}
.page-tea .tea-story-list h3{margin-bottom:9px}
.page-story .story-tea-two-col .story-tea-list h3{margin-bottom:0;line-height:1.55}
@media(max-width:1379px) and (min-width:768px){.tea-story-list .tea-story-image,.tea-topic-list .tea-topic-image{width:32%;height:auto;flex-basis:32%;margin-right:16px}.tea-story-list .tea-story-image img,.tea-topic-list .tea-topic-image img{height:auto}}
@media(max-width:767px){.tea-story-list .tea-story-image{width:34%;height:auto;flex-basis:34%;margin-right:12px}.tea-topic-list .tea-topic-image{width:38%;height:auto;flex-basis:38%;margin-right:12px}.tea-story-list .tea-story-image img,.tea-topic-list .tea-topic-image img{height:auto}.page-story .story-tea-two-col .story-tea-list h3{font-size:15px;line-height:1.55}}

/* Let feature text determine the slide height on intermediate desktop screens. */
@media (min-width:768px) and (max-width:1379px) {
  .story-tea-hero { height:auto; }
  .story-tea-slider,
  .story-tea-slider .swiper-wrapper { height:auto; }
  .story-tea-slider .swiper-slide { height:auto; min-height:274px; }
  .secondary-carousel-image { position:relative; height:auto; }
  .secondary-carousel-image img { position:absolute; inset:0; width:100%; height:100%; }
  .secondary-carousel-copy { padding:18px 20px 76px; }
  .story-tea-controls { right:0; left:58%; bottom:14px; width:auto; justify-content:center; }
}
@media (min-width:768px) and (max-width:900px) {
  .story-tea-slider .swiper-slide { display:block; min-height:0; }
  .secondary-carousel-image { width:100%; height:auto; aspect-ratio:800 / 270; }
  .secondary-carousel-copy { padding:20px 24px 76px; }
  .story-tea-controls { left:0; }
}

/* Mobile sidebar topics: size the image link and let its image fill that space. */
@media (max-width: 767px) {
  .tea-topic-list > li {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0;
    margin: 0 0 16px;
  }

  .tea-topic-list > li:last-child {
    margin-bottom: 0;
  }

  .tea-topic-list > li > a:first-child {
    display: block;
    width: 34%;
    height: auto;
    flex: 0 0 34%;
    margin: 0 12px 0 0;
    overflow: hidden;
    aspect-ratio: auto;
    line-height: 0;
  }

  .tea-topic-list > li > a:first-child img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
  }

  .tea-topic-list > li > a:last-child {
    display: block;
    min-width: 0;
    width: auto;
    flex: 1 1 0;
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    white-space: normal;
    overflow-wrap: break-word;
  }
}

/* Article lists: mobile typography only. */
@media (max-width: 767px) {
  .story-tea-list h3,
  .story-tea-list p,
  .page-story .story-tea-two-col .story-tea-list h3,
  .story-tea-archive-grid a,
  .tea-story-copy h3,
  .tea-story-copy p,
  .tea-topic-list li,
  .tea-topic-list > li > a:last-child {
    font-size: 18px;
    line-height: 1.7;
  }
    .tea-story-list li {
      align-items: center;
    }
}

/* Section headings: mobile typography only. */
@media (max-width: 767px) {
  .story-tea-section-title,
  .tea-side-title {
    font-size: 26px;
  }
}
