/* Shared homepage styles for both device templates (business.php reuses its components). Includes the former homepage-taste2.css and homepage-honours.css at the end. */
:root { --st-red: #a51e25; --st-red-dark: #7d161c; --st-ink: #23282f; --st-muted: #697078; --st-line: #e8e5e2; --st-paper: #f7f6f3; }
.st-home { margin: 0; color: var(--st-ink); background: #fff; font: 16px/1.65 "Microsoft YaHei", "PingFang SC", Arial, sans-serif; -webkit-text-size-adjust: 100%; }
.st-home *, .st-home *::before, .st-home *::after { box-sizing: border-box; }
.st-home [hidden] { display: none !important; }
.st-home img { display: block; max-width: 100%; }
.st-home a { color: inherit; text-decoration: none; }
.st-home a:hover { color: var(--st-red); }
.st-home button { font: inherit; cursor: pointer; }
.st-home button:disabled { cursor: default; opacity: .4; }
.st-home a:focus-visible, .st-home button:focus-visible, .st-home [tabindex]:focus-visible { outline: 3px solid #bf6e2e; outline-offset: 4px; }
.st-home h1, .st-home h2, .st-home h3, .st-home h4, .st-home p, .st-home figure { margin: 0; }
.st-section-heading h2, .st-case-body h3, #team .st-lawyer h3, .st-metrics strong { overflow-wrap: anywhere; }
.st-home ul { margin: 0; padding: 0; list-style: none; }
.st-home section, .st-home #wechat { scroll-margin-top: 110px; }
.st-container { width: min(1280px, calc(100% - 96px)); margin: 0 auto; }
.st-skip { position: fixed; z-index: 101; top: -100px; left: 16px; background: #fff; padding: 12px 20px; }
.st-skip:focus { top: 12px; }
.st-menu-button { display: none; }
.st-nav-links { display: flex; align-items: stretch; justify-content: space-between; }
.st-nav-links a { display: block; padding: 15px 20px; font-size: 16px; text-align: center; }
.st-nav-links a[aria-current], .st-nav-links a:hover { color: #fff; background: var(--st-red-dark); }
.st-hero { position: relative; margin: 0 auto; background: #f2f0ed; }
.st-hero-slide { width: 100%; aspect-ratio: 1920 / 800; }
.st-hero-slide a { display: block; height: 100%; }
.st-hero-slide img { width: 100%; height: 100%; object-fit: contain; }
.st-hero-controls { position: absolute; z-index: 1; right: 16px; bottom: 16px; display: flex; align-items: center; padding: 2px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px; background: rgba(20, 23, 28, .78); color: #fff; }
.st-hero-controls button { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: inherit; transition: background .15s; }
.st-hero-controls button:hover { background: rgba(255, 255, 255, .18); }
.st-hero-controls button:focus-visible { outline: 2px solid #fff; outline-offset: -4px; }
.st-hero-count { min-width: 50px; color: inherit; font-size: 14px; font-weight: 500; line-height: 1; text-align: center; font-variant-numeric: tabular-nums; }
.st-home-pc .st-hero-controls { inset: 0; display: block; padding: 0; border: 0; border-radius: 0; background: transparent; pointer-events: none; }
.st-home-pc .st-hero-controls button { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(20, 23, 28, .5); pointer-events: auto; }
.st-home-pc .st-hero-controls button:hover { background: rgba(20, 23, 28, .72); }
.st-home-pc [data-carousel-prev] { left: 12px; }
.st-home-pc [data-carousel-next] { right: 12px; }
.st-home-pc .st-hero-count { position: absolute; right: 12px; bottom: 10px; min-width: 0; padding: 3px 6px; border-radius: 2px; background: rgba(20, 23, 28, .56); color: rgba(255, 255, 255, .88); font-size: 11px; font-weight: 400; }
.st-home-mobile .st-hero-controls { right: 10px; bottom: 10px; height: 36px; padding: 0; }
.st-home-mobile .st-hero-count { min-width: 38px; font-size: 13px; }
.st-section { --st-heading-gap: 20px; padding: 32px 0; }
.st-tinted { background: var(--st-paper); }
.st-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: var(--st-heading-gap); }
.st-eyebrow { display: block; margin-bottom: 10px; color: var(--st-red); font-size: 12px; font-weight: 700; letter-spacing: 4px; }
.st-section-heading h1, .st-section-heading h2 { font-size: 32px; line-height: 1.4; font-weight: 600; letter-spacing: 0; }
.st-section-heading h2::after { content: ""; display: block; width: 36px; height: 2px; margin: 16px 0 0; background: var(--st-red); }
.st-section-heading p { margin-top: 12px; color: var(--st-muted); font-size: 15px; }
.st-text-link { flex-shrink: 0; font-size: 14px; font-weight: 600; color: var(--st-red) !important; }
.st-text-link span { margin-left: 12px; }
.st-business-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--st-line); border-left: 1px solid var(--st-line); }
.st-business-card { position: relative; padding: 28px 24px 24px; border-right: 1px solid var(--st-line); border-bottom: 1px solid var(--st-line); }
.st-business-number { display: block; font: 32px/1 Georgia, serif; color: var(--st-red); margin-bottom: 20px; }
.st-business-card h2 { font-size: 18px; line-height: 1.6; }
.st-business-card p { margin-top: 12px; color: var(--st-muted); font-size: 13px; }
.st-business-card small { display: block; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--st-line); color: #666c72; font-size: 12px; }
.st-hot-tags { display: flex; align-items: baseline; gap: 22px; padding-top: 24px; font-size: 13px; }
.st-business-group + .st-business-group { margin-top: 20px; }
.st-business-group .st-subheading { margin-bottom: 14px; }
.st-business-group .st-subheading h2 { font-size: 22px; }
.st-business-actions { display: flex; align-items: baseline; gap: 16px; }
.st-business .st-container, .st-hero { width: min(1280px, calc(100% - 160px)); }
.st-business-eight { display: grid; grid-template-columns: repeat(8, minmax(136px, 1fr)); overflow-x: auto; border-top: 1px solid var(--st-line); border-left: 1px solid var(--st-line); scroll-snap-type: x proximity; }
.st-business-entry { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 14px; padding: 22px 8px; border-right: 1px solid var(--st-line); border-bottom: 1px solid var(--st-line); text-align: center; background: #fff; transition: background .2s; scroll-snap-align: start; }
.st-business-entry svg { color: var(--st-red); flex-shrink: 0; }
.st-business-entry span { font-size: 14px; line-height: 1.7; text-wrap: balance; }
.st-business-entry:hover { background: #faf2ef; }
.st-business-scroll-hint { display: none; }
.st-home-mobile .st-business-eight { grid-template-columns: repeat(2, minmax(0, 1fr)); overflow-x: visible; scroll-snap-type: none; }
.st-business-secondary { display: grid; grid-template-columns: 140px minmax(0, 1fr); align-items: center; gap: 20px; padding: 20px; border: 1px solid var(--st-line); border-radius: 10px; background: #f7f5f2; }
.st-business-secondary .st-subheading { display: block; justify-content: flex-start; margin: 0; padding: 0 0 0 12px; border: 0; border-left: 3px solid #c7a19b; }
.st-business-secondary .st-subheading h2, .st-business-secondary .st-subheading h2 a { color: var(--st-ink); font-size: 17px; font-weight: 600; }
.st-business-secondary .st-subheading p { margin-top: 7px; color: var(--st-muted); font-size: 11px; }
.st-business-specialties { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.st-business-specialties .st-business-entry { display: flex; flex-direction: row; align-items: center; justify-content: flex-start; gap: 8px; min-height: 44px; padding: 9px 10px; border: 1px solid #eee9e4; border-radius: 6px; background: #fff; color: #50565d; text-align: left; }
.st-business-specialties .st-business-entry svg { width: 20px; height: 20px; color: #a96c64; }
.st-business-specialties .st-business-entry span { font-size: 12px; line-height: 1.6; text-wrap: initial; }
.st-business-specialties .st-business-entry:hover { color: var(--st-red); border-color: #d7b9b2; background: #fffaf8; }
.st-business-secondary .st-subheading h2 a:hover { color: var(--st-red); }
.st-home-mobile .st-business-secondary { background: var(--st-paper); }
.st-home-mobile .st-business-secondary .st-subheading { border-left-color: var(--st-red); }
.st-home-mobile .st-business-specialties .st-business-entry { border-color: var(--st-line); color: var(--st-ink); }
.st-home-mobile .st-business-specialties .st-business-entry svg { color: var(--st-red); }
.st-home-mobile .st-business-specialties .st-business-entry:hover { border-color: var(--st-red); background: var(--st-paper); color: var(--st-red); }
@media (max-width: 1100px) {
    .st-business .st-container, .st-hero { width: calc(100% - 64px); }
    .st-business-scroll-hint { display: block; color: var(--st-muted); font-size: 11px; margin-bottom: 10px !important; }
    .st-business-secondary { grid-template-columns: 1fr; gap: 16px; }
    .st-business-secondary .st-subheading { display: flex; align-items: center; justify-content: flex-start; gap: 16px; }
    .st-business-secondary .st-subheading p { margin: 0; }
}
@media (max-width: 767px) {
    .st-business .st-container, .st-hero { width: calc(100% - 32px); }
    .st-business-eight { grid-template-columns: repeat(8, minmax(148px, 1fr)); }
    .st-business-eight .st-business-entry { padding: 20px 8px; gap: 12px; }
    .st-business-eight .st-business-entry span { font-size: 14px; }
    .st-business-entry svg { width: 36px; height: 36px; }
    .st-business-secondary { padding: 14px 12px; gap: 14px; border-radius: 8px; }
    .st-business-secondary .st-subheading { gap: 10px; }
    .st-business-secondary .st-subheading h2, .st-business-secondary .st-subheading h2 a { font-size: 16px; }
    .st-business-secondary .st-subheading p { font-size: 10px; }
    .st-business-specialties { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .st-business-specialties .st-business-entry { min-height: 48px; padding: 8px; gap: 7px; }
    .st-business-specialties .st-business-entry svg { width: 18px; height: 18px; }
}
@media (min-width: 768px) {
    .st-home-pc .st-business-eight { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .st-home-pc .st-business-scroll-hint { display: none; }
    .st-home-pc .st-business-secondary { grid-template-columns: 1fr; gap: 16px; background: var(--st-paper); }
    .st-home-pc .st-business-secondary .st-subheading { display: flex; align-items: center; gap: 16px; border-left-color: var(--st-red); }
    .st-home-pc .st-business-secondary .st-subheading p { margin: 0; }
    .st-home-pc .st-business-specialties { grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 8px; }
    .st-home-pc .st-business-specialties .st-business-entry span { min-width: 0; white-space: normal; overflow-wrap: anywhere; text-wrap: balance; }
    .st-home-pc .st-business-specialties .st-business-entry { flex-direction: column; align-items: center; gap: 8px; padding: 12px 6px; border-color: var(--st-line); color: var(--st-ink); text-align: center; }
    .st-home-pc .st-business-specialties .st-business-entry svg { color: var(--st-red); }
    .st-home-pc .st-business-specialties .st-business-entry:hover { border-color: var(--st-red); background: var(--st-paper); color: var(--st-red); }
}
@media (min-width: 768px) and (max-width: 1200px) {
    .st-home-pc .st-business-specialties { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
    .st-home-pc .st-business-eight { grid-template-columns: repeat(2, minmax(0, 1fr)); overflow-x: visible; }
}
.st-hot-tags strong { flex-shrink: 0; color: var(--st-red); }
.st-hot-tags > div { display: flex; flex: 1; min-width: 0; flex-wrap: wrap; gap: 10px 20px; color: var(--st-muted); }
.st-hot-tags > div a { max-width: 100%; overflow-wrap: anywhere; }
.st-case-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.st-cases { background: #fff; }
.st-home-pc #cases { background: var(--st-paper); }
.st-cases-heading { display: grid; grid-template-columns: minmax(280px, 1fr) minmax(0, 2.4fr); align-items: end; gap: 32px; text-align: left; }

.st-case-filters { min-width: 0; margin: 0; }
.st-case-tabs { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 16px; }
.st-case-tabs a { padding: 8px 0; font-size: 14px; border-bottom: 2px solid transparent; white-space: nowrap; }
.st-case-tabs a[aria-current] { color: var(--st-red); border-bottom-color: var(--st-red); font-weight: 600; }
.st-case-region { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 12px; margin-top: 12px; font-size: 13px; color: var(--st-muted); }
.st-case-region select { min-width: 110px; min-height: 38px; padding: 6px 10px; border: 1px solid var(--st-line); background: #fff; color: var(--st-ink); font: inherit; }
.st-case-feedback { margin-bottom: 16px !important; font-size: 14px; color: var(--st-muted); }
.st-case-region select:focus-visible { outline: 3px solid #bf6e2e; outline-offset: 3px; }
.st-case-card { min-width: 0; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--st-line); }
.st-case-image { display: grid; place-items: center; overflow: hidden; aspect-ratio: 5 / 3; background: #f5f2ef; }
.st-case-image > span { color: var(--st-red); font-family: "Songti SC", SimSun, serif; font-size: 24px; letter-spacing: 4px; }
.st-case-image img { height: 100%; width: 100%; object-fit: contain; transition: transform .3s; }
.st-case-card:hover .st-case-image img { transform: scale(1.02); }
.st-case-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.st-case-body h3 { font-size: 18px; line-height: 1.6; }
.st-cases .st-case-body h3 { font-weight: 600; line-height: 1.65; }
#cases .st-eyebrow { letter-spacing: 2px; }
.st-cases .st-case-body .st-tags { margin-bottom: 20px; }
.st-cases .st-tags a { font-size: 12px; }
.st-cases .st-card-bottom > a { font-size: 14px; font-weight: 600; }
.st-cases .st-card-bottom time { font-size: 12px; color: var(--st-muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.st-case-body h3 a { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.st-case-region-name { margin-top: 14px !important; font-size: 12px; color: var(--st-muted); }
.st-case-region-name > span { margin-left: 8px; color: var(--st-ink); }
.st-case-outcome { margin: 10px 0 20px !important; color: var(--st-muted); font-size: 13px; line-height: 1.9; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.st-case-outcome > span { margin-right: 8px; color: var(--st-red); }
.st-cases .st-card-bottom { border-top: 1px solid var(--st-line); padding-top: 16px; }
.st-case-empty { padding: 48px 16px; background: var(--st-paper); text-align: center; color: var(--st-muted); }
.st-case-empty a { display: inline-block; margin-left: 16px; color: var(--st-red); }
.st-case-questions { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--st-line); }
.st-case-questions ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.st-case-questions li { min-width: 0; font-size: 14px; line-height: 1.9; }
.st-case-questions li a { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.st-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.st-tags:empty { display: none; }
.st-tags a { max-width: 100%; padding: 2px 8px; background: #faf0ee; color: #9b292b; font-size: 11px; overflow-wrap: anywhere; }
.st-summary { margin-top: 14px !important; font-size: 13px; color: var(--st-muted); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.st-card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 22px; font-size: 12px; }
.st-card-bottom a { color: var(--st-red); font-weight: 600; }
.st-home time { color: var(--st-muted); font-size: 12px; white-space: nowrap; }
.st-section-actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin-top: 32px; }
.st-button { display: inline-flex; align-items: center; justify-content: center; gap: 24px; min-height: 48px; padding: 12px 28px; background: var(--st-red); color: #fff !important; border: 1px solid var(--st-red); font-size: 14px; font-weight: 600; }
.st-button:hover { background: var(--st-red-dark); }
.st-button-light { color: var(--st-red) !important; background: transparent; }
.st-button-light:hover { background: #f4e7e3; }
.st-button-white { background: #fff; border-color: #fff; color: var(--st-red) !important; }
.st-button-white:hover { background: #f8eeec; }
.st-button-outline { color: #fff !important; background: transparent; border-color: #b5a8a3; }
.st-team-photo { display: block; margin-bottom: 28px; }
.st-team-photo img { width: 100%; height: auto; max-height: 420px; object-fit: contain; background: #f5f3f0; }
.st-team-featured-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
.st-team-list { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; padding-bottom: 10px; }
.st-lawyer { flex: 0 0 calc((100% - 80px)/5); min-width: 0; border: 1px solid var(--st-line); background: #fff; scroll-snap-align: start; }
.st-lawyer-image { display: block; aspect-ratio: 4/5; background: #f3f0ed; overflow: hidden; }
.st-lawyer-image img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.st-lawyer-body { padding: 18px 16px; }
.st-lawyer h3 { font-size: 20px; }
.st-lawyer-position { margin-top: 5px !important; min-height: 24px; color: var(--st-muted); font-size: 13px; }
.st-lawyer-summary { height: 44px; margin-top: 10px !important; color: var(--st-muted); font-size: 12px; line-height: 22px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.st-lawyer-actions { display: flex; justify-content: space-between; gap: 6px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--st-line); font-size: 12px; }
.st-lawyer-actions a:last-child { color: var(--st-red); }
.st-rail-controls { display: flex; justify-content: center; gap: 10px; margin-top: 18px; }
.st-rail-controls button { border: 1px solid #d7d2ce; background: transparent; min-width: 44px; min-height: 40px; color: var(--st-red); padding: 6px 14px; font-size: 13px; }
.st-subheading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-bottom: 16px; border-bottom: 2px solid var(--st-red); }
.st-subheading h3 { font-size: 20px; }
.st-subheading a { flex-shrink: 0; font-size: 12px; color: var(--st-muted); }
.st-home .st-more-link { display: inline-flex; align-items: center; flex-shrink: 0; gap: 6px; min-height: 28px; color: var(--st-red); font-size: 14px; font-weight: 400; line-height: 1.5; letter-spacing: 0; white-space: nowrap; }
.st-more-link svg { flex: 0 0 14px; width: 14px; height: 14px; }
.st-home .st-more-link:hover { color: var(--st-red-dark); text-decoration: underline; text-underline-offset: 4px; }
.st-honour-group + .st-honour-group { margin-top: 34px; }
.st-honour-list { display: flex; gap: 20px; overflow-x: auto; padding-top: 22px; padding-bottom: 8px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.st-honour-card { flex: 0 0 calc((100% - 60px)/4); min-width: 0; scroll-snap-align: start; }
.st-honour-card img { width: 100%; height: 220px; object-fit: contain; background: #fff; padding: 12px; }
.st-honour-card span { display: block; margin-top: 12px; font-size: 14px; }
.st-consult-band { background: var(--st-red); color: #fff; padding: 34px 0; }
.st-consult-band .st-container { display: flex; align-items: center; gap: 36px; }
.st-consult-band span { font-size: 13px; color: #f4d8d5; }
.st-consult-band h2 { margin-top: 6px; font-size: 24px; }
.st-band-phone { margin-left: auto; white-space: nowrap; font-size: 30px; font-weight: 700; color: #fff !important; }
.st-announcement-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px; }
.st-article-list li { display: flex; align-items: flex-start; gap: 14px; padding: 20px 0; border-bottom: 1px solid var(--st-line); }
.st-article-list li > div { min-width: 0; flex: 1; }
.st-article-list h4 { font-size: 15px; font-weight: 500; line-height: 1.65; }
.st-article-list h4 a { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.st-list-image { flex: 0 0 78px; }
.st-list-image img { width: 78px; height: 68px; object-fit: contain; background: var(--st-paper); }
.st-article-list .st-tags { margin-top: 6px; }
.st-article-list time { display: inline-block; margin-top: 6px; }
.st-cctv { background: #f7f6f3; }

.st-cctv-note { color: var(--st-muted); font-size: 12px; letter-spacing: 1px; }
.st-cctv-layout { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.st-cctv-stage, .st-cctv-index, .st-cctv-tab-copy { min-width: 0; }
.st-cctv-screen { position: relative; aspect-ratio: 16 / 9; background: #1d2126; overflow: hidden; }
.st-cctv-screen > video, .st-cctv-screen > iframe, .st-cctv-cover { width: 100%; height: 100%; border: 0; }
.st-cctv-cover { position: relative; display: block; padding: 0; background: #1d2126; color: #fff !important; cursor: pointer; }
.st-cctv-cover::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.6)); pointer-events: none; }
.st-cctv-cover img { width: 100%; height: 100%; object-fit: contain; transition: transform .4s; }
.st-cctv-cover:hover img { transform: scale(1.025); }
.st-cctv-play { position: absolute; z-index: 1; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 66px; height: 66px; padding-left: 4px; border: 1px solid rgba(255,255,255,.8); border-radius: 50%; background: rgba(24,28,33,.45); font-size: 21px; }
.st-cctv-watch { position: absolute; left: 24px; bottom: 20px; z-index: 1; font-size: 13px; letter-spacing: 2px; }
.st-cctv-caption { padding-top: 23px; }
.st-cctv-caption h3 { margin: 0 0 12px; font-size: 22px; line-height: 1.6; font-weight: 600; }
.st-cctv-caption p { color: var(--st-muted); font-size: 13px; line-height: 1.9; margin-bottom: 16px; }
.st-cctv-caption .st-text-link { display: inline-block; font-size: 13px; }
.st-cctv-index-heading { display: flex; align-items: center; justify-content: space-between; padding: 0 0 16px; border-bottom: 1px solid var(--st-line); font-size: 14px; font-weight: 600; letter-spacing: 2px; }
.st-cctv-tab { display: flex; gap: 18px; width: 100%; padding: 22px 0; border: 0; border-bottom: 1px solid var(--st-line); background: transparent; text-align: left; cursor: pointer; }
.st-cctv-number { flex: 0 0 26px; color: #9c9a96; font: 23px/1.3 Georgia, serif; }
.st-cctv-tab strong { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 2px 0 10px; color: var(--st-ink); font-size: 15px; font-weight: 500; line-height: 1.7; }
.st-cctv-tab small { display: flex; justify-content: space-between; color: var(--st-muted); font-size: 11px; }
.st-cctv-tab[aria-selected="true"] .st-cctv-number, .st-cctv-tab[aria-selected="true"] strong, .st-cctv-tab:hover strong { color: var(--st-red); }
.st-cctv-tab[aria-selected="true"] { border-bottom-color: var(--st-red); }
.st-cctv-error { color: var(--st-red) !important; margin-top: 12px; }
.st-cctv [hidden] { display: none !important; }
@media (max-width: 1024px) {
    .st-cctv-layout { gap: 28px; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
    .st-cctv-tab { padding: 16px 0; gap: 12px; }
}
@media (max-width: 767px) {
    .st-cctv-note { display: none; }
    .st-cctv-layout { grid-template-columns: minmax(0, 1fr); gap: 30px; }
    .st-cctv-caption { padding-top: 18px; }
    .st-cctv-caption h3 { font-size: 19px; }
    .st-cctv-caption p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
    .st-cctv-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 22px; }
    .st-cctv-tab { gap: 8px; padding: 18px 0; }
    .st-cctv-number { flex-basis: 22px; font-size: 19px; }
    .st-cctv-tab strong { font-size: 13px; }
    .st-cctv-play { width: 52px; height: 52px; font-size: 17px; }
    .st-cctv-watch { left: 16px; bottom: 14px; font-size: 12px; }
}
.st-editorial-heading { justify-content: space-between; text-align: left; }

.st-knowledge-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 44px 36px; }
.st-publications { grid-column: span 4; min-width: 0; }
.st-knowledge-group { grid-column: span 2; min-width: 0; }
.st-knowledge .st-subheading { position: relative; border-bottom: 1px solid var(--st-line); padding-bottom: 16px; margin-bottom: 18px; }
.st-knowledge .st-subheading::after { content: ''; position: absolute; bottom: -1px; left: 0; width: 36px; height: 2px; background: var(--st-red); }
.st-knowledge .st-subheading h3 { font-size: 20px; }
.st-publication-feature { display: block; }
.st-publication-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.st-publication-grid .st-publication-feature { display: flex; flex-direction: column; min-width: 0; }
.st-publication-grid .st-publication-image { position: relative; flex-shrink: 0; height: 240px; }
.st-publication-grid .st-publication-image img { height: 100%; }
.st-publication-grid .st-publication-caption { display: flex; flex: 1; flex-direction: column; align-items: flex-start; }
.st-publication-grid .st-publication-caption h4 { flex: 1; margin: 0 0 12px; font-size: 16px; font-weight: 600; line-height: 1.7; text-wrap: balance; overflow-wrap: anywhere; }
.st-publication-grid .st-publication-caption .st-text-link { display: inline-flex; align-items: baseline; gap: 8px; font-size: 14px; font-weight: 600; line-height: 1.5; letter-spacing: 0; }
/* Show the existing book cover inside its original promotional image. */
.st-publication-grid .st-publication-image-farm img { position: absolute; top: -25.7%; left: 50%; width: auto; max-width: none; height: 140.2%; object-fit: contain; clip-path: inset(18.33% 56.25% 10.33% 2.5%); transform: translateX(-23.125%); }
.st-publication-grid .st-publication-image-farm:hover img { transform: translateX(-23.125%); }
.st-publication-image { background: var(--st-paper); overflow: hidden; }
.st-publication-image img { display: block; width: 100%; height: 310px; object-fit: contain; transition: transform .3s; }
.st-publication-feature:hover img { transform: scale(1.02); }
.st-publication-caption { padding-top: 18px; }
.st-publication-caption > span:first-child { color: var(--st-red); font-size: 11px; letter-spacing: 2px; }
.st-publication-caption h4 { margin: 8px 0 12px; font-size: 21px; font-weight: 500; }
.st-publication-caption .st-text-link { font-size: 12px; }
.st-knowledge-list li { padding: 15px 0; border-bottom: 1px solid var(--st-line); }
.st-knowledge-list li:first-child { padding-top: 0; }
.st-knowledge-list li > a { display: flex; gap: 9px; align-items: baseline; font-size: 14px; line-height: 1.8; }
.st-knowledge-list li > a > span:last-child { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.st-knowledge-list time { display: block; margin-top: 7px; font-size: 11px; color: var(--st-muted); }
.st-question-mark { flex: 0 0 20px; text-align: center; color: var(--st-red); border: 1px solid var(--st-line); font-size: 11px; line-height: 20px; }
.st-question-answer { color: var(--st-muted); font-size: 12px; line-height: 1.8; margin-top: 7px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.st-question-answer > span { color: var(--st-red); margin-right: 6px; font-size: 10px; }
.st-content-empty { padding: 36px 0; color: var(--st-muted); font-size: 14px; }
.st-news-tabs { position: relative; }
.st-news-tabs > .st-tabs { position: absolute; top: 0; right: 0; width: calc(55% - 28px); z-index: 1; display: grid; grid-template-columns: 1fr 1.65fr 1fr 1fr 1fr; gap: 0; border-bottom: 1px solid var(--st-line); }
.st-news-tabs > .st-tabs button { border: 0; border-bottom: 3px solid transparent; padding: 12px 4px 14px; font-size: 16px; font-weight: 600; line-height: 1.5; background: transparent; white-space: nowrap; }
.st-news-tabs > .st-tabs button:hover { color: var(--st-red); }
.st-news-tabs > .st-tabs button[aria-selected="true"] { color: var(--st-red); border-bottom-color: var(--st-red); background: #faf0ee; }
.st-news .st-news-panel { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; }
.st-news .st-news-feature { min-width: 0; }
.st-news .st-news-feature img { height: 310px; }
.st-news-category { display: block; margin-top: 20px; color: var(--st-red); font-size: 11px; letter-spacing: 2px; }
.st-news .st-news-feature h3 { margin-top: 10px; font-size: 22px; font-weight: 500; line-height: 1.65; }
.st-news .st-news-feature > .st-text-link { display: inline-block; margin-top: 20px; font-size: 12px; }
.st-news .st-news-list { min-width: 0; padding-top: 76px; }
.st-news .st-news-list li { display: block; padding: 15px 0; }
.st-news .st-news-list li:first-child { padding-top: 0; }
.st-news .st-news-list li a { display: block; font-size: 15px; line-height: 1.8; }
.st-news .st-news-list time { display: block; margin-top: 6px; font-size: 11px; color: var(--st-muted); }
.st-news-empty { grid-column: 1 / -1; padding: 120px 20px 70px; text-align: center; border-bottom: 1px solid var(--st-line); }
.st-news-empty h3 { font-size: 24px; font-weight: 400; margin: 12px 0 24px; }
@media (max-width: 1100px) and (min-width: 769px) {
    .st-knowledge-grid { gap: 32px 24px; }
    .st-knowledge .st-subheading h3 { font-size: 17px; }
    .st-news-tabs > .st-tabs { width: calc(55% - 16px); }
    .st-news-tabs > .st-tabs button { font-size: 14px; }
    .st-news .st-news-panel { gap: 32px; }
}
@media (max-width: 768px) {
    .st-section-heading h2::after { margin-top: 14px; }
    .st-knowledge-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .st-publications, .st-knowledge-group { grid-column: auto; }
    .st-publication-image img { height: auto; max-height: 300px; }
    .st-publication-caption h4 { font-size: 18px; }
    .st-knowledge .st-subheading h3 { font-size: 18px; }
    .st-mobile-guide-tabs { min-width: 0; }
    .st-mobile-guide-tabs > .st-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin-bottom: 26px; border-bottom: 1px solid var(--st-line); }
    .st-mobile-guide-tabs > .st-tabs button { padding: 12px 4px; border: 0; border-bottom: 2px solid transparent; font-size: 13px; }
    .st-mobile-guide-tabs > .st-tabs button[aria-selected="true"] { background: transparent; color: var(--st-red); border-bottom-color: var(--st-red); }
    .st-news-tabs > .st-tabs { position: static; width: 100%; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 26px; }
    .st-news-tabs > .st-tabs button { min-height: 52px; padding: 12px 4px; font-size: 15px; white-space: normal; text-wrap: balance; }
    .st-news .st-news-panel { grid-template-columns: minmax(0, 1fr); gap: 26px; }
    .st-news .st-news-feature img { height: auto; max-height: 300px; aspect-ratio: 1.6; }
    .st-news .st-news-feature h3 { font-size: 19px; }
    .st-news .st-news-list { padding-top: 0; }
    .st-news .st-news-list li a { font-size: 14px; }
    .st-news-empty { padding: 45px 0; }
}
.st-guide-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.st-guide-group { padding: 24px; background: var(--st-paper); }
.st-guide-group ul { padding-top: 8px; }
.st-guide-group li { padding: 13px 0 13px 16px; border-bottom: 1px solid var(--st-line); font-size: 14px; position: relative; }
.st-guide-group li::before { content: ''; width: 4px; height: 4px; background: var(--st-red); position: absolute; top: 24px; left: 0; }
.st-guide-group li:last-child { border-bottom: 0; }
.st-book { background: var(--st-paper); padding: 24px; }
.st-book img { height: 230px; width: 100%; object-fit: contain; margin-bottom: 18px; }
.st-book > span { font-size: 12px; color: var(--st-red); }
.st-book h3 { margin-top: 10px; font-size: 20px; }
.st-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.st-tabs button { border: 1px solid #d7d2ce; padding: 10px 22px; background: transparent; color: var(--st-ink); font-size: 14px; }
.st-tabs button[aria-selected="true"] { background: var(--st-red); color: #fff; border-color: var(--st-red); }
.st-news-panel { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; }
.st-news-feature img { width: 100%; height: 300px; object-fit: cover; }
.st-news-feature h3 { margin-top: 22px; font-size: 21px; }
.st-news-feature p { margin-top: 12px; font-size: 14px; color: var(--st-muted); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.st-news-list li { display: flex; align-items: baseline; gap: 22px; padding: 22px 0; border-bottom: 1px solid #ddd9d4; }
.st-news-list li:first-child { padding-top: 0; }
.st-news-list li a { flex: 1; min-width: 0; font-size: 16px; }
.st-news-list > a { display: inline-block; margin-top: 26px; }
.st-metrics { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; padding: 28px 0; border-top: 1px solid var(--st-line); border-bottom: 1px solid var(--st-line); margin-bottom: 32px; }
.st-metrics > div { min-width: 0; text-align: center; }
.st-metrics span { font-size: 14px; color: var(--st-muted); }
.st-metrics p { margin-top: 7px; color: var(--st-red); }
.st-metrics strong { display: inline-block; font-family: inherit; font-size: 46px; font-weight: 600; line-height: 1.2; font-variant-numeric: tabular-nums; }
.st-metrics small { margin-left: 8px; font-size: 13px; }
.st-map-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, .65fr); gap: 32px; align-items: center; }
.st-map-with-types { grid-template-columns: 170px minmax(0, 1fr) 300px; gap: 24px; }
.st-case-type-index { align-self: stretch; padding: 24px 18px; border: 1px solid var(--st-line); }
.st-case-type-index h3 { margin-bottom: 14px; font-size: 18px; }
.st-case-type-index ul { list-style: none; padding: 0; margin: 0; }
.st-case-type-index a { display: block; padding: 12px 0; border-bottom: 1px solid var(--st-line); font-size: 14px; }
.st-case-type-index a:hover, .st-case-type-index a:focus-visible { color: var(--st-red); }
.st-china-map { min-width: 0; height: 500px; }
.st-china-map.is-unavailable { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 24px; background: var(--st-paper); color: var(--st-muted); text-align: center; font-size: 14px; line-height: 1.8; }
.st-china-map.is-unavailable p { max-width: 28em; }
.st-region-panel { align-self: stretch; min-width: 0; padding: 28px 24px 24px; color: var(--st-ink); background: var(--st-paper); border: 1px solid var(--st-line); border-radius: 4px; }
.st-region-heading { padding-bottom: 22px; border-bottom: 1px solid var(--st-line); }
.st-region-kicker { display: block; margin-bottom: 12px; color: var(--st-red); font-size: 10px; letter-spacing: 3px; }
.st-region-heading h3 { font: 26px/1.4 "Songti SC", SimSun, serif; letter-spacing: 2px; }
.st-region-heading p { margin-top: 8px; color: var(--st-muted); font-size: 11px; }
.st-region-panel ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 22px; max-height: 384px; margin-top: 8px; overflow-y: auto; padding-right: 8px; scrollbar-width: thin; scrollbar-color: var(--st-line) transparent; overscroll-behavior: contain; }
.st-region-panel li { min-width: 0; border-bottom: 1px solid var(--st-line); }
.st-region-panel li a { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 5px; min-height: 96px; padding: 17px 2px 14px; color: var(--st-muted); font-size: 12px; }
.st-region-panel li a::after { content: '↗'; position: absolute; right: 2px; top: 16px; color: var(--st-red); opacity: 0; transition: opacity .18s; }
.st-region-panel li a:hover, .st-region-panel li a:focus-visible { color: var(--st-red); background: #fff; }
.st-region-panel li a:hover::after, .st-region-panel li a:focus-visible::after { opacity: 1; }
.st-region-panel li strong { color: var(--st-red); font-family: inherit; font-size: 29px; font-weight: 600; line-height: 1.2; font-variant-numeric: tabular-nums; letter-spacing: 0; }
@media (max-width: 1100px) {
    .st-container { width: calc(100% - 64px); }
    .st-nav-links a { padding: 14px 12px; font-size: 14px; }
    .st-lawyer { flex-basis: calc((100% - 40px)/3); }
    .st-consult-band .st-container { flex-wrap: wrap; gap: 20px; }
    .st-consult-band h2 { font-size: 21px; }
    .st-band-phone { font-size: 24px; }
    .st-metrics { gap: 16px; }
    .st-metrics span { font-size: 12px; }
    .st-metrics strong { font-size: 36px; }
    .st-map-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; }
    .st-map-with-types { grid-template-columns: 150px minmax(0, 1fr); }
    .st-map-with-types .st-region-panel { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
    .st-container { width: calc(100% - 32px); }
    .st-home-pc .st-global-search input, .st-home-mobile .st-global-search input { font-size: 16px; }
    .st-menu-button { display: block; border: 0; background: none; padding: 5px 0 5px 2px; color: var(--st-red); font-size: 10px; }
    .st-menu-button span { display: block; font-size: 24px; line-height: 1.1; }
    .st-nav-links { display: grid; grid-template-columns: repeat(2, 1fr); padding: 12px 0; gap: 4px; }
    .st-nav-links a { padding: 11px; font-size: 14px; }
    .st-section { --st-heading-gap: 16px; padding: 20px 0; }
    .st-section-heading { align-items: flex-start; gap: 16px; }
    .st-section-heading h1, .st-section-heading h2 { font-size: 24px; letter-spacing: 0; }
    .st-eyebrow { font-size: 12px; letter-spacing: 2px; margin-bottom: 8px; }
    .st-section-heading p { font-size: 13px; margin-top: 10px; }
    .st-section-heading > .st-text-link { font-size: 12px; margin-top: 28px; }
    .st-section-heading > .st-text-link span { margin-left: 3px; }
    .st-business .st-section-heading { display: block; }
    .st-business .st-text-link { display: inline-block; margin-top: 14px; }
    .st-business-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .st-business-card { padding: 20px 15px; }
    .st-business-number { font-size: 25px; margin-bottom: 14px; }
    .st-business-card h2 { font-size: 16px; }
    .st-business-card p { font-size: 12px; }
    .st-business-card small { font-size: 11px; padding-top: 12px; margin-top: 12px; }
    .st-hot-tags { gap: 12px; font-size: 12px; }
    .st-hot-tags > div { gap: 8px 14px; }
    .st-case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
    .st-home section, .st-home #wechat { scroll-margin-top: 80px; }
    .st-cases-heading { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .st-case-tabs { justify-content: flex-start; gap: 4px 18px; }
    .st-case-tabs a { font-size: 13px; padding: 7px 0; }
    .st-case-region { justify-content: flex-start; }
    .st-case-body { padding: 14px; }
    .st-case-body h3 { font-size: 14px; }
    .st-case-region-name { font-size: 12px; margin-top: 10px !important; }
    .st-case-outcome { font-size: 12px; margin: 8px 0 14px !important; }
    .st-case-image > span { font-size: 16px; letter-spacing: 1px; }
    .st-case-card .st-tags { gap: 4px; margin-top: 8px; }
    .st-tags a { font-size: 12px; padding: 1px 5px; }
    .st-case-card .st-summary { display: none; }
    .st-card-bottom { font-size: 12px; flex-wrap: wrap; padding-top: 12px; gap: 6px; }
    .st-card-bottom time { font-size: 12px; }
    .st-case-secondary { grid-column: 1 / -1; border: 0; border-bottom: 1px solid #dedbd6; background: transparent; }
    .st-case-secondary .st-case-image, .st-case-secondary .st-case-outcome { display: none; }
    .st-cases .st-case-secondary .st-card-bottom { border: 0; padding-top: 8px; }
    .st-case-secondary .st-card-bottom > a { display: none; }
    .st-case-secondary .st-case-body { padding: 8px 0 18px; }
    .st-case-secondary.st-case-no-image .st-case-body { border-top: 0; background: transparent; }
    .st-case-secondary h3 { font-size: 16px; font-weight: 500; }
    .st-case-questions { margin-top: 32px; }
    .st-case-questions ul { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .st-section-actions { gap: 12px; margin-top: 24px; }
    .st-button { font-size: 13px; padding: 11px 20px; min-height: 46px; gap: 12px; }
    .st-team-list { display: flex; gap: 8px; scroll-snap-type: x mandatory; }
    .st-lawyer { flex: 0 0 calc((100% - 24px)/4); min-width: 0; border: 0; background: #f7f5f2; }
    .st-lawyer-body { padding: 10px 6px; }
    .st-lawyer h3 { font-size: 14px; }
    .st-lawyer-position { font-size: 10px; min-height: 0; }
    .st-lawyer:not(.st-lawyer-featured) .st-lawyer-position, .st-lawyer:not(.st-lawyer-featured) .st-lawyer-summary { display: none; }
    .st-lawyer:not(.st-lawyer-featured) .st-lawyer-actions { flex-direction: column; margin-top: 10px; padding-top: 8px; font-size: 11px; gap: 0; }
    .st-lawyer:not(.st-lawyer-featured) .st-lawyer-actions a { padding: 6px 0; }
    .st-lawyer-featured .st-lawyer-body { padding: 14px 12px; }
    .st-lawyer-featured h3 { font-size: 18px; }
    .st-lawyer-featured .st-lawyer-position { font-size: 12px; }
    .st-lawyer-featured .st-lawyer-actions { flex-wrap: wrap; font-size: 11px; margin-top: 12px; padding-top: 10px; }
    .st-team-photo { margin-bottom: 20px; }
    .st-honour-list { gap: 14px; }
    .st-honour-card { flex-basis: calc((100% - 14px)/2); }
    .st-honour-card img { height: 175px; padding: 8px; }
    .st-honour-card span { font-size: 12px; }
    .st-subheading h3 { font-size: 18px; }
    .st-consult-band { padding: 28px 0; }
    .st-consult-band .st-container { gap: 18px; }
    .st-consult-band .st-container > div { width: 100%; }
    .st-consult-band h2 { font-size: 22px; }
    .st-band-phone { margin-left: 0; margin-right: auto; font-size: 24px; }
    .st-consult-band .st-button { padding: 10px 16px; }
    .st-announcement-grid { grid-template-columns: 1fr; gap: 30px; }
    .st-article-list li { padding: 16px 0; }
    .st-list-image { flex-basis: 80px; }
    .st-list-image img { width: 80px; }
    .st-guide-grid { grid-template-columns: 1fr; gap: 20px; }
    .st-guide-group { padding: 20px; }
    .st-tabs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; gap: 8px; }
    .st-tabs button { flex-shrink: 0; padding: 9px 16px; font-size: 13px; }
    .st-news-panel { grid-template-columns: 1fr; gap: 24px; }
    .st-news-feature img { height: auto; max-height: 260px; }
    .st-news-feature h3 { font-size: 19px; margin-top: 16px; }
    .st-news-list li { padding: 16px 0; gap: 14px; }
    .st-news-list li a { font-size: 14px; }
    .st-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; padding: 20px 0; }
    .st-metrics > div:last-child { grid-column: 1 / -1; }
    .st-metrics span { font-size: 11px; }
    .st-metrics strong { font-size: 28px; }
    .st-metrics small { font-size: 10px; margin-left: 3px; }
    .st-map-layout { grid-template-columns: 1fr; gap: 16px; }
    .st-case-type-index { padding: 20px; }
    .st-case-type-index ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 12px; }
    .st-case-type-index a { font-size: 12px; }
    .st-china-map { height: 290px; }
    .st-region-panel { padding: 26px 24px 20px; }
    .st-region-panel ul { gap: 0 24px; max-height: 352px; }
    .st-region-heading h3 { font-size: 25px; }
    .st-region-panel li a { min-height: 88px; padding-top: 14px; }
    .st-region-panel li strong { font-size: 28px; }
}
@media (max-width: 360px) {
    .st-business-card { padding: 16px 12px; }
    .st-business-card h2 { font-size: 15px; }
    .st-section-heading > .st-text-link { max-width: 78px; white-space: normal; }
}
/* Homepage honours showcase. */
#honours { background: #fff; }
#honours { border-top: 1px solid #f0f0f0; }

.st-showcase [data-track] { scrollbar-width: none; cursor: grab; }
.st-showcase [data-track].is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.st-showcase [data-track].is-dragging a { cursor: grabbing; }
.st-showcase [data-track]::-webkit-scrollbar { display: none; }
.st-gallery { display: block; padding: 0; border: 0; background: transparent; }
.st-gallery + .st-gallery { margin-top: 54px; padding-top: 38px; border-top: 1px solid #ededed; }
.st-gallery .st-subheading { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 26px; padding: 0 0 18px; border: 0; background: transparent; color: #262626; }
.st-gallery .st-subheading::after { content: ""; position: absolute; left: 0; bottom: 0; width: 26px; height: 2px; background: var(--st-red); }
.st-gallery .st-subheading h3 { font-size: 20px; font-weight: 600; letter-spacing: 0; }
.st-gallery .st-subheading a { color: var(--st-muted); font-size: 12px; }
.st-gallery .st-subheading a:hover { color: var(--st-red); }
.st-gallery .st-honour-list { gap: 28px; min-width: 0; padding: 0; }
.st-gallery .st-honour-card { flex-basis: calc((100% - 84px) / 4); display: flex; flex-direction: column; background: #fff; border: 0; border-radius: 0; }
.st-gallery .st-honour-card img { width: 100%; height: 250px; padding: 18px; object-fit: contain; background: #f7f7f7; transition: background .25s; }
.st-gallery .st-honour-card:hover img { background: #f1f1f1; }
.st-gallery .st-honour-card span { margin: 0; padding: 18px 4px 0; border: 0; color: #555; font-size: 13px; line-height: 1.9; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.st-gallery .st-honour-card:hover span { color: var(--st-red); }
@media (min-width: 768px) and (max-width: 1100px) {
    .st-gallery .st-honour-card { flex-basis: calc((100% - 56px) / 3); }
}
@media (max-width: 767px) {
    .st-gallery + .st-gallery { margin-top: 36px; padding-top: 28px; }
    .st-gallery .st-subheading { gap: 12px; padding-bottom: 15px; margin-bottom: 20px; }
    .st-gallery .st-subheading h3 { font-size: 18px; }
    .st-gallery .st-honour-list { gap: 18px; }
    .st-gallery .st-honour-card { flex-basis: 86%; }
    .st-gallery .st-honour-card img { height: 240px; padding: 16px; }
    .st-gallery .st-honour-card span { padding: 15px 2px 0; }
}

/* Team reference: workbook 网站首页优化需求 K51:K53 and L51:L53. */
#team { background: #fff; }
#team .st-team-photo { margin-bottom: 34px; border-radius: 4px; overflow: hidden; box-shadow: 0 2px 6px #00000014; }
#team .st-team-photo-caption { display: block; padding: 5px 12px; background: var(--st-red); color: #fff; font-size: 16px; font-weight: 600; letter-spacing: 4px; text-align: center; }
/* Show the photograph within the existing banner, keeping every team member in view. */
#team .st-team-photo img { max-height: none; aspect-ratio: 1920 / 328; object-fit: cover; object-position: center 58.9%; background: #fafafa; }
#team .st-team-list { gap: 20px; padding: 8px 0 20px; }
#team .st-lawyer { display: flex; flex-direction: column; flex-basis: calc((100% - 80px) / 5); padding: 16px; border: 0; border-radius: 4px; background: #fff; box-shadow: 0 6px 20px #1720300b; }
#team .st-lawyer-image { position: relative; flex-shrink: 0; aspect-ratio: 4 / 4.8; border-radius: 4px; background: #f5f5f5; }
#team .st-lawyer-body { display: flex; flex: 1; flex-direction: column; padding: 16px 0 0; text-align: center; }
#team .st-lawyer h3 { font-size: 21px; line-height: 1.5; font-weight: 700; color: #171e2b; }
#team .st-lawyer-position { min-height: 24px; margin-top: 16px !important; font-size: 13px; line-height: 24px; color: #647080; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#team .st-lawyer-license { margin-top: 7px; color: var(--st-muted); font-size: 11px; white-space: nowrap; letter-spacing: -.3px; }
#team .st-lawyer-expertise { margin-top: 10px; color: #697586; font-size: 12px; line-height: 1.8; min-height: 44px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
#team .st-lawyer-actions { justify-content: center; margin-top: auto; padding-top: 18px; border: 0; }
#team .st-lawyer-actions .st-button { min-height: 38px; padding: 7px 18px; border-radius: 4px; font-size: 14px; }
#team .st-lawyer-hover { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 12px; padding: 18px 14px; background: #141820e8; color: #fff; text-align: center; opacity: 0; transition: opacity .2s; }
#team .st-lawyer-hover strong { font-size: 20px; }
#team .st-lawyer-hover > span { font-size: 13px; line-height: 1.8; }
#team .st-lawyer-hover .st-lawyer-detail { padding: 5px 14px; border: 1px solid #ffffffa0; }
#team .st-lawyer-image:hover .st-lawyer-hover, #team .st-lawyer:focus-within .st-lawyer-hover { opacity: 1; }
#team .st-team-rail { position: relative; }
#team .st-team-scroll-controls button { position: absolute; z-index: 2; top: var(--st-team-controls-top, 50%); transform: translateY(-50%); display: grid; place-items: center; width: 44px; height: 56px; padding: 0; border: 0; border-radius: 4px; background: rgb(35 40 47 / 58%); color: #fff; transition: background-color .2s, opacity .2s; }
#team .st-team-scroll-controls [data-rail-prev] { left: 0; }
#team .st-team-scroll-controls [data-rail-next] { right: 0; }
#team .st-team-scroll-controls svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
#team .st-team-scroll-controls button:hover:not(:disabled) { background: rgb(35 40 47 / 80%); }
#team .st-team-scroll-controls button:disabled { opacity: .35; cursor: default; }
.st-home-mobile #team .st-team-photo { margin-bottom: 24px; }
.st-home-mobile #team .st-team-photo-caption { padding: 3px 6px; font-size: 12px; letter-spacing: 2px; }
.st-home-mobile #team .st-team-featured-list { grid-template-columns: 1fr; gap: 24px; margin-bottom: 20px; }
.st-home-mobile #team .st-lawyer-featured { display: grid; grid-template-columns: 32% minmax(0, 1fr); gap: 14px; padding: 0; box-shadow: none; border-radius: 0; }
.st-home-mobile #team .st-lawyer-featured .st-lawyer-image { height: 100%; min-height: 174px; aspect-ratio: auto; border-radius: 0; }
.st-home-mobile #team .st-lawyer-featured .st-lawyer-body { min-width: 0; padding: 0; text-align: left; }
.st-home-mobile #team .st-lawyer-featured h3 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; color: var(--st-ink); font-size: 20px; }
.st-home-mobile #team .st-lawyer-featured .st-lawyer-position { white-space: normal; min-height: 0; margin: 0 !important; color: var(--st-red); font-size: 12px; font-weight: 500; line-height: 1.6; }
.st-home-mobile #team .st-lawyer-featured .st-lawyer-expertise { position: relative; min-height: 0; margin-top: 8px; padding-bottom: 7px; color: var(--st-ink); }
.st-home-mobile #team .st-lawyer-featured .st-lawyer-expertise-label { color: inherit; font-weight: 600; }
.st-home-mobile #team .st-lawyer-featured .st-lawyer-expertise::after { content: ""; position: absolute; bottom: 0; left: 0; width: 100%; height: 1px; background: var(--st-line); }
.st-home-mobile #team .st-lawyer-summary { display: -webkit-box; height: auto; margin-top: 8px !important; color: var(--st-muted); font-size: 12px; line-height: 1.8; -webkit-line-clamp: 4; }
.st-home-mobile #team .st-lawyer-featured .st-lawyer-expertise + .st-lawyer-summary { margin-top: 4px !important; }
.st-home-mobile #team .st-team-list { gap: 8px; padding: 0; }
.st-home-mobile #team .st-team-list .st-lawyer { flex: 0 0 calc((100% - 24px) / 4); padding: 0; border-radius: 0; box-shadow: none; }
.st-home-mobile #team .st-team-list .st-lawyer-image { aspect-ratio: 4 / 4.8; border-radius: 0; }
.st-home-mobile #team .st-team-list h3 { padding: 6px 2px; font-size: 13px; line-height: 1.5; text-align: center; color: #fff; background: var(--st-red); }
.st-home-mobile #team .st-team-list h3 a { color: #fff; }
.st-home-mobile #team .st-team-scroll-controls button { height: 44px; }
.st-home-mobile #team .st-section-actions { margin-top: 22px; }
.st-home-mobile #team .st-section-actions .st-button { min-width: 150px; border-radius: 4px; }
@media (min-width: 768px) and (max-width: 1100px) {
    .st-home-pc #team .st-team-list { gap: 12px; }
    .st-home-pc #team .st-lawyer { flex-basis: calc((100% - 48px) / 5); padding: 10px; }
    .st-home-pc #team .st-lawyer h3 { font-size: 18px; }
    .st-home-pc #team .st-lawyer-license { white-space: normal; overflow-wrap: anywhere; }
    .st-home-pc #team .st-lawyer-hover { padding: 10px 6px; gap: 6px; }
    .st-home-pc #team .st-lawyer-hover strong { font-size: 17px; }
    .st-home-pc #team .st-lawyer-hover > span { font-size: 11px; }
}
@media (max-width: 767px) {
    .st-home-pc #team .st-team-list { gap: 14px; }
    .st-home-pc #team .st-lawyer { flex-basis: calc((100% - 14px) / 2); padding: 12px; }
    .st-home-pc #team .st-lawyer-license { white-space: normal; overflow-wrap: anywhere; }
}
@media (prefers-reduced-motion: reduce) {
    .st-home *, .st-home *::before, .st-home *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* Homepage review: compact navigation, announcements and contact details. */
/* Mobile homepage: keep contact, search and all columns visible on arrival. */
.st-home-mobile .st-mobile-home-title { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.st-home-mobile .st-intro.st-intro-banner-only { padding: 0; }
.st-home-mobile .st-intro.st-intro-banner-only .st-intro-layout { display: block; width: 100%; }
.st-section-heading > div { min-width: 0; }
.st-section-heading > .st-text-link { font-size: 14px; }
#announcements .st-subheading { position: relative; border-bottom: 1px solid var(--st-line); }
#announcements .st-subheading::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 36px; height: 2px; background: var(--st-red); }
#announcements .st-subheading h3, .st-publications .st-subheading h3 { font-size: 20px; font-weight: 600; line-height: 1.4; }
#announcements .st-article-list h4 { min-height: 5.1em; font-size: 16px; font-weight: 500; line-height: 1.7; text-wrap: pretty; }
#announcements .st-article-list h4 a { -webkit-line-clamp: 3; }
#announcements .st-article-list time { display: block; margin-top: 8px; color: var(--st-muted); font-size: 12px; font-weight: 400; line-height: 1.5; font-variant-numeric: tabular-nums; }
#announcements .st-list-image { display: block; overflow: hidden; }
.st-announcement-image-empty { display: grid; place-items: center; width: 78px; height: 68px; padding: 10px; background: var(--st-paper); color: var(--st-muted); font-size: 12px; text-align: center; }
@media (max-width: 767px) {
    .st-publication-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .st-publication-grid .st-publication-feature { display: grid; grid-template-columns: 116px minmax(0, 1fr); gap: 16px; align-items: center; }
    .st-publication-grid .st-publication-image { height: 152px; }
    .st-publication-grid .st-publication-caption { padding-top: 0; }
    .st-cases .st-case-body h3 { font-size: 16px; }
    .st-cases .st-case-body .st-tags { margin-bottom: 16px; }
    .st-cases .st-card-bottom > a { font-size: 12px; }
}
@media (max-width: 767px) {
    /* Keep mobile captions and metadata readable within the existing type hierarchy. */
    .st-business-secondary .st-subheading p, .st-cctv-tab small,
    .st-publication-caption > span:first-child, .st-knowledge-list time,
    .st-question-answer > span, .st-news-category, .st-news .st-news-list time { font-size: 12px; }
    .st-section-heading { flex-wrap: wrap; gap: 16px; }
    .st-section-heading > .st-text-link { max-width: none; margin-top: 0; font-size: 13px; }
    #announcements .st-announcement-grid { gap: 26px; }
    #announcements .st-article-list li { padding: 14px 0; }
    #announcements .st-article-list h4 { min-height: 0; font-size: 16px; line-height: 1.7; }
}

/* Touch input also applies to tablets and laptops, independently of viewport width. */
@media (pointer: coarse) {
    .st-home .st-case-region select { min-height: 44px; }
    .st-home .st-more-link { min-height: 44px; }
}
@media (max-width: 1100px) and (pointer: coarse) {
    .st-home .st-tags a, .st-home .st-business-secondary .st-subheading p,
    .st-home .st-cctv-tab small, .st-home .st-publication-caption > span:first-child,
    .st-home .st-knowledge-list time, .st-home .st-question-answer > span,
    .st-home .st-news-category, .st-home .st-news .st-news-list time { font-size: 12px; }
}

/* ===== Introduction and case map (was homepage-taste2.css) ===== */
/* Taste2 homepage introduction and case map; all overrides stay within these modules. */
.st-home .st-intro, .st-home #case-map .st-metrics, .st-home #case-map .st-map-layout { --st-ink: #242426; --st-muted: #4b4e52; color: var(--st-ink); }
.st-home .st-intro, .st-home #case-map { --st-paper: #f4f5f5; --st-soft-red: #f6eded; }
.st-home .st-intro .st-container, .st-home #case-map .st-container { width: min(1280px, calc(100% - 80px)); }
.st-home .st-intro { padding: 36px 0 28px; background: var(--st-paper); }
.st-home .st-intro-layout { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.45fr); gap: 48px; align-items: center; }
.st-home .st-intro-copy h1 { font-size: clamp(36px, 3.5vw, 50px); line-height: 1.3; font-weight: 600; letter-spacing: -1px; }
.st-home .st-intro-copy p { margin: 18px 0 24px; max-width: 21em; font-size: 16px; color: var(--st-muted); }
.st-home .st-intro .st-hero { width: 100%; min-width: 0; background: transparent; }
.st-home .st-intro .st-hero-slide { overflow: hidden; }
.st-home .st-intro .st-hero-slide img { object-fit: contain; }
.st-home .st-intro .st-button { border: 0; font-size: 16px; }
.st-home #case-map .st-metrics { grid-template-columns: repeat(5, minmax(0, 1fr)); border: 0; background: var(--st-paper); padding: 28px 24px; gap: 24px; }
.st-home #case-map .st-metrics span { font-size: 16px; }
.st-home #case-map .st-metrics strong, .st-home #case-map .st-region-panel li strong { font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif; font-weight: 400; font-variant-numeric: lining-nums tabular-nums; letter-spacing: -.01em; white-space: nowrap; }
.st-home #case-map .st-metrics strong { font-size: 44px; line-height: 1.15; }
.st-home #case-map .st-metrics p { display: flex; align-items: baseline; justify-content: center; gap: 8px; margin-top: 12px; }
.st-home #case-map .st-metrics small { margin-left: 0; color: var(--st-muted); font-size: 14px; line-height: 1.5; }
.st-home #case-map .st-region-panel li strong { font-size: 30px; line-height: 1.15; }
.st-home #case-map .st-metrics .st-metric-pending strong { font: 16px/1.5 "Microsoft YaHei", "PingFang SC", Arial, sans-serif; color: var(--st-muted); }
.st-home #case-map .st-map-with-types { grid-template-columns: 160px minmax(0, 1fr) 280px; }
.st-home #case-map .st-case-type-index, .st-home #case-map .st-region-panel, .st-home #case-map .st-region-heading, .st-home #case-map .st-region-panel li { border: 0; border-radius: 0; }
.st-home #case-map .st-case-type-index { padding: 16px 0; }
.st-home #case-map .st-case-type-index a { border: 0; padding: 9px 0; font-size: 16px; }
.st-home #case-map .st-region-heading { padding-bottom: 0; }
.st-home #case-map .st-region-heading h3 { font-family: inherit; letter-spacing: 0; }
.st-home #case-map .st-region-kicker, .st-home #case-map .st-case-type-index h3 { color: #23282f; font-size: 22px; font-weight: 600; }
.st-home #case-map .st-case-type-index h3 { margin-bottom: 8px; }
.st-home #case-map .st-region-kicker { margin-bottom: 0; letter-spacing: 0; }
.st-home #case-map .st-region-kicker::after, .st-home #case-map .st-case-type-index h3::after { content: ""; display: block; width: 1em; height: 2px; margin-top: 10px; background: var(--st-red); }
.st-home #case-map .st-region-heading p { font-size: 14px; }
.st-home #case-map .st-region-panel ul { margin-top: 0; }
.st-home #case-map .st-region-panel li a { font-size: 14px; min-height: 84px; }
.st-home #case-map .st-region-panel li a[aria-current] { background: #fff; color: var(--st-red); }
.st-home #case-map .st-map-status { min-height: 24px; margin: 12px 0 0; font-size: 14px; color: var(--st-muted); }
@media (max-width: 1100px) {
    .st-home #case-map .st-map-with-types { grid-template-columns: 140px minmax(0, 1fr); }
    .st-home #case-map .st-map-with-types .st-region-panel { grid-column: 1 / -1; }
    .st-home #case-map .st-region-panel ul { grid-template-columns: repeat(4, minmax(0, 1fr)); max-height: 230px; }
    .st-home .st-intro-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 28px; }
    .st-home .st-intro-copy h1 { font-size: 36px; }
    .st-home #case-map .st-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; padding: 20px 16px; }
    .st-home #case-map .st-metrics > div { text-align: left; }
    .st-home #case-map .st-metrics p { justify-content: flex-start; gap: 6px; }
    .st-home #case-map .st-metrics > div:last-child { grid-column: auto; }
    .st-home #case-map .st-metrics span { font-size: 14px; line-height: 1.65; overflow-wrap: anywhere; text-wrap: balance; }
    .st-home #case-map .st-metrics strong { font-size: 36px; }
    .st-home #case-map .st-metrics small { font-size: 14px; }
    .st-home #case-map .st-metrics > div.st-metric-pending { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 4px 12px; }
    .st-home #case-map .st-metrics .st-metric-pending p { margin-top: 0; font-size: 14px; line-height: 1.65; }
    .st-home #case-map .st-metrics .st-metric-pending strong { font-size: 14px; line-height: 1.65; }
}
@media (max-width: 767px) {
    .st-home #case-map .st-region-kicker, .st-home #case-map .st-case-type-index h3 { font-size: 20px; }
    .st-home .st-intro .st-container, .st-home #case-map .st-container { width: calc(100% - 32px); }
    .st-home .st-intro { padding: 24px 0 16px; }
    .st-home .st-intro-layout { grid-template-columns: 1fr; gap: 24px; }
    .st-home .st-intro-copy h1 { font-size: 32px; }
    .st-home .st-intro-copy p { margin: 12px 0 16px; font-size: 16px; }
    .st-home #case-map .st-metrics strong { font-size: 32px; }
    .st-home #case-map .st-map-with-types { display: flex; flex-direction: column; gap: 16px; }
    .st-home #case-map .st-case-type-index { width: 100%; padding: 0; order: 2; }
    .st-home #case-map .st-case-type-index ul { display: flex; gap: 4px 16px; flex-wrap: wrap; }
    .st-home #case-map .st-case-type-index a { font-size: 14px; }
    .st-home #case-map .st-china-map { width: 100%; height: 280px; order: 0; }
    .st-home #case-map .st-map-status { order: 1; }
    .st-home #case-map .st-region-panel { width: 100%; padding: 20px; order: 3; }
    .st-home #case-map .st-region-panel ul { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 16px; max-height: 190px; }
    .st-home #case-map .st-region-panel li a { min-height: 80px; }
    .st-home #case-map .st-region-panel li strong { font-size: 24px; }
}

/* ===== Honours: pennants and certificates (was homepage-honours.css) ===== */
/* Recognition spread: client photographs lead; certificates form a quieter index. */
.st-home #honours.st-recognition { border-top: 0; background: #fff; scroll-margin-top: 80px; }
.st-home-pc #honours.st-recognition { background: var(--st-paper); }
.st-home-pc #honours .st-pennant-stage, .st-home-pc #honours .st-recognition-award-image { background: #fff; }
.st-home-pc #honours .st-pennant-thumbnails > :not([aria-pressed="true"]) { background: #fff; }
.st-recognition-layout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 48px; }
.st-recognition-group { min-width: 0; }
.st-recognition-group-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 20px; }
.st-recognition-group-heading h3 { margin: 0; font-size: 20px; font-weight: 600; line-height: 1.4; }
.st-recognition-group-heading h3::after { content: ""; display: block; width: 1em; height: 2px; margin-top: 10px; background: var(--st-red); }
.st-recognition-group-heading > a, .st-pennant-caption > a { flex-shrink: 0; padding: 8px 0 8px 8px; font-size: 14px; color: var(--st-red); }
.st-pennant-frame { position: relative; height: 356px; }
.st-pennant-stage { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; height: 100%; padding: 18px; background: var(--st-paper); }
.st-pennant-stage img { display: block; width: 100%; height: 100%; object-fit: contain; }
.st-pennant-arrow { position: absolute; z-index: 1; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 40px; height: 56px; padding: 0; border: 0; border-radius: 4px; background: rgb(35 40 47 / 58%); color: #fff; cursor: pointer; }
.st-pennant-arrow[hidden] { display: none; }
.st-pennant-arrow:hover { background: rgb(35 40 47 / 80%); }
.st-pennant-arrow svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.st-pennant-prev { left: 12px; }
.st-pennant-next { right: 12px; }
.st-pennant-caption { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; min-height: 100px; padding: 18px 0; }
.st-pennant-caption p { flex: 1; min-width: 0; margin: 0; font-size: 16px; line-height: 1.75; text-wrap: pretty; overflow-wrap: anywhere; }
.st-pennant-caption > a { padding-top: 0; font-size: 14px; font-weight: 600; line-height: 2; }
.st-pennant-thumbnails { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 8px; }
.st-pennant-thumbnails > a, .st-pennant-thumbnails > button { display: flex; width: 100%; min-width: 0; height: 64px; align-items: center; justify-content: center; padding: 4px; border: 1px solid transparent; background: var(--st-paper); cursor: pointer; }
.st-pennant-thumbnails img { display: block; width: 100%; height: 100%; object-fit: contain; }
.st-pennant-thumbnails > :hover { border-color: var(--st-muted); }
.st-pennant-thumbnails > [aria-pressed="true"] { border-color: var(--st-red); background: #f7eceb; }
.st-recognition-award-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 20px; }
.st-recognition-award { display: block; min-width: 0; }
.st-recognition-award-image { display: flex; height: 180px; padding: 14px; align-items: center; justify-content: center; background: var(--st-paper); }
.st-recognition-award img { display: block; width: 100%; height: 100%; object-fit: contain; }
.st-recognition-award-title { display: block; padding-top: 12px; font-size: 14px; line-height: 1.8; overflow-wrap: anywhere; }
.st-recognition-award:hover .st-recognition-award-title { color: var(--st-red); }
.st-recognition a:focus-visible, .st-recognition button:focus-visible { outline: 3px solid #bf6e2e; outline-offset: 4px; }
.st-recognition a:hover { text-decoration: underline; text-underline-offset: 4px; }
.st-recognition ::selection { background: #f0d7d5; color: #23282f; }
@media (min-width: 768px) {
    .st-recognition-group { display: flex; flex-direction: column; }
    .st-recognition-group-heading { flex-shrink: 0; }
    .st-pennant-viewer { display: flex; flex: 1; flex-direction: column; }
    .st-pennant-frame { flex: 1 0 auto; min-height: 0; }
    .st-pennant-caption, .st-pennant-thumbnails { flex-shrink: 0; }
    .st-recognition-award-list { flex: 1; grid-auto-rows: 1fr; }
    .st-recognition-award { display: flex; flex-direction: column; }
    .st-recognition-award-image { flex: 1 0 auto; min-height: 0; }
    .st-recognition-award-title { min-height: calc(3.6em + 12px); }
}
@media (max-width: 1100px) and (min-width: 768px) {
    .st-recognition-layout { gap: 28px; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
    .st-pennant-frame { height: 320px; }
    .st-pennant-thumbnails { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .st-recognition-award-image { height: 170px; }
}
/* The actual mobile template reads as a photo story followed by a certificate list. */
@media (max-width: 767px) {
    .st-recognition-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .st-recognition-group-heading { padding-bottom: 14px; }
    .st-recognition-group-heading h3 { font-size: 20px; }
    .st-pennant-frame { height: 260px; }
    .st-pennant-stage { padding: 12px; }
    .st-pennant-arrow { width: 36px; height: 48px; }
    .st-pennant-prev { left: 8px; }
    .st-pennant-next { right: 8px; }
    .st-pennant-caption { display: block; min-height: 0; padding: 14px 0 16px; }
    .st-pennant-caption p { font-size: 15px; }
    .st-pennant-caption > a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 0; }
    .st-pennant-thumbnails { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
    .st-pennant-thumbnails > a, .st-pennant-thumbnails > button { height: 64px; }
    .st-recognition-award-list { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .st-recognition-award { display: grid; grid-template-columns: 116px minmax(0, 1fr); gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--st-line); }
    .st-recognition-award:first-child { padding-top: 0; }
    .st-recognition-award-image { height: 96px; padding: 8px; }
    .st-recognition-award-title { padding: 0; font-size: 15px; line-height: 1.8; }
}
