/* Page-level content styles used by the static (non-Elementor) templates:
   single-sts_service.php, single-sts_industry.php, single-sts_product.php,
   archive templates, and single.php (blog article). Kept separate from
   style.css (theme header + global chrome) for editor-styles clarity. */

.sts-hero-section { padding: 96px clamp(16px,4vw,24px) 56px; text-align: left; }
.sts-hero-section .sts-eyebrow { margin-bottom: 18px; }
.sts-hero-section h1 { font-size: clamp(34px, 5vw, 56px); margin: 0 0 18px; }
.sts-hero-section .sts-lede { max-width: 640px; margin: 0 0 28px; }
.sts-hero-media img { border-radius: 24px; }

.sts-content-section { max-width: 1120px; margin: 0 auto; padding: 0 clamp(16px,4vw,24px) 72px; }
.sts-content-section .entry-content { font-size: 16px; line-height: 1.75; color: #333A45; }
.sts-content-section .entry-content h2 { font-family: 'Instrument Serif', serif; font-size: 30px; margin: 40px 0 16px; color: #14202A; }
.sts-content-section .entry-content h3 { font-size: 20px; margin: 28px 0 12px; color: #14202A; }
.sts-content-section .entry-content ul { padding-left: 22px; }

.sts-archive-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 24px; max-width: 1120px; margin: 0 auto; padding: 0 clamp(16px,4vw,24px) 96px; }
.sts-archive-card { background: #fff; border: 1px solid rgba(11,84,104,0.08); border-radius: 20px; overflow: hidden; text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: box-shadow .2s ease, transform .2s ease; }
.sts-archive-card:hover { box-shadow: 0 16px 36px rgba(16,24,32,0.12); transform: translateY(-2px); }
.sts-archive-card img { width: 100%; height: 180px; object-fit: cover; }
.sts-archive-card-body { padding: 20px 22px 24px; }
.sts-archive-card-body h3 { margin: 0 0 8px; font-size: 18px; color: #14202A; }
.sts-archive-card-body p { margin: 0; font-size: 13.5px; line-height: 1.55; color: #6E6E73; }
.sts-archive-card-tag { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #0B5468; background: rgba(11,84,104,0.08); padding: 4px 10px; border-radius: 999px; margin-bottom: 12px; }

.sts-page-header { max-width: 1120px; margin: 0 auto; padding: 72px clamp(16px,4vw,24px) 32px; }
.sts-page-header h1 { font-family: 'Instrument Serif', serif; font-size: clamp(32px,4.5vw,48px); margin: 0 0 12px; color: #14202A; }
.sts-page-header p { font-size: 16px; color: #4B5160; max-width: 680px; }

.sts-tagline-box { background: rgba(11,84,104,0.05); border-radius: 16px; padding: 20px 24px; margin: 0 0 32px; font-size: 15px; color: #0B5468; }

.sts-cta-band { max-width: 1120px; margin: 0 auto 96px; padding: 48px clamp(24px,5vw,64px); border-radius: 28px; background: linear-gradient(135deg,#0B5468,#0d6b83); color: #fff; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.sts-cta-band h2 { font-family: 'Instrument Serif', serif; font-size: 28px; margin: 0; color: #fff; }

/* Single Industry hero — single-sts_industry.php. Back link, two-column
   grid (title/description on the left, featured image on the right,
   collapsing to a single column with no reserved image slot when the
   industry has no featured image). */
.sts-ind-hero { max-width: 1120px; margin: 0 auto; padding: clamp(48px,8vw,84px) clamp(16px,4vw,24px) 40px; }
.sts-ind-back { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font-size: 13px; font-weight: 600; color: #5A6070; }
.sts-ind-back:hover { color: #0B5468; }
/* Flexbox rather than grid: two items, align-items:stretch (the flex
   default) makes both columns exactly match the height of whichever one
   has more content — no separate row-sizing pass to fight with, so the
   text and image always start AND end perfectly level with each other. */
.sts-ind-hero-grid { margin-top: 20px; display: flex; gap: clamp(28px,5vw,56px); }
.sts-ind-hero-text { flex: 1.15; min-width: 0; }
.sts-ind-hero-text h1 { margin: 0; font-size: clamp(32px,6vw,54px); line-height: 1.1; letter-spacing: -0.03em; font-weight: 600; color: #14202A; font-family: 'Geist', system-ui, sans-serif; }
.sts-ind-hero-text .sts-ind-hero-tagline { margin: 16px 0 0; font-size: 15px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #0B5468; }
.sts-ind-hero-text .entry-content { margin-top: 22px; font-size: 17px; line-height: 1.75; color: #5A6070; }
.sts-ind-hero-text .entry-content p { margin: 0 0 20px; }
.sts-ind-hero-image { flex: 1; min-width: 0; border-radius: 28px; overflow: hidden; box-shadow: 0 40px 90px -30px rgba(11,84,104,0.35); }
.sts-ind-hero-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) {
	.sts-ind-hero-grid { flex-direction: column; }
	.sts-ind-hero-image { order: -1; height: clamp(220px,62vw,340px); min-height: 220px; }
}

/* Case studies grid on single-sts_industry.php — populated dynamically
   from sts_case_study posts sharing an "Industry Category" term with the
   current industry (see sts_get_case_studies_for_industry()). */
.sts-case-section { max-width: 1120px; margin: 0 auto; padding: 0 clamp(16px,4vw,24px) 72px; }
.sts-case-section-label { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #8A90A4; margin: 0 4px 22px; }
.sts-case-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px,1fr)); grid-auto-rows: 1fr; gap: 22px; }
.sts-case-card { position: relative; display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid rgba(11,84,104,0.11); border-radius: 22px; padding: 28px 26px 24px; text-decoration: none; color: inherit; box-sizing: border-box; transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.sts-case-card:hover { transform: translateY(-6px); border-color: rgba(11,84,104,0.3); box-shadow: 0 16px 36px rgba(16,24,32,0.1); }
.sts-case-card-index { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 12px; background: #0B5468; color: #fff; font-size: 13px; font-weight: 700; margin-bottom: 18px; }
.sts-case-card h3 { margin: 0 0 10px; font-size: 20px; line-height: 1.3; letter-spacing: -0.01em; color: #14202A; }
.sts-case-card p { margin: 0; font-size: 14.5px; line-height: 1.6; color: #5A6070; font-family: 'Instrument Serif', serif; font-style: italic; }
.sts-case-card-footer { margin-top: auto; padding-top: 18px; }
.sts-case-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.sts-case-tag { padding: 5px 12px; border-radius: 999px; font-size: 11px; font-weight: 600; color: #0B5468; background: rgba(11,84,104,0.08); border: 1px solid rgba(11,84,104,0.16); white-space: nowrap; }
.sts-case-tag--lg { padding: 7px 14px; font-size: 12.5px; }
.sts-case-card-cta-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(11,84,104,0.1); }
.sts-case-card-cta { font-size: 12.5px; font-weight: 700; color: #0B5468; }
.sts-case-card-arrow { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: #0B5468; color: #fff; font-size: 13px; transition: transform .25s ease; }
.sts-case-card:hover .sts-case-card-arrow { transform: translateX(3px); }
.sts-case-empty { border-radius: 24px; padding: clamp(32px,6vw,52px); text-align: center; background: rgba(255,255,255,0.85); border: 1px solid rgba(26,29,36,0.08); }
.sts-case-empty p { font-family: 'Instrument Serif', serif; font-style: italic; font-size: 18px; color: #5A6070; margin: 0 0 20px; }

/* "Want to talk X?" CTA band on single-sts_industry.php — deliberately
   distinct from the two-sided .sts-cta-band used by services/products. */
.sts-ind-cta-band { max-width: 1120px; margin: 0 auto 96px; padding: clamp(40px,7vw,68px) clamp(20px,5vw,60px); border-radius: 28px; text-align: center; background: linear-gradient(135deg,#0B5468,#06546E); }
.sts-ind-cta-band h2 { margin: 0; font-size: clamp(27px,4.5vw,36px); font-weight: 600; letter-spacing: -0.03em; color: #fff; font-family: 'Geist', system-ui, sans-serif; }
.sts-ind-cta-band p { margin: 14px auto 0; max-width: 440px; font-size: 16px; line-height: 1.65; color: rgba(255,255,255,0.65); }
.sts-ind-cta-band .sts-btn { margin-top: 30px; }

/* Case study detail page — single-sts_case_study.php + the Elementor
   content built per case study from
   elementor-templates/case-study-detail.json (see that file's manifest).
   One rounded card: a dark teal header band (eyebrow + title + summary,
   with a large faded case number bottom-right) followed by a white body
   holding stacked info boxes (Client / Executive Summary / Technology /
   Solution / Challenges / Architecture / Business Impacts) and a closing
   CTA row rendered by the PHP template itself (sitewide copy/URL, not
   per-post content — see sts_cta_url in Theme Options). */
.sts-case-detail-wrap { max-width: 900px; margin: 0 auto; padding: clamp(28px,6vw,48px) 24px 110px; }
.sts-case-back { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font-size: 13px; font-weight: 600; color: #5A6070; }
.sts-case-back:hover { color: #0B5468; }
.sts-case-detail-card { margin-top: 22px; border-radius: 28px; overflow: hidden; background: #FBFAF7; box-shadow: 0 40px 120px rgba(10,12,20,0.12); }

.sts-case-detail-band { position: relative; overflow: hidden; padding: clamp(26px,5vw,44px) clamp(20px,5vw,48px) clamp(24px,5vw,40px); background-color: #0B5468; background-image: linear-gradient(135deg,#0B5468,#06546E); color: #fff; }
.sts-case-detail-band::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(520px 300px at 85% -10%, rgba(255,122,41,0.35), transparent 70%); }
.sts-case-detail-num { position: absolute; right: 28px; bottom: -38px; font-family: 'Instrument Serif', serif; font-size: 150px; line-height: 1; color: rgba(255,255,255,0.05); pointer-events: none; user-select: none; }
.sts-case-detail-eyebrow { position: relative; display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,0.55); }
.sts-case-detail-eyebrow-dot { width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,0.3); }
.sts-case-detail-band h1 { position: relative; margin: 16px 0 0; font-size: clamp(23px,4vw,30px); font-weight: 600; letter-spacing: -0.025em; line-height: 1.22; max-width: 560px; color: #fff; font-family: 'Geist', system-ui, sans-serif; }
.sts-case-detail-summary { position: relative; margin: 14px 0 0; max-width: 520px; font-family: 'Instrument Serif', serif; font-style: italic; font-size: 17px; line-height: 1.55; color: rgba(255,255,255,0.65); }

.sts-case-detail-body { padding: clamp(22px,5vw,40px) clamp(18px,5vw,48px) clamp(24px,5vw,44px); }
/* Elementor's own "space between widgets" site setting (or a theme/plugin
   default) adds its own margin-bottom to every widget wrapper — on top of
   the specific label/content margins these boxes already declare, that
   showed up as a much bigger gap than intended between e.g. the
   "Technology" label and its pill row. Zero it out unconditionally inside
   a case-study box so these boxes' spacing is controlled only by the CSS
   here, regardless of that site-wide setting or which Elementor version
   a post's content was originally imported under. Newer Elementor versions
   implement that same "space between widgets" setting as a flex `gap` on
   the column's `.elementor-widget-wrap` instead of (or in addition to)
   per-widget margin-bottom — margin-bottom:0 alone doesn't touch that, so
   the gap has to be zeroed separately. This showed up worst on
   leadership-detail.json, whose body stacks many widgets directly as
   siblings (no per-field wrapper box to absorb it), leaving a large,
   uneven gap before every "label" heading regardless of its own
   _margin-top. */
.sts-case-detail-body .elementor-element { margin-bottom: 0 !important; }
.sts-case-detail-body > .elementor-element > .elementor-widget-wrap { gap: 0 !important; }
.sts-case-detail-media { margin-top: 14px; border-radius: 12px; overflow: hidden; border: 1px solid rgba(26,29,36,0.08); }
.sts-case-detail-media img { display: block; width: 100%; height: auto; }
.sts-case-detail-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: 16px; }
.sts-case-detail-box { border-radius: 18px; padding: 24px; background: rgba(255,255,255,0.85); border: 1px solid rgba(26,29,36,0.08); }
.sts-case-detail-box--outcome { margin-top: 16px; }
/* Box label — a native Elementor "heading" widget, "sts-case-detail-box-label"
   applied via its Advanced tab "CSS Classes" control. That control adds the
   class to the widget's OUTER wrapper (the .elementor-element div), not to
   the actual rendered heading tag two levels in — so spacing lives on that
   wrapper (margin-bottom, below) while the visible text style targets the
   nested .elementor-heading-title explicitly. */
.sts-case-detail-box-label { margin-bottom: 12px; }
.sts-case-detail-box-label .elementor-heading-title { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #0B5468; }
/* Used where the label is its own widget, separate from the content that
   follows it (Technology's pill-repeater widget, Architecture's image
   widget, Business Impacts' outcome list) — margin-bottom:0 here so the
   *content* widget's own margin-top is the only declared gap between them.
   Two separate Elementor widget wrappers don't reliably margin-collapse, so
   leaving both sides declared could double the gap; zeroing one side keeps
   it exact. */
.sts-case-detail-box-label--tight { margin-bottom: 0; }
.sts-case-detail-box--accent .sts-case-detail-box-label .elementor-heading-title { color: #FF7A29; }
.sts-case-detail-box p { margin: 0; font-size: 14px; line-height: 1.7; color: #3B4152; }
.sts-case-detail-box .sts-case-tags { margin-top: 14px; gap: 8px; }
.sts-case-outcome-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.sts-case-detail-box .sts-case-outcome-list { margin-top: 14px; }
.sts-case-outcome-list li { position: relative; padding-left: 18px; font-size: 14px; line-height: 1.65; color: #3B4152; }
.sts-case-outcome-list li::before { content: ""; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: #FF7A29; }

.sts-case-detail-tags { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.sts-case-detail-tag { padding: 7px 14px; border-radius: 100px; font-size: 12.5px; font-weight: 600; color: #4338CA; background: #EEECFE; border: 1px solid rgba(67,56,202,0.18); }

.sts-case-detail-footer-wrap { padding: 0 clamp(18px,5vw,48px) clamp(24px,5vw,44px); }
.sts-case-detail-footer { margin-top: 32px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 26px; border-top: 1px solid rgba(26,29,36,0.08); }
.sts-case-detail-footer-q { font-family: 'Instrument Serif', serif; font-style: italic; font-size: 16px; color: #5A6070; }

/* Leadership detail page — a standalone, fully self-contained Elementor
   template (elementor-templates/leadership-detail.json, no CPT/PHP single
   template behind it, unlike the Case Study/Service detail pages above).
   Reuses the Case Study detail page's wrap/card/body/box/outcome-list/tag
   primitives (.sts-case-detail-wrap, .sts-case-back, .sts-case-detail-card,
   .sts-case-detail-band, .sts-case-detail-body, .sts-case-detail-box-label,
   .sts-case-tag) so the two detail pages read as one family; only what's
   genuinely different about a leadership profile — the photo+name band
   columns, the muted meta label above the stat row, the bordered stat
   tiles, the orange-dot highlight list, and the LinkedIn button colour —
   gets its own class here. Built entirely from native Elementor widgets
   (image/heading/icon-list/button, the photo+name band as two real
   columns rather than a flex hack) — deliberately no raw "html" widget
   anywhere in this template, unlike case-study-detail.json's Business
   Impacts list. One imported copy of this template per leader, same
   rationale as the case study template: duplicate it and edit each
   leader's copy independently. */
.sts-case-detail-band { align-items: center; }
/* The photo column: forced to a fixed 96px box on the COLUMN itself
   (flex-basis + max-width, !important) rather than trusting Elementor's
   percentage-based "_column_size" (18/82) to hold. With no real photo
   uploaded yet, Elementor renders its own placeholder illustration for
   the empty image widget, and that placeholder ignored the column's
   intended width entirely — it rendered at several hundred px, blowing
   the whole band out to match its height. Once a real photo is uploaded
   through the widget's media picker this box still applies, so the
   photo simply crops into the same 96px square instead of growing. */
.sts-leader-photo-col { flex: 0 0 96px !important; max-width: 96px !important; }
/* The image widget's "CSS Classes" control lands on the outer
   `.elementor-widget-image` wrapper, not the `<img>` itself — same
   "advanced-tab class lands on the outer wrapper" rule documented above
   for .sts-case-detail-box-label. Sized/clipped on the wrapper AND every
   possible thing Elementor might render inside it (a real `<img>` once a
   photo is set, or its own placeholder markup — an SVG or a styled `div`
   — before one is), so the box stays 96×96 regardless of which. */
.sts-leader-photo { width: 96px; height: 96px; overflow: hidden; border-radius: 20px; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.22); }
.sts-leader-photo .elementor-widget-container,
.sts-leader-photo img,
.sts-leader-photo svg,
.sts-leader-photo .elementor-image { display: block; width: 100% !important; height: 100% !important; object-fit: cover; }

.sts-leader-meta-label { margin-top: 28px; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #8A90A4; }
.sts-leader-stat-tile { border-radius: 14px; padding: 18px 20px; background: #fff; border: 1px solid rgba(26,29,36,0.08); }

/* Career Highlights — native "icon-list" widget (a real repeater, add/
   remove/reorder rows in its List panel) standing in for the plain
   dot-bullet `<ul>` case-study-detail.json reaches for via raw HTML;
   restyled here to the same small orange dot instead of icon-list's
   default large icon, via its own generated markup
   (ul.elementor-icon-list-items > li.elementor-icon-list-item >
   span.elementor-icon-list-icon + span.elementor-icon-list-text). */
.sts-leader-highlights.elementor-widget-icon-list .elementor-icon-list-items { display: flex; flex-direction: column; gap: 10px; }
.sts-leader-highlights .elementor-icon-list-item { padding: 0; }
.sts-leader-highlights .elementor-icon-list-icon { width: 18px; color: #FF7A29; }
/* Elementor renders the icon as an `<i>` font-glyph OR an inline `<svg>`
   depending on the site's icon-library setting — font-size alone (which
   only affects the `<i>` glyph) left the svg case at its default ~1em
   black circle. Sizing/coloring both explicitly here. */
.sts-leader-highlights .elementor-icon-list-icon i { font-size: 6px; }
.sts-leader-highlights .elementor-icon-list-icon svg { width: 6px; height: 6px; fill: #FF7A29; }
.sts-leader-highlights .elementor-icon-list-text { font-size: 14px; line-height: 1.65; color: #3B4152; }

.sts-btn--linkedin { color: #fff; background: #0A66C2; box-shadow: 0 8px 22px rgba(10,102,194,0.28); }
.sts-btn--linkedin:hover { background: #084d93; }
/* The button widget's own inline typography settings (in
   leadership-detail.json) should already beat this, but this site's
   Elementor Kit default for buttons rendered "View LinkedIn Profile" in
   an italic serif — belt-and-suspenders against whichever wins the
   cascade in a given import. */
.sts-btn--linkedin, .sts-btn--linkedin .elementor-button-text { font-style: normal !important; font-family: 'Geist', system-ui, -apple-system, sans-serif !important; }
/* Elementor's button-icon wrapper (font-icon <i> or inline <svg>) doesn't
   reliably inherit the button's own text color — it rendered as a dim grey
   glyph against the blue fill instead of matching "View LinkedIn Profile"
   in white. Force it explicitly on both possible icon markups. */
.sts-btn--linkedin .elementor-button-icon,
.sts-btn--linkedin .elementor-button-icon i,
.sts-btn--linkedin .elementor-button-icon svg { color: #fff !important; fill: #fff !important; }

/* Single Service detail page — single-sts_service.php + the Elementor
   content built per service from elementor-templates/service-detail.json
   (see that file's manifest for the full section breakdown). These
   classes back the pieces that template applies via a widget's/section's
   "CSS Classes" (Advanced tab) setting rather than a native Elementor
   style: the back-link, the hero tagline/tags, the featured-image band,
   and the "Case Study" list rendered by the STS_Service_Case_List_Widget
   (a plain manual repeater of title+link rows — not a taxonomy relation;
   case studies connect to Industries only, via sts_industry_category).
   Everything else on that page — headings, body copy, the value-card
   grid, the numbered process steps, the closing CTA — reuses native
   Elementor widgets and
   the theme's existing sts_feature_grid / sts_process_steps / sts_cta
   widgets, so it needs no page-specific CSS of its own. */
.sts-svc-back { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font-size: 13px; font-weight: 600; color: #5A6070; }
.sts-svc-back:hover { color: #0B5468; }
.sts-svc-hero-tagline p { margin: 0; font-size: 17px; font-weight: 600; color: #146B82; font-family: 'Instrument Serif', serif; font-style: italic; }
.sts-svc-hero-tags { display: flex; flex-wrap: wrap; gap: 8px; }

.sts-svc-media img { width: 100%; border-radius: 24px; display: block; }

.sts-svc-case-box { border-radius: 24px; border: 1px solid rgba(26,29,36,0.08); background: #fff; box-shadow: 0 10px 30px rgba(16,24,32,0.05); overflow: hidden; margin-top: 22px; }
.sts-svc-case-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 28px; border-bottom: 1px solid rgba(26,29,36,0.07); }
.sts-svc-case-row:last-child { border-bottom: 0; }
.sts-svc-case-row h3 { margin: 0; font-size: 16.5px; font-weight: 600; color: #14202A; }
.sts-svc-case-row .sts-btn { flex: none; }
.sts-svc-case-empty { padding: 40px 28px; text-align: center; color: #5A6070; font-size: 14.5px; }
@media (max-width: 560px) {
	.sts-svc-case-row { flex-direction: column; align-items: flex-start; }
}

/* =======================================================================
   Native Elementor heading / text-editor defaults.
   About, Industries and Services build their headings/paragraphs with
   Elementor's plain native widgets and no per-widget typography override,
   so — with nothing here to catch them — they fall through entirely to
   Elementor's global Kit defaults (Roboto, the Kit's own heading color),
   not the theme's brand fonts/colors. Careers/Contact/Products already set
   explicit per-widget typography (title_color / typography_typography, etc.)
   which Elementor compiles into an ID-scoped rule at equal-or-higher
   specificity loaded after this file, so those pages are unaffected by —
   and always win over — the defaults below.
   ===================================================================== */
.elementor-widget-heading .elementor-heading-title,
.elementor-widget-text-editor .elementor-widget-container,
.elementor-widget-text-editor p { font-family: 'Geist', system-ui, -apple-system, sans-serif; }

.elementor-widget-heading h1.elementor-heading-title,
.elementor-widget-heading h2.elementor-heading-title {
  font-weight: 600; letter-spacing: -0.03em; line-height: 1.15; color: #1A1D24;
}
.elementor-widget-heading h1.elementor-heading-title { font-size: clamp(32px,5vw,52px); }
.elementor-widget-heading h2.elementor-heading-title { font-size: clamp(26px,4vw,38px); margin-top: 14px; }

/* h3/h4 are used throughout these pages as small uppercase "eyebrow"
   labels above a main heading ("About Us", "Our Story", "Flagship
   practice", ...), never as a standalone content heading. */
.elementor-widget-heading h3.elementor-heading-title,
.elementor-widget-heading h4.elementor-heading-title {
  font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: #146B82;
}

/* Mixed-font emphasis inside a heading, e.g. title: "...that <em>outlasts
   trends.</em>" — same treatment as .sts-accent on the home page. */
.elementor-widget-heading .elementor-heading-title em {
  font-family: 'Instrument Serif', serif; font-style: italic; font-weight: 400; color: #0B5468;
}

.elementor-widget-text-editor p { color: #3B4152; font-size: 16px; line-height: 1.75; }
.elementor-widget-text-editor blockquote {
  margin: 28px 0 0; padding: 20px 24px; border-left: 3px solid #0B5468;
  font-family: 'Instrument Serif', serif; font-style: italic; font-size: 19px; line-height: 1.5; color: #3B4152;
}

/* =======================================================================
   Home page (Elementor `home.json`) — components with no native Elementor
   widget equivalent. Built via the Elementor "html" (raw HTML) widget so
   the page keeps the site's brand look (fonts/colors/buttons already
   defined above and in style.css) instead of Elementor's generic defaults.
   ===================================================================== */

/* Mixed-font headline: plain clause in the body sans-serif, emphasised
   clause in the brand italic serif — overrides the sitewide rule in
   fonts.css that forces every h1/h2 to Instrument Serif. */
.sts-sans { font-family: 'Geist', system-ui, -apple-system, sans-serif; font-weight: 600; }
.sts-accent { font-family: 'Instrument Serif', serif; font-style: italic; font-weight: 400; color: #0B5468; }

.sts-btn--dark { color: #fff; background: #0B5468; box-shadow: 0 8px 22px rgba(11,84,104,0.28); }
.sts-btn--dark:hover { background: #083f4d; }
.sts-btn--primary { box-shadow: 0 8px 22px rgba(242,106,33,0.32); }
.sts-btn--primary:hover { background: #D95A16; }
.sts-btn--secondary { color: #fff; background: #1A1D24; }
.sts-btn--secondary:hover { background: #2B3040; }

/* Plain uppercase label used throughout the home page (no pill background —
   distinct from the badge-style .sts-eyebrow used on inner-page heroes). */
.sts-label { display: block; font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: #146B82; }

/* Hero video banner — full-bleed regardless of the .sts-container it sits in */
.sts-hero-media { width: 100vw; height: clamp(220px,46vw,600px); position: relative; left: 50%; margin: 0 0 40px; transform: translateX(-50%); display: block; object-fit: cover; border: 0; }

/* Home page section rhythm — applied via each section's Advanced > CSS Classes
   in elementor-templates/home.json. Only top padding is used (not top+bottom
   on every section) so adjacent sections don't stack double gaps; the last
   section (before the footer) also gets bottom padding via the --last modifier. */
.sts-section-gap { padding-top: clamp(64px, 8vw, 96px); }
.sts-section-gap--last { padding-bottom: clamp(64px, 8vw, 96px); }

/* Technologies marquee card */
.sts-tech-card { position: relative; border-radius: 20px; border: 1px solid rgba(26,29,36,0.08); background: rgba(255,255,255,0.85); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 8px 24px rgba(16,24,32,0.05); padding: 22px 0; overflow: hidden; }
.sts-marquee { -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.sts-marquee-track { gap: 44px; animation-duration: 28s; }
.sts-tech-item { display: inline-flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; color: #3B4152; white-space: nowrap; }
.sts-tech-item::before { content: ""; width: 7px; height: 7px; border-radius: 999px; background: #F26A21; flex: none; }

/* Services heading row */
.sts-svc-heading-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-bottom: 48px; }

/* Services card: single element whose background transitions between six
   per-service gradients as the rail is hovered/focused (mirrors the source
   design's `transition:background 0.6s ease` on the panel itself, rather
   than swapping between separately-colored panels). */
.sts-svc-card { position: relative; display: flex; border-radius: 28px; overflow: hidden; box-shadow: 0 20px 50px rgba(11,84,104,0.22); transition: background 0.6s ease; background: linear-gradient(135deg,#0B5468,#0d6b83); }
.sts-svc-card--0 { background: linear-gradient(135deg,#0B5468,#0d6b83); }
.sts-svc-card--1 { background: linear-gradient(135deg,#146B82,#1a8098); }
.sts-svc-card--2 { background: linear-gradient(135deg,#0d6b83,#2f9c8f); }
.sts-svc-card--3 { background: linear-gradient(135deg,#0B5468,#F26A21); }
.sts-svc-card--4 { background: linear-gradient(135deg,#D4551F,#F26A21); }
.sts-svc-card--5 { background: linear-gradient(135deg,#0B5468,#2f9c8f); }

.sts-svc-rail { position: relative; z-index: 1; display: flex; flex-direction: column; padding: clamp(20px,3vw,28px) 0; border-right: 1px solid rgba(255,255,255,0.14); flex: none; }
.sts-svc-num { text-decoration: none; display: flex; align-items: center; justify-content: center; width: clamp(48px,6vw,64px); height: clamp(48px,6vw,64px); margin: 0 clamp(10px,1.5vw,16px); border-radius: 999px; font-size: 13px; font-weight: 600; letter-spacing: 0.05em; font-variant-numeric: tabular-nums; background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.6); transition: background .35s cubic-bezier(.2,.8,.2,1), color .35s cubic-bezier(.2,.8,.2,1); cursor: pointer; }
.sts-svc-num.is-active { background: #F26A21; color: #fff; }

.sts-svc-content { position: relative; z-index: 1; flex: 1; min-width: 0; min-height: 280px; }
.sts-svc-pane { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; padding: clamp(32px,5vw,56px) clamp(28px,4vw,52px); opacity: 0; pointer-events: none; transition: opacity .35s ease; }
.sts-svc-pane.is-active { opacity: 1; pointer-events: auto; }
.sts-svc-pane-head { display: flex; align-items: center; gap: 18px; }
.sts-svc-pane-icon { flex-shrink: 0; width: 46px; height: 46px; border-radius: 14px; background: rgba(255,255,255,0.12); display: flex; align-items: center; justify-content: center; }
.sts-svc-pane-icon img { width: 26px; height: 26px; object-fit: contain; }
.sts-svc-pane h3 { margin: 0; font-size: clamp(26px,4.2vw,46px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; color: #fff; }
.sts-svc-pane p { margin: 20px 0 0; max-width: 520px; font-size: 15.5px; line-height: 1.65; color: rgba(255,255,255,0.78); }
.sts-svc-pane-link { margin-top: 26px; display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: #fff; text-decoration: none; }
.sts-svc-pane-link span { width: 32px; height: 32px; border-radius: 999px; background: rgba(255,255,255,0.16); display: flex; align-items: center; justify-content: center; font-size: 14px; transition: background .2s ease; }
.sts-svc-pane-link:hover span { background: rgba(255,255,255,0.28); }
@media (max-width: 720px) {
  .sts-svc-card { flex-direction: column; }
  .sts-svc-rail { flex-direction: row; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.14); overflow-x: auto; padding: 14px; }
  .sts-svc-num { margin: 0 6px; }
  .sts-svc-content { min-height: 240px; }
}
@media (prefers-reduced-motion: reduce) { .sts-svc-pane, .sts-svc-num, .sts-svc-card { transition: opacity .01s linear; } }

/* AI & Data band */
.sts-ai-band { border-radius: 28px; padding: clamp(28px,5vw,64px); background: linear-gradient(120deg, rgba(11,84,104,0.06), rgba(129,214,199,0.1) 60%); border: 1px solid rgba(11,84,104,0.12); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px,5vw,56px); align-items: center; }
.sts-ai-points { display: grid; gap: 14px; }
.sts-ai-point { display: flex; gap: 16px; align-items: flex-start; padding: 18px 22px; border-radius: 16px; background: rgba(255,255,255,0.75); border: 1px solid rgba(26,29,36,0.07); }
.sts-ai-point-dot { width: 8px; height: 8px; margin-top: 7px; border-radius: 999px; background: #0B5468; flex-shrink: 0; }
.sts-ai-point-title { font-size: 15.5px; font-weight: 600; }
.sts-ai-point-desc { margin-top: 4px; font-size: 14px; line-height: 1.55; color: #5A6070; }
@media (max-width: 900px) { .sts-ai-band { grid-template-columns: 1fr; } }

/* Industries / Products — one hairline-divided card, whole cell clickable */
.sts-split-card { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; border-radius: 20px; overflow: hidden; border: 1px solid rgba(26,29,36,0.08); background: rgba(26,29,36,0.08); box-shadow: 0 8px 24px rgba(16,24,32,0.05); }
.sts-split-cell { text-decoration: none; color: #1A1D24; background: rgba(255,255,255,0.85); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding: clamp(28px,5vw,48px); display: flex; flex-direction: column; transition: background .25s ease; }
.sts-split-cell:hover { background: #fff; }
.sts-split-cell h2 { margin: 16px 0 0; font-size: 32px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.15; }
.sts-split-cell p { margin: 14px 0 0; font-size: 15.5px; line-height: 1.6; color: #5A6070; }
.sts-split-cell-link { margin-top: auto; padding-top: 28px; font-size: 14.5px; font-weight: 600; color: #0B5468; }
@media (max-width: 900px) { .sts-split-card { grid-template-columns: 1fr; } }

/* Testimonial carousel */
.sts-testimonial-carousel { max-width: 1120px; margin: 0 auto; }
.sts-testimonial-track { position: relative; border-radius: 20px; background: #fff; box-shadow: 0 20px 50px rgba(16,24,32,0.1); overflow: hidden; }
.sts-testimonial-quotemark { font-family: 'Instrument Serif', serif; font-size: 44px; line-height: 1; color: #12141B; padding: clamp(24px,4vw,40px) clamp(24px,4vw,44px) 0; margin: 0; }
.sts-testimonial-slide { display: none; margin: 0; padding: 0 clamp(24px,4vw,44px) clamp(24px,4vw,40px); min-height: 160px; flex-direction: column; }
.sts-testimonial-slide.is-active { display: flex; animation: svPanelFade .35s ease both; }
.sts-testimonial-slide p { margin: 0; font-family: 'Instrument Serif', serif; font-size: clamp(18px,2.4vw,20px); line-height: 1.4; letter-spacing: -0.01em; color: #12141B;}
.sts-testimonial-author { display: flex; align-items: center; gap: 14px; margin-top: auto; padding-top: 28px; }
.sts-avatar { flex: 0 0 46px; width: 46px; height: 46px; border-radius: 999px; background: #EEF5F4; color: #0B5468; display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 600; }
.sts-testimonial-author strong { display: block; font-size: 15px; color: #12141B; }
.sts-testimonial-author span { display: block; margin-top: 2px; font-size: 13px; color: rgba(18,20,27,0.65); }
.sts-testimonial-dots { display: flex; align-items: center; gap: 8px; padding: 0 clamp(24px,4vw,44px) clamp(24px,4vw,40px); }
.sts-dot { width: 8px; height: 8px; border-radius: 999px; border: none; padding: 0; background: rgba(11,84,104,0.2); cursor: pointer; transition: background .3s ease, transform .3s ease; }
.sts-dot.is-active { background: #0B5468; transform: scale(1.25); }

/* Home CTA band (centered variant — .sts-cta-band above is the side-by-side
   variant used on inner pages; the homepage CTA is fully centered) */
.sts-home-cta { max-width: 1120px; margin: 0 auto; padding: clamp(36px,7vw,72px) clamp(22px,6vw,64px); border-radius: 28px; background: linear-gradient(135deg,#0B5468,#0d6b83); box-shadow: 0 20px 50px rgba(11,84,104,0.28); text-align: center; }
.sts-home-cta h2 { margin: 0; font-size: clamp(30px,5.5vw,44px); font-weight: 600; letter-spacing: -0.03em; color: #fff; }
.sts-home-cta p { margin: 16px auto 0; max-width: 460px; color: rgba(255,255,255,0.7); font-size: 16.5px; line-height: 1.65; }
.sts-home-cta .sts-btn { margin-top: 36px; }

/* =======================================================================
   Other pages (About / Careers / Contact / Industries / Products /
   Services) — custom Elementor widget markup, styled to match the home
   page components above.
   ===================================================================== */

/* Stat row — big number + label, N-up (About, Careers) */
.sts-stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px,1fr)); gap: 24px; text-align: center; }
.sts-stat-value { font-size: clamp(26px,3.5vw,34px); font-weight: 600; letter-spacing: -0.02em; color: #1A1D24; }
.sts-stat-label { margin-top: 6px; font-size: 14.5px; color: #8A90A4; }

/* Stat row "card" variant — glass card meant to sit under an image (About hero) */
.sts-stat-row--card { border-radius: 20px; padding: 26px 28px; background: rgba(255,255,255,0.72); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(26,29,36,0.08); box-shadow: 0 6px 24px rgba(26,29,36,0.05); }
.sts-stat-card-label { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: #8A90A4; margin-bottom: 16px; }
.sts-stat-row--card .sts-stat-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; text-align: left; }
.sts-stat-row--card .sts-stat-value { font-size: 26px; font-weight: 700; background: linear-gradient(120deg,#3B4152,#0B5468); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sts-stat-row--card .sts-stat-label { color: #7A8095; }

/* Timeline — company history milestones with an ascending "growth line"
   behind them (About). Each milestone sits progressively higher
   (margin-bottom, set inline per item) so the row itself reads as a
   rising step chart, matching the SVG trend line drawn behind it. */
.sts-timeline { position: relative; margin-top: 56px; height: 560px; }
.sts-timeline-svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.sts-timeline-milestones { position: relative; display: grid; height: 100%; align-items: end; }
.sts-timeline-item { display: flex; flex-direction: column; align-items: center; text-align: center; }
.sts-timeline-year { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.sts-timeline-title { margin-top: 6px; font-size: 14.5px; font-weight: 600; letter-spacing: -0.01em; max-width: 170px; }
.sts-timeline-desc { margin: 6px 0 14px; font-size: 12.5px; line-height: 1.5; color: #5A6070; max-width: 170px; }
.sts-timeline-dot { width: 18px; height: 18px; border-radius: 50%; background: #FBFAF7; border: 2px solid; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(26,29,36,0.12); }
.sts-timeline-dot span { display: block; width: 7px; height: 7px; border-radius: 50%; }
@media (max-width: 900px) {
  .sts-timeline-svg { display: none; }
  .sts-timeline { height: auto; }
  .sts-timeline-milestones { grid-template-columns: repeat(2, 1fr) !important; height: auto !important; align-items: start !important; gap: 32px 20px !important; }
  .sts-timeline-item { margin-bottom: 0 !important; }
}
@media (max-width: 540px) {
  .sts-timeline-milestones { grid-template-columns: 1fr !important; }
}

/* Feature grid — icon/image + title + desc cards (About, Careers, Services) */
.sts-feature-grid { display: grid; gap: 24px; }
/* Fixed column counts (not auto-fit) so the grid always wraps at the
   configured column count — auto-fit packs in however many 200-240px
   columns the container has room for, which for 8 items in a "4 columns"
   grid rendered 5-then-3 instead of a clean 4-then-4. */
.sts-feature-grid--cols-2 { grid-template-columns: repeat(2, 1fr); }
.sts-feature-grid--cols-3 { grid-template-columns: repeat(3, 1fr); }
.sts-feature-grid--cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .sts-feature-grid--cols-3, .sts-feature-grid--cols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .sts-feature-grid--cols-2, .sts-feature-grid--cols-3, .sts-feature-grid--cols-4 { grid-template-columns: 1fr; }
}
.sts-feature-card { display: block; text-decoration: none; color: inherit; }
.sts-feature-grid--card .sts-feature-card { background: #fff; border-radius: 20px; padding: 26px 22px; border: 1px solid rgba(26,29,36,0.06); box-shadow: 0 8px 20px rgba(16,24,32,0.04); }
.sts-feature-grid--tint .sts-feature-card { background: rgba(255,255,255,0.75); border-radius: 16px; padding: 22px; border: 1px solid rgba(26,29,36,0.07); }
.sts-feature-icon { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 14px; background: rgba(20,107,130,0.1); color: #146B82; font-size: 19px; margin-bottom: 14px; }
.sts-feature-icon img { width: 32px; height: 32px; object-fit: contain; }
.sts-feature-title { font-size: 16px; font-weight: 600; color: #1A1D24; }
.sts-feature-desc { margin: 8px 0 0; font-size: 14px; line-height: 1.6; color: #5A6070; }

/* Feature grid "photo" layout — full-width top image, card always on
   (Mission/Vision/Values and similar image-led info cards) */
.sts-feature-grid--photo .sts-feature-card { background: rgba(255,255,255,0.72); border-radius: 20px; overflow: hidden; border: 1px solid rgba(26,29,36,0.08); box-shadow: 0 6px 24px rgba(26,29,36,0.05); }
.sts-feature-grid--photo .sts-feature-photo { width: 100%; height: 200px; object-fit: cover; display: block; background: #EEF1F4; }
.sts-feature-grid--photo .sts-feature-body { padding: 20px 22px 24px; }
.sts-feature-grid--photo .sts-feature-title { font-size: 19px; }
.sts-feature-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.sts-feature-chips span { font-size: 13px; font-weight: 500; color: #4A5068; padding: 7px 13px; border-radius: 999px; background: rgba(26,29,36,0.05); }

/* Team grid — leadership cards (About) */
.sts-team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 28px; }
.sts-team-card { text-align: center; }
.sts-team-card-linked { display: block; color: inherit; text-decoration: none; border-radius: 18px; transition: transform 0.2s ease; }
.sts-team-card-linked:hover { transform: translateY(-4px); }
.sts-team-card-linked:hover .sts-team-name { color: #0B5468; }
.sts-team-photo { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 18px; margin-bottom: 16px; background: #EEF1F4; }
.sts-team-name { margin: 0; font-size: 17px; font-weight: 600; color: #1A1D24; }
.sts-team-role { margin-top: 4px; font-size: 13.5px; font-weight: 600; color: #0B5468; }
.sts-team-bio { margin: 10px 0 0; font-size: 13.5px; line-height: 1.6; color: #5A6070; }
.sts-team-tags { margin-top: 10px; font-size: 11.5px; letter-spacing: 0.04em; text-transform: uppercase; color: #8A90A4; }

/* Industry showcase — one full-bleed background-image slide (title, copy,
   CTA) with a row of title tabs beneath acting as slider pagination
   (Industries). Auto-advances via data-sts-showcase in main.js; each tab
   fills a progress underline over the dwell time so the swap reads as
   intentional, and clicking a tab jumps straight to that industry. */
.sts-industry-showcase-stage { position: relative; border-radius: 28px; overflow: hidden; min-height: clamp(420px, 52vw, 620px); background: #1A1D24; }
.sts-industry-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 0.7s ease; background-size: cover; background-position: center; }
.sts-industry-slide.is-active { opacity: 1; visibility: visible; }
.sts-industry-slide-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(6,8,13,0.92) 0%, rgba(6,8,13,0.5) 45%, rgba(6,8,13,0.05) 75%); }
.sts-industry-slide-content { position: absolute; left: clamp(20px,4vw,44px); right: clamp(20px,4vw,44px); bottom: clamp(20px,4vw,40px); z-index: 1; color: #fff; }
.sts-industry-slide-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.65); }
.sts-industry-slide-content h3 { margin: 14px 0 0; font-size: clamp(28px,5vw,48px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.08; max-width: 640px; }
.sts-industry-slide-content p { margin: 14px 0 0; font-size: 15px; line-height: 1.65; color: rgba(255,255,255,0.85); max-width: 520px; }
.sts-industry-slide-btn { margin-top: 22px; display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font-size: 14px; font-weight: 600; color: #fff; }
.sts-industry-slide-btn:hover { color: #81D6C7; }

/* Tab rail — overlaid top-right on the stage, on top of every slide, so it
   reads as pagination for the image behind it rather than a caption list. */
.sts-industry-showcase-tabs { position: absolute; top: 20px; right: 20px; z-index: 2; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; max-width: 240px; }
.sts-industry-tab { position: relative; cursor: pointer; border: 1px solid rgba(255,255,255,0.16); background: rgba(10,12,18,0.38); border-radius: 100px; padding: 8px 16px; font-family: inherit; text-align: right; overflow: hidden; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 2px 8px rgba(0,0,0,0.25); transition: border-color 0.25s ease, background 0.25s ease;
}
.sts-industry-tab-label { font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.8); text-shadow: 0 1px 3px rgba(0,0,0,0.5); transition: color 0.25s ease; }
.sts-industry-tab-progress { position: absolute; left: 0; right: 0; bottom: 0; display: block; height: 2px; background: rgba(255,255,255,0.18); overflow: hidden; }
.sts-industry-tab-progress > span { display: block; position: absolute; inset: 0 100% 0 0; background: #F26A21; }
.sts-industry-tab:hover .sts-industry-tab-label { color: #fff; }
.sts-industry-tab:hover { background: rgba(10,12,18,0.72); }
.sts-industry-tab.is-active { border-color: rgba(242,106,33,0.5); background: rgba(242,106,33,0.22); }
.sts-industry-tab.is-active .sts-industry-tab-label { color: #fff; }
.sts-industry-tab.is-active .sts-industry-tab-progress > span { animation: spotFill 6s linear forwards; }
@keyframes spotFill { from { right: 100%; } to { right: 0%; } }
@media (max-width: 900px) {
  .sts-industry-showcase-tabs { left: 16px; right: 16px; top: 16px; max-width: none; flex-direction: row; flex-wrap: wrap; align-items: flex-start; justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .sts-industry-slide { transition: none; }
  .sts-industry-tab.is-active .sts-industry-tab-progress > span { animation: none; right: 0; }
}

/* Product showcase — alternating image/copy rows (Products) */
.sts-product-showcase { display: flex; flex-direction: column; }
.sts-product-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px,5vw,56px); align-items: center; padding: clamp(40px,6vw,70px) 0; }
.sts-product-row.is-reversed .sts-product-media { order: 2; }
.sts-product-row--tint { background: #F7F5FF; margin: 0 calc(clamp(16px,4vw,24px) * -1); padding-left: clamp(16px,4vw,24px); padding-right: clamp(16px,4vw,24px); }
.sts-product-media img { width: 100%; border-radius: 18px; display: block; }
.sts-product-copy h2 { margin: 0; font-size: clamp(26px,3.5vw,32px); font-weight: 600; letter-spacing: -0.02em; }
.sts-product-copy p { margin: 14px 0 0; font-size: 16px; line-height: 1.7; color: #5A6070; }
.sts-product-tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 16px 0 0; padding: 0; }
.sts-product-tags li { font-size: 13px; color: #3B4152; background: rgba(26,29,36,0.06); border-radius: 999px; padding: 5px 14px; }
.sts-product-copy .sts-btn { margin-top: 24px; }
@media (max-width: 800px) {
  .sts-product-row, .sts-product-row.is-reversed .sts-product-media { grid-template-columns: 1fr; order: initial; }
  .sts-product-row { grid-template-columns: 1fr; }
}

/* Product stack — dark award-style stacked showcase panels (Products) */
.sts-product-stack { max-width: 1120px; margin: 0 auto; padding: 20px 24px 40px; position: relative; z-index: 1; }
.sts-stack-panel { position: relative; margin-bottom: 48px; border-radius: 32px; overflow: hidden; border: 1px solid rgba(255,255,255,0.1); box-shadow: 0 20px 60px rgba(0,0,0,0.35); }
.sts-stack-panel:last-child { margin-bottom: 0; }
.sts-stack-glow { position: absolute; inset: 0; pointer-events: none; }
.sts-stack-head { position: relative; padding: clamp(24px,4.5vw,56px) clamp(20px,5vw,60px) 0; }
.sts-stack-head h3 { margin: 0; font-family: 'Instrument Serif', serif; font-weight: 400; font-size: clamp(38px,7vw,80px); line-height: 1.02; letter-spacing: -0.02em; color: #fff; max-width: 820px; }
.sts-stack-media { position: relative; margin-top: clamp(28px,4vw,40px); padding: 0 clamp(20px,5vw,60px); }
.sts-stack-media-inner { width: 100%; border-radius: 24px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,0.55); }
.sts-stack-media-inner img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sts-stack-body { position: relative; margin-top: clamp(28px,4vw,40px); padding: 0 clamp(20px,5vw,60px) clamp(24px,4.5vw,56px); }
.sts-stack-body p { margin: 0; max-width: 640px; font-size: 17px; line-height: 1.75; color: rgba(255,255,255,0.68); }
.sts-stack-actions { margin-top: 40px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.sts-stack-store { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.18); border-radius: 12px; padding: 9px 18px; }
.sts-stack-store:hover { background: rgba(255,255,255,0.12); }
.sts-store-label { display: flex; flex-direction: column; line-height: 1.2; }
.sts-store-eyebrow { font-size: 10px; opacity: 0.75; }
.sts-store-name { font-size: 14px; font-weight: 600; }
.sts-stack-live { text-decoration: none; color: #fff; font-size: 14.5px; font-weight: 600; padding: 13px 26px; border-radius: 100px; background: #F26A21; }
.sts-stack-live:hover { background: #D95A16; }

/* Service grid — photo + icon + title + desc + button cards (Services) */
.sts-service-grid { display: grid; gap: 28px; }
.sts-service-grid--cols-2 { grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); }
.sts-service-grid--cols-3 { grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); }
.sts-service-card { background: #fff; border-radius: 20px; overflow: hidden; border: 1px solid rgba(26,29,36,0.06); box-shadow: 0 8px 20px rgba(16,24,32,0.04); display: flex; flex-direction: column; }
.sts-service-card img { width: 100%; height: 180px; object-fit: cover; }
.sts-service-card-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.sts-service-card-icon { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(20,107,130,0.1); color: #146B82; font-size: 16px; margin-bottom: 12px; }
.sts-service-card-body h3 { margin: 0; font-size: 17px; font-weight: 600; color: #1A1D24; }
.sts-service-card-body p { margin: 8px 0 0; font-size: 13.5px; line-height: 1.6; color: #5A6070; flex: 1; }
.sts-service-card-body .sts-btn { margin-top: 18px; align-self: flex-start; }

/* Immersive service gallery — flex strips that expand on hover to reveal
   the practice's description, tags and CTA (Services). Default active
   state and hover-swap handled in assets/js/main.js. */
.sts-gallery { display: flex; gap: 12px; height: 580px; }
/* Transition flex-grow specifically (not the `flex` shorthand, which also
   recomputes flex-basis every frame) and let each layer ease in on its own
   schedule — width grows, the spine fades first, the photo keeps drifting
   in slightly after, and the text arrives last — so the whole expand reads
   as one smooth, sequenced motion instead of everything snapping at once. */
.sts-gallery-item { position: relative; flex-grow: 1; flex-shrink: 1; flex-basis: 0%; min-width: 64px; border-radius: 22px; overflow: hidden; background: #1A1D24; transition: flex-grow 0.9s cubic-bezier(0.16,1,0.3,1); }
.sts-gallery-item.is-active { flex-grow: 4.4; }
.sts-gallery-photo { position: absolute; inset: 0; width: 100%; height: 100% !important; object-fit: cover; object-position: center 30%; transition: transform 1.3s cubic-bezier(0.16,1,0.3,1); }
.sts-gallery-item.is-active .sts-gallery-photo { transform: scale(1.06); }
/* Collapsed spine keeps just enough scrim for the label to stay legible
   while still showing colour through the photo; the active panel needs a
   stronger, taller scrim so a full paragraph + tags + button stay readable. */
.sts-gallery-scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(11,15,20,0.8) 0%, rgba(11,15,20,0.28) 58%, rgba(11,15,20,0.1) 100%); transition: background 0.7s ease; }
.sts-gallery-item.is-active .sts-gallery-scrim { background: linear-gradient(to top, rgba(11,15,20,0.92) 0%, rgba(11,15,20,0.5) 48%, rgba(11,15,20,0.05) 100%); }
.sts-gallery-spine { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; padding: 22px 0; pointer-events: none; opacity: 1; transition: opacity 0.3s ease; }
.sts-gallery-item.is-active .sts-gallery-spine { opacity: 0; transition-duration: 0.2s; }
.sts-gallery-spine-name { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 15px; font-weight: 600; letter-spacing: 0.03em; color: #fff; white-space: nowrap; text-shadow: 0 2px 12px rgba(0,0,0,0.4); }
.sts-gallery-spine-num { margin-top: 16px; font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.65); font-variant-numeric: tabular-nums; }
.sts-gallery-detail { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(20px,4vw,34px) clamp(18px,4vw,38px); pointer-events: none; opacity: 0; transform: translateY(18px); transition: opacity 0.45s ease, transform 0.7s cubic-bezier(0.16,1,0.3,1); }
.sts-gallery-item.is-active .sts-gallery-detail { opacity: 1; transform: translateY(0); transition-delay: 0.28s; }
.sts-gallery-detail h3 { margin: 0; font-size: 26px; font-weight: 600; color: #fff; letter-spacing: -0.02em; line-height: 1.15; max-width: 440px; }
.sts-gallery-detail p { margin: 10px 0 0; max-width: 440px; font-size: 14.5px; line-height: 1.65; color: rgba(255,255,255,0.8); }
.sts-gallery-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; max-width: 460px; }
.sts-gallery-tags span { font-size: 12px; font-weight: 600; color: #fff; background: rgba(255,255,255,0.16); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.22); padding: 6px 12px; border-radius: 999px; white-space: nowrap; }
.sts-gallery-cta { pointer-events: auto; margin-top: 20px; background: rgba(242,106,33,0.85); backdrop-filter: blur(8px); border: 1px solid rgba(242,106,33,0.9); box-shadow: none; }
.sts-gallery-cta:hover { background: #F26A21; transform: translateY(-2px); }
.sts-gallery-hit { position: absolute; inset: 0; z-index: 1; }
.sts-gallery-detail, .sts-gallery-tags { z-index: 2; }
.sts-gallery-hit:focus-visible { outline: 2px solid #fff; outline-offset: -4px; }
@media (max-width: 900px) {
  .sts-gallery { flex-direction: column; height: auto; }
  .sts-gallery-item { flex: none !important; min-height: 320px; }
  .sts-gallery-item .sts-gallery-photo { transform: none; }
  .sts-gallery-spine { display: none; }
  /* Every card's detail is permanently visible on small screens, so every
     card needs the stronger "active" scrim for the text to stay legible —
     not just the JS-selected one. */
  .sts-gallery-scrim { background: linear-gradient(to top, rgba(11,15,20,0.92) 0%, rgba(11,15,20,0.5) 48%, rgba(11,15,20,0.05) 100%) !important; }
  .sts-gallery-detail { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { .sts-gallery-item, .sts-gallery-scrim, .sts-gallery-spine, .sts-gallery-detail, .sts-gallery-cta, .sts-gallery-photo { transition: opacity .01s linear; } }

/* Numbered process steps (Services) */
.sts-process-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 20px; }
/* Card reveals via a staggered Web Animations API sequence in main.js (kept
   independent of the transition below so the hover bounce is never
   delayed); the hover lift/shadow use a slight overshoot easing for a
   snappy "bounce up" feel. */
.sts-process-step { border-radius: 20px; padding: 32px; background: rgba(255,255,255,0.72); border: 1px solid rgba(26,29,36,0.08); transition: transform 0.45s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.45s cubic-bezier(0.34,1.56,0.64,1); }
.sts-process-step:hover, .sts-feature-card:hover { transform: translateY(-8px); box-shadow: 0 20px 44px rgba(26,29,36,0.1); }
.sts-process-number { font-family: 'Instrument Serif', serif; font-style: italic; font-size: 44px; color: #C9CEF9; line-height: 1; }
.sts-process-step h3 { margin: 16px 0 0; font-size: 18px; font-weight: 600; }
.sts-process-step p { margin: 8px 0 0; font-size: 14.5px; line-height: 1.65; color: #5A6070; }
@media (prefers-reduced-motion: reduce) { .sts-process-step { transition: none; } }

/* Job board (Careers) — search + filter toolbar above a master–detail
   layout. Filtering, role switching and the modal are all handled by
   plain JS in main.js against the data-* attributes rendered below. */
.sts-jobboard-toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; border-radius: 20px; border: 1px solid rgba(26,29,36,0.08); background: rgba(255,255,255,0.65); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding: 18px 20px; }
.sts-jobboard-search { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 220px; padding: 10px 16px; border-radius: 12px; background: rgba(251,250,247,0.9); border: 1px solid rgba(26,29,36,0.08); }
.sts-jobboard-search-icon { font-size: 14px; color: #9CA1B0; }
.sts-jobboard-search input { border: none; outline: none; background: transparent; font-size: 14px; font-family: inherit; color: #1A1D24; width: 100%; }
.sts-jobboard-search input::placeholder { color: #9CA1B0; }
.sts-jobboard-filter { position: relative; }
.sts-jobboard-filter-btn { display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: rgba(251,250,247,0.9); border: 1px solid rgba(26,29,36,0.09); font-family: inherit; font-size: 13.5px; font-weight: 500; color: #3B4152; cursor: pointer; }
.sts-jobboard-filter.has-value .sts-jobboard-filter-btn { background: rgba(20,107,130,0.1); border-color: rgba(20,107,130,0.3); color: #146B82; }
.sts-jobboard-filter-arrow { font-size: 10px; color: #9CA1B0; transition: transform .2s ease; }
.sts-jobboard-filter.is-open .sts-jobboard-filter-arrow { transform: rotate(180deg); }
.sts-jobboard-filter-menu { display: none; position: absolute; top: calc(100% + 8px); left: 0; z-index: 30; min-width: 200px; padding: 8px; border-radius: 14px; background: #fff; border: 1px solid rgba(26,29,36,0.08); box-shadow: 0 14px 34px rgba(26,29,36,0.14); flex-direction: column; gap: 2px; }
.sts-jobboard-filter.is-open .sts-jobboard-filter-menu { display: flex; }
.sts-jobboard-filter-opt { padding: 9px 12px; border-radius: 9px; font-size: 13.5px; color: #3B4152; cursor: pointer; }
.sts-jobboard-filter-opt:hover { background: rgba(20,107,130,0.08); }
.sts-jobboard-filter-opt.is-active { color: #146B82; font-weight: 600; }

.sts-jobboard-grid { display: grid; grid-template-columns: 340px 1fr; gap: 18px; margin-top: 24px; align-items: start; }
.sts-jobboard-list { border-radius: 22px; border: 1px solid rgba(255,255,255,0.7); background: rgba(255,255,255,0.6); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: 0 10px 34px rgba(26,29,36,0.07); overflow: hidden; }
.sts-jobboard-count { padding: 16px 20px 12px; font-size: 11.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: #8A90A4; border-bottom: 1px solid rgba(26,29,36,0.06); }
.sts-jobboard-items { display: flex; flex-direction: column; }
.sts-jobboard-item { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; text-align: left; width: 100%; padding: 16px 20px; border: none; border-left: 3px solid transparent; border-bottom: 1px solid rgba(26,29,36,0.05); background: transparent; cursor: pointer; font-family: inherit; transition: background .25s ease; }
.sts-jobboard-item:hover { background: rgba(20,107,130,0.06); }
.sts-jobboard-item.is-active { border-left-color: #146B82; background: rgba(20,107,130,0.08); }
.sts-jobboard-item-title { font-size: 14.5px; font-weight: 600; letter-spacing: -0.01em; color: #1A1D24; }
.sts-jobboard-item.is-active .sts-jobboard-item-title { color: #0B5468; }
.sts-jobboard-item-meta { font-size: 12px; color: #8A90A4; }
.sts-jobboard-empty { padding: 32px 20px; text-align: center; font-size: 14px; color: #8A90A4; }

.sts-jobboard-detail { position: relative; border-radius: 22px; border: 1px solid rgba(255,255,255,0.7); background: rgba(255,255,255,0.6); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: 0 10px 34px rgba(26,29,36,0.07); }
.sts-jobboard-pane { display: none; padding: clamp(20px,4vw,32px) clamp(16px,4vw,36px); }
.sts-jobboard-pane.is-active { display: block; animation: svPanelFade .35s ease both; }
.sts-jobboard-pane-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; flex-wrap: wrap; }
.sts-jobboard-pane-tag { display: inline-flex; padding: 5px 13px; border-radius: 100px; background: rgba(20,107,130,0.1); font-size: 11.5px; font-weight: 600; color: #146B82; }
.sts-jobboard-pane-title { margin-top: 14px; font-size: 26px; font-weight: 600; letter-spacing: -0.02em; color: #1A1D24; }
.sts-jobboard-pane-meta { margin-top: 8px; font-size: 13.5px; color: #8A90A4; }
.sts-jobboard-apply { text-decoration: none; }
.sts-jobboard-pane-section { margin-top: 26px; padding-top: 26px; border-top: 1px solid rgba(26,29,36,0.07); }
.sts-jobboard-pane-top + .sts-jobboard-pane-section { border-top: 1px solid rgba(26,29,36,0.07); }
.sts-jobboard-pane-label { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: #8A90A4; }
.sts-jobboard-pane-section p { margin: 12px 0 0; font-size: 14.5px; line-height: 1.7; color: #3B4152; max-width: 640px; }
.sts-jobboard-duties { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.sts-jobboard-duties li { position: relative; padding-left: 18px; font-size: 14.5px; line-height: 1.65; color: #3B4152; }
.sts-jobboard-duties li::before { content: ""; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: #146B82; }
.sts-jobboard-skills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.sts-jobboard-skills span { font-size: 12.5px; font-weight: 500; color: #4A5068; padding: 7px 14px; border-radius: 100px; background: rgba(26,29,36,0.05); }
@media (max-width: 900px) {
  .sts-jobboard-grid { grid-template-columns: 1fr; }
}
@keyframes svPanelFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

/* Apply modal (Careers job board) */
.sts-apply-modal[hidden] { display: none; }
.sts-apply-modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 24px; }
.sts-apply-modal-backdrop { position: absolute; inset: 0; background: rgba(20,22,29,0.55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.sts-apply-modal-panel { position: relative; width: 100%; max-width: 480px; border-radius: 26px; overflow: hidden; background: #FBFAF7; box-shadow: 0 30px 80px rgba(0,0,0,0.35); max-height: 88vh; display: flex; flex-direction: column; }
.sts-apply-modal-bar { height: 8px; background: linear-gradient(90deg,#0B5468,#F26A21); flex-shrink: 0; }
.sts-apply-modal-scroll { overflow-y: auto; padding: 32px 34px 34px; }
.sts-apply-modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.sts-apply-modal-eyebrow { font-size: 11.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: #146B82; }
.sts-apply-modal-role { margin-top: 4px; font-size: 19px; font-weight: 600; letter-spacing: -0.02em; color: #1A1D24; }
.sts-apply-modal-x { width: 32px; height: 32px; flex-shrink: 0; border-radius: 10px; border: 1px solid rgba(26,29,36,0.1); background: rgba(255,255,255,0.6); cursor: pointer; font-size: 15px; color: #5A6070; font-family: inherit; }
.sts-apply-modal-panel form { display: flex; flex-direction: column; gap: 14px; margin-top: 24px; }
.sts-apply-modal-panel input, .sts-apply-modal-panel textarea { padding: 13px 16px; border-radius: 12px; border: 1px solid rgba(26,29,36,0.12); background: rgba(255,255,255,0.9); font-size: 14.5px; font-family: inherit; color: #1A1D24; outline: none; width: 100%; box-sizing: border-box; }
.sts-apply-modal-panel input:focus, .sts-apply-modal-panel textarea:focus { border-color: #146B82; box-shadow: 0 0 0 3px rgba(20,107,130,0.15); }
.sts-apply-modal-panel textarea { resize: vertical; line-height: 1.6; }
.sts-apply-modal-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 460px) { .sts-apply-modal-row { grid-template-columns: 1fr; } }
.sts-apply-modal-upload { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 12px; border: 1.5px dashed rgba(26,29,36,0.18); background: rgba(255,255,255,0.6); cursor: pointer; font-size: 14px; color: #5A6070; }
.sts-apply-modal-upload:hover { border-color: #146B82; background: rgba(20,107,130,0.06); }
.sts-apply-modal-upload-icon { width: 34px; height: 34px; border-radius: 10px; background: rgba(20,107,130,0.1); display: flex; align-items: center; justify-content: center; font-size: 15px; color: #146B82; flex-shrink: 0; }
.sts-apply-modal-upload span[data-jb-resume-label] { flex: 1; }
.sts-apply-modal-submit { margin-top: 6px; text-decoration: none; color: #fff; font-size: 14.5px; font-weight: 600; padding: 14px 24px; border-radius: 12px; background: #1A1D24; border: none; cursor: pointer; font-family: inherit; transition: transform .3s cubic-bezier(0.16,1,0.3,1), background .3s ease; }
.sts-apply-modal-submit:hover { background: #2B3040; transform: translateY(-2px); }
.sts-apply-modal-success { padding: 24px 0 0; text-align: center; }
.sts-apply-modal-success[hidden] { display: none; }
.sts-apply-modal-check { width: 52px; height: 52px; margin: 0 auto; border-radius: 50%; background: rgba(20,107,130,0.1); display: flex; align-items: center; justify-content: center; font-size: 22px; color: #146B82; }
.sts-apply-modal-thanks { margin-top: 20px; font-size: 19px; font-weight: 600; letter-spacing: -0.02em; color: #1A1D24; }
.sts-apply-modal-success p { margin: 10px auto 0; max-width: 280px; font-size: 14.5px; line-height: 1.65; color: #5A6070; }
.sts-apply-modal-close-btn { margin-top: 24px; text-decoration: none; color: #1A1D24; font-size: 14px; font-weight: 600; padding: 11px 22px; border-radius: 12px; background: rgba(26,29,36,0.06); border: none; cursor: pointer; font-family: inherit; }

/* Photo gallery — "Life at STS" (Careers) — year tabs above an
   asymmetric bento mosaic. Each photo belongs to a `year`; only that
   year's grid (and film-strip, in the lightbox) is shown, switched via
   the pill tab bar — no page reload. */
.sts-photo-gallery-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.sts-photo-count { font-size: 13.5px; font-weight: 500; color: #8A90A4; }
.sts-photo-years { display: inline-flex; align-items: center; gap: 6px; padding: 6px; border-radius: 100px; background: rgba(255,255,255,0.6); border: 1px solid rgba(26,29,36,0.08); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.sts-photo-year-btn { border: none; cursor: pointer; font-family: inherit; padding: 10px 18px; border-radius: 100px; font-size: 14.5px; font-weight: 600; letter-spacing: -0.01em; background: transparent; color: #5A6070; transition: background .3s ease, color .3s ease; }
.sts-photo-year-btn.is-active { background: #146B82; color: #fff; }

/* Each year's mosaic — large (2x2) / wide (full row) / normal (1x1) via
   the `tile_size` repeater field; grid-auto-rows gives every column a
   consistent unit height so the spans line up. */
.sts-photo-gallery[hidden] { display: none; }
.sts-photo-gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 170px; gap: 18px; }
.sts-photo-tile { position: relative; margin: 0; padding: 0; border: none; background: #EEF1F4; border-radius: 22px; overflow: hidden; font-family: inherit; text-align: left; cursor: pointer; display: block; width: 100%; height: 100%; grid-column: span 1; grid-row: span 1; box-shadow: 0 14px 38px rgba(26,29,36,0.13); }
.sts-photo-tile--large { grid-column: span 2; grid-row: span 2; }
.sts-photo-tile--wide { grid-column: span 4; grid-row: span 1; }
.sts-photo-tile img { position: absolute; inset: 0; width: 100%; height: 100% !important; object-fit: cover; display: block; transition: transform .6s cubic-bezier(0.16,1,0.3,1); }
.sts-photo-tile:hover img { transform: scale(1.045); }
.sts-photo-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,12,18,0) 50%, rgba(10,12,18,0.78) 100%); pointer-events: none; }
.sts-photo-tag { position: absolute; left: 14px; top: 14px; display: inline-flex; padding: 5px 12px; border-radius: 100px; background: rgba(255,255,255,0.16); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); font-size: 11px; font-weight: 600; letter-spacing: 0.04em; color: #fff; }
.sts-photo-expand { position: absolute; right: 14px; top: 14px; width: 30px; height: 30px; border-radius: 10px; background: rgba(255,255,255,0.16); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); color: #fff; font-size: 13px; display: flex; align-items: center; justify-content: center; }
.sts-photo-caption-wrap { position: absolute; left: 16px; right: 16px; bottom: 14px; display: flex; flex-direction: column; }
.sts-photo-title { display: block; font-size: 14.5px; font-weight: 600; color: #fff; }
.sts-photo-caption { display: block; margin-top: 2px; font-size: 12px; color: rgba(255,255,255,0.75); }
@media (max-width: 900px) {
  .sts-photo-gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .sts-photo-tile--wide { grid-column: span 2; }
}
@media (max-width: 560px) {
  .sts-photo-gallery { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .sts-photo-tile--large, .sts-photo-tile--wide { grid-column: span 1; grid-row: span 1; }
}

/* Fullscreen photo lightbox (Careers "Life at STS") — the current photo
   fills almost the entire viewport (no crop — full image always
   visible), a heavily-blurred copy of it fills the backdrop behind, and
   a glass film-strip along the bottom jumps straight to any photo. On
   very wide screens the previous/next photo peeks in at reduced
   scale/opacity either side of the main photo (coverflow); below that
   they're hidden so the main photo can take the full width. */
.sts-lightbox[hidden] { display: none; }
.sts-lightbox { position: fixed; inset: 0; z-index: 210; display: flex; flex-direction: column; align-items: center; overflow: hidden; box-sizing: border-box; padding: 68px 16px 16px; height: 100vh; height: 100dvh; }
.sts-lightbox-bgwrap { position: absolute; inset: -10%; z-index: 0; overflow: hidden; }
.sts-lightbox-bg { width: 100%; height: 100%; object-fit: cover; display: block; filter: blur(70px) saturate(1.4) brightness(0.55); transform: scale(1.1); }
.sts-lightbox-scrim { position: absolute; inset: 0; z-index: 0; background: radial-gradient(ellipse at center, rgba(10,11,16,0.35) 0%, rgba(10,11,16,0.88) 68%, rgba(10,11,16,0.98) 100%); }
.sts-lightbox-close { position: fixed; top: 28px; right: 28px; z-index: 3; width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.22); background: rgba(255,255,255,0.1); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); color: #fff; font-size: 18px; cursor: pointer; font-family: inherit; }
.sts-lightbox-label { position: fixed; top: 32px; left: 32px; z-index: 3; padding: 8px 16px; border-radius: 100px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); font-size: 12.5px; font-weight: 600; letter-spacing: 0.06em; color: #fff; text-transform: uppercase; }
.sts-lightbox-stage { position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; gap: clamp(10px,2vw,32px); width: 100%; min-height: 0; flex: 1 1 auto; padding: 0 16px; box-sizing: border-box; }
.sts-lightbox-side { flex-shrink: 0; width: clamp(70px,9vw,150px); aspect-ratio: 1/1; border-radius: 18px; overflow: hidden; opacity: 0.4; filter: blur(1.5px) brightness(0.55); cursor: pointer; transition: all .5s cubic-bezier(0.16,1,0.3,1); box-shadow: 0 20px 50px rgba(0,0,0,0.4); display: none; }
.sts-lightbox-side img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sts-lightbox-side:empty, .sts-lightbox-side.is-hidden { visibility: hidden; }
.sts-lightbox-main { position: relative; z-index: 2; flex: 1; min-width: 0; height: 100%; max-width: min(94vw, 1600px); border-radius: 20px; overflow: hidden; box-shadow: 0 50px 110px rgba(0,0,0,0.55); background: rgba(10,11,16,0.4); display: flex; align-items: center; justify-content: center; }
.sts-lightbox-main img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; display: block; }
.sts-lightbox-tag { position: absolute; left: 20px; top: 20px; display: inline-flex; padding: 6px 14px; border-radius: 100px; background: rgba(255,255,255,0.16); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.22); font-size: 11.5px; font-weight: 600; letter-spacing: 0.04em; color: #fff; }
.sts-lightbox-tag:empty { display: none; }
.sts-lightbox-pos { position: absolute; right: 20px; bottom: 20px; padding: 6px 14px; border-radius: 100px; background: rgba(255,255,255,0.16); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.22); font-size: 12.5px; font-weight: 600; color: #fff; white-space: nowrap; }
.sts-lightbox-arrow { position: fixed; top: 50%; transform: translateY(-50%); z-index: 3; width: 52px; height: 52px; border-radius: 16px; border: 1px solid rgba(255,255,255,0.25); background: rgba(255,255,255,0.1); backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%); box-shadow: 0 8px 26px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.3); color: #fff; font-size: 20px; cursor: pointer; font-family: inherit; }
.sts-lightbox-arrow--prev { left: clamp(12px,3vw,48px); }
.sts-lightbox-arrow--next { right: clamp(12px,3vw,48px); }
.sts-lightbox-caption { position: relative; z-index: 2; flex-shrink: 0; margin-top: 12px; max-width: 90vw; text-align: center; font-size: 14.5px; color: rgba(255,255,255,0.75); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sts-lightbox-caption:empty { display: none; }
.sts-lightbox-filmstrip[hidden] { display: none; }
.sts-lightbox-filmstrip { position: relative; z-index: 2; flex-shrink: 0; margin-top: 12px; display: flex; gap: 10px; padding: 10px; border-radius: 20px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.16); backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%); max-width: 88vw; overflow-x: auto; }
.sts-lightbox-film-item { flex-shrink: 0; width: 56px; height: 56px; border-radius: 12px; overflow: hidden; cursor: pointer; opacity: 0.55; border: none; padding: 0; box-shadow: none; transition: all .3s cubic-bezier(0.16,1,0.3,1); }
.sts-lightbox-film-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sts-lightbox-film-item.is-active { opacity: 1; box-shadow: 0 0 0 2px #fff; }
/* Coverflow side-peeks only where there's genuinely room either side of
   a near-full-width main photo. */
@media (min-width: 1400px) {
  .sts-lightbox-side { display: block; }
  .sts-lightbox-side--prev { transform: scale(0.88) translateX(24px); }
  .sts-lightbox-side--next { transform: scale(0.88) translateX(-24px); }
  .sts-lightbox-main { max-width: min(80vw, 1400px); }
}
@media (max-width: 640px) {
  .sts-lightbox { padding: 56px 10px 10px; }
  .sts-lightbox-arrow--prev { left: 8px; }
  .sts-lightbox-arrow--next { right: 8px; }
}

/* Contact info list (Contact) */
.sts-contact-info { display: flex; flex-direction: column; gap: 18px; }
.sts-contact-row { display: flex; align-items: center; gap: 14px; text-decoration: none; color: inherit; }
.sts-contact-icon { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 12px; background: rgba(20,107,130,0.1); color: #146B82; font-size: 16px; }
.sts-contact-text { display: flex; flex-direction: column; }
.sts-contact-text strong { font-size: 14px; color: #1A1D24; }
.sts-contact-text span { margin-top: 2px; font-size: 14.5px; color: #4A5068; }
.sts-contact-photo { width: 100%; border-radius: 22px; margin-top: 8px; display: block; }

/* =======================================================================
   Blog grid + topics (Elementor `blog.json`, class-sts-blog-grid.php /
   class-sts-blog-topics.php) — both widgets query real posts/categories
   live, so these classes only handle presentation.
   ===================================================================== */
.sts-blog-empty { padding: 60px 0; text-align: center; color: #8A90A4; font-size: 14.5px; }

/* "Load more" (12 cards per reveal) — shown/hidden entirely by JS
   (main.js), never by CSS, so it's absent outright with JS disabled
   (every card renders unpaginated in that case, per progressive
   enhancement) rather than sitting there dead. */
.sts-blog-loadmore { display: block; margin: 32px auto 0; font-family: inherit; cursor: pointer; font-size: 14px; font-weight: 600; color: #3B4152; padding: 12px 28px; border-radius: 100px; background: #fff; border: 1px solid rgba(26,29,36,0.12); box-shadow: 0 1px 3px rgba(26,29,36,0.04); transition: transform .15s ease, box-shadow .15s ease; }
.sts-blog-loadmore:hover { background: #F3F2ED; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(26,29,36,0.1); }
.sts-blog-loadmore[hidden] { display: none; }

.sts-blog-badge { display: inline-flex; align-self: flex-start; padding: 5px 13px; border-radius: 100px; font-size: 11.5px; font-weight: 600; }
.sts-blog-badge--sm { padding: 4px 11px; font-size: 10.5px; }

/* Hero row: the main featured post beside 1–3 smaller "secondary
   featured" cards, matching the reference layout — a curated lead story,
   not part of the filterable/auto-sized grid below it. */
.sts-blog-hero-row { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; margin-bottom: 20px; }
@media (max-width: 900px) { .sts-blog-hero-row { grid-template-columns: 1fr; } }

.sts-blog-featured { text-decoration: none; color: #1A1D24; display: flex; flex-direction: column; border-radius: 20px; overflow: hidden; background: #fff; border: 1px solid rgba(26,29,36,0.08); box-shadow: 0 2px 14px rgba(26,29,36,0.04); transition: box-shadow .2s ease, transform .2s ease; }
.sts-blog-featured:hover { box-shadow: 0 16px 36px rgba(16,24,32,0.12); transform: translateY(-2px); }
.sts-blog-featured-media { height: 260px; background: #EDEBE4; }
.sts-blog-featured-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sts-blog-featured-body { padding: 30px clamp(20px,4vw,32px) 32px; display: flex; flex-direction: column; flex: 1; }
.sts-blog-featured-body h3 { margin: 16px 0 0; font-size: clamp(22px,3vw,26px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.28; color: #1A1D24; }
.sts-blog-featured-body p { margin: 12px 0 0; font-size: 15px; line-height: 1.65; color: #5A6070; }
.sts-blog-readmore { margin-top: 20px; font-size: 13.5px; font-weight: 600; color: #146B82; }
@media (max-width: 640px) { .sts-blog-featured { flex-direction: column; } }

.sts-blog-secondary-col { display: flex; flex-direction: column; gap: 20px; }
.sts-blog-secondary-card { text-decoration: none; color: #1A1D24; display: flex; gap: 18px; padding: 20px; border-radius: 18px; background: #fff; border: 1px solid rgba(26,29,36,0.08); box-shadow: 0 2px 14px rgba(26,29,36,0.04); flex: 1; transition: box-shadow .2s ease, transform .2s ease; }
.sts-blog-secondary-card:hover { box-shadow: 0 16px 36px rgba(16,24,32,0.12); transform: translateY(-2px); }
.sts-blog-secondary-media { width: 96px; height: 96px; flex-shrink: 0; border-radius: 14px; background: #EDEBE4; overflow: hidden; }
.sts-blog-secondary-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sts-blog-secondary-body { display: flex; flex-direction: column; min-width: 0; }
.sts-blog-secondary-body h4 { margin: 10px 0 0; font-size: 15.5px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.35; color: #1A1D24; }
.sts-blog-secondary-meta { margin-top: auto; padding-top: 10px; font-size: 12px; color: #8A90A4; }

.sts-blog-meta { margin-top: 20px; display: flex; align-items: center; gap: 10px; font-size: 12px; color: #8A90A4; }
.sts-blog-meta--sm { margin-top: auto; padding-top: 14px; }
.sts-blog-meta-dot { color: #C7CBE0; }
.sts-blog-avatar { flex: none; width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11.5px; font-weight: 600; }
.sts-blog-meta--sm .sts-blog-avatar { width: 24px; height: 24px; font-size: 10px; }

.sts-blog-filterbar { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 28px; }
.sts-blog-pill { flex-shrink: 0; font-size: 13.5px; font-weight: 500; padding: 10px 18px; border-radius: 100px; border: 1px solid rgba(26,29,36,0.1); background: #fff; color: #3B4152; cursor: pointer; font-family: inherit; box-shadow: 0 1px 3px rgba(26,29,36,0.04); transition: transform .15s ease, box-shadow .15s ease; }
.sts-blog-pill:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(26,29,36,0.1); }
.sts-blog-pill.is-active { font-weight: 600; border-color: #1A1D24; background: linear-gradient(135deg,#1A1D24,#3B4152); color: #fff; box-shadow: 0 6px 18px rgba(26,29,36,0.22); }

.sts-blog-grid-heading { margin: 0 0 28px; font-size: 28px; font-weight: 600; letter-spacing: -0.02em; color: #1A1D24; }

.sts-blog-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
.sts-blog-grid--cols-3 { grid-template-columns: repeat(3,1fr); }
.sts-blog-grid--cols-4 { grid-template-columns: repeat(4,1fr); }
.sts-blog-grid--cols-3 .sts-blog-card-media, .sts-blog-grid--cols-4 .sts-blog-card-media { height: 170px; }
.sts-blog-card { text-decoration: none; color: #1A1D24; display: flex; flex-direction: column; border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid rgba(26,29,36,0.08); box-shadow: 0 2px 14px rgba(26,29,36,0.04); transition: box-shadow .2s ease, transform .2s ease; }
.sts-blog-card:hover { box-shadow: 0 16px 36px rgba(16,24,32,0.12); transform: translateY(-2px); }
.sts-blog-card-media { height: 220px; background: #EDEBE4; }
.sts-blog-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sts-blog-card-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.sts-blog-card-body h4 { margin: 14px 0 0; font-size: 18px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.35; color: #1A1D24; }
.sts-blog-card-body p { margin: 8px 0 0; font-size: 13.5px; line-height: 1.6; color: #5A6070; }

.sts-blog-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.sts-blog-tag { font-size: 11px; font-weight: 500; color: #4A5068; padding: 4px 10px; border-radius: 100px; background: rgba(26,29,36,0.05); }

@media (max-width: 560px) { .sts-blog-grid, .sts-blog-grid--cols-3, .sts-blog-grid--cols-4 { grid-template-columns: 1fr; } }

.sts-blog-topics { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; }
.sts-blog-topics--cols-1 { grid-template-columns: 1fr; }
.sts-blog-topics--cols-3 { grid-template-columns: repeat(3,1fr); }
.sts-blog-topic { text-decoration: none; color: #1A1D24; display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; border-radius: 14px; background: #fff; border: 1px solid rgba(26,29,36,0.08); transition: box-shadow .2s ease, transform .2s ease; }
.sts-blog-topic:hover { box-shadow: 0 10px 24px rgba(26,29,36,0.08); transform: translateY(-2px); }
.sts-blog-topic-name { font-size: 14.5px; font-weight: 600; letter-spacing: -0.01em; color: #1A1D24; }
.sts-blog-topic-count { font-size: 12px; color: #8A90A4; }
@media (max-width: 640px) { .sts-blog-topics, .sts-blog-topics--cols-3 { grid-template-columns: 1fr; } }

/* Popular reads (class-sts-blog-popular.php) */
.sts-blog-popular { display: flex; flex-direction: column; }
.sts-blog-popular-row { text-decoration: none; color: #1A1D24; display: flex; align-items: center; gap: 18px; padding: 18px 4px; border-bottom: 1px solid rgba(26,29,36,0.07); }
.sts-blog-popular-rank { font-family: 'Instrument Serif', serif; font-style: italic; font-size: 24px; color: #C7CBE0; width: 32px; flex-shrink: 0; }
.sts-blog-popular-text { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 5px; }
.sts-blog-popular-title { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.4; }
.sts-blog-popular-meta { font-size: 12px; color: #8A90A4; }

/* Newsletter signup box — a plain HTML block (no Elementor Pro Form
   dependency); wire the <form> to Contact Form 7 / your ESP's own
   embed once one is installed, per blog.manifest.md. */
.sts-blog-newsletter { border-radius: 24px; padding: clamp(26px,5vw,48px) clamp(20px,5vw,56px); background: #F3F2ED; border: 1px solid rgba(26,29,36,0.07); display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.sts-blog-newsletter-title { font-size: 19px; font-weight: 600; letter-spacing: -0.015em; color: #1A1D24; }
.sts-blog-newsletter-sub { margin-top: 6px; font-size: 14.5px; color: #5A6070; }
.sts-blog-newsletter-form { display: flex; gap: 10px; flex-wrap: wrap; }
.sts-blog-newsletter-form input { padding: 13px 18px; border-radius: 12px; border: 1px solid rgba(26,29,36,0.14); background: #fff; font-size: 14.5px; font-family: inherit; color: #1A1D24; outline: none; width: 240px; max-width: 100%; }
.sts-blog-newsletter-form input:focus { border-color: #7C8CF8; }
.sts-blog-newsletter-form button { text-decoration: none; color: #fff; font-size: 14.5px; font-weight: 600; padding: 13px 24px; border-radius: 12px; background: #1A1D24; border: none; cursor: pointer; font-family: inherit; }
.sts-blog-newsletter-form button:hover { background: #2B3040; }

/* =======================================================================
   Single article page — single.php (Article.dc.html). Reuses
   sts_category_palette() / sts_reading_time() and the .sts-blog-badge /
   .sts-blog-avatar / .sts-blog-card / .sts-blog-newsletter classes above
   (same helpers class-sts-blog-grid.php uses) for the category pill,
   avatar initials, related-posts grid and newsletter box, so a related
   card here looks identical to one on the Blog page.
   ===================================================================== */
.sts-article-wrap { max-width: 1120px; margin: 0 auto; padding: 40px clamp(16px,4vw,24px) 100px; }
.sts-article-back { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-size: 13.5px; font-weight: 500; color: #5A6070; }
.sts-article-back:hover { color: #1A1D24; }

.sts-article-head { max-width: 760px; margin: 24px auto 0; }
.sts-article-head h1 { margin: 20px 0 0; font-size: clamp(30px,5vw,42px); line-height: 1.2; letter-spacing: -0.025em; font-weight: 600; color: #1A1D24; font-family: 'Geist', system-ui, sans-serif; }
.sts-article-summary { margin: 18px 0 0; font-size: 18px; line-height: 1.6; color: #5A6070; }

.sts-article-byline { margin-top: 32px; padding: 20px 0; border-top: 1px solid rgba(26,29,36,0.08); border-bottom: 1px solid rgba(26,29,36,0.08); display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.sts-article-byline-who { display: flex; align-items: center; gap: 12px; }
.sts-article-byline-name { font-size: 14.5px; font-weight: 600; color: #1A1D24; }
.sts-article-byline-meta { margin-top: 2px; font-size: 12.5px; color: #8A90A4; }
.sts-article-share { font-family: inherit; cursor: pointer; font-size: 13px; font-weight: 600; color: #3B4152; padding: 9px 16px; border-radius: 100px; background: #fff; border: 1px solid rgba(26,29,36,0.12); }
.sts-article-share:hover { background: #F3F2ED; }

.sts-article-banner { margin: 40px auto 0; max-width: 1120px; height: clamp(220px,45vw,420px); border-radius: 24px; background: #EDEBE4; overflow: hidden; }
.sts-article-banner img { width: 100%; height: 100%; object-fit: cover; display: block; }

.sts-article-tags { max-width: 760px; margin: 36px auto 0; display: flex; flex-wrap: wrap; gap: 8px; }
.sts-article-tag { text-decoration: none; font-size: 12.5px; font-weight: 500; color: #4A5068; padding: 6px 14px; border-radius: 100px; background: rgba(26,29,36,0.05); }
.sts-article-tag:hover { background: rgba(26,29,36,0.09); color: #1A1D24; }

.sts-article-author-card { max-width: 760px; margin: 44px auto 0; display: flex; align-items: center; gap: 18px; padding: 28px 30px; border-radius: 20px; background: #fff; border: 1px solid rgba(26,29,36,0.08); }
.sts-article-author-name { font-size: 15.5px; font-weight: 600; color: #1A1D24; }
.sts-article-author-bio { margin-top: 4px; font-size: 13.5px; line-height: 1.6; color: #5A6070; }

.sts-article-related { max-width: 1120px; margin: 88px auto 0; }
.sts-article-related h2 { margin: 0 0 24px; }

.sts-article-newsletter { max-width: 1120px; margin: 100px auto 0; }

@media (max-width: 640px) {
  .sts-article-byline { align-items: flex-start; }
}