/* Shared sections: inherit every palette and typeface from the active theme. */
.blocks-flow > .lc-editorial { max-width: calc(var(--container, 1180px) + 2 * var(--gutter, 24px)); margin-inline: auto; padding: clamp(48px, 7vw, 104px) var(--gutter, 24px); }
.lc-editorial { color: var(--ink); min-width: 0; }
.lc-editorial *, .lc-editorial *::before, .lc-editorial *::after { box-sizing: border-box; }
.lc-editorial-heading { max-width: 820px; margin: 0 0 clamp(28px, 4vw, 52px); }
.lc-editorial-heading .lc-section-title { font-size: clamp(1.8rem, 4vw, 3.6rem); line-height: 1.08; margin: 12px 0 20px; text-wrap: balance; }
.lc-editorial-heading .lc-section-subtitle { max-width: 680px; color: var(--ink-soft, var(--ink)); }
.lc-editorial h3 { font-family: var(--font-head); font-size: clamp(1.2rem, 2vw, 1.65rem); line-height: 1.2; color: var(--head, var(--ink)); margin: 12px 0; overflow-wrap: anywhere; }
.lc-editorial p { line-height: 1.7; overflow-wrap: anywhere; }
.lc-editorial-media { position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: var(--surface); border-radius: var(--radius, 18px); }
.lc-editorial-media > picture, .lc-editorial-media > picture > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.lc-editorial-media > .lc-ph { width: 100%; height: 100%; }
.lc-editorial-media img { transition: transform .45s ease; }
.lc-editorial-tag { display: block; font-size: .76rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.lc-editorial-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; max-width: 100%; min-height: 44px; padding-block: 10px; color: var(--ink); font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.lc-editorial-link span { flex-shrink: 0; font-size: 1.5em; transition: transform .2s ease; }
.lc-editorial-link:hover span { transform: translate(3px, -3px); }
.lc-editorial a:focus-visible, .lc-editorial button:focus-visible, .lc-editorial [tabindex="0"]:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.lc-bento-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-flow: row dense; gap: clamp(16px, 2vw, 26px); }
.lc-bento-card { min-width: 0; display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius, 18px); background: var(--surface); box-shadow: var(--shadow); }
.lc-bento-card.is-wide { grid-column: span 2; }
.lc-bento-card.is-tall { grid-row: span 2; }
.lc-bento-card.tone-accent { background: var(--accent-soft, var(--surface)); }
.lc-bento-card .lc-editorial-media { border-radius: 0; }
.lc-bento-card.is-wide .lc-editorial-media { aspect-ratio: 2.3; }
.lc-bento-card.is-tall .lc-editorial-media { flex: 1; min-height: 200px; }
.lc-bento-body { padding: clamp(22px, 3vw, 36px); }
.lc-bento-body > p { color: var(--ink-soft, var(--ink)); margin: 0; }
.lc-bento-icon { display: inline-flex; color: var(--accent); margin-bottom: 18px; }
.lc-bento-icon .lc-icon { width: 34px; height: 34px; }
.lc-bento-body .lc-editorial-link { margin-top: 18px; }
.lc-projects-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(24px, 4vw, 60px); row-gap: 48px; align-items: start; }
.lc-projects-grid.is-staggered .lc-project:nth-child(even) { padding-top: 96px; }
.lc-project { min-width: 0; }
.lc-project-body { padding: 24px 4px 0; }
.lc-project h3 { font-size: clamp(1.6rem, 3vw, 2.5rem); }
.lc-project p { color: var(--ink-soft, var(--ink)); max-width: 56ch; margin: 0 0 12px; }
.lc-comparison-scroll { max-width: 100%; overflow-x: auto; overscroll-behavior-x: contain; border-radius: var(--radius, 18px); background: var(--surface); }
.lc-comparison table { width: 100%; border-collapse: separate; border-spacing: 0; text-align: left; font-size: .95rem; }
.lc-comparison th, .lc-comparison td { min-width: 180px; padding: 24px; border: 0; border-bottom: 1px solid var(--line); vertical-align: top; overflow-wrap: anywhere; }
.lc-comparison thead th { font-family: var(--font-head); font-size: 1.15rem; padding-block: 32px; color: var(--head, var(--ink)); }
.lc-comparison tbody th { font-weight: 600; }
.lc-comparison td { color: var(--ink-soft, var(--ink)); }
.lc-comparison .is-highlighted { background: var(--accent-soft); }
.lc-comparison thead .is-highlighted { box-shadow: inset 0 4px var(--accent); }
.lc-comparison tr:last-child > * { border-bottom: 0; }
.lc-editorial-topline { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.lc-editorial-topline > .lc-editorial-heading { flex: 1; min-width: 0; }
.lc-slider-controls { display: flex; gap: 10px; flex-shrink: 0; margin-bottom: clamp(28px, 4vw, 52px); }
.lc-slider-controls[hidden] { display: none; }
.lc-slider-controls button { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--surface); color: var(--ink); border: 1px solid var(--line); font-size: 24px; cursor: pointer; }
.lc-slider-controls button:disabled { opacity: .35; cursor: default; }
.lc-teasers-track { gap: 24px; }
.lc-teasers-track.is-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lc-teasers-track.is-slider { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 4px; padding: 4px 4px 18px; overscroll-behavior-x: contain; scrollbar-width: thin; }
.lc-teaser { min-width: 0; position: relative; display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius, 18px); }
.is-slider > .lc-teaser { flex: 0 0 calc((100% - 48px) / 3); scroll-snap-align: start; }
.lc-teaser .lc-editorial-media { border-radius: var(--radius, 18px) var(--radius, 18px) 0 0; }
.lc-teaser-body { padding: 24px; flex: 1; }
.lc-teaser h3 a { color: inherit; text-decoration: none; }
.lc-teaser h3 a::after { content: ''; position: absolute; inset: 0; border-radius: var(--radius, 18px); }
.lc-teaser h3 a:focus-visible { outline: none; }
.lc-teaser:focus-within { outline: 3px solid var(--accent); outline-offset: 2px; }
.lc-teaser p { color: var(--ink-soft, var(--ink)); font-size: .93rem; margin: 0; }
.lc-teaser-arrow { display: block; margin-top: 20px; font-size: 1.7rem; }
.lc-teasers-more { margin-top: 22px; }
.lc-editorial-empty { padding: 32px; border-radius: var(--radius); background: var(--surface); }
@media (hover: hover) { .lc-project:hover .lc-editorial-media img, .lc-teaser:hover .lc-editorial-media img { transform: scale(1.025); } }
@media (max-width: 1000px) {
  .lc-bento-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lc-teasers-track.is-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .is-slider > .lc-teaser { flex-basis: calc((100% - 24px) / 2); }
}
@media (max-width: 640px) {
  .lc-bento-grid, .lc-projects-grid, .lc-teasers-track.is-grid { grid-template-columns: minmax(0, 1fr); }
  .lc-bento-card.is-wide, .lc-bento-card.is-tall { grid-column: auto; grid-row: auto; }
  .lc-bento-card.is-wide .lc-editorial-media { aspect-ratio: 16 / 10; }
  .lc-projects-grid.is-staggered .lc-project:nth-child(even) { padding-top: 0; }
  .is-slider > .lc-teaser { flex-basis: 88%; }
  .lc-editorial-topline { align-items: flex-start; flex-wrap: wrap; gap: 0; }
  .lc-editorial-topline > .lc-editorial-heading { flex-basis: 100%; }
  .lc-slider-controls { margin-top: -8px; margin-bottom: 22px; }
  .lc-comparison th, .lc-comparison td { min-width: 150px; padding: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .lc-editorial-media img, .lc-editorial-link span { transition: none; }
}
