.page-header { margin-bottom: 1.5rem; }
.page-header__eyebrow { margin-bottom: 0.5rem; color: var(--color-blue-secondary); font-size: 0.875rem; font-weight: 700; letter-spacing: 0.8px; text-transform: uppercase; }
.foundation-hero { min-height: 360px; display: grid; align-content: center; background: linear-gradient(120deg, var(--color-tint-strong), var(--color-surface)); }
.foundation-hero__copy { max-width: 620px; }
.foundation-hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.foundation-components { margin-top: 16px; }
.single-project .entry-content, .single-post .entry-content { margin-inline: auto; }
.not-found { text-align: center; }

/* Shared RU/EN Home. Language modifiers select artwork only. */
.home-responsive { --page-gutter: 48px; }
.home-page { padding-top: 0; }
.home-hero { --home-hero-art: url('../images/hero-workspace-desktop.png'); min-height: 588px; background: var(--home-hero-art) center center / cover no-repeat; }
.home-hero--ru { --home-hero-art: url('../images/hero-workspace-desktop-rus.webp'); }
.home-hero__inner { min-height: 588px; display: flex; align-items: flex-start; padding-top: 48px; }
.home-hero__copy { min-width: 0; width: 520px; }
.home-eyebrow { margin: 0 0 14px; color: var(--color-blue); font-size: 14px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; }
.home-hero h1 { max-width: 420px; margin-bottom: 12px; font-size: 56px; font-weight: 800; line-height: 60px; letter-spacing: -1.2px; }
.home-hero__copy > p:not(.home-eyebrow) { margin-bottom: 20px; color: var(--color-blue-secondary); font-size: 20px; line-height: 1.3; }
.home-actions { display: flex; flex-wrap: wrap; gap: 20px; }
.home-actions .button { min-width: 0; max-width: 100%; min-height: 60px; overflow-wrap: anywhere; }
.home-actions .button--primary { min-width: min(224px, 100%); }
.home-actions .button--secondary { min-width: min(168px, 100%); }
.home-features { background: var(--color-surface); border-radius: 0 0 16px 16px; }
.home-strip { min-height: 96px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.home-strip__item { min-width: 0; display: flex; align-items: center; gap: 20px; padding: 12px 28px; border-left: 1px solid var(--color-divider); color: var(--color-blue-secondary); font-size: 16px; font-weight: 600; line-height: 22px; }
.home-strip__item strong { min-width: 0; font-weight: inherit; overflow-wrap: anywhere; }
.home-strip__item:first-child { border-left: 0; }
.home-custom-icon { width: 48px; height: 48px; flex: none; color: var(--color-blue); }
.home-panel { width: min(1344px, calc(100% - (2 * var(--page-gutter)))); margin-inline: auto; border: 1px solid var(--color-divider); border-radius: 16px; background: var(--color-surface); box-shadow: var(--shadow-card); }
.home-panel + .home-panel { margin-top: 8px; }
.featured-project { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 24px; margin-top: 18px; padding: 30px; overflow: hidden; }
.featured-project__copy { min-width: 0; padding-top: 8px; }
.featured-project__icon { width: 84px; height: 84px; margin-bottom: 16px; border-radius: 16px; }
.featured-project h2 { margin: 0 0 12px; font-size: 34px; font-weight: 750; line-height: 38px; letter-spacing: -.7px; overflow-wrap: anywhere; }
.featured-project__description { margin: 0 0 20px; color: var(--color-blue-secondary); font-size: 16px; line-height: 22px; }
.featured-project .home-actions { gap: 10px; }
.featured-project .home-actions .button { min-width: 0; min-height: 48px; padding-inline: 16px; font-size: 14px; white-space: nowrap; }
.featured-project .home-actions .button--primary { flex: 1.1; }
.featured-project .home-actions .button--secondary { flex: 1; }
.featured-project__features { margin-top: 24px; padding-top: 4px; border-top: 1px solid var(--color-divider); }
.featured-project__feature { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; align-items: start; padding-top: 16px; }
.featured-project__feature-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 10px; color: var(--color-blue); background: var(--color-tint-strong); }
.featured-project__feature-icon .icon { width: 25px; height: 25px; }
.featured-project__feature p, .featured-project__feature span { margin: 0; }
.featured-project__feature strong, .featured-project__feature p > span { display: block; }
.featured-project__feature strong { margin-bottom: 2px; font-size: 14px; line-height: 18px; }
.featured-project__feature p > span { color: var(--color-blue-secondary); font-size: 12px; line-height: 16px; }
.featured-project__quote { position: relative; margin: 22px 0 0; padding: 18px 16px 16px 52px; border: 1px solid var(--color-border); border-radius: 12px; color: var(--color-blue); background: var(--color-tint); }
.featured-project__quote::before { position: absolute; top: 8px; left: 14px; color: #8ab9ff; font-family: Georgia, serif; font-size: 52px; font-weight: 700; line-height: 1; content: "“"; }
.featured-project__quote p { margin: 0 0 10px; font-size: 14px; font-style: italic; line-height: 20px; }
.featured-project__quote cite { color: var(--color-blue-secondary); font-size: 12px; font-style: normal; line-height: 16px; }
.featured-project__media { min-width: 0; align-self: center; }
.featured-project__media img { width: 100%; height: auto; display: block; border-radius: 12px; }
.other-projects { padding: 12px 24px 18px; }
.other-projects h2, .home-section-head h2 { margin-bottom: 8px; font-size: 28px; font-weight: 700; line-height: 34px; letter-spacing: -.4px; }
.other-projects__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 20px; }
/* Four content tracks align each card row without language-dependent heights. */
.home-project-card { position: relative; min-width: 0; display: grid; grid-row: span 4; grid-template-columns: minmax(0, 1fr); grid-template-rows: subgrid; padding: 20px; border: 1px solid var(--color-border); border-radius: 14px; background: var(--color-surface-soft); }
.home-project-card > * { min-width: 0; }
.home-project-card__head { min-height: 126px; }
.home-project-card__eyebrow { margin: 0 0 7px; color: var(--color-blue); font-size: 12px; font-weight: 700; line-height: 16px; letter-spacing: 1px; text-transform: uppercase; }
.home-project-card h3 { margin: 0 0 7px; font-size: 26px; font-weight: 750; line-height: 30px; letter-spacing: -.55px; overflow-wrap: anywhere; }
.home-project-card__description { max-width: 330px; margin: 0; color: var(--color-blue-secondary); font-size: 14px; font-weight: 400; line-height: 19px; letter-spacing: 0; }
.home-project-card__media { display: block; width: 100%; aspect-ratio: 1586 / 992; overflow: hidden; border-radius: 10px; background: var(--color-tint); }
.home-project-card__media img { width: 100%; height: 100%; object-fit: contain; }
.home-project-card__features { min-height: 76px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; border-bottom: 1px solid var(--color-divider); }
.home-project-card__feature { min-width: 0; display: flex; align-items: center; gap: 7px; padding: 13px 8px; color: var(--color-navy); font-size: 12px; font-weight: 600; line-height: 15px; letter-spacing: 0; }
.home-project-card__feature + .home-project-card__feature { border-left: 1px solid var(--color-divider); }
.home-project-card__feature .icon { width: 26px; height: 26px; flex: none; color: var(--color-blue); stroke-width: 2; }
.home-project-card__feature span { min-width: 0; overflow-wrap: anywhere; }
.home-project-card__cta { width: fit-content; min-width: min(168px, 100%); max-width: 100%; min-height: 48px; justify-self: start; align-self: start; padding: 10px 18px; font-size: 14px; font-weight: 700; line-height: 18px; letter-spacing: 0; overflow-wrap: anywhere; }
.home-metrics { min-height: 120px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding-inline: 32px; }
.home-metric { min-width: 0; display: flex; align-items: center; gap: 18px; padding: 12px 24px; border-left: 1px solid var(--color-divider); }
.home-metric:first-child { border-left: 0; }
.home-metric p { min-width: 0; overflow-wrap: anywhere; }
.home-metric p, .home-metric span { display: block; margin: 0; color: var(--color-blue-secondary); font-size: 14px; line-height: 18px; }
.home-metric strong { display: block; color: var(--color-navy); font-size: 22px; font-weight: 700; line-height: 26px; }
.home-blog { min-height: 274px; padding: 14px 32px; }
.home-section-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px; }
.home-section-head h2 { min-width: 0; }
.home-section-head .text-link { max-width: 100%; overflow-wrap: anywhere; }
.home-blog__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; }
.home-post { min-width: 0; display: grid; grid-template-columns: 210px minmax(0, 1fr); border: 1px solid var(--color-border); border-radius: 10px; }
.home-post__media { position: relative; min-width: 0; min-height: 96px; overflow: hidden; border-radius: 9px 0 0 9px; background: var(--color-tint-strong); }
/* The image fills the content-driven row without contributing an intrinsic row minimum. */
.home-post__media img, .home-post__media span { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.home-post__media span { display: block; background: linear-gradient(135deg, var(--color-tint-strong), var(--color-tint)); }
.home-post > div { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 8px 12px; }
.home-post h3 { margin: 0; font-size: 16px; line-height: 1.2; overflow-wrap: anywhere; }
.home-post h3 a { color: var(--color-navy); text-decoration: none; }
.home-post time { color: var(--color-muted); font-size: 12px; line-height: 18px; }
.home-post .text-link { margin-top: auto; align-self: flex-end; font-size: 13px; }
.home-gallery { min-height: 150px; padding: 12px 32px 20px; }
.home-gallery__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.home-gallery__grid a { display: block; min-width: 0; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 10px; }
.home-gallery__grid img { width: 100%; height: 100%; object-fit: cover; }
.home-empty { display: grid; min-height: 80px; place-items: center; margin: 0; color: var(--color-muted); border: 1px dashed var(--color-border-strong); border-radius: 10px; }

/* Compact desktop and the common foundations for narrower Home modes. */
@media (width < 1280px) {
  .home-responsive { --page-gutter: 32px; }
  /* Reserve a safe copy boundary before the monitor in the approved background. */
  .home-hero__inner { padding-top: 40px; }
  .home-hero__copy { width: calc(50% - 160px); }
  .home-hero h1 { font-size: clamp(44px, calc(4.6875vw - 4px), 56px); line-height: 1.0714286; }
  .home-hero__copy > p:not(.home-eyebrow) { font-size: clamp(16px, 1.6vw, 20px); line-height: 1.4; }
  .home-actions { gap: 12px; }
  .home-actions .button { min-height: 48px; font-size: 15px; padding: 10px 16px; }
  .home-actions .button--primary, .home-actions .button--secondary { min-width: 0; }
  .home-strip, .home-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-strip__item { padding: 18px 24px; }
  .home-strip__item:nth-child(odd), .home-metric:nth-child(odd) { border-left: 0; }
  .home-strip__item:nth-child(n+3), .home-metric:nth-child(n+3) { border-top: 1px solid var(--color-divider); }
  .home-panel + .home-panel { margin-top: 16px; }
  .featured-project { padding: 24px; gap: 20px; }
  .other-projects { padding: 20px; }
  .other-projects__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-project-card__head { min-height: 0; }
  .home-project-card__description { max-width: none; }
  .home-project-card__features { min-height: 0; grid-template-columns: minmax(0, 1fr); padding-block: 8px; }
  .home-project-card__feature { gap: 12px; padding: 8px 0; font-size: 14px; line-height: 20px; }
  .home-project-card__feature + .home-project-card__feature { border-left: 0; }
  .home-metrics { padding-inline: 16px; }
  .home-metric { padding: 20px; }
  .home-blog, .home-gallery { min-height: 0; padding: 20px; }
  .home-post { grid-template-columns: minmax(0, .65fr) minmax(0, 1fr); }
}

/* Tablet: shared text-first artwork stacks and earlier Home navigation. */
@media (width < 1024px) {
  .home-responsive { --page-gutter: 24px; }
  .home-hero { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; min-height: 0; padding: 0 var(--page-gutter) 24px; background: none; }
  .home-hero__inner { width: 100%; min-height: 0; padding: 32px 0 24px; }
  .home-hero__copy { width: 100%; max-width: 620px; }
  .home-hero::after { content: ""; display: block; width: min(100%, 960px); justify-self: center; aspect-ratio: 1942 / 809; background: var(--home-hero-art) center / contain no-repeat; }
  .home-hero h1 { max-width: 100%; font-size: clamp(30px, 4.375vw, 44px); }
  .featured-project { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .featured-project__copy { padding-top: 0; }
  .featured-project .home-actions .button { flex: 0 1 auto; }
  .featured-project__media { width: min(100%, 760px); justify-self: center; }
  .home-blog__grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .home-post { grid-template-columns: minmax(96px, .4fr) minmax(0, 1fr); }
  .home-post time, .home-post .text-link { font-size: 14px; line-height: 20px; }
}

/* Mobile: one project per row, readable text, two photographs. */
@media (width < 768px) {
  .home-responsive { --page-gutter: 16px; }
  .home-page { padding-bottom: 24px; }
  .home-hero__inner { padding-top: 24px; }
  .home-eyebrow { font-size: 12px; line-height: 18px; margin-bottom: 10px; }
  .home-features { border-radius: 0 0 10px 10px; }
  .home-strip__item { padding: 16px; gap: 12px; font-size: 14px; line-height: 20px; }
  .home-strip__item .home-custom-icon { width: 36px; height: 36px; }
  .home-panel { border-radius: 10px; }
  .featured-project, .other-projects, .home-blog, .home-gallery { padding: 16px; }
  .featured-project__icon { width: 64px; height: 64px; margin-bottom: 12px; border-radius: 12px; }
  .featured-project h2 { font-size: 28px; line-height: 32px; }
  .featured-project__feature p > span { font-size: 14px; line-height: 20px; }
  .featured-project__quote cite { font-size: 13px; line-height: 18px; }
  .featured-project__media img { border-radius: 8px; }
  .other-projects h2, .home-section-head h2 { font-size: 24px; line-height: 30px; }
  .other-projects__grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .home-project-card { display: flex; flex-direction: column; gap: 16px; grid-row: auto; padding: 16px; border-radius: 9px; }
  .home-project-card h3 { font-size: 24px; line-height: 28px; }
  .home-project-card__description { font-size: 14px; line-height: 20px; }
  .home-project-card__media { border-radius: 7px; }
  .home-project-card__cta { align-self: flex-start; }
  .home-metrics { min-height: 0; padding-inline: 0; }
  .home-metric { gap: 12px; padding: 16px; }
  .home-metric .home-custom-icon { width: 36px; height: 36px; }
  .home-post { grid-template-columns: minmax(80px, .35fr) minmax(0, 1fr); }
  .home-post h3 { line-height: 22px; }
  .home-post > div { padding: 12px; gap: 8px; }
  .home-section-head .text-link { font-size: 14px; line-height: 20px; }
  .home-gallery__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .home-gallery__grid a { border-radius: 7px; }
}

/* Small mobile: single-cell strips, stacked actions and all three photographs. */
@media (width < 480px) {
  .home-responsive { --page-gutter: 12px; }
  .home-actions { flex-direction: column; align-items: stretch; }
  .home-actions .button { width: 100%; min-height: 48px; }
  .home-strip, .home-metrics { grid-template-columns: minmax(0, 1fr); }
  .home-strip__item, .home-metric { border-left: 0; }
  .home-strip__item + .home-strip__item, .home-metric + .home-metric { border-top: 1px solid var(--color-divider); }
  .home-gallery__grid { grid-template-columns: minmax(0, 1fr); }
}

/* English Gallery */
.gallery-page { padding-block: 18px 50px; background: #f0faff; }
.gallery-shell { width: min(1344px, calc(100% - 80px)); margin-inline: auto; }
.gallery-intro { margin-bottom: 14px; padding: 20px 32px 16px; border: 1px solid var(--color-divider); border-radius: 12px; background: rgb(255 255 255 / 82%); box-shadow: 0 2px 12px rgb(20 73 122 / 5%); }
.gallery-intro__eyebrow { margin: 0 0 2px; color: var(--color-blue); font-size: 0.96rem; font-weight: 500; text-transform: uppercase; }
.gallery-intro h1 { margin: 0; color: var(--color-navy); font-size: clamp(2.75rem, 3.6vw, 3.45rem); line-height: 1; letter-spacing: -0.045em; }
.gallery-intro__lead { margin: 8px 0 0; color: var(--color-navy); font-size: 1.25rem; line-height: 1.25; }
.gallery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.gallery-card { min-width: 0; overflow: hidden; border: 1px solid var(--color-divider); border-radius: 11px; background: rgb(255 255 255 / 90%); box-shadow: 0 2px 10px rgb(20 73 122 / 5%); }
.gallery-card__media { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; height: 148px; margin: 13px 16px 0; overflow: hidden; border-radius: 8px; }
.gallery-card__media--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gallery-card__media--1 { grid-template-columns: 1fr; }
.gallery-card__media img { width: 100%; height: 100%; object-fit: cover; }
.gallery-card__body { position: relative; min-height: 96px; padding: 7px 192px 10px 16px; }
.gallery-card time { display: block; margin-bottom: 3px; color: var(--color-blue-light); font-size: 0.75rem; line-height: 1.2; }
.gallery-card h2 { display: -webkit-box; min-height: 2.35em; margin: 0; overflow: hidden; color: var(--color-navy); font-size: 1.08rem; font-weight: 720; line-height: 1.17; letter-spacing: -0.025em; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.gallery-card h2 a { color: inherit; text-decoration: none; }
.gallery-card h2 a:hover { color: var(--color-blue); }
.gallery-card__link { position: absolute; right: 16px; top: 24px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-width: 146px; min-height: 39px; padding: 8px 14px; border: 1px solid #cbdcff; border-radius: 9px; color: var(--color-blue); font-size: 0.85rem; text-decoration: none; }
.gallery-card__link:hover { border-color: var(--color-blue); background: var(--color-tint); }
.gallery-card__link .icon { width: 15px; height: 15px; }

@media (max-width: 899px) {
  .gallery-page { padding-block: 14px 32px; }
  .gallery-shell { width: min(672px, calc(100% - 48px)); }
  .gallery-intro { padding: 20px 24px 18px; }
  .gallery-grid { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  .gallery-page { padding-block: 0 18px; }
  .gallery-shell { width: 100%; }
  .gallery-intro { margin-bottom: 8px; padding: 19px 14px 17px; border-inline: 0; border-radius: 0 0 10px 10px; }
  .gallery-intro__eyebrow { font-size: 0.78rem; }
  .gallery-intro h1 { font-size: 2.45rem; }
  .gallery-intro__lead { margin-top: 7px; font-size: 1rem; }
  .gallery-grid { gap: 8px; padding-inline: 10px; }
  .gallery-card__media { height: 112px; margin: 10px 10px 0; gap: 4px; border-radius: 7px; }
  .gallery-card__body { min-height: 0; padding: 8px 10px 10px; }
  .gallery-card h2 { min-height: 0; font-size: 1rem; }
  .gallery-card__link { position: static; min-width: 132px; min-height: 36px; margin-top: 6px; }
}

/* English Projects index */
.projects-index { padding: 38px 0 20px; background: radial-gradient(circle at 74% 7%, rgb(0 98 253 / 7%) 0 9%, transparent 24%), var(--color-page); }
.projects-intro { min-height: 172px; display: flex; align-items: center; justify-content: space-between; gap: 48px; padding: 8px 28px 22px; }
.projects-intro__copy { max-width: 760px; }
.projects-intro h1 { margin: 0 0 2px; font-size: 48px; font-weight: 800; line-height: 54px; letter-spacing: -1.2px; }
.projects-intro h2 { margin: 0 0 8px; color: var(--color-blue); font-size: 27px; font-weight: 700; line-height: 34px; letter-spacing: -.45px; }
.projects-intro p { max-width: 720px; margin: 0; color: var(--color-blue-secondary); font-size: 18px; line-height: 26px; }
.projects-intro__statement { min-width: 360px; display: flex; align-items: center; gap: 16px; color: var(--color-blue); font-size: 20px; line-height: 25px; }
.projects-intro__glow { position: relative; width: 128px; height: 128px; display: grid; flex: none; place-items: center; }
.projects-intro__glow::before { position: absolute; inset: -8.5%; border-radius: 50%; background: linear-gradient(90deg, rgb(225 238 254) 0 50%, rgb(235 246 253) 74%, rgb(244 250 254) 100%); content: ""; }
.projects-intro__icon { position: relative; width: 86px; height: 86px; color: var(--color-blue); }
.projects-intro__statement strong { position: relative; z-index: 1; font-weight: 700; }
.projects-filters { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-bottom: 26px; }
.projects-filter { min-height: 58px; padding: 8px 14px; border: 1px solid var(--color-border); border-radius: 9px; color: var(--color-blue); background: var(--color-tint-strong); font-weight: 600; cursor: pointer; }
.projects-filter:hover { border-color: #9fc6f3; background: #e2f1fd; }
.projects-filter.is-active { color: #fff; border-color: var(--color-blue); background: var(--color-blue); box-shadow: var(--shadow-button); }
.projects-list { display: grid; gap: 24px; }
.projects-row { min-height: 306px; display: grid; grid-template-columns: minmax(440px, 1fr) minmax(0, 1.1fr); overflow: hidden; border: 1px solid var(--color-divider); border-radius: 18px; background: var(--color-surface); box-shadow: var(--shadow-card); }
.projects-row[hidden] { display: none; }
.projects-row__content { min-width: 0; display: flex; flex-direction: column; justify-content: center; padding: 32px 32px 28px; }
.projects-row__heading { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 20px; align-items: center; }
.projects-row__identity { width: 112px; height: 112px; display: grid; place-items: center; overflow: hidden; border-radius: 16px; color: var(--color-blue); background: var(--color-tint); }
.projects-row__identity img { width: 88px; height: 88px; object-fit: contain; }
.projects-row__identity--ngm img { width: 100px; height: 100px; }
.projects-row__identity--email { position: relative; }
.projects-row__identity--email img { position: absolute; top: 50%; left: 50%; width: 148px; max-width: none; height: 148px; transform: translate(-50%, -50%); }
.projects-row__identity-icon { width: 72px; height: 72px; }
.projects-row__heading h2 { margin: 0 0 8px; font-size: 27px; font-weight: 750; line-height: 33px; letter-spacing: -.55px; }
.projects-row__heading p { max-width: 510px; margin: 0; color: var(--color-blue-secondary); font-size: 16px; line-height: 22px; }
.projects-row__labels { display: flex; flex-wrap: wrap; gap: 8px 14px; margin: 25px 0 17px 132px; padding: 0; list-style: none; }
.projects-row__labels li { min-height: 32px; display: inline-flex; align-items: center; gap: 6px; color: var(--color-blue-secondary); font-size: 12px; font-weight: 500; line-height: 18px; }
.projects-row__label-icon { width: 21px; height: 21px; flex: none; color: var(--color-blue); }
.projects-row__link { min-height: 44px; align-self: flex-start; margin-left: 132px; font-size: 16px; line-height: 22px; }
.projects-row__link span { font-size: 22px; }
.projects-row__artwork { min-width: 0; display: grid; place-items: center; padding: 10px 12px 10px 0; background: linear-gradient(135deg, var(--color-tint) 0%, #edf7fd 100%); }
.projects-row__artwork img { width: 100%; height: 284px; object-fit: contain; }
.projects-contact { min-height: 116px; display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 212px; padding: 20px 28px; border: 1px solid var(--color-border); border-radius: 16px; background: rgb(255 255 255 / 68%); }
.projects-contact__copy { display: flex; align-items: center; gap: 24px; }
.projects-contact__icon { width: 58px; height: 58px; flex: none; color: var(--color-blue); }
.projects-contact h2 { margin: 0 0 3px; font-size: 22px; line-height: 28px; }
.projects-contact p { margin: 0; color: var(--color-blue-secondary); }
.projects-contact__link { min-width: 262px; min-height: 60px; display: inline-flex; align-items: center; justify-content: center; gap: 16px; border: 2px solid var(--color-blue); border-radius: 10px; color: var(--color-blue); font-weight: 700; text-decoration: none; }
.projects-contact__link:hover { color: #fff; background: var(--color-blue); }

@media (max-width: 1023px) {
	.projects-index { padding-top: 24px; }
	.projects-intro { min-height: 150px; padding-inline: 10px; }
	.projects-intro h1 { font-size: 42px; line-height: 48px; }
	.projects-intro h2 { font-size: 23px; line-height: 29px; }
	.projects-intro p { font-size: 16px; line-height: 23px; }
	.projects-intro__statement { min-width: 250px; gap: 12px; font-size: 16px; line-height: 21px; }
	.projects-intro__glow { width: 96px; height: 96px; }
	.projects-intro__icon { width: 68px; height: 68px; }
	.projects-filters { gap: 10px; }
	.projects-filter { min-height: 54px; padding-inline: 8px; font-size: 13px; }
	.projects-row { min-height: 278px; grid-template-columns: minmax(360px, .95fr) minmax(0, 1.05fr); }
	.projects-row__content { padding: 24px 20px; }
	.projects-row__heading { grid-template-columns: 82px minmax(0, 1fr); gap: 14px; }
	.projects-row__identity { width: 82px; height: 82px; border-radius: 12px; }
	.projects-row__identity img { width: 68px; height: 68px; }
	.projects-row__identity--ngm img { width: 77px; height: 77px; }
	.projects-row__identity--email img { width: 114px; height: 114px; }
	.projects-row__identity-icon { width: 56px; height: 56px; }
	.projects-row__heading h2 { font-size: 22px; line-height: 27px; }
	.projects-row__heading p { font-size: 14px; line-height: 19px; }
	.projects-row__labels { margin: 20px 0 11px 96px; gap: 6px 13px; }
	.projects-row__labels li { min-height: 30px; gap: 5px; font-size: 11px; }
	.projects-row__label-icon { width: 20px; height: 20px; }
	.projects-row__link { margin-left: 96px; font-size: 14px; }
	.projects-row__artwork { padding-right: 8px; }
	.projects-row__artwork img { height: 258px; }
	.projects-contact { margin-top: 100px; }
}

/* English About */
.about-page { padding: 18px 0 38px; color: var(--color-navy); background: #edf8ff; }
.about-shell { width: min(var(--content-max), calc(100% - (2 * var(--page-gutter)))); display: grid; gap: 14px; margin-inline: auto; }
.about-hero, .about-panel, .about-contact, .about-facts { border: 1px solid rgb(217 232 245 / 85%); border-radius: 16px; background: #fff; box-shadow: 0 2px 18px rgb(21 98 180 / 5%); }
.about-hero { min-height: 430px; display: grid; grid-template-columns: 1.03fr .97fr; overflow: hidden; }
.about-hero__copy { z-index: 1; align-self: center; padding: 42px 18px 42px 42px; }
.about-eyebrow { margin: 0 0 8px; color: var(--color-blue); font-size: 12px; font-weight: 750; letter-spacing: .08em; line-height: 1.25; text-transform: uppercase; }
.about-hero h1 { max-width: 660px; margin: 0 0 14px; font-size: clamp(38px, 4vw, 56px); line-height: 1.04; letter-spacing: -.04em; }
.about-hero__intro { max-width: 620px; margin: 0; color: #355e99; font-size: 16px; line-height: 1.5; }
.about-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.about-hero__portrait { position: relative; min-width: 0; background: #e8f5ff; }
.about-hero__portrait::after { position: absolute; inset: 0 auto 0 0; width: 24%; content: ""; background: linear-gradient(90deg, #fff, transparent); pointer-events: none; }
.about-hero__portrait img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: 44% center; }
.about-facts { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; margin: 0; padding: 0; overflow: hidden; list-style: none; background: var(--color-border); }
.about-facts li { min-width: 0; min-height: 96px; display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: #fff; }
.about-fact__icon { width: 46px; height: 46px; flex: none; padding: 8px; border-radius: 11px; color: var(--color-blue); background: var(--color-tint-strong); }
.about-facts strong, .about-facts span { display: block; }
.about-facts strong { margin-bottom: 3px; font-size: 14px; line-height: 1.18; }
.about-facts span { color: #456a9d; font-size: 11px; line-height: 1.25; }
.about-panel { padding: 30px; }
.about-panel h2, .about-contact h2 { margin: 0; font-size: clamp(25px, 2.3vw, 32px); line-height: 1.12; letter-spacing: -.025em; }
.about-overview { display: grid; grid-template-columns: .85fr 1.15fr; gap: 14px; }
.about-overview > .about-panel { min-width: 0; padding: 22px; }
.about-section-title { display: flex; align-items: center; gap: 14px; margin-bottom: 15px; }
.about-section-title h2 { font-size: 25px; }
.about-title-icon { width: 44px; height: 44px; display: grid; flex: none; place-items: center; border-radius: 10px; color: var(--color-blue); background: var(--color-tint-strong); }
.about-title-icon .icon { width: 26px; height: 26px; }
.about-summary__copy p { margin: 0; color: #355e99; font-size: 14px; line-height: 1.48; }
.about-summary__copy p + p { margin-top: 14px; }
.about-strengths { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.about-strengths article { min-width: 0; min-height: 137px; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 10px; align-content: start; padding: 13px; border: 1px solid var(--color-border); border-radius: 10px; background: var(--color-surface-soft); }
.about-strengths article > img { width: 40px; height: 40px; padding: 7px; border-radius: 9px; background: var(--color-tint-strong); }
.about-strengths h3 { margin: 3px 0 8px; font-size: 14.4px; line-height: 1.22; }
.about-strengths p { grid-column: 1 / -1; }
.about-strengths p, .about-personal p, .about-contact p { margin: 0; color: #456a9d; font-size: 11px; line-height: 1.38; }
.about-strengths p { font-size: 13.2px; }
.about-experience { display: grid; grid-template-columns: .95fr 1.05fr; gap: 14px; }
.about-experience > .about-panel { min-width: 0; padding: 22px; }
.about-section-title img { display: block; }
.about-timeline { position: relative; display: grid; gap: 14px; margin: 0; padding: 0 0 0 36px; list-style: none; }
.about-timeline::before { position: absolute; top: 8px; bottom: 12px; left: 8px; width: 2px; content: ""; background: var(--color-blue); }
.about-timeline li { position: relative; display: grid; grid-template-columns: 118px minmax(0, 1fr); gap: 12px; }
.about-timeline li::before { position: absolute; top: 4px; left: -35px; width: 16px; height: 16px; border: 4px solid #dcecff; border-radius: 50%; content: ""; background: var(--color-blue); }
.about-timeline time { color: #174c91; font-size: 14.4px; font-weight: 750; line-height: 1.3; }
.about-timeline li > div { padding-left: 14px; border-left: 1px solid var(--color-border); }
.about-timeline h3, .about-timeline strong { display: block; margin: 0; font-size: 14.4px; line-height: 1.25; }
.about-timeline p { margin: 3px 0 0; color: #456a9d; font-size: 13.2px; line-height: 1.35; }
.about-cv-link { min-width: 152px; min-height: 42px; margin: 14px 0 0; padding: 7px 16px; font-size: 13px; }
.about-software { display: flex; flex-direction: column; }
.about-software__steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 4px 0 14px; padding: 0; list-style: none; }
.about-software__steps li { position: relative; min-width: 0; min-height: 258px; padding: 18px 10px 12px; border: 1px solid var(--color-border); border-radius: 11px; text-align: center; background: var(--color-surface-soft); }
.about-software__steps li:not(:last-child)::after { position: absolute; z-index: 2; top: 35px; right: -13px; color: var(--color-blue); content: "→"; font-size: 23px; }
.about-step-number { position: absolute; top: -14px; left: 50%; width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--color-blue); font-size: 12px; font-weight: 750; transform: translateX(-50%); }
.about-software__steps img { width: 48px; height: 48px; margin: 0 auto 7px; padding: 8px; border-radius: 10px; background: var(--color-tint-strong); }
.about-software__steps h3 { margin: 0 0 10px; font-size: 14.4px; line-height: 1.18; }
.about-software__steps p { margin: 0; color: #456a9d; font-size: 13.2px; line-height: 1.35; }
.about-software__result { min-height: 54px; display: flex; align-items: center; gap: 12px; margin: auto 0 0; padding: 9px 14px; border: 1px solid var(--color-border); border-radius: 10px; color: var(--color-blue); background: var(--color-tint); font-size: 13px; }
.about-software__result img { width: 30px; height: 30px; }
.about-projects-skills { display: grid; grid-template-columns: 1.05fr .95fr; gap: 14px; }
.about-projects-skills > .about-panel { min-width: 0; padding: 22px; }
.about-selected__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.about-selected__grid article { min-width: 0; min-height: 270px; display: flex; flex-direction: column; align-items: flex-start; padding: 14px; border: 1px solid var(--color-border); border-radius: 10px; background: var(--color-surface-soft); }
.about-selected__identity { width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 9px; border-radius: 10px; object-fit: contain; }
.about-selected__identity--crm { color: #fff; background: var(--color-blue); }
.about-selected__identity--crm .icon { width: 31px; height: 31px; }
.about-selected__identity--email { transform: scale(1.43); transform-origin: center; }
.about-selected__grid h3 { margin: 0 0 8px; font-size: 14.4px; line-height: 1.15; }
.about-selected__grid p { margin: 0 0 12px; color: #456a9d; font-size: 13.2px; line-height: 1.38; }
.about-selected__grid .text-link { margin-top: auto; font-size: 14.4px; }
.about-skills__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.about-skills__grid article { min-width: 0; min-height: 160px; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 9px; padding: 11px; border: 1px solid var(--color-border); border-radius: 10px; background: var(--color-surface-soft); }
.about-skills__grid article > img, .about-skills__icon { width: 34px; height: 34px; padding: 5px; border-radius: 8px; background: var(--color-tint-strong); }
.about-skills__icon { color: var(--color-blue); }
.about-skills__grid h3 { margin: 1px 0 4px; font-size: 14.4px; line-height: 1.2; }
.about-skills__grid ul { margin: 0; padding-left: 16px; color: #456a9d; font-size: 13.2px; line-height: 1.4; }
.about-approach-personal { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.about-approach-personal > .about-panel { min-width: 0; padding: 22px; }
.about-approach__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; }
.about-approach__grid article { min-width: 0; min-height: 170px; padding: 11px; border: 1px solid var(--color-border); border-radius: 10px; background: var(--color-surface-soft); }
.about-approach__grid article > img { width: 34px; height: 34px; float: left; margin: 0 8px 5px 0; padding: 5px; border-radius: 8px; background: var(--color-tint-strong); }
.about-approach__grid h3 { min-height: 35px; margin: 1px 0 9px; font-size: 14.4px; line-height: 1.2; }
.about-approach__grid p { clear: both; margin: 0; color: #456a9d; font-size: 13.2px; line-height: 1.38; }
.about-personal__body { display: grid; grid-template-columns: minmax(0, 1fr) 146px; gap: 18px; align-items: start; }
.about-personal__body > p { font-size: 13.2px; line-height: 1.48; }
.about-personal figure { min-width: 0; margin: 0; }
.about-personal figure img { width: 100%; aspect-ratio: 1.45 / 1; display: block; border-radius: 9px; object-fit: cover; }
.about-personal figcaption { margin-top: 6px; color: #456a9d; font-size: 11px; text-align: center; }
.about-contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 30px; align-items: center; padding: 30px; scroll-margin-top: 20px; }
.about-contact h2 { margin-bottom: 8px; }
.about-contact__links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.about-contact__links a { min-width: 0; min-height: 74px; display: flex; align-items: center; gap: 10px; padding: 12px; border: 1px solid var(--color-border); border-radius: 10px; color: var(--color-navy); text-decoration: none; }
.about-contact__links .icon { width: 24px; height: 24px; color: var(--color-blue); }
.about-contact__links span, .about-contact__links small { min-width: 0; display: block; overflow-wrap: anywhere; }
.about-contact > div > p { font-size: 13.2px; }
.about-contact__links span { font-size: 14.4px; font-weight: 700; }
.about-contact__links small { margin-bottom: 2px; color: #5577a5; font-size: 11px; font-weight: 500; text-transform: uppercase; }
@media (max-width: 1023px) {
	.about-hero { min-height: 380px; grid-template-columns: 1.08fr .92fr; }
	.about-hero__copy { padding: 30px 12px 30px 28px; }
	.about-hero__intro { font-size: 14px; }
	.about-facts { grid-template-columns: repeat(3, 1fr); }
	.about-facts li:last-child { grid-column: span 2; }
	.about-overview { grid-template-columns: 1fr; }
	.about-strengths { grid-template-columns: repeat(3, 1fr); }
	.about-experience { grid-template-columns: 1fr; }
	.about-projects-skills { grid-template-columns: 1fr; }
	.about-approach-personal { grid-template-columns: 1fr; }
	.about-contact { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
	.about-page { padding: 10px 0 14px; }
	.about-shell { width: calc(100% - 12px); gap: 8px; }
	.about-hero, .about-panel, .about-contact, .about-facts { border-radius: 10px; }
	.about-hero { display: flex; min-height: 0; flex-direction: column; }
	.about-hero__copy { padding: 22px 18px 20px; }
	.about-hero h1 { font-size: 32px; }
	.about-actions { gap: 8px; margin-top: 18px; }
	.about-actions .button { flex: 1 1 145px; min-height: 46px; padding-inline: 11px; font-size: 13px; }
	.about-hero__portrait { order: -1; height: 235px; }
	.about-hero__portrait::after { display: none; }
	.about-hero__portrait img { object-position: 45% 36%; }
	.about-facts { grid-template-columns: repeat(2, 1fr); }
	.about-facts li { min-height: 82px; gap: 8px; padding: 10px; }
	.about-facts li:last-child { grid-column: 1 / -1; }
	.about-fact__icon { width: 36px; height: 36px; padding: 6px; }
	.about-facts strong { font-size: 14px; }
	.about-facts span { font-size: 12px; }
	.about-panel, .about-contact { padding: 20px 17px; }
	.about-approach__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.about-personal__body { grid-template-columns: 1fr; }
	.about-personal figure { max-width: 100%; }
	.about-summary__copy p { font-size: 14px; }
	.about-section-title h2 { font-size: 22px; }
	.about-strengths { grid-template-columns: repeat(2, 1fr); gap: 7px; }
	.about-strengths article { min-height: 142px; grid-template-columns: 34px minmax(0, 1fr); gap: 7px; padding: 10px; }
	.about-strengths article > img { width: 34px; height: 34px; padding: 5px; }
	.about-strengths h3 { font-size: 13.2px; }
	.about-strengths p { font-size: 13.2px; }
	.about-timeline { gap: 13px; padding-left: 25px; }
	.about-timeline::before { left: 6px; }
	.about-timeline li { grid-template-columns: 86px minmax(0, 1fr); gap: 6px; }
	.about-timeline li::before { left: -25px; width: 14px; height: 14px; }
	.about-timeline time, .about-timeline h3, .about-timeline strong { font-size: 14.4px; }
	.about-timeline li > div { padding-left: 8px; }
	.about-timeline p { font-size: 13.2px; }
	.about-software__steps { grid-template-columns: repeat(2, 1fr); gap: 20px 7px; }
	.about-software__steps li { min-height: 258px; }
	.about-software__steps li::after { display: none; }
	.about-software__result { font-size: 13.2px; }
	.about-selected__grid { grid-template-columns: 1fr; }
	.about-selected__grid article { min-height: 0; display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 10px; }
	.about-selected__identity { grid-row: 1 / 4; }
	.about-selected__grid h3, .about-selected__grid p, .about-selected__grid .text-link { grid-column: 2; }
	.about-selected__grid p { margin-bottom: 8px; }
	.about-skills__grid { gap: 7px; }
	.about-skills__grid article { min-height: 160px; padding: 9px; }
	.about-contact__links { grid-template-columns: 1fr; }
	.about-contact__links a { min-height: 58px; }
}

/* Keep About cards readable in both languages on mobile. */
@media (max-width: 767px) {
	.about-page .about-strengths { grid-template-columns: 1fr; }
	.about-page .about-strengths article { min-height: 0; }
	.about-page .about-skills__grid { grid-template-columns: 1fr; }
	.about-page .about-skills__grid article { min-height: 0; }
	.about-page .about-strengths h3,
	.about-page .about-strengths p,
	.about-page .about-section-title h2,
	.about-page .about-software__steps p,
	.about-page .about-selected__grid h3,
	.about-page .about-skills__grid,
	.about-page .about-timeline { overflow-wrap: anywhere; }
}

@media (max-width: 350px) {
	.about-page .about-facts { grid-template-columns: 1fr; }
	.about-page .about-facts li:last-child { grid-column: auto; }
}

/* English EmailMessenger project detail. */
.email-detail { padding-block: 18px 24px; background: radial-gradient(circle at 52% 7%, rgb(0 164 160 / 7%), transparent 29%), var(--color-page); }
.email-detail__article { display: grid; gap: 12px; }
.email-panel { border: 1px solid var(--color-divider); border-radius: 14px; background: rgb(255 255 255 / 94%); box-shadow: var(--shadow-card); }
.email-section { min-width: 0; padding: 18px 24px; }
.email-section h2 { margin: 0 0 7px; font-size: 22px; line-height: 27px; letter-spacing: -.35px; }
.email-section > p:not(.email-kicker, .email-important), .email-chat > p { margin: 0 0 10px; color: var(--color-blue-secondary);  }
.email-kicker { margin: 0 0 8px !important; color: var(--color-blue) !important; font-size: 11px !important; font-weight: 750; line-height: 14px !important; letter-spacing: .07em; text-transform: uppercase; }
.email-icon { width: 32px; height: 32px; flex: none; color: var(--color-blue); }
.email-hero { min-height: 500px; display: grid; grid-template-columns: minmax(410px, .82fr) minmax(0, 1.18fr); gap: 26px; align-items: center; overflow: hidden; padding: 28px; }
.email-hero__copy { position: relative; z-index: 2; max-width: 640px; }
.email-hero__collage { min-width: 0; margin: 0; }
.email-hero__collage img { display: block; width: 100%; height: auto; object-fit: contain; }
.email-title-row { display: flex; align-items: center; gap: 15px; }
.email-title-row > img { width: 196px; height: 196px; flex: none; object-fit: contain; }
.project-detail.email-detail { --project-hero-subtitle-color: #078d8a; }
.email-title-row p { margin: 3px 0 0; }
.email-status { display: inline-flex; align-items: center; gap: 7px; margin: 14px 0; padding: 6px 11px; border-radius: 999px; color: #087d71; background: #e9f8f5; font-size: 12px; font-weight: 700; }
.email-status span { width: 8px; height: 8px; border-radius: 50%; background: #0b9b83; }
.email-hero__summary { margin: 0; color: var(--color-blue-secondary); font-size: var(--project-hero-body-size); line-height: var(--project-hero-body-leading); }
.project-detail .email-hero__actions { margin-top: 18px; }
.email-icon--android { object-fit: contain; }
.email-why > div, .email-real-use > div { display: flex; align-items: center; gap: 20px; }
.email-why__icon, .email-real-use__icon { width: 54px; height: 54px; flex: none; color: var(--color-blue); }
.email-why p, .email-real-use p { margin: 0; color: var(--color-blue-secondary);  }
.email-transport__flow { display: grid; grid-template-columns: repeat(7, 1fr); gap: 20px; margin: 18px 0; padding: 0; list-style: none; }
.email-transport__flow li { position: relative; min-height: 164px; display: flex; flex-direction: column; gap: 10px; align-items: center; justify-content: flex-start; padding: 15px 10px 13px; border: 1px solid var(--color-border); border-radius: 10px; text-align: center; background: var(--color-surface-soft); }
.email-transport__flow li > .email-icon { box-sizing: content-box; width: 34px; height: 34px; padding: 8px; border-radius: 10px; background: var(--color-tint); }
.email-transport__flow li:not(:last-child)::after { position: absolute; top: 50%; right: -19px; color: var(--color-blue); content: "→"; font-size: 23px; font-weight: 700; line-height: 1; transform: translateY(-50%); }
.email-transport__flow span, .email-transport__flow strong, .email-transport__flow small { display: block; }
.email-transport__flow b { color: var(--color-blue); font-size: 11px; line-height: 14px; }
.email-transport__flow strong { margin-top: 4px;  }
.email-transport__flow small { margin-top: 5px; color: var(--color-blue-secondary);  }
.email-transport__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.email-transport__facts p { margin: 0; padding: 14px 16px; border-radius: 9px; color: var(--color-blue-secondary); background: #eef8f7;  }
.email-transport__facts strong { display: block; margin-bottom: 3px; color: var(--color-navy); }
.email-important { margin: 10px 0 0; padding: 10px 12px; border: 1px solid #cfe3f5; border-radius: 8px; color: var(--color-blue-secondary); background: #eef6ff;  }
.email-transport > .email-important { padding: 12px 14px;  }
.email-verification__body { display: grid; grid-template-columns: 280px minmax(340px, 1.15fr) minmax(280px, .85fr); gap: 28px; align-items: center; }
.email-shot { overflow: hidden; margin: 0; border: 1px solid var(--color-border); border-radius: 12px; background: #fff; box-shadow: 0 7px 20px rgb(11 53 73 / 13%); }
.email-shot img { display: block; width: 100%; height: auto; }
.email-verification__shot { width: 280px; height: 280px; position: relative; align-self: center; border-radius: 10px; background: #2d2f31; }
.email-verification__shot img { position: absolute; top: -72px; left: 0; width: 100%; height: auto; }
.email-steps, .email-verification__facts, .email-compact-list, .email-scope ul { margin: 0; padding: 0; list-style: none; }
.email-steps { display: grid; gap: 9px; }
.email-steps li { display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: center; min-height: 44px; }
.email-steps b { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--color-blue); font-size: 12px; }
.email-steps span { color: var(--color-blue-secondary);  }
.email-verification__facts { display: grid; gap: 12px; }
.email-verification__facts li { min-height: 76px; display: grid; grid-template-columns: 42px 1fr; gap: 14px; align-items: center; padding: 14px 16px; border: 1px solid var(--color-border); border-radius: 10px; color: var(--color-blue-secondary); background: var(--color-surface-soft); font-weight: 650;  }
.email-verification__fact-icon { width: 36px; height: 36px; color: #0b9b83; }
.email-verification__note { margin: 14px 0 0 !important; padding: 10px 12px; border-radius: 8px; color: var(--color-blue-secondary); background: var(--color-tint); text-align: center;  }
.email-compact-list li, .email-scope li { position: relative; padding: 9px 10px 9px 30px; border: 1px solid var(--color-border); border-radius: 8px; color: var(--color-blue-secondary); background: var(--color-surface-soft);  }
.email-compact-list li::before, .email-scope li::before { position: absolute; left: 10px; color: #0b9b83; font-weight: 800; content: "✓"; }
.email-two-up { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.email-chat { display: grid; grid-template-columns: minmax(0, 1fr) 170px; gap: 24px; align-items: start; padding: 24px 28px; }
.email-chat__content { min-width: 0; }
.email-chat__intro { max-width: 970px; margin: 0 0 18px; color: var(--color-blue-secondary);  }
.email-chat__features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.email-chat__features li { min-height: 138px; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; align-items: start; padding: 20px 14px; border: 1px solid var(--color-border); border-radius: 12px; background: var(--color-surface-soft); }
.email-chat__icon { width: 36px; height: 36px; color: var(--color-blue); }
.email-chat__features strong, .email-chat__features small { display: block; }
.email-chat__features strong { margin: 0 0 8px; color: var(--color-navy);  }
.email-chat__features small { color: var(--color-blue-secondary);  }
.email-chat__shot { width: 170px; overflow: hidden; margin: 0; border: 4px solid #1c2023; border-radius: 24px; background: #fff; box-shadow: 0 10px 22px rgb(11 53 73 / 16%); }
.email-chat__shot img { display: block; width: 100%; height: auto; }
.email-compact-list { display: grid; gap: 6px; }
.email-attachments-device > .email-section { padding: 20px 24px; }
.email-attachments-device .email-kicker { margin-bottom: 16px !important; }
.email-attachments__body { display: grid; grid-template-columns: 142px minmax(0, 1fr); gap: 24px; align-items: start; }
.email-attachments__art { width: 142px; height: 136px; display: grid; place-items: center; border-radius: 14px; background: var(--color-tint); }
.email-attachments__icon { width: 74px; height: 74px; color: var(--color-blue); }
.email-attachments__body ul { display: grid; gap: 15px; margin: 10px 0 0; padding: 0 0 0 21px; color: var(--color-blue-secondary);  }
.email-attachments__body li { padding-left: 4px; }
.email-attachments__body li::marker { color: var(--color-blue); }
.email-device__body { display: grid; grid-template-columns: 175px minmax(0, 1fr); gap: 18px; align-items: start; }
.email-device .email-shot { width: 175px; }
.email-device__facts { display: grid; gap: 9px; }
.email-device__facts p { min-height: 76px; display: flex; align-items: center; gap: 12px; margin: 0; padding: 12px; border: 1px solid var(--color-border); border-radius: 9px; background: var(--color-surface-soft); }
.email-device__facts .email-icon { width: 32px; height: 32px; }
.email-device__facts span, .email-device__facts strong { display: block; color: var(--color-blue-secondary);  }
.email-device__facts strong { margin-bottom: 3px; color: var(--color-navy);  }
.email-device__facts .email-device__note { min-height: 68px; border: 0; background: var(--color-tint); }
.email-device__info { width: 28px; height: 28px; display: grid !important; flex: none; place-items: center; border-radius: 50%; color: #fff !important; background: var(--color-blue); font-size: 17px !important; font-weight: 700; }
.email-technology { clear: both; }
.email-tech-grid { display: grid; grid-template-columns: repeat(20, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.email-tech-grid > div { grid-column: span 5; min-width: 0; min-height: 76px; display: flex; gap: 9px; align-items: flex-start; padding: 10px; border: 1px solid var(--color-border); border-radius: 8px; background: var(--color-surface-soft); }
.email-tech-grid > div:nth-child(n+5) { grid-column: span 4; }
.email-tech__brand, .email-tech__generic { width: 30px; height: 30px; display: grid; flex: none; place-items: center; }
.email-tech__brand svg, .email-tech__generic svg { width: 27px; height: 27px; fill: currentColor; }
.email-tech__generic svg { fill: none; }
.email-tech-grid p, .email-tech-grid strong, .email-tech-grid p span { display: block; min-width: 0; margin: 0; overflow-wrap: anywhere; }
.email-tech-grid p span { margin-top: 3px; color: var(--color-blue-secondary);  }
.email-crypto-scope { grid-template-columns: .95fr 1.05fr; }
.email-crypto-scope > .email-section { padding: 20px 24px; }
.email-crypto-scope .email-kicker { margin-bottom: 16px !important; }
.email-crypto-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.email-crypto-grid > div { min-width: 0; min-height: 142px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 12px 6px; border: 1px solid var(--color-border); border-radius: 11px; color: var(--color-navy); background: var(--color-surface-soft); text-align: center; }
.email-crypto__icon { width: 42px; height: 42px; color: var(--color-blue); }
.email-crypto-grid strong { overflow-wrap: anywhere;  }
.email-crypto__note { min-height: 84px; display: flex; align-items: center; gap: 16px; margin: 14px 0 0 !important; padding: 14px 16px; border: 1px solid #cfe3f5; border-radius: 10px; color: var(--color-blue-secondary); background: #eef6ff;  }
.email-crypto__info { width: 34px; height: 34px; display: grid; flex: none; place-items: center; border-radius: 50%; color: #fff; background: var(--color-blue); font-size: 20px; font-weight: 700; }
.email-scope__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.email-scope__grid > div { min-width: 0; padding: 16px 18px; border: 1px solid #cfe8e2; border-radius: 11px; background: #f0faf8; }
.email-scope__grid > div:last-child { border-color: #efdde4; background: #fff7fa; }
.email-scope h3 { margin: 0 0 8px; color: #087d71; font-size: 16px; line-height: 22px; }
.email-scope__grid > div:last-child h3 { color: #b34c68; }
.email-scope ul { display: grid; gap: 4px; }
.email-scope li { padding: 2px 0 2px 26px; border: 0; background: transparent;  }
.email-scope li::before { left: 2px; font-size: 17px; }
.email-scope__grid > div:last-child li::before { color: #b95d77; content: "×"; }
.email-bottom-grid { grid-template-columns: minmax(0, 1fr); }
.email-real-use { display: flex; flex-direction: column; }
.email-real-use > div { flex: 1; }
.email-related > p { margin: 0 0 12px !important;  }
.email-related > div { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.email-related a { min-width: 0; min-height: 160px; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 8px; align-content: start; padding: 12px; border: 1px solid var(--color-border); border-radius: 9px; color: var(--color-navy); text-decoration: none; }
.email-related img, .email-related__icon { width: 32px; height: 32px; object-fit: contain; color: var(--color-blue); }
.email-related strong, .email-related small { display: block; }
.email-related small { margin-top: 5px; color: var(--color-blue-secondary);  }
.email-related b { grid-column: 1 / -1; align-self: end; color: var(--color-blue); font-size: 20px; font-weight: 500; }

@media (max-width: 1023px) {
	.email-hero { min-height: 430px; grid-template-columns: minmax(330px, .88fr) minmax(0, 1.12fr); gap: 16px; }
	.email-title-row > img { width: 156px; height: 156px; }
	.email-transport__flow { grid-template-columns: repeat(4, 1fr); gap: 12px; }
	.email-transport__flow li:not(:last-child)::after { display: none; }
	.email-verification__body { grid-template-columns: 240px 1fr; gap: 18px; }
	.email-verification__shot { width: 240px; height: 250px; }
	.email-verification__facts { grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); }
	.email-chat { grid-template-columns: minmax(0, 1fr) 160px; gap: 14px; padding: 20px; }
	.email-chat__features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.email-chat__features li { min-height: 108px; }
	.email-chat__shot { width: 160px; }
	.email-attachments-device { grid-template-columns: 1fr 1fr; }
	.email-attachments-device > .email-section { padding: 16px; }
	.email-attachments__body { grid-template-columns: 92px minmax(0, 1fr); gap: 12px; }
	.email-attachments__art { width: 92px; height: 92px; }
	.email-attachments__icon { width: 52px; height: 52px; }
	.email-attachments__body ul { gap: 9px; margin-top: 0;  }
	.email-device__body { grid-template-columns: 120px minmax(0, 1fr); gap: 10px; }
	.email-device .email-shot { width: 120px; }
	.email-device__facts p { min-height: 58px; padding: 8px; }
	.email-device__facts .email-icon { width: 24px; height: 24px; }
	.email-tech-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.email-tech-grid > div, .email-tech-grid > div:nth-child(n+5) { grid-column: span 1; }
	.email-crypto-scope { grid-template-columns: 1fr; }
	.email-bottom-grid { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
	.email-detail { padding-block: 8px 16px; }
	.email-detail__article { gap: 8px; padding-inline: 10px; }
	.email-panel { border-radius: 10px; }
	.email-section { padding: 13px; }
	.email-section h2 { font-size: 18px; line-height: 22px; }
	.email-hero { min-height: 0; display: block; padding: 14px 13px 12px; }
	.email-title-row { gap: 9px; }
	.email-title-row > img { width: 116px; height: 116px; }
	.email-status { margin: 9px 0; font-size: 10px; }
	.email-hero__summary { font-size: var(--project-hero-body-size); line-height: var(--project-hero-body-leading); }
	.project-detail .email-hero__actions { gap: 9px; margin-top: 12px; }
	.email-hero__collage { margin-top: 12px; }
	.email-icon { width: 25px; height: 25px; }
	.email-why > div, .email-real-use > div { align-items: flex-start; gap: 10px; }
	.email-why__icon, .email-real-use__icon { width: 36px; height: 36px; }
	.email-transport__flow { grid-template-columns: 1fr; gap: 18px; }
	.email-transport__flow { grid-template-columns: 1fr; gap: 18px; }
	.email-transport__flow li { min-height: 78px; display: grid; grid-template-columns: 48px 1fr; align-items: center; padding: 10px 12px; text-align: left; }
	.email-transport__flow li > .email-icon { width: 27px; height: 27px; padding: 6px; }
	.email-transport__flow li:not(:last-child)::after { display: block; top: auto; right: 50%; bottom: -20px; content: "↓"; font-size: 18px; transform: translateX(50%); }
	.email-transport__flow span { display: grid; grid-template-columns: 27px 1fr; align-items: center; }
	.email-transport__flow strong, .email-transport__flow small { grid-column: 2; }
	.email-transport__facts { grid-template-columns: 1fr; }
	.email-verification__body { grid-template-columns: 1fr; }
	.email-verification__shot { width: 100%; height: 300px; }
	.email-verification__shot img { top: -92px; }
	.email-verification__facts { grid-column: auto; grid-template-columns: 1fr; }
	.email-verification__facts li { min-height: 68px;  }
	.email-two-up, .email-crypto-scope { grid-template-columns: 1fr; }
	.email-chat { display: flex; flex-direction: column; gap: 0; padding: 16px 13px; }
	.email-chat__content { padding-bottom: 18px; }
	.email-chat__features { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
	.email-chat__features li { min-height: 136px; display: block; padding: 12px; }
	.email-chat__icon { width: 28px; height: 28px; margin-bottom: 6px; }
	.email-chat__features strong { margin-bottom: 4px;  }
	.email-chat__shot { width: 160px; align-self: center; }
	.email-attachments-device { grid-template-columns: 1fr; }
	.email-attachments-device > .email-section { padding: 16px 13px; }
	.email-attachments__body { grid-template-columns: 100px minmax(0, 1fr); }
	.email-attachments__art { width: 100px; height: 100px; }
	.email-device__body { grid-template-columns: 125px minmax(0, 1fr); }
	.email-device .email-shot { width: 125px; }
	.email-tech-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.email-crypto-scope > .email-section { padding: 16px 13px; }
	.email-crypto-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
	.email-crypto-grid > div { min-height: 112px; gap: 9px; }
	.email-crypto__icon { width: 32px; height: 32px; }
	.email-crypto__note { padding: 12px;  }
	.email-scope__grid { grid-template-columns: 1fr; }
	.email-related > div { grid-template-columns: 1fr; }
	.email-related a { min-height: 70px; grid-template-columns: 32px minmax(0, 1fr) 20px; align-items: center; }
	.email-related b { grid-column: 3; }
}

@media (min-width: 768px) and (max-width: 1160px) {
	.email-transport__flow { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
	.email-transport__flow li:not(:last-child)::after { display: none; }
}

@media (max-width: 1023px) {
	.email-verification__shot { width: min(100%, 320px); height: auto; justify-self: center; }
	.email-verification__shot img { position: static; width: 100%; height: auto; }
}

@media (max-width: 1099px) {
	.email-hero { min-height: 0; grid-template-columns: minmax(0, 1fr); }
	.email-hero__copy { max-width: none; }
	.email-hero__collage { width: min(100%, 700px); justify-self: center; margin-top: 12px; }
}

@media (max-width: 500px) {
	.email-title-row { flex-direction: column; align-items: flex-start; }
}

/* English Client Interaction CRM detail */
.crm-detail { padding-block: 16px 24px; background: radial-gradient(circle at 52% 7%, rgb(0 98 253 / 6%), transparent 30%), var(--color-page); }
.crm-detail__article { display: grid; gap: 10px; }
.crm-panel { border: 1px solid var(--color-divider); border-radius: 14px; background: rgb(255 255 255 / 93%); box-shadow: var(--shadow-card); }
.crm-section { min-width: 0; padding: 16px 22px; }
.crm-section h2 { margin: 0 0 5px; font-size: 21px; line-height: 26px; letter-spacing: -.3px; }
.crm-section h3 { margin: 0 0 8px; font-size: 15px; }
.crm-section > p, .crm-auth__body p { margin: 0 0 8px; color: var(--color-blue-secondary);  }
.crm-section small { color: var(--color-muted);  }
.crm-kicker { margin: 0 0 7px !important; color: var(--color-blue) !important; font-size: 11px !important; font-weight: 750; line-height: 14px !important; letter-spacing: .07em; text-transform: uppercase; }
.crm-back { display: block; width: fit-content; margin-bottom: 15px; color: var(--color-blue); font-size: 12px; text-decoration: none; }
.crm-hero { min-height: 390px; display: grid; grid-template-columns: minmax(360px, .82fr) minmax(0, 1.35fr); gap: 30px; align-items: center; padding: 22px 28px; }
.crm-title-row { display: flex; align-items: center; gap: 13px; }
.crm-title-icon { width: 52px; height: 52px; flex: none; color: var(--color-blue); }
.crm-descriptor { margin: 1px 0 11px !important; }
.crm-hero__copy > p:not(.crm-kicker, .crm-descriptor, .crm-status) { max-width: 480px; margin: 0 0 8px; color: var(--color-blue-secondary); font-size: var(--project-hero-body-size); line-height: var(--project-hero-body-leading); }
.crm-status { margin: 10px 0 12px; color: var(--color-blue-secondary); font-size: 13px; font-weight: 700; }
.crm-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.crm-actions .button { min-height: 48px; padding-inline: 19px; font-size: 13px; }
.crm-shot { overflow: hidden; margin: 10px 0 0; border: 1px solid var(--color-border); border-radius: 9px; background: #fff; box-shadow: 0 4px 14px rgb(20 58 96 / 10%); }
.crm-shot img { width: 100%; height: auto; display: block; }
.crm-hero__shot { margin: 0; }
.crm-two-up { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.crm-access-grid { grid-template-columns: minmax(0, 1fr); }
.crm-checks { display: grid; gap: 5px; margin: 7px 0 0; padding: 0; list-style: none; }
.crm-checks--two { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; }
.crm-checks li { position: relative; padding-left: 20px; color: var(--color-blue-secondary);  }
.crm-checks li::before { position: absolute; left: 1px; color: var(--color-blue); font-weight: 800; content: "✓"; }
.crm-checks--green li::before { color: #0b9b83; }
.crm-workspace-grid > section { display: flex; flex-direction: column; }
.crm-workspace-grid .crm-shot { margin-top: auto; }
.crm-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 7px; margin-top: 10px; }
.crm-features > div { min-height: 56px; padding: 8px 10px; border: 1px solid var(--color-border); border-radius: 8px; background: var(--color-surface-soft); }
.crm-features strong, .crm-features span { display: block; }
.crm-features span { margin-top: 2px; color: var(--color-blue-secondary);  }
.crm-note { margin: 9px 0 0 !important; padding: 9px 11px; border: 1px solid var(--color-border); border-radius: 8px; color: var(--color-blue-secondary); background: var(--color-tint);  }
.crm-auth__body { display: grid; grid-template-columns: .95fr 1.05fr; gap: 18px; align-items: center; }
.crm-auth__body .crm-shot { margin: 0; }
.crm-flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 7px; margin: 12px 0 0; padding: 0; list-style: none; }
.crm-flow li { min-height: 112px; display: flex; flex-direction: column; gap: 8px; padding: 9px; border: 1px solid var(--color-border); border-radius: 8px; background: var(--color-surface-soft); }
.crm-flow b { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--color-blue); font-size: 10px; }
.crm-flow strong, .crm-flow span { display: block; }
.crm-flow strong { margin-bottom: 2px; color: var(--color-navy);  }
.crm-flow span { color: var(--color-blue-secondary);  }
.crm-architecture { display: grid; grid-template-columns: .82fr auto .82fr auto 1.8fr; gap: 7px; align-items: center; margin-top: 14px; }
.crm-architecture > i { color: var(--color-blue); font-style: normal; }
.crm-architecture__card, .crm-security > div { min-width: 0; min-height: 62px; display: flex; align-items: center; gap: 8px; padding: 9px; border: 1px solid var(--color-border); border-radius: 8px; background: var(--color-surface-soft); }
.crm-architecture__card > img, .crm-architecture__icon, .crm-security-icon { width: 25px; height: 25px; flex: none; color: var(--color-blue); object-fit: contain; }
.crm-architecture__brand { width: 25px; height: 25px; display: grid; flex: none; place-items: center; }
.crm-architecture__brand svg { width: 25px; height: 25px; fill: currentColor; }
.crm-architecture__brand--supabase { color: #3fcf8e; }
.crm-architecture strong, .crm-architecture small { display: block; }
.crm-architecture strong { color: var(--color-navy);  }
.crm-architecture small { margin-top: 2px; color: var(--color-blue-secondary);  }
.crm-data-hub { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: 22px; align-items: center; }
.crm-data-hub::before { position: absolute; top: 50%; left: calc(45% - 1px); width: 24px; border-top: 1px solid #9fc6f3; content: ""; }
.crm-security { position: relative; display: grid; gap: 6px; }
.crm-security::before { position: absolute; top: 25%; bottom: 25%; left: -11px; border-left: 1px solid #9fc6f3; content: ""; }
.crm-security > div { position: relative; min-height: 52px; }
.crm-security > div::before { position: absolute; top: 50%; left: -12px; width: 11px; border-top: 1px solid #9fc6f3; content: ""; }
.crm-security > div::after { position: absolute; top: calc(50% - 3px); left: -4px; border-width: 3px 0 3px 4px; border-style: solid; border-color: transparent transparent transparent #77aeea; content: ""; }
.crm-tech { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; margin-top: 10px; }
.crm-tech > div { min-height: 78px; display: flex; gap: 8px; align-items: flex-start; padding: 9px; border: 1px solid var(--color-border); border-radius: 8px; background: var(--color-surface-soft); }
.crm-tech__icon { width: 30px; height: 30px; display: grid; flex: none; place-items: center; color: #19a56f; }
.crm-tech__icon img, .crm-tech__icon .icon { width: 26px; height: 26px; fill: currentColor; }
.crm-tech > div:nth-child(1) img { filter: none; }
.crm-tech p, .crm-tech strong, .crm-tech p span { display: block; margin: 0; }
.crm-tech p span { margin-top: 3px; color: var(--color-blue-secondary);  }
.crm-three-up { display: grid; grid-template-columns: 1.2fr .85fr .95fr; gap: 10px; }
.crm-future li { font-size: 10px; line-height: 14px; }
.crm-bottom-grid { grid-template-columns: minmax(0, 1fr); }
.crm-related > div { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.crm-related a { min-width: 0; min-height: 82px; display: grid; grid-template-columns: 34px 1fr 16px; gap: 8px; align-items: center; padding: 9px; border: 1px solid var(--color-border); border-radius: 8px; color: var(--color-navy); text-decoration: none; }
.crm-related img { width: 34px; height: 34px; object-fit: contain; }
.crm-related__email { transform: scale(1.22); }
.crm-related strong, .crm-related small { display: block; }
.crm-related small { margin-top: 3px;  }
.crm-related b { color: var(--color-blue); }

@media (max-width: 1300px) {
	.crm-detail .crm-security-tech,
	.crm-detail .crm-three-up,
	.crm-detail .crm-architecture { grid-template-columns: minmax(0, 1fr); }
	.crm-detail .crm-architecture > i { text-align: center; transform: rotate(90deg); }
	.crm-detail .crm-tech { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1023px) {
	.crm-hero { min-height: 320px; grid-template-columns: .9fr 1.1fr; gap: 18px; padding: 18px; }
	.crm-title-icon { width: 42px; height: 42px; }
	.crm-hero__copy > p:not(.crm-kicker, .crm-descriptor, .crm-status) { font-size: var(--project-hero-body-size); line-height: var(--project-hero-body-leading); }
	.crm-flow { grid-template-columns: 1fr; gap: 4px; }
	.crm-flow li { min-height: 0; flex-direction: row; align-items: center; }
	.crm-tech { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 999px) {
	.crm-detail .crm-hero { display: flex; min-height: 0; flex-direction: column; align-items: stretch; }
	.crm-detail .crm-hero__copy,
	.crm-detail .crm-hero__shot { width: 100%; }
	.crm-detail .crm-two-up,
	.crm-detail .crm-three-up { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 767px) {
	.crm-detail { padding-block: 0 6px; }
	.crm-detail__article { width: calc(100% - 12px); gap: 5px; }
	.crm-panel { border-radius: 9px; }
	.crm-section { padding: 10px 12px; }
	.crm-section h2 { font-size: 14px; line-height: 18px; }
	.crm-section h3 { font-size: 11px; line-height: 14px; }
	.crm-section > p, .crm-auth__body p { margin-bottom: 6px;  }
	.crm-back, .crm-title-icon { display: none; }
	.crm-hero { display: flex; min-height: 0; flex-direction: column; gap: 10px; padding: 12px; }
	.crm-hero__copy { width: 100%; }
	.crm-kicker { font-size: 10px !important; }
	.crm-descriptor { margin-bottom: 7px !important; }
	.crm-hero__copy > p:not(.crm-kicker, .crm-descriptor, .crm-status) { margin-bottom: 6px; font-size: var(--project-hero-body-size); line-height: var(--project-hero-body-leading); }
	.crm-status { margin: 7px 0; font-size: 10px; line-height: 13px; }
	.crm-actions { display: grid; grid-template-columns: 1.08fr 1fr; gap: 7px; }
	.crm-actions .button { min-width: 0; min-height: 36px; padding: 5px; font-size: 10px; white-space: nowrap; }
	.crm-hero__shot { width: 100%; }
	.crm-two-up, .crm-three-up { grid-template-columns: 1fr; gap: 5px; }
	.crm-intro-grid { display: contents; }
	.crm-checks { gap: 3px; }
	.crm-checks li { padding-left: 15px;  }
	.crm-workspace-grid .crm-shot { margin-top: 7px; }
	.crm-shot { border-radius: 7px; }
	.crm-features { gap: 4px; margin-top: 6px; }
	.crm-features > div { min-height: 49px; padding: 6px; }
	.crm-note { padding: 7px 8px;  }
	.crm-auth__body { grid-template-columns: 46% 1fr; gap: 10px; }
	.crm-flow li { gap: 8px; padding: 6px 7px; }
	.crm-flow b { width: 27px; height: 27px; flex: none; }
	.crm-architecture { grid-template-columns: 1fr; }
	.crm-architecture > i { text-align: center; transform: rotate(90deg); }
	.crm-data-hub { grid-template-columns: 1fr; gap: 24px; }
	.crm-data-hub::before { top: 62px; bottom: auto; left: 50%; width: 0; height: 25px; border-top: 0; border-left: 1px solid #9fc6f3; }
	.crm-security { grid-template-columns: 1fr 1fr; gap: 6px; }
	.crm-security::before { top: -12px; bottom: auto; left: 25%; width: 50%; border-top: 1px solid #9fc6f3; border-left: 0; }
	.crm-security > div::before { top: -13px; left: 50%; width: 0; height: 12px; border-top: 0; border-left: 1px solid #9fc6f3; }
	.crm-security > div::after { top: -4px; left: calc(50% - 3px); border-width: 4px 3px 0; border-color: #77aeea transparent transparent; }
	.crm-tech { grid-template-columns: repeat(2, 1fr); gap: 4px; }
	.crm-tech > div { min-height: 62px; padding: 7px; }
	.crm-tech__icon { width: 25px; height: 25px; }
	.crm-tech__icon img, .crm-tech__icon .icon { width: 23px; height: 23px; }
	.crm-related > div { grid-template-columns: 1fr; gap: 5px; }
	.crm-related a { min-height: 55px; }
}

@media (max-width: 767px) {
  .foundation-hero { min-height: 300px; }
  .foundation-hero__actions { gap: 0.5rem; }
  .foundation-hero .button { min-height: 44px; padding-inline: 1rem; }
	.projects-index { padding: 18px 0 8px; }
	.projects-intro { min-height: 0; display: block; padding: 0 4px 18px; }
	.projects-intro__copy { max-width: none; }
	.projects-intro h1 { margin-bottom: 3px; font-size: 35px; line-height: 40px; letter-spacing: -.8px; }
	.projects-intro h2 { margin-bottom: 7px; font-size: 19px; line-height: 24px; }
	.projects-intro p { font-size: 14px; line-height: 20px; }
	.projects-intro__statement { min-width: 0; gap: 14px; margin-top: 19px; font-size: 15px; line-height: 19px; }
	.projects-intro__glow { width: 74px; height: 74px; }
	.projects-intro__icon { width: 57px; height: 57px; }
	.projects-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-bottom: 12px; }
	.projects-filter { min-height: 48px; padding: 5px 7px; font-size: 12px; line-height: 15px; }
	.projects-list { gap: 12px; }
	.projects-row { min-height: 0; display: flex; flex-direction: column; border-radius: 12px; }
	.projects-row__content { padding: 18px 16px 14px; }
	.projects-row__heading { grid-template-columns: 68px minmax(0, 1fr); gap: 12px; align-items: start; }
	.projects-row__identity { width: 68px; height: 68px; border-radius: 10px; }
	.projects-row__identity img { width: 56px; height: 56px; }
	.projects-row__identity--ngm img { width: 63px; height: 63px; }
	.projects-row__identity--email img { width: 96px; height: 96px; }
	.projects-row__identity-icon { width: 46px; height: 46px; }
	.projects-row__heading h2 { margin-bottom: 6px; font-size: 20px; line-height: 24px; }
	.projects-row__text { display: contents; }
	.projects-row__heading h2 { grid-column: 2; }
	.projects-row__heading p { grid-column: 1 / -1; font-size: 13px; line-height: 18px; }
	.projects-row__labels { margin: 15px 0 7px; gap: 4px 13px; }
	.projects-row__labels li { min-height: 30px; font-size: 11px; line-height: 15px; }
	.projects-row__link { min-height: 44px; margin-left: 0; font-size: 14px; }
	.projects-row__artwork { order: 2; min-height: 0; padding: 8px; }
	.projects-row__artwork img { height: auto; }
	.projects-contact { min-height: 0; display: block; margin-top: 56px; padding: 18px 16px; border-radius: 12px; }
	.projects-contact__copy { gap: 13px; align-items: flex-start; }
	.projects-contact__icon { width: 44px; height: 44px; }
	.projects-contact h2 { font-size: 18px; line-height: 23px; }
	.projects-contact p { font-size: 13px; line-height: 18px; }
	.projects-contact__link { width: 100%; min-width: 0; min-height: 48px; margin-top: 16px; }
}

/* Shared project-detail hero primitives. Project roots may override variables for
   composition or optical corrections; shared roles consume them here. */
.project-detail {
	--project-hero-title-size: 39px;
	--project-hero-title-leading: 42px;
	--project-hero-title-tracking: -1.2px;
	--project-hero-body-size: 16px;
	--project-hero-body-leading: 23px;
	--project-hero-subtitle-size: 18px;
	--project-hero-subtitle-leading: 23px;
	--project-hero-subtitle-color: var(--color-blue);
	--project-hero-title-subtitle-gap: 6px;
	--project-hero-padding-block: 28px;
	--project-hero-padding-inline: 28px;
	--project-hero-column-gap: 28px;
}
.project-detail__hero { display: grid; gap: var(--project-hero-column-gap); align-items: center; padding: var(--project-hero-padding-block) var(--project-hero-padding-inline); }
.project-detail__hero-copy { min-width: 0; }
.project-detail .project-detail__hero-title { margin: 0 0 var(--project-hero-title-subtitle-gap); font-family: var(--font-primary); font-size: var(--project-hero-title-size); font-weight: 700; line-height: var(--project-hero-title-leading); letter-spacing: var(--project-hero-title-tracking); }
.project-detail__hero-summary { font-size: var(--project-hero-body-size); line-height: var(--project-hero-body-leading); text-align: justify; hyphens: auto; }
.project-detail .project-detail__hero-subtitle { color: var(--project-hero-subtitle-color); font-size: var(--project-hero-subtitle-size); font-weight: 650; line-height: var(--project-hero-subtitle-leading); }
.project-detail__hero-identity { display: flex; align-items: center; }
.project-detail__breadcrumb, .ngm-breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; color: #3563a7; font-size: 12px; }
.project-detail__breadcrumb a, .ngm-breadcrumb a { color: inherit; }
.project-detail__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }

/* Shared project facts: the approved MPA scale and cell anatomy. */
.project-detail {
	--project-facts-icon-size: 44px;
	--project-facts-cell-height: 94px;
	--project-facts-cell-padding: 18px 24px;
	--project-facts-copy-gap: 14px;
	--project-facts-label-size: 15px;
	--project-facts-label-leading: 20px;
	--project-facts-value-size: 13px;
	--project-facts-value-leading: 18px;
}
.project-detail__facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px; }
.project-detail__facts > div { min-width: 0; min-height: var(--project-facts-cell-height); display: flex; align-items: center; gap: var(--project-facts-copy-gap); padding: var(--project-facts-cell-padding); border: 1px solid var(--color-divider); background: rgb(255 255 255 / 92%); }
.project-detail__facts > div:first-child { border-radius: 14px 0 0 14px; }
.project-detail__facts > div:last-child { border-radius: 0 14px 14px 0; }
.project-detail__facts > div > svg, .project-detail__facts > div > img { width: var(--project-facts-icon-size); height: var(--project-facts-icon-size); flex: none; color: var(--color-blue); object-fit: contain; }
.project-detail__facts p, .project-detail__facts strong, .project-detail__facts span { display: block; margin: 0; }
.project-detail__facts p { min-width: 0; overflow-wrap: anywhere; }
.project-detail__facts strong { font-size: var(--project-facts-label-size); font-weight: 700; line-height: var(--project-facts-label-leading); }
.project-detail__facts span { color: var(--color-blue-secondary); font-size: var(--project-facts-value-size); line-height: var(--project-facts-value-leading); }
@media (max-width: 1023px) {
	.project-detail { --project-facts-icon-size: 34px; --project-facts-cell-padding: 12px; --project-facts-value-size: 11px; --project-facts-value-leading: 15px; }
}
@media (max-width: 767px) {
	.project-detail { --project-facts-icon-size: 30px; --project-facts-cell-height: 78px; --project-facts-cell-padding: 10px 12px; --project-facts-copy-gap: 9px; --project-facts-label-size: 12px; --project-facts-label-leading: 16px; --project-facts-value-size: 10px; --project-facts-value-leading: 14px; }
	.project-detail__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.project-detail__facts > div { border-radius: 8px; }
	.project-detail__facts > div:first-child, .project-detail__facts > div:last-child { border-radius: 8px; }
}

@media (max-width: 480px) {
	.crm-detail { --project-facts-cell-height: 0; --project-facts-label-size: 14px; --project-facts-label-leading: 19px; --project-facts-value-size: 13px; --project-facts-value-leading: 18px; }
	.crm-detail .crm-facts,
	.crm-detail .crm-actions,
	.crm-detail .crm-features,
	.crm-detail .crm-checks--two,
	.crm-detail .crm-auth__body,
	.crm-detail .crm-security,
	.crm-detail .crm-tech { grid-template-columns: minmax(0, 1fr); }
	.crm-detail .crm-actions .button { width: 100%; min-height: 44px; padding: 9px 12px; font-size: 13px; white-space: normal; }
	.crm-detail .crm-security::before,
	.crm-detail .crm-security > div::before,
	.crm-detail .crm-security > div::after { display: none; }
}

/* English Market Price Analysis detail */
.mpa-detail { padding-block: 18px 24px; background: radial-gradient(circle at 48% 8%, rgb(0 98 253 / 5%), transparent 28%), var(--color-page); }
.mpa-detail__article { display: grid; gap: 14px; }
.mpa-panel { border: 1px solid var(--color-divider); border-radius: 14px; background: rgb(255 255 255 / 92%); box-shadow: var(--shadow-card); }
.mpa-eyebrow { margin: 0 0 12px; color: var(--color-blue); font-size: 12px; font-weight: 750; line-height: 16px; letter-spacing: .06em; text-transform: uppercase; }
.mpa-shot { overflow: hidden; margin: 0; border: 1px solid var(--color-border); border-radius: 10px; background: var(--color-tint); box-shadow: 0 4px 14px rgb(20 73 122 / 11%); }
.mpa-shot img { width: 100%; height: 100%; object-fit: contain; }
.mpa-hero { min-height: 410px; grid-template-columns: minmax(430px, .95fr) minmax(0, 1.25fr); }
.mpa-hero__copy > p:not(.mpa-eyebrow, .mpa-hero__meta, .project-detail__hero-subtitle) { margin: 0 0 10px; color: var(--color-blue-secondary); font-size: var(--project-hero-body-size); line-height: var(--project-hero-body-leading); }
.mpa-hero__identity { gap: 18px; margin-bottom: 10px; align-items: flex-start; }
.mpa-hero__identity > img { width: 104px; height: 104px; flex: none; border-radius: 18px; }
.mpa-hero__identity > div { min-width: 0; }
.mpa-hero h1 { max-width: 470px; }
.mpa-hero__badge, .mpa-hero__meta { display: inline-flex; width: fit-content; align-items: center; border-radius: 999px; color: var(--color-blue); background: var(--color-tint-strong); font-weight: 650; }
.mpa-hero__labels { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 10px; }
.mpa-hero__badge, .mpa-hero__meta { min-height: 28px; margin: 0; padding: 4px 10px; font-size: 12px; line-height: 18px; }
.mpa-hero__subtitle { max-width: 390px; margin: 0 0 8px; }
.mpa-hero__shot { aspect-ratio: 1919 / 1137; }
.mpa-fact:first-child { border-radius: 14px 0 0 14px; }
.mpa-fact:last-child { border-radius: 0 14px 14px 0; }
.mpa-fact p { margin: 0; }
.mpa-fact strong, .mpa-fact span { display: block; }
.mpa-fact strong { font-size: 15px; line-height: 20px; }
.mpa-fact span { color: var(--color-blue-secondary); font-size: 13px; line-height: 18px; }
.mpa-problem { padding: 14px 28px 22px; }
.mpa-problem__body { display: flex; align-items: center; gap: 24px; }
.mpa-problem__icon { width: 58px; height: 58px; flex: none; color: var(--color-blue); }
.mpa-problem h2, .mpa-workspace h2, .mpa-detail-grid h2, .mpa-outcomes h2, .mpa-technology h2, .mpa-bottom-grid h2 { margin: 0 0 2px; font-size: 23px; line-height: 28px; }
.mpa-problem p:not(.mpa-eyebrow), .mpa-workspace header p, .mpa-detail-grid > section > p, .mpa-outcomes > section > p, .mpa-technology > p, .mpa-related > p { margin: 0; color: var(--color-blue-secondary);  }
.mpa-workflow { padding: 2px 8px 0; }
.mpa-workflow__grid { display: grid; grid-template-columns: minmax(0, 1.38fr) minmax(330px, .72fr); gap: 18px; }
.mpa-workflow__grid > .mpa-shot { aspect-ratio: 1919 / 1135; }
.mpa-steps { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.mpa-steps li { min-height: 58px; display: flex; align-items: center; gap: 14px; padding: 7px 12px; border: 1px solid var(--color-border); border-radius: 9px; background: rgb(255 255 255 / 78%); }
.mpa-steps li > span { width: 38px; height: 38px; display: grid; flex: none; place-items: center; border-radius: 50%; color: #fff; background: var(--color-blue); font-size: 13px; font-weight: 750; }
.mpa-steps p { margin: 0; }
.mpa-steps strong, .mpa-steps small { display: block; }
.mpa-steps small { color: var(--color-blue-secondary);  }
.mpa-workspace { padding: 18px 24px 14px; }
.mpa-workspace header { margin-bottom: 12px; }
.mpa-workspace > .mpa-shot { aspect-ratio: 1402 / 1122; }
.mpa-feature-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin: 12px 0 0; padding: 0; list-style: none; }
.mpa-feature-grid li { min-height: 78px; display: flex; gap: 9px; padding: 10px; border: 1px solid var(--color-border); border-radius: 8px; background: var(--color-surface-soft); }
.mpa-feature__icon { width: 28px; height: 28px; flex: none; color: var(--color-blue); }
.mpa-feature-grid p { margin: 0; }
.mpa-feature-grid strong, .mpa-feature-grid span { display: block; }
.mpa-feature-grid span { color: var(--color-blue-secondary);  }
.mpa-detail-grid, .mpa-outcomes, .mpa-bottom-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 14px; }
.mpa-detail-grid > section, .mpa-outcomes > section, .mpa-bottom-grid > section { padding: 18px 22px; }
.mpa-evidence .mpa-shot { margin-top: 12px; aspect-ratio: 1919 / 1141; }
.mpa-note { margin: 10px 0 0 !important; color: var(--color-blue-secondary);  }
.mpa-suppliers ul { display: grid; gap: 6px; margin: 14px 0 0; padding: 0; list-style: none; }
.mpa-suppliers li { min-height: 52px; display: flex; align-items: center; padding: 10px 16px 10px 54px; border-radius: 8px; color: var(--color-blue-secondary); background: var(--color-tint); font-weight: 600; position: relative;  }
.mpa-suppliers li::before { position: absolute; left: 18px; width: 22px; height: 22px; display: grid; place-items: center; border: 2px solid var(--color-blue); border-radius: 50%; color: var(--color-blue); content: "✓"; font-size: 12px; }
.mpa-documents { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 14px; }
.mpa-documents > div { overflow: hidden; border: 1px solid var(--color-border); border-radius: 9px; }
.mpa-documents strong { min-height: 52px; display: flex; align-items: center; gap: 9px; padding: 8px 12px; background: var(--color-tint); }
.mpa-documents strong > span { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 5px; color: #fff; background: #0b9d58; }
.mpa-documents > div:last-child strong > span { background: #146bd1; }
.mpa-documents small { margin-left: auto; color: var(--color-blue);  }
.mpa-documents ul { margin: 10px 12px 12px 30px; padding: 0; color: var(--color-blue-secondary);  }
.mpa-performance__callout { display: flex; align-items: center; gap: 18px; margin: 20px 0 0 !important; padding: 18px 22px; border-radius: 10px; background: var(--color-tint); }
.mpa-performance__callout strong { flex: none; color: var(--color-blue); font-size: 32px; line-height: 36px; }
.mpa-performance__callout span { color: var(--color-blue-secondary);  }
.mpa-technology { padding: 18px 22px; }
.mpa-technology ul { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 12px 0 0; padding: 0; list-style: none; }
.mpa-technology li { min-height: 62px; display: flex; align-items: center; gap: 12px; padding: 10px 18px; border: 1px solid var(--color-border); border-radius: 9px; font-weight: 700;  }
.mpa-technology li > img { width: 34px; height: 34px; flex: none; object-fit: contain; }
.mpa-bottom-grid { grid-template-columns: .95fr 1.05fr; }
.mpa-settings > div { display: grid; grid-template-columns: 1.25fr .75fr; gap: 18px; align-items: center; }
.mpa-settings .mpa-shot { aspect-ratio: 1200 / 713; }
.mpa-settings ul { margin: 0; padding-left: 18px; color: var(--color-blue-secondary);  }
.mpa-related__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.mpa-related__list a { min-width: 0; min-height: 130px; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 8px; align-content: start; padding: 12px; border: 1px solid var(--color-border); border-radius: 9px; color: var(--color-navy); text-decoration: none; }
.mpa-related__icon { width: 32px; height: 32px; color: var(--color-blue); object-fit: contain; }
.mpa-related__icon--email { transform: scale(1.38); }
.mpa-related__icon--ngm { transform: scale(1.1); }
.mpa-related__list strong, .mpa-related__list small { display: block; }
.mpa-related__list small { margin-top: 5px; color: var(--color-blue-secondary);  }
.mpa-related__list b { grid-column: 1 / -1; align-self: end; color: var(--color-blue); font-size: 18px; font-weight: 500; }
@media (min-width: 1024px) {
	.mpa-detail--ru .mpa-related__list strong { min-height: 4em; }
}

@media (max-width: 1023px) {
	.project-detail {
		--project-hero-padding-block: 20px;
		--project-hero-padding-inline: 18px;
		--project-hero-column-gap: 18px;
	}
	.mpa-detail__article { gap: 10px; }
	.mpa-hero { min-height: 340px; grid-template-columns: minmax(300px, .95fr) 1.05fr; }
	.mpa-hero__identity > img { width: 80px; height: 80px; }
	.mpa-fact span { font-size: 11px; line-height: 15px; }
	.mpa-workflow__grid { grid-template-columns: 1.2fr .8fr; gap: 10px; }
	.mpa-steps { gap: 4px; }
	.mpa-steps li { min-height: 48px; padding: 5px 8px; }
	.mpa-steps li > span { width: 32px; height: 32px; }
	.mpa-feature-grid { grid-template-columns: repeat(3, 1fr); }
	.mpa-related__list { grid-template-columns: 1fr; }
	.mpa-related__list a { min-height: 72px; grid-template-columns: 30px minmax(0, 1fr) 20px; align-items: center; }
	.mpa-related__list b { grid-column: 3; }
}

@media (max-width: 767px) {
	.project-detail {
		--project-hero-title-size: 27px;
		--project-hero-title-leading: 29px;
		--project-hero-title-tracking: -.7px;
		--project-hero-body-size: 14px;
		--project-hero-body-leading: 17px;
		--project-hero-subtitle-size: 16px;
		--project-hero-subtitle-leading: 20px;
		--project-hero-title-subtitle-gap: 4px;
		--project-hero-padding-block: 17px;
		--project-hero-padding-inline: 14px;
		--project-hero-column-gap: 12px;
	}
	.mpa-detail { padding-block: 0 6px; }
	.mpa-detail__article { width: calc(100% - 12px); gap: 6px; }
	.mpa-panel { border-radius: 10px; }
	.mpa-eyebrow { margin-bottom: 7px; font-size: 10px; line-height: 13px; }
	.mpa-hero { display: flex; min-height: 0; flex-direction: column; }
	.mpa-hero__copy { width: 100%; }
	.mpa-hero__identity { gap: 12px; margin-bottom: 7px; }
	.mpa-hero__identity > img { width: 66px; height: 66px; border-radius: 12px; }
	.mpa-hero__identity > div { width: 100%; }
	.mpa-hero h1 { max-width: 250px; }
	.mpa-hero__subtitle { max-width: 260px; margin: 0 0 7px; }
	.mpa-hero__labels { gap: 6px; margin: 0; }
	.mpa-hero__badge, .mpa-hero__meta { min-height: 24px; padding: 3px 8px; font-size: 11px; line-height: 15px; }
	.mpa-hero__copy > p:not(.mpa-eyebrow, .mpa-hero__meta, .project-detail__hero-subtitle) { margin-bottom: 9px; }
	.mpa-hero__actions { gap: 9px; margin-top: 8px; }
	.mpa-hero__shot { order: 2; width: 100%; }
	.mpa-fact strong { font-size: 12px; line-height: 16px; }
	.mpa-fact span { font-size: 10px; line-height: 14px; }
	.mpa-problem { padding: 10px 12px 14px; }
	.mpa-problem__body { align-items: flex-start; gap: 12px; }
	.mpa-problem__icon { width: 44px; height: 44px; }
	.mpa-problem h2, .mpa-workspace h2, .mpa-detail-grid h2, .mpa-technology h2, .mpa-bottom-grid h2 { font-size: 17px; line-height: 20px; }
	.mpa-workflow { padding: 7px 6px 0; }
	.mpa-workflow__grid { display: flex; flex-direction: column; gap: 7px; }
	.mpa-steps { gap: 3px; }
	.mpa-steps li { min-height: 48px; gap: 10px; padding: 5px 7px; border-radius: 7px; }
	.mpa-steps li > span { width: 30px; height: 30px; font-size: 11px; }
	.mpa-workspace { padding: 10px 8px; }
	.mpa-workspace header { margin-bottom: 7px; }
	.mpa-feature-grid { grid-template-columns: repeat(2, 1fr); gap: 4px; margin-top: 7px; }
	.mpa-feature-grid li { min-height: 66px; gap: 6px; padding: 7px; }
	.mpa-feature-grid li:last-child { grid-column: 1 / -1; }
	.mpa-feature__icon { width: 22px; height: 22px; }
	.mpa-detail-grid { grid-template-columns: 1.2fr .8fr; gap: 5px; }
	.mpa-detail-grid > section, .mpa-bottom-grid > section { padding: 9px 7px; }
	.mpa-evidence .mpa-shot { margin-top: 7px; }
	.mpa-note { margin-top: 6px !important;  }
	.mpa-suppliers ul { gap: 3px; margin-top: 7px; }
	.mpa-suppliers li { min-height: 38px; padding: 5px 5px 5px 30px;  }
	.mpa-suppliers li::before { left: 8px; width: 16px; height: 16px; border-width: 1px; font-size: 8px; }
	.mpa-outcomes { display: none; }
	.mpa-technology { padding: 9px 7px; }
	.mpa-technology ul { grid-template-columns: repeat(4, 1fr); gap: 3px; margin-top: 7px; }
	.mpa-technology li { min-height: 48px; gap: 5px; padding: 5px;  }
	.mpa-technology li > img { width: 24px; height: 24px; }
	.mpa-bottom-grid { grid-template-columns: 1.05fr .95fr; gap: 5px; }
	.mpa-settings > div { display: block; }
	.mpa-settings ul { margin-top: 7px; padding-left: 14px;  }
	.mpa-related__list { gap: 3px; margin-top: 7px; }
	.mpa-related__list a { min-height: 54px; grid-template-columns: 25px minmax(0, 1fr) 12px; gap: 5px; padding: 6px; border-radius: 6px; }
	.mpa-related__icon { width: 24px; height: 24px; }
	.mpa-related__list small { margin-top: 2px;  }
	.mpa-related__list b { font-size: 13px; }
}

/* Give the MPA detail sections full width on the narrowest phones. */
@media (max-width: 399px) {
	.mpa-hero__identity, .mpa-problem__body { flex-direction: column; }
	.mpa-hero h1, .mpa-hero__subtitle { max-width: none; }
	.mpa-problem__body > div { min-width: 0; }
	.mpa-facts, .mpa-feature-grid, .mpa-detail-grid, .mpa-bottom-grid { grid-template-columns: minmax(0, 1fr); }
	.mpa-feature-grid li:last-child { grid-column: auto; }
	.mpa-technology ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Neftegazmash project detail */
.ngm-detail { padding: 18px 0 36px; background: #edf8ff; color: var(--color-navy); }
.ngm-detail__article { overflow: clip; }
.ngm-hero { position: relative; width: min(var(--content-max), calc(100% - (2 * var(--page-gutter)))); min-height: 460px; margin-inline: auto; overflow: hidden; border-radius: 18px; background: #fff; box-shadow: 0 3px 20px rgb(21 98 180 / 5%); }
.ngm-hero__inner { position: relative; width: 100%; min-height: 460px; display: flex; align-items: center; }
.ngm-hero__art { position: absolute; z-index: 0; width: 66%; height: 100%; top: 0; right: 0; object-fit: cover; object-position: 75% center; }
.ngm-hero__inner::after { position: absolute; z-index: 1; inset: 0 36% 0 27%; content: ""; pointer-events: none; background: linear-gradient(90deg, #fff 3%, rgb(255 255 255 / 91%) 44%, transparent); }
.ngm-hero__copy { position: relative; z-index: 2; width: min(48%, 560px); padding: 28px 0 36px 34px; }
.ngm-hero__logo { display: block; width: 100px; height: 100px; margin: -8px 0 0; object-fit: contain; }
.ngm-hero__subtitle { max-width: 500px; margin: 0 0 10px; }
.ngm-hero__description { max-width: 500px; margin: 0 0 20px; color: #315993; font-size: var(--project-hero-body-size); line-height: var(--project-hero-body-leading); }
.ngm-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.ngm-hero__actions .button { min-height: 48px; padding: 10px 20px; font-size: 14px; }
.ngm-content { display: grid; gap: 14px; padding-top: 16px; }
.ngm-panel { border-radius: 11px; background: #fff; box-shadow: 0 2px 18px rgb(21 98 180 / 4%); }
.ngm-panel { padding: 20px; }
.ngm-panel h2, .ngm-related h2 { margin: 0 0 5px; font-size: clamp(24px, 2vw, 30px); line-height: 1.14; letter-spacing: -.025em; }
.ngm-panel p { margin: 0; color: #355e99;  }
.ngm-about { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; scroll-margin-top: 24px; }
.ngm-about p { text-align: justify; hyphens: auto; }
.ngm-about p + p { margin-top: 9px; }
.ngm-about img { width: 100%; height: auto; border-radius: 7px; object-fit: contain; }
.ngm-section > p, .ngm-section__head p { margin-bottom: 12px; }
.ngm-pages, .ngm-facilities { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ngm-page-card { min-width: 0; overflow: hidden; border: 1px solid #d5e6fa; border-radius: 9px; box-shadow: 0 2px 12px rgb(0 91 202 / 8%); }
.ngm-page-card > img { display: block; width: 100%; aspect-ratio: 1.95; object-fit: cover; object-position: top center; }
.ngm-page-card > div { padding: 10px 13px; }
.ngm-page-card h3 { margin: 0; font-size: 16px; line-height: 1.2; }
.ngm-facilities img { width: 100%; height: 210px; border-radius: 7px; object-fit: cover; object-position: center; }
.ngm-section__head { display: flex; justify-content: space-between; gap: 16px; align-items: start; }
.ngm-section__head a { position: relative; flex: none; margin-top: 6px; color: #005cdd; font-size: 14px; font-weight: 700; text-decoration: none; }
.ngm-section__head a::after { position: absolute; inset: -12px -8px; background: transparent; content: ""; }
.ngm-section__head a:hover { text-decoration: underline; }
.ngm-products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; }
.ngm-products figure { min-width: 0; margin: 0; overflow: hidden; border: 1px solid #d2dbe6; border-radius: 8px; background: #fff; }
.ngm-products img { display: block; width: 100%; height: auto; }
.ngm-technology { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 9px; margin: 0; padding: 0; list-style: none; }
.ngm-technology li { min-width: 0; min-height: 64px; display: flex; align-items: center; gap: 10px; padding: 10px 13px; border: 1px solid #d6e7fa; border-radius: 9px; color: #174c91; font-weight: 600;  }
.ngm-technology img { width: 30px; height: 30px; flex: none; object-fit: contain; }
.ngm-related { width: min(var(--content-max), calc(100% - (2 * var(--page-gutter)))); margin: 14px auto 0; padding: 20px; border-radius: 11px; background: #fff; box-shadow: 0 2px 18px rgb(21 98 180 / 4%); }
.ngm-related > .container { width: 100%; }
.crm-bottom-grid > .crm-section { padding: 20px; }
.ngm-related__grid, .crm-related > div { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.ngm-related__grid a, .crm-related a { min-width: 0; min-height: 112px; display: grid; grid-template-columns: 54px minmax(0, 1fr) 16px; gap: 12px; align-items: center; padding: 15px; border: 1px solid #d6e7fa; border-radius: 9px; color: var(--color-navy); text-decoration: none; }
.ngm-related__grid img, .ngm-related__icon, .crm-related img { width: 54px; height: 54px; object-fit: contain; color: #0064e7; }
.ngm-related__grid .ngm-related__email, .crm-related .crm-related__email { transform: scale(1.2); }
.ngm-related__grid strong, .ngm-related__grid small { display: block; }
.ngm-related__grid strong { margin-bottom: 3px;  }
.ngm-related__grid small, .crm-related small { color: #355e99;  }
.ngm-related__grid b, .crm-related b { color: #0867e8; font-size: 20px; }
@media (max-width: 1023px) {
 .ngm-hero, .ngm-hero__inner { min-height: 410px; }
 .ngm-hero__copy { width: 53%; padding-left: 24px; }
 .ngm-hero__art { width: 65%; object-position: 77% center; }
 .ngm-hero__inner::after { right: 31%; }
 .ngm-hero__logo { width: 78px; height: 78px; }
 .ngm-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
 .ngm-technology { grid-template-columns: repeat(3, minmax(0, 1fr)); }
 .ngm-related__grid, .crm-related > div { grid-template-columns: 1fr; }
 .ngm-related__grid a, .crm-related a { min-height: 82px; }
}
@media (max-width: 767px) {
 .ngm-detail { padding-top: 12px; }
 .ngm-hero, .ngm-hero__inner { min-height: 0; }
 .ngm-hero__inner { display: block; width: 100%; }
 .ngm-hero__inner::after { display: none; }
 .ngm-hero__copy { width: 100%; margin: auto; padding: 18px 18px 22px; }
 .ngm-hero__art { position: static; display: block; width: 100%; height: auto; aspect-ratio: 2069 / 760; object-fit: contain; }
 .project-detail__breadcrumb, .ngm-breadcrumb { margin-bottom: 10px; font-size: 11px; }
 .ngm-hero__logo { width: 65px; height: 65px; }
 .ngm-hero__description { font-size: var(--project-hero-body-size); line-height: var(--project-hero-body-leading); }
 .ngm-hero__actions { gap: 9px; }
 .ngm-hero__actions .button { min-height: 46px; flex: 1 1 160px; padding: 9px 12px; font-size: 13px; }
 .ngm-content { gap: 12px; }
 .ngm-panel { padding: 17px; }
 .ngm-panel h2, .ngm-related h2 { font-size: 23px; }
 .ngm-about { grid-template-columns: 1fr; gap: 14px; }
 .ngm-about img { aspect-ratio: 1000 / 395; }
 .ngm-pages, .ngm-facilities { grid-template-columns: 1fr; }
 .ngm-page-card > img { aspect-ratio: 2.1; }
 .ngm-facilities img { height: auto; aspect-ratio: 1.5; }
 .ngm-section__head { display: block; }
 .ngm-section__head a { display: inline-block; margin: 0 0 12px; }
 .ngm-products { gap: 8px; }
 .ngm-technology { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
 .ngm-technology li { min-height: 56px; padding: 8px;  }
 .ngm-technology img { width: 25px; height: 25px; }
 .ngm-related__grid a, .crm-related a { grid-template-columns: 46px minmax(0, 1fr) 16px; }
 .ngm-related__grid img, .ngm-related__icon, .crm-related img { width: 46px; height: 46px; }
 .ngm-related, .crm-bottom-grid > .crm-section { padding: 17px; }
}
/* Historical Blog index only. */
.blog-page { padding: 18px 0 50px; }
.blog-shell { width: min(1344px, calc(100% - 96px)); margin: auto; }
.blog-intro, .blog-featured, .blog-latest { border: 1px solid #dfeefa; border-radius: 12px; background: linear-gradient(115deg, #fff, #fbfdff); }
.blog-intro { position: relative; isolation: isolate; min-height: 210px; overflow: hidden; margin-bottom: 16px; }
.blog-intro__art { position: absolute; z-index: -1; right: 0; bottom: 0; width: 70%; height: auto; }
.blog-intro__copy { position: relative; width: 62%; padding: 30px 34px 24px; background: linear-gradient(90deg, #ffffffed 65%, #ffffff00); }
.blog-eyebrow { margin: 0 0 10px; color: var(--color-blue); font-size: 16px; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; }
.blog-intro h1 { margin: 0 0 8px; font-size: 52px; line-height: 1.05; }
.blog-intro__lead { margin: 0 0 8px; color: #003fb6; font-size: 21px; line-height: 1.4; }
.blog-intro__sub { margin: 0; color: #3f56a2; font-size: 17px; }
.blog-search { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 18px; }
.blog-search input[type="search"] { flex: 1 1 180px; width: 100%; min-width: 0; max-width: 520px; min-height: 48px; padding: 10px 14px; border: 1px solid #deedfc; border-radius: 8px; background: #fff; color: var(--color-navy); }
.blog-search .button { flex: 0 0 auto; cursor: pointer; }
.blog-search-context { margin: 0 0 18px; color: #4059a7; overflow-wrap: anywhere; }
.blog-featured { display: grid; gap: 28px; padding: 20px; margin-bottom: 20px; }
.blog-featured.has-image { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); }
.blog-featured .blog-card__copy { padding: 0 10px; }
.blog-featured h2 { margin: 0 0 16px; font-size: 32px; line-height: 1.13; }
.blog-featured .blog-media { min-height: 290px; }
.blog-featured .blog-excerpt { font-size: 18px; }
.blog-featured .blog-read { margin-top: 3px; font-size: 16px; }
.blog-latest { padding: 20px 26px 18px; }
.blog-latest > h2 { margin: 0 0 16px; font-size: 30px; }
.blog-filters { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.blog-filters a { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 8px 20px; border: 1px solid #deedfc; border-radius: 999px; background: #f0f7ff; color: #233b91; text-decoration: none; font-size: 16px; }
.blog-filters a[aria-current] { color: #fff; background: var(--color-blue); border-color: var(--color-blue); }
.blog-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.blog-card { display: grid; min-width: 0; gap: 24px; padding: 10px; border: 1px solid #dfeefa; border-radius: 12px; background: #fcfdff; }
.blog-card.has-image { grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr); }
.blog-card__copy { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; padding: 10px 8px 8px 0; }
.blog-card:not(.has-image) .blog-card__copy { padding-left: 10px; }
.blog-card h3 { margin: 0 0 14px; font-size: 20px; line-height: 1.22; }
.blog-card h3 a, .blog-featured h2 a { color: var(--color-navy); text-decoration: none; overflow-wrap: anywhere; }
.blog-card h3 a:hover, .blog-featured h2 a:hover { color: var(--color-blue); }
.blog-meta { display: flex; flex-wrap: wrap; gap: 8px 0; margin-bottom: 18px; color: #4059a7; font-size: 15px; line-height: 1.3; }
.blog-meta a { padding-left: 14px; margin-left: 14px; border-left: 1px solid #d7e6fa; color: inherit; text-decoration: none; }
.blog-excerpt { margin: 0 0 14px; color: #4059a7; font-size: 16px; line-height: 1.42; overflow-wrap: anywhere; }
.blog-card .blog-excerpt { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; flex-shrink: 0; }
.blog-card .blog-read { margin-top: auto; min-height: 32px; flex-shrink: 0; font-size: 17px; font-weight: 500; }
.blog-media { display: block; overflow: hidden; border-radius: 7px; }
.blog-media img { width: 100%; height: 100%; min-height: 230px; object-fit: cover; }
.blog-card .blog-media { height: auto; aspect-ratio: 0.9; align-self: start; }
.blog-card .blog-media img { min-height: 0; }
.blog-notice { display: flex; align-items: center; gap: 14px; margin: 16px 0 18px; padding: 12px 16px; border: 1px solid #dfeefa; border-radius: 9px; background: #eff7ff; color: #4059a7; font-size: 14px; }
.blog-notice span { color: var(--color-blue); font-size: 24px; line-height: 1; }
.blog-pagination .nav-links { justify-content: center; align-items: center; gap: 12px; }
.blog-pagination .page-numbers { padding: 7px 12px; min-width: 42px; font-size: 16px; }
.blog-pagination .dots { border: 0; }
.desktop-nav .blog-menu-item > a { padding-bottom: 12px; border-bottom: 2px solid var(--color-blue); }
@media (max-width: 1023px) {
  .blog-shell { width: calc(100% - 48px); }
  .blog-intro__copy { width: 70%; padding: 24px; }
  .blog-intro h1 { font-size: 42px; }
  .blog-intro__lead { font-size: 18px; }
  .blog-intro__sub { font-size: 15px; }
  .blog-latest { padding: 20px; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-card.has-image { grid-template-columns: 194px minmax(0, 1fr); }
  .blog-media img { min-height: 210px; }
  .blog-featured h2 { font-size: 28px; }
}
@media (max-width: 767px) {
  .blog-page { padding: 12px 0 24px; }
  .blog-shell { width: calc(100% - 28px); }
  .blog-intro { display: flex; flex-direction: column; min-height: 0; }
  .blog-intro__copy { order: 1; width: 100%; padding: 20px 18px 0; background: none; }
  .blog-intro__art { position: relative; order: 2; width: 100%; margin-top: 6px; }
  .blog-eyebrow { font-size: 12px; }
  .blog-intro h1 { font-size: 38px; }
  .blog-intro__lead { font-size: 16px; }
  .blog-intro__sub { font-size: 14px; }
  .blog-featured, .blog-featured.has-image { grid-template-columns: 1fr; padding: 18px; gap: 16px; margin-bottom: 14px; }
  .blog-featured .blog-card__copy { padding: 0; }
  .blog-featured h2 { font-size: 25px; }
  .blog-featured .blog-excerpt { font-size: 16px; }
  .blog-latest { padding: 18px 12px; }
  .blog-latest > h2 { font-size: 25px; }
  .blog-filters { gap: 7px; }
  .blog-filters a { padding: 8px 13px; font-size: 14px; }
  .blog-card, .blog-card.has-image { grid-template-columns: 1fr; gap: 10px; padding: 10px; }
  .blog-card__copy, .blog-card:not(.has-image) .blog-card__copy { padding: 5px; }
  .blog-card h3 { font-size: 19px; }
  .blog-card .blog-media { aspect-ratio: 2; }
  .blog-media img { min-height: 0; }
  .blog-meta { font-size: 13px; margin-bottom: 14px; }
  .blog-meta a { padding-left: 9px; margin-left: 9px; }
  .blog-excerpt { font-size: 15px; }
  .blog-notice { align-items: flex-start; padding: 12px; font-size: 12px; gap: 9px; }
  .blog-pagination .nav-links { gap: 6px; }
  .blog-pagination .page-numbers { min-width: 34px; padding: 6px 9px; font-size: 14px; }
}

/* Historical Single Post only. */
.single-post .single-article { width: min(1344px, calc(100% - 96px)); margin-inline: auto; padding-top: 18px; }
.single-post .single-hero, .single-post .single-body-panel, .single-post .single-adjacent__card, .single-post .single-more { border: 1px solid #dfeefa; border-radius: 12px; background: linear-gradient(115deg, #fff, #fbfdff); }
.single-post .single-hero { display: block; padding: 22px 32px 24px; }
.single-post .single-hero.has-image { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr); gap: 34px; align-items: center; }
.single-post .single-hero__copy { min-width: 0; }
.single-post .single-back { display: inline-block; margin-bottom: 16px; font-size: 14px; font-weight: 600; text-decoration: none; }
.single-post .single-eyebrow { margin: 0 0 8px; color: var(--color-blue); font-size: 14px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; }
.single-post .single-hero h1 { margin: 0 0 18px; font-size: clamp(34px, 3.25vw, 48px); line-height: 1.08; overflow-wrap: anywhere; }
.single-post .single-hero__meta { display: flex; flex-wrap: wrap; gap: 10px 22px; color: #1749a6; font-size: 14px; }
.single-post .single-hero__meta > span { min-width: 0; display: inline-flex; align-items: flex-start; gap: 7px; }
.single-post .single-icon { width: 18px; height: 18px; flex: none; }
.single-post .single-term-list { min-width: 0; overflow-wrap: anywhere; }
.single-post .single-hero__meta a { color: inherit; text-decoration: none; }
.single-post .single-lead { margin-top: 18px; color: #253f91; font-size: 17px; line-height: 1.45; }
.single-post .single-lead > :last-child { margin-bottom: 0; }
.single-post .single-hero__media { min-width: 0; margin: 0; overflow: hidden; border-radius: 8px; }
.single-post .single-hero__media img { width: 100%; height: auto; max-height: 390px; object-fit: contain; background: var(--color-tint); }
.single-post .single-body-panel { margin-top: 16px; padding: 24px 32px 20px; }
.single-post .single-content { display: flow-root; width: min(860px, 100%); margin-inline: auto; color: #10194f; font-size: 16px; line-height: 1.55; overflow-wrap: break-word; }
.single-post .single-content > :first-child { margin-top: 0; }
.single-post .single-content h1, .single-post .single-content h2, .single-post .single-content h3, .single-post .single-content h4, .single-post .single-content h5, .single-post .single-content h6 { clear: both; color: var(--color-navy); overflow-wrap: anywhere; }
.single-post .single-content h1 { margin: 1.3em 0 .55em; font-size: 28px; }
.single-post .single-content h2 { margin: 1.3em 0 .5em; font-size: 27px; }
.single-post .single-content h3 { margin: 1.25em 0 .45em; font-size: 21px; }
.single-post .single-content h4, .single-post .single-content h5, .single-post .single-content h6 { margin: 1.2em 0 .4em; font-size: 18px; }
.single-post .single-content p, .single-post .single-content ul, .single-post .single-content ol { margin-top: 0; margin-bottom: 1em; }
.single-post .single-content ul, .single-post .single-content ol { padding-left: 1.6em; }
.single-post .single-content li + li { margin-top: .28em; }
.single-post .single-content blockquote { margin: 1.35em 0; padding: 16px 20px 16px 58px; border: 1px solid #dcecf9; border-radius: 9px; color: #3159a2; background: #eef7fd; font-style: italic; position: relative; }
.single-post .single-content blockquote::before { position: absolute; top: 6px; left: 18px; color: var(--color-blue); content: "“"; font-size: 50px; font-style: normal; font-weight: 800; line-height: 1; }
.single-post .single-content blockquote > :last-child { margin-bottom: 0; }
.single-post .single-content pre { max-width: 100%; overflow-x: auto; margin: 1.25em 0; padding: 14px 16px; border: 1px solid #d8e7f4; border-radius: 8px; background: #f3f7fb; color: #10194f; font: 13px/1.55 ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace; white-space: pre; tab-size: 4; }
.single-post .single-content code { font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace; }
.single-post .single-content :not(pre) > code { padding: .12em .3em; border-radius: 4px; background: #eef4fa; overflow-wrap: anywhere; }
.single-post .single-content img, .single-post .single-content video, .single-post .single-content iframe, .single-post .single-content object, .single-post .single-content embed { max-width: 100% !important; }
.single-post .single-content img, .single-post .single-content video { height: auto !important; }
.single-post .single-content iframe, .single-post .single-content object, .single-post .single-content embed { min-width: 0; }
.single-post .single-content figure { max-width: 100% !important; }
.single-post .single-content .alignleft { float: left; margin: .35em 1.35em .8em 0; }
.single-post .single-content .alignright { float: right; margin: .35em 0 .8em 1.35em; }
.single-post .single-content .aligncenter { display: block; clear: both; margin: 1.2em auto; }
.single-post .single-content .wp-caption { max-width: 100% !important; margin-top: 1.2em; margin-bottom: 1.2em; padding: 6px; border: 1px solid #dfeaf4; border-radius: 6px; background: #f8fbfd; }
.single-post .single-content .wp-caption img { width: auto; margin-inline: auto; }
.single-post .single-content .wp-caption-text, .single-post .single-content figcaption { margin: 6px 4px 2px; color: #526d9d; font-size: 13px; line-height: 1.4; text-align: center; }
.single-post .single-content table { display: block; width: 100%; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
.single-post .single-taxonomy { width: min(1240px, 100%); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 24px auto 0; border: 1px solid #dceafa; border-radius: 9px; }
.single-post .single-taxonomy > div { min-width: 0; display: flex; gap: 14px; align-items: flex-start; padding: 14px 22px; border-left: 1px solid #dceafa; }
.single-post .single-taxonomy > div:first-child { border-left: 0; }
.single-post .single-taxonomy__icon { width: 24px; height: 24px; flex: none; color: var(--color-blue); }
.single-post .single-taxonomy strong, .single-post .single-taxonomy time, .single-post .single-taxonomy__terms { display: block; }
.single-post .single-taxonomy strong { color: #4c68a0; font-size: 11px; font-weight: 500; }
.single-post .single-taxonomy time, .single-post .single-taxonomy__terms { color: #1749a6; font-size: 12px; line-height: 1.4; overflow-wrap: anywhere; }
.single-post .single-taxonomy a { color: inherit; text-decoration: none; }
.single-post .single-adjacent { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.single-post .single-adjacent__card { min-width: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; align-items: center; min-height: 130px; padding: 12px 18px; color: var(--color-navy); text-decoration: none; }
.single-post .single-adjacent__card:only-child { grid-column: span 1; }
.single-post .single-adjacent__card--next:only-child { grid-column: 2; }
.single-post .single-adjacent__card img { width: 138px; height: 104px; object-fit: cover; border-radius: 7px; }
.single-post .single-adjacent__card span { min-width: 0; }
.single-post .single-adjacent__card small, .single-post .single-adjacent__card strong, .single-post .single-adjacent__card em { display: block; }
.single-post .single-adjacent__card small { margin-bottom: 5px; color: var(--color-blue); font-size: 12px; }
.single-post .single-adjacent__card strong { font-size: 16px; line-height: 1.25; overflow-wrap: anywhere; }
.single-post .single-adjacent__card em { margin-top: 7px; color: #526d9d; font-size: 12px; font-style: normal; }
.single-post .single-more { margin-top: 16px; padding: 16px; }
.single-post .single-more h2 { margin: 0 0 10px; font-size: 25px; }
.single-post .single-more__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.single-post .single-more__card { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr); padding: 10px; border: 1px solid #dceafa; border-radius: 8px; background: #fff; }
.single-post .single-more__card.has-image { grid-template-columns: 120px minmax(0, 1fr); gap: 14px; }
.single-post .single-more__media { display: block; }
.single-post .single-more__media img { width: 120px; height: 112px; object-fit: cover; border-radius: 6px; }
.single-post .single-more__card h3 { margin: 0 0 7px; font-size: 15px; line-height: 1.25; }
.single-post .single-more__card h3 a { color: var(--color-navy); text-decoration: none; overflow-wrap: anywhere; }
.single-post .single-more__card p { margin: 0 0 7px; color: #526d9d; font-size: 11px; }
.single-post .single-more__link { font-size: 12px; font-weight: 650; text-decoration: none; }

@media (max-width: 1023px) {
  .single-post .single-article { width: calc(100% - 48px); }
  .single-post .single-hero.has-image { grid-template-columns: minmax(0, 1fr) minmax(280px, .8fr); gap: 24px; }
  .single-post .single-hero { padding: 22px 24px; }
  .single-post .single-hero h1 { font-size: 34px; }
  .single-post .single-body-panel { padding: 22px 24px; }
  .single-post .single-taxonomy { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-post .single-taxonomy > div:nth-child(3) { grid-column: 1 / -1; border-top: 1px solid #dceafa; border-left: 0; }
  .single-post .single-more__grid { grid-template-columns: 1fr; }
  .single-post .single-more__card.has-image { grid-template-columns: 140px minmax(0, 1fr); }
  .single-post .single-more__media img { width: 140px; height: 100px; }
}

@media (max-width: 767px) {
  .single-post .single-article { width: calc(100% - 28px); padding-top: 12px; }
  .single-post .single-hero, .single-post .single-hero.has-image { display: flex; flex-direction: column; gap: 18px; padding: 18px; }
  .single-post .single-hero__copy { width: 100%; }
  .single-post .single-back { margin-bottom: 12px; font-size: 12px; }
  .single-post .single-eyebrow { font-size: 11px; }
  .single-post .single-hero h1 { font-size: 29px; }
  .single-post .single-hero__meta { gap: 8px 15px; font-size: 12px; }
  .single-post .single-lead { font-size: 15px; }
  .single-post .single-hero__media { width: 100%; }
  .single-post .single-body-panel { margin-top: 8px; padding: 20px 16px 16px; }
  .single-post .single-content { font-size: 15px; line-height: 1.55; }
  .single-post .single-content h1, .single-post .single-content h2 { font-size: 23px; }
  .single-post .single-content h3 { font-size: 19px; }
  .single-post .single-content pre { margin-inline: 0; padding: 12px; font-size: 12px; }
  .single-post .single-content .alignleft, .single-post .single-content .alignright { float: none !important; display: block; margin: 1.1em auto !important; }
  .single-post .single-content [style*="float: left"], .single-post .single-content [style*="float:left"], .single-post .single-content [style*="float: right"], .single-post .single-content [style*="float:right"] { float: none !important; display: block; margin-right: auto !important; margin-left: auto !important; }
  .single-post .single-content .wp-caption { width: auto !important; }
  .single-post .single-content iframe, .single-post .single-content object, .single-post .single-content embed { width: 100% !important; height: auto; }
  .single-post .single-taxonomy { grid-template-columns: 1fr; }
  .single-post .single-taxonomy > div, .single-post .single-taxonomy > div:first-child, .single-post .single-taxonomy > div:nth-child(3) { grid-column: auto; padding: 12px 14px; border-top: 1px solid #dceafa; border-left: 0; }
  .single-post .single-taxonomy > div:first-child { border-top: 0; }
  .single-post .single-adjacent { grid-template-columns: 1fr; gap: 8px; margin-top: 8px; }
  .single-post .single-adjacent__card, .single-post .single-adjacent__card:only-child, .single-post .single-adjacent__card--next:only-child { grid-column: 1; min-height: 0; padding: 12px; }
  .single-post .single-adjacent__card img { width: 94px; height: 80px; }
  .single-post .single-more { margin-top: 8px; padding: 14px 12px; }
  .single-post .single-more h2 { font-size: 22px; }
  .single-post .single-more__card.has-image { grid-template-columns: 92px minmax(0, 1fr); gap: 10px; }
  .single-post .single-more__media img { width: 92px; height: 84px; }
}

/* Staged RU Projects contact disclosure; EN presentation remains unchanged. */
.projects-index--ru .projects-contact__note { display: block; margin-top: 6px; color: var(--color-blue-secondary); font-size: 12px; line-height: 18px; }
/* Long RU project names/domains may wrap without changing approved typography. */
.projects-index--ru .projects-row__heading h2 { overflow-wrap: anywhere; }

/* Post 217: recovered Blogger photos retain readable floats without thumbnail caps. */
.postid-217 .single-content .blogger-recovered-section { display: flow-root; }
.postid-217 .single-content .blogger-recovered-photo.alignright { width: 40%; clear: right; }
.postid-217 .single-content .blogger-recovered-photo img { display: block; width: 100%; }
@media (max-width: 767px) {
  .postid-217 .single-content .blogger-recovered-photo.alignright { width: 100%; }
}

/* Post 218: preserve the original right alignment with responsive local media. */
.postid-218 .single-content .blogger-recovered-section { display: flow-root; }
.postid-218 .single-content .blogger-recovered-photo.alignright { width: 40%; clear: right; }
.postid-218 .single-content .blogger-recovered-photo img { display: block; width: 100%; }
@media (max-width: 767px) {
  .postid-218 .single-content .blogger-recovered-photo.alignright { width: 100%; }
}

/* Recovered historical drive-thru photo, post 230. */
.postid-230 .single-content .blogger-recovered-photo.alignright { width: 40%; clear: right; }
.postid-230 .single-content .blogger-recovered-photo img { display: block; width: 100%; height: auto; }
@media (max-width: 767px) {
  .postid-230 .single-content .blogger-recovered-photo.alignright { width: 100%; }
}

/* Recovered historical NGM website screenshot, post 232. */
.postid-232 .single-content .blogger-recovered-section { display: flow-root; }
.postid-232 .single-content .blogger-recovered-photo.alignleft { width: 40%; clear: left; }
.postid-232 .single-content .blogger-recovered-photo img { display: block; width: 100%; height: auto; }
@media (max-width: 767px) {
  .postid-232 .single-content .blogger-recovered-photo.alignleft { width: 100%; }
}

/* Recovered historical Labinsk article media, post 231. */
.postid-231 .single-content .blogger-recovered-section { display: flow-root; }
.postid-231 .single-content .blogger-recovered-photo.alignright { width: 40%; clear: right; }
.postid-231 .single-content .blogger-recovered-photo img { display: block; width: 100%; height: auto; }
@media (max-width: 767px) {
  .postid-231 .single-content .blogger-recovered-photo.alignright { width: 100%; }
}

/* Recovered historical oil-absorbing sponge photo, post 234. */
.postid-234 .single-content .blogger-recovered-section { display: flow-root; }
.postid-234 .single-content .blogger-recovered-photo.alignleft { width: 40%; clear: left; }
.postid-234 .single-content .blogger-recovered-photo img { display: block; width: 100%; height: auto; }
@media (max-width: 767px) {
  .postid-234 .single-content .blogger-recovered-photo.alignleft { width: 100%; }
}

/* Recovered historical Krasnodar fountain media, post 235. */
.postid-235 .single-content .blogger-recovered-section { display: flow-root; }
.postid-235 .single-content .blogger-recovered-photo.alignleft { width: 40%; clear: left; }
.postid-235 .single-content .blogger-recovered-photo img { display: block; width: 100%; height: auto; }
.postid-235 .single-content .blogger-recovered-video { margin: 1.2em auto; }
@media (max-width: 767px) {
  .postid-235 .single-content .blogger-recovered-photo.alignleft { width: 100%; }
}

/* Recovered historical SpaceX photos, post 237. */
.postid-237 .single-content .blogger-recovered-section { display: flow-root; }
.postid-237 .single-content .blogger-recovered-photo { width: 40%; }
.postid-237 .single-content .blogger-recovered-photo.alignright { clear: right; }
.postid-237 .single-content .blogger-recovered-photo.alignleft { clear: left; }
.postid-237 .single-content .blogger-recovered-photo img { display: block; width: 100%; height: auto; }
@media (max-width: 767px) {
  .postid-237 .single-content .blogger-recovered-photo { width: 100%; }
}

/* Recovered historical Turbulizator team photos, post 238. */
.postid-238 .single-content .blogger-recovered-section { display: flow-root; }
.postid-238 .single-content .blogger-recovered-photo.alignright { width: 40%; clear: right; }
.postid-238 .single-content .blogger-recovered-photo img { display: block; width: 100%; height: auto; }
@media (max-width: 767px) {
  .postid-238 .single-content .blogger-recovered-photo.alignright { width: 100%; }
}

/* Recovered historical Bill Gates portrait, post 239. */
.postid-239 .single-content .blogger-recovered-section { display: flow-root; }
.postid-239 .single-content .blogger-recovered-photo.alignright { width: 40%; clear: right; }
.postid-239 .single-content .blogger-recovered-photo img { display: block; width: 100%; height: auto; }
@media (max-width: 767px) {
  .postid-239 .single-content .blogger-recovered-photo.alignright { width: 100%; }
}

/* Recovered historical Yammer article media, post 242. */
.postid-242 .single-content .blogger-recovered-section { display: flow-root; }
.postid-242 .single-content .blogger-recovered-photo.alignright { width: 40%; clear: right; }
.postid-242 .single-content .blogger-recovered-photo.alignleft { width: 40%; clear: left; }
.postid-242 .single-content .blogger-recovered-photo img { display: block; width: 100%; height: auto; }
@media (max-width: 767px) {
  .postid-242 .single-content .blogger-recovered-photo.alignright,
  .postid-242 .single-content .blogger-recovered-photo.alignleft { width: 100%; }
}

/* Recovered historical parking-fines table, post 244. */
.postid-244 .single-content .blogger-recovered-section { display: flow-root; }
.postid-244 .single-content .blogger-recovered-photo.alignright { width: 40%; clear: right; }
.postid-244 .single-content .blogger-recovered-photo img { display: block; width: 100%; height: auto; }
@media (max-width: 767px) {
  .postid-244 .single-content .blogger-recovered-photo.alignright { width: 100%; }
}

/* Recovered historical Dynamo article media, post 245. */
.postid-245 .single-content .blogger-recovered-section { display: flow-root; }
.postid-245 .single-content .blogger-recovered-photo.alignright { width: 40%; clear: right; }
.postid-245 .single-content .blogger-recovered-photo img { display: block; width: 100%; height: auto; }
@media (max-width: 767px) {
  .postid-245 .single-content .blogger-recovered-photo.alignright { width: 100%; }
}

/* Recovered historical presentation article media, post 248. */
.postid-248 .single-content .blogger-recovered-section { display: flow-root; }
.postid-248 .single-content .blogger-recovered-photo.alignright { width: 40%; clear: right; }
.postid-248 .single-content .blogger-recovered-photo img { display: block; width: 100%; height: auto; }
@media (max-width: 767px) {
  .postid-248 .single-content .blogger-recovered-photo.alignright { width: 100%; }
}

/* Recovered historical coagulation/flocculation media, post 249. */
.postid-249 .single-content .blogger-recovered-section { display: flow-root; }
.postid-249 .single-content .blogger-recovered-photo.alignleft { width: 40%; clear: left; }
.postid-249 .single-content .blogger-recovered-photo.alignright { width: 40%; clear: right; }
.postid-249 .single-content .blogger-recovered-photo.aligncenter { display: block; width: 100%; margin: 1.2em auto; }
.postid-249 .single-content .blogger-recovered-photo img { display: block; width: 100%; height: auto; }
@media (max-width: 767px) {
  .postid-249 .single-content .blogger-recovered-photo.alignleft,
  .postid-249 .single-content .blogger-recovered-photo.alignright { width: 100%; }
}

/* Recovered historical Italy article media, post 250. */
.postid-250 .single-content .blogger-recovered-section { display: flow-root; }
.postid-250 .single-content .blogger-recovered-photo.alignright { width: 40%; clear: right; }
.postid-250 .single-content .blogger-recovered-photo img { display: block; width: 100%; height: auto; }
@media (max-width: 767px) {
  .postid-250 .single-content .blogger-recovered-photo.alignright { width: 100%; }
}

/* Recovered historical government-age chart, post 252. */
.postid-252 .single-content .blogger-recovered-section { display: flow-root; }
.postid-252 .single-content .blogger-recovered-photo.alignright { width: 40%; clear: right; }
.postid-252 .single-content .blogger-recovered-photo img { display: block; width: 100%; height: auto; }
@media (max-width: 767px) {
  .postid-252 .single-content .blogger-recovered-photo.alignright { width: 100%; }
}
