/* Martini Tech — layout web.dev/learn, brand Martini */

.body-martini-tech {
  --header-h: 100px;
  --tech-sticky-h: var(--header-h);
  --tech-font: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --tech-mono: "Space Mono", ui-monospace, monospace;
  --tech-container: min(100% - 32px, 1232px);
  --tech-section-y: 72px;
  margin: 0;
  font-family: var(--tech-font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

@supports not (overflow: clip) {
  .body-martini-tech {
    overflow-x: hidden;
  }
}

@media (min-width: 768px) {
  .body-martini-tech {
    --tech-container: min(100% - 48px, 1232px);
  }
}

@media (max-width: 1023px) {
  .body-martini-tech {
    --header-h: 100px;
    --tech-sticky-h: var(--header-h);
  }
}

@media (min-width: 600px) and (max-width: 1023px) {
  .body-martini-tech {
    --header-h: 108px;
  }
}

@media (min-width: 900px) {
  .body-martini-tech {
    --tech-section-y: 120px;
  }
}

.body-martini-tech *,
.body-martini-tech *::before,
.body-martini-tech *::after {
  box-sizing: border-box;
}

.body-martini-tech a {
  color: var(--tech-blue);
  text-decoration: none;
}

.body-martini-tech a:hover,
.body-martini-tech a:focus,
.body-martini-tech a:active {
  text-decoration: none;
}

/* Header nav: tutti #3C3C3C; attivo con indicatore inferiore */
.tech-header .tech-header__nav a.tech-header__link,
.tech-header .tech-header__mobile-nav a.tech-header__link {
  position: relative;
  color: var(--nav-link);
  font-weight: 500;
  text-decoration: none;
}

.tech-header .tech-header__nav a.tech-header__link:hover,
.tech-header .tech-header__mobile-nav a.tech-header__link:hover {
  color: var(--nav-link);
}

.tech-header .tech-header__nav a.tech-header__link[aria-current="page"],
.tech-header .tech-header__mobile-nav a.tech-header__link[aria-current="page"] {
  color: var(--nav-link);
  font-weight: 600;
  box-shadow: none;
}

.tech-header .tech-header__nav a.tech-header__link[aria-current="page"]::after,
.tech-header .tech-header__mobile-nav a.tech-header__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--nav-indicator);
}

.tech-header .tech-header__brand {
  color: inherit;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.tech-skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 200;
  padding: 8px 16px;
  background: var(--tech-bg);
  border: 1px solid var(--tech-border);
  border-radius: 4px;
  font-weight: 600;
}

.tech-skip:focus {
  left: 16px;
}

.tech-container {
  width: var(--tech-container);
  margin-inline: auto;
}

.tech-container--narrow-hub {
  max-width: 720px;
}

.tech-section {
  padding-block: var(--tech-section-y);
}

.tech-section--surface {
  background: var(--tech-surface);
}

.tech-section-heading {
  margin: 0 0 32px;
  font-size: clamp(1.5rem, 2.5vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--tech-text);
}

/* Link al nome autore (/autore/) — solo colore in hover, niente sfondo */
.body-martini-tech a.tech-author-name-link {
  color: var(--heading);
  text-decoration: none;
  border-radius: 4px;
  transition: color 150ms ease;
  background: transparent;
}

.body-martini-tech a.tech-author-name-link:hover {
  color: var(--blue);
  text-decoration: none;
  background: transparent;
}

.body-martini-tech a.tech-author-name-link:focus {
  background: transparent;
}

.body-martini-tech a.tech-author-name-link:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
  text-decoration: none;
  background: transparent;
}

html[data-theme="dark"] .body-martini-tech a.tech-author-name-link:hover {
  color: var(--blue-hover);
}

@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]) .body-martini-tech a.tech-author-name-link:hover {
    color: var(--blue-hover);
  }
}

.tech-pill,
.tech-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: max-content;
  max-width: 100%;
  height: 34px;
  padding: 0 14px;
  border: 0;
  border-radius: 9999px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 34px;
  white-space: nowrap;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
}

.tech-pill::before,
.tech-btn::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 44px;
  transform: translateY(-50%);
}

@media (min-width: 600px) {
  .tech-pill,
  .tech-btn {
    height: 38px;
    line-height: 38px;
  }
}

.tech-pill--primary,
.tech-btn--primary {
  width: max-content;
  background: var(--tech-blue);
  color: var(--on-primary) !important;
}

.tech-pill--primary:hover,
.tech-pill--primary:focus-visible,
.tech-btn--primary:hover,
.tech-btn--primary:focus-visible {
  background: var(--tech-blue-hover);
  color: var(--on-primary) !important;
  box-shadow: none;
  transform: none;
}

html[data-theme="dark"] .body-martini-tech .tech-pill--primary,
html[data-theme="dark"] .body-martini-tech .tech-btn--primary {
  background: var(--blue-cta);
}

html[data-theme="dark"] .body-martini-tech .tech-pill--primary:hover,
html[data-theme="dark"] .body-martini-tech .tech-pill--primary:focus-visible,
html[data-theme="dark"] .body-martini-tech .tech-btn--primary:hover,
html[data-theme="dark"] .body-martini-tech .tech-btn--primary:focus-visible {
  background: var(--blue-cta-hover);
}

@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]) .body-martini-tech .tech-pill--primary,
  html:not([data-theme="light"]) .body-martini-tech .tech-btn--primary {
    background: var(--blue-cta);
  }

  html:not([data-theme="light"]) .body-martini-tech .tech-pill--primary:hover,
  html:not([data-theme="light"]) .body-martini-tech .tech-pill--primary:focus-visible,
  html:not([data-theme="light"]) .body-martini-tech .tech-btn--primary:hover,
  html:not([data-theme="light"]) .body-martini-tech .tech-btn--primary:focus-visible {
    background: var(--blue-cta-hover);
  }
}

.tech-pill--outline {
  border: 2px solid var(--tech-blue);
  color: var(--tech-blue) !important;
  background: var(--tech-bg);
}

.tech-pill--outline:hover,
.tech-pill--outline:focus-visible {
  background: var(--tech-blue-soft);
  color: var(--tech-blue) !important;
  box-shadow: none;
  transform: none;
}

html[data-theme="dark"] .body-martini-tech .tech-pill--outline {
  border-color: var(--blue-border);
  color: var(--blue) !important;
}

html[data-theme="dark"] .body-martini-tech .tech-pill--outline:hover,
html[data-theme="dark"] .body-martini-tech .tech-pill--outline:focus-visible {
  background: var(--blue-soft);
  color: var(--blue) !important;
}

@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]) .body-martini-tech .tech-pill--outline {
    border-color: var(--blue-border);
    color: var(--blue) !important;
  }

  html:not([data-theme="light"]) .body-martini-tech .tech-pill--outline:hover,
  html:not([data-theme="light"]) .body-martini-tech .tech-pill--outline:focus-visible {
    background: var(--blue-soft);
    color: var(--blue) !important;
  }
}

.tech-chrome-sticky {
  position: relative;
  z-index: 50;
}

.tech-header {
  background: var(--header-bg);
  border-bottom: 1px solid var(--tech-border);
}

@media (max-width: 1023px) {
  .tech-chrome-sticky {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--card);
    border-bottom: 1px solid var(--border);
  }

  .tech-chrome-sticky .tech-header {
    position: static;
    background: transparent;
    border-bottom: none;
  }
}

@media (min-width: 1024px) {
  .tech-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--header-bg);
    border-bottom: 1px solid var(--tech-border);
  }
}

.tech-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px 16px;
  min-height: 56px;
}

.tech-header__brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-width: 0;
  text-decoration: none;
}

.tech-header__logo-img {
  display: block;
  height: 32px;
  width: auto;
  aspect-ratio: 236 / 37;
  max-width: none;
  object-fit: contain;
  flex: 0 0 auto;
}

.tech-header__logo-img--dark {
  display: none;
}

html[data-theme="dark"] .tech-header__logo-img--light {
  display: none;
}

html[data-theme="dark"] .tech-header__logo-img--dark {
  display: block;
}

@media (prefers-color-scheme: dark) {
  html:not([data-theme]) .tech-header__logo-img--light {
    display: none;
  }

  html:not([data-theme]) .tech-header__logo-img--dark {
    display: block;
  }
}

html[data-theme="light"] .tech-header__logo-img--dark {
  display: none;
}

html[data-theme="light"] .tech-header__logo-img--light {
  display: block;
}

@media (max-width: 400px) {
  .tech-header__logo-img {
    height: 28px;
  }
}

.tech-header__nav {
  display: none;
  align-items: center;
  gap: var(--space-6);
  margin-left: var(--space-2);
}

.tech-header__link {
  padding: var(--space-4) 0;
  font-size: 14px;
}

.tech-header__search-wrap {
  display: none;
  flex: 1;
  justify-content: center;
  min-width: 0;
}

.tech-header__search-icon,
.tech-header__search-close {
  display: none;
}

.tech-header__search {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 240px;
  max-width: 100%;
  min-width: 0;
  border: 0;
  box-shadow: none;
  outline: none;
}

.tech-header__search-field {
  position: relative;
  flex: 1;
  min-width: 0;
  width: 100%;
}

.tech-header__search-icon {
  color: var(--muted);
  pointer-events: none;
}

.tech-header__search-close {
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--tech-text-mid);
  cursor: pointer;
}

.tech-header__search-close:hover,
.tech-header__search-close:focus-visible {
  color: var(--tech-text);
  background: var(--theme-toggle-hover);
}

.tech-header__search-close:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
}

.tech-header__search-input {
  box-sizing: border-box;
  width: 100%;
  height: 36px;
  padding: 0 36px 0 14px;
  border: 1px solid var(--input-border);
  border-radius: 999px;
  font: inherit;
  font-size: 16px;
  outline: none;
  box-shadow: none;
  background: var(--input-bg);
  color: var(--heading);
  -webkit-appearance: none;
  appearance: none;
}

.tech-header__search-input::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
  display: none;
}

.tech-header__search-input::placeholder {
  color: var(--placeholder);
}

@media (min-width: 768px) {
  .tech-header__search-input {
    font-size: 14px;
  }
}

.tech-header__search-input:focus {
  border-color: var(--blue);
}

@media (min-width: 768px) {
  .tech-header__search-input:focus {
    border-color: var(--tech-blue-mid);
  }
}

.tech-header__search-kbd {
  position: absolute;
  right: 12px;
  font-family: var(--tech-mono);
  font-size: 12px;
  color: var(--tech-text-muted);
  pointer-events: none;
}

.tech-header__search-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--tech-text-mid);
  border-radius: 8px;
  cursor: pointer;
}

.tech-header__search-toggle:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
}

.tech-header__search-toggle[aria-expanded="true"] {
  color: var(--tech-blue);
  background: var(--tech-blue-wash);
}

.tech-header__theme-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 9999px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.tech-header__theme-toggle::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 44px;
  height: 44px;
  transform: translate(-50%, -50%);
}

.tech-header__theme-toggle:hover,
.tech-header__theme-toggle:focus-visible {
  background: var(--theme-toggle-hover);
}

.tech-header__theme-toggle:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
}

.tech-header__theme-icon {
  display: block;
  flex-shrink: 0;
  color: var(--text);
}

.tech-header__theme-icon--sun {
  display: none;
}

.tech-header__theme-toggle.is-dark .tech-header__theme-icon--moon {
  display: none;
}

.tech-header__theme-toggle.is-dark .tech-header__theme-icon--sun {
  display: block;
}

.tech-header__theme-mobile {
  display: none;
  width: 100%;
  margin: 0;
  padding: 10px 0;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  text-align: left;
  color: var(--nav-link);
  cursor: pointer;
}

.tech-header__theme-mobile:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
}

@media (max-width: 767px) {
  .tech-header__theme-toggle {
    width: 44px;
    height: 44px;
  }
}

.tech-header__cta {
  display: none;
  flex-shrink: 0;
}

.tech-header__menu-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--tech-text);
  border-radius: 8px;
  cursor: pointer;
}

.tech-header__menu-btn::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 44px;
  transform: translateY(-50%);
}

.tech-header__mobile {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 12px 16px 20px;
  border-top: 1px solid var(--tech-border);
  background: var(--tech-bg);
}

.tech-header__mobile[hidden] {
  display: none !important;
}

.tech-header__mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.tech-header__mobile-nav .tech-header__link {
  padding: 10px 0;
}

.tech-header__search--mobile {
  display: flex;
  width: 100%;
}

.tech-header__search--mobile .tech-header__search-input {
  font-size: 16px;
}

@media (max-width: 767px) {
  .tech-header__search--mobile .tech-header__search-kbd {
    display: none;
  }
}

@media (min-width: 768px) {
  .tech-header__nav,
  .tech-header__search-wrap,
  .tech-header__cta {
    display: flex;
  }

  .tech-header__search-toggle,
  .tech-header__menu-btn {
    display: none;
  }
}

@media (min-width: 600px) {
  .tech-header__inner {
    min-height: 64px;
  }

  .tech-header__link {
    padding: var(--space-4) 0;
  }
}

@media (max-width: 767px) {
  .tech-header__search-kbd {
    display: none;
  }

  .tech-header__inner:has(.tech-header__search-wrap.is-open) {
    overflow: hidden;
  }

  .tech-header__inner:has(.tech-header__search-wrap.is-open) > .tech-header__brand,
  .tech-header__inner:has(.tech-header__search-wrap.is-open) > .tech-header__theme-toggle,
  .tech-header__inner:has(.tech-header__search-wrap.is-open) > .tech-header__menu-btn,
  .tech-header__inner:has(.tech-header__search-wrap.is-open) > .tech-header__search-toggle {
    display: none;
  }

  .tech-header__search-wrap.is-open {
    display: flex !important;
    position: absolute;
    inset: 0;
    z-index: 6;
    align-items: center;
    height: 56px;
    margin: 0;
    padding: 0 4px 0 12px;
    box-sizing: border-box;
    border: 0;
    box-shadow: none;
    outline: none;
    background: var(--card);
  }

  .tech-header__search-wrap.is-open .tech-header__search {
    width: 100%;
    max-width: none;
    gap: 4px;
  }

  .tech-header__search-wrap.is-open .tech-header__search-close {
    display: flex;
  }

  .tech-header__search-wrap.is-open .tech-header__search-field {
    flex: 1;
    min-width: 0;
  }

  .tech-header__search-wrap.is-open .tech-header__search-icon {
    display: flex;
    position: absolute;
    left: 14px;
    top: 50%;
    z-index: 1;
    width: 18px;
    height: 18px;
    transform: translateY(-50%);
    color: var(--muted);
  }

  .tech-header__search-wrap.is-open .tech-header__search-icon svg {
    display: block;
    width: 18px;
    height: 18px;
  }

  .tech-header__search-wrap.is-open .tech-header__search-input {
    width: 100%;
    height: 40px;
    padding: 0 16px 0 40px;
    border: 1px solid var(--border);
    border-radius: 9999px;
    background: var(--surface-2);
    font-size: 16px;
    outline: none;
    box-shadow: none;
  }

  .tech-header__search-wrap.is-open .tech-header__search-input:focus {
    outline: none;
    box-shadow: none;
    border: 1px solid var(--blue);
  }

  .tech-header__search-wrap.is-open .tech-header__search-input:focus-visible {
    outline: none;
    box-shadow: none;
    border: 2px solid var(--blue);
    padding: 0 15px 0 39px;
  }

  .tech-header__menu-btn {
    margin-left: 0;
  }

  .tech-header__search-toggle {
    margin-left: auto;
  }

  .tech-header__theme-mobile {
    display: block;
  }
}

@media (min-width: 600px) and (max-width: 767px) {
  .tech-header__search-wrap.is-open {
    height: 64px;
  }
}

.tech-cat-hero {
  padding: 48px 0 40px;
  background: var(--tech-cat-tint, var(--tech-blue-soft));
  border-bottom: 1px solid var(--tech-border);
}

@media (min-width: 900px) {
  .tech-cat-hero {
    padding: 64px 0 56px;
  }
}

.tech-cat-hero__grid {
  display: grid;
  gap: 32px;
  align-items: center;
}

@media (min-width: 768px) {
  .tech-cat-hero__grid {
    grid-template-columns: 1fr auto;
  }
}

.tech-cat-hero__eyebrow {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 600;
}

.tech-cat-hero__eyebrow a {
  color: var(--tech-blue-dark);
}

.tech-cat-hero__title {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.tech-cat-hero__lede {
  margin: 0;
  font-size: 1.0625rem;
  color: var(--tech-text-mid);
  max-width: 40em;
}

.tech-cat-hero__art img {
  display: block;
  max-width: 100%;
  height: auto;
}

.tech-lesson-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tech-lesson-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: var(--space-4) var(--space-5);
  background: var(--tech-bg);
  border: 1px solid var(--tech-border);
  border-radius: 12px;
  color: inherit;
}

.tech-lesson-card:hover {
  border-color: var(--tech-blue-mid);
  background: var(--tech-blue-wash);
}

.tech-lesson-card__num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--tech-blue-soft);
  color: var(--tech-blue-dark);
  font-size: 14px;
  font-weight: 700;
}

.tech-lesson-card__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.tech-lesson-card__title {
  font-weight: 600;
  color: var(--tech-text);
}

.tech-lesson-card__time {
  font-size: 14px;
  color: var(--tech-text-muted);
}

/* Article layout: see tech-article.css */

.tech-prose h2 {
  margin: var(--space-7) 0 var(--space-4);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--tech-text);
  letter-spacing: -0.01em;
}

.tech-prose h3 {
  margin: var(--space-6) 0 var(--space-2);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--tech-text);
  letter-spacing: -0.01em;
}

.tech-prose p {
  margin: 0 0 var(--space-4);
}

.tech-prose .tech-callout__title {
  margin-bottom: var(--space-2);
}

.tech-prose ul,
.tech-prose ol {
  margin: 0 0 var(--space-4);
  padding-left: var(--space-5);
}

.tech-prose code {
  font-family: var(--tech-mono);
  font-size: 0.9em;
  padding: 0.12em 0.35em;
  border-radius: 4px;
  background: var(--inline-code-bg);
  border: 1px solid var(--code-border);
  color: var(--code-text);
}

.tech-prose strong {
  color: var(--tech-text);
  font-weight: 600;
}

.tech-code,
.tech-code-block {
  margin: var(--space-5) 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--code-border);
  background: var(--code-bg);
  color: var(--code-text);
}

.tech-code__head,
.tech-code-block__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 36px;
  padding: 0 12px;
  background: var(--code-bar);
  font-size: 12px;
}

.tech-code__lang,
.tech-code-block__lang {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  color: var(--code-lang);
}

.tech-code__copy,
.tech-code-block__copy {
  border: 0;
  background: transparent;
  color: var(--blue);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  padding: var(--space-1) var(--space-2);
  border-radius: 4px;
}

.tech-code__copy:hover,
.tech-code-block__copy:hover {
  background: var(--copy-hover);
}

.tech-code pre,
.tech-code-block pre {
  margin: 0;
  padding: var(--space-4) var(--space-5);
  overflow-x: auto;
  font-family: var(--tech-mono);
  font-size: 14px;
  line-height: 22px;
  background: var(--code-bg);
  color: var(--code-text);
}

.tech-code code,
.tech-code-block code {
  font-family: inherit;
  background: none;
  padding: 0;
  color: inherit;
}

.tech-code-block--compact pre {
  padding: 12px;
}

.tech-prose table {
  margin: var(--space-5) 0;
}

.tech-try {
  display: grid;
  gap: var(--space-4);
  margin: var(--space-5) 0;
  padding: var(--space-4);
  border: 1px solid var(--tech-border);
  border-radius: 12px;
  background: var(--tech-surface);
}

@media (min-width: 720px) {
  .tech-try {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }
}

.tech-try__label {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--tech-text-muted);
}

.tech-try__preview {
  padding: 16px;
  background: var(--tech-bg);
  border: 1px solid var(--tech-border);
  border-radius: 8px;
}

.tech-try__preview-tab {
  margin: 0 0 12px;
  font-size: 12px;
  color: var(--tech-text-muted);
}

.tech-try__preview-title {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--tech-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tech-article-pager {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  margin-top: var(--space-7);
  margin-bottom: var(--space-6);
  max-width: 760px;
}

.tech-article-pager__slot {
  display: block;
  min-height: 0;
}

.tech-article-pager__slot:first-child + .tech-article-pager__link--next {
  grid-column: 2;
}

.tech-article-pager__link {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  min-height: 88px;
  padding: 20px 24px;
  border: 1px solid transparent;
  border-radius: 16px;
  color: inherit;
  text-decoration: none;
  background: var(--surface-2);
  min-width: 0;
  box-sizing: border-box;
  transition: border-color 180ms ease;
}

.tech-article-pager__link:hover {
  border-color: var(--blue-border, var(--border));
  text-decoration: none;
}

.tech-article-pager__link:focus-visible {
  outline: 2px solid var(--focus, var(--focus-ring));
  outline-offset: 2px;
}

.tech-article-pager__link--prev {
  justify-content: flex-start;
}

.tech-article-pager__link--next {
  justify-content: flex-end;
}

.tech-article-pager__copy {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  flex: 1;
}

.tech-article-pager__link--next .tech-article-pager__copy {
  align-items: flex-end;
  text-align: right;
}

.tech-article-pager__link--prev .tech-article-pager__copy {
  align-items: flex-start;
  text-align: left;
}

.tech-article-pager__fab {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blue-soft, var(--active-bg));
  color: var(--blue);
  transition:
    background-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.tech-article-pager__fab-icon {
  display: block;
}

.tech-article-pager__link--prev:hover .tech-article-pager__fab {
  background: var(--blue-cta, var(--blue));
  color: var(--on-primary);
  transform: translateX(-4px);
}

.tech-article-pager__link--next:hover .tech-article-pager__fab {
  background: var(--blue-cta, var(--blue));
  color: var(--on-primary);
  transform: translateX(4px);
}

.tech-article-pager__label {
  font-family: var(--tech-mono);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
}

.tech-article-pager__title {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--heading);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 599px) {
  .tech-article-pager {
    grid-template-columns: 1fr;
  }

  .tech-article-pager__slot {
    display: none;
  }

  .tech-article-pager__slot:first-child + .tech-article-pager__link--next {
    grid-column: auto;
  }

  .tech-article-pager__link--next {
    order: 1;
  }

  .tech-article-pager__link--prev {
    order: 2;
  }

  .tech-article-pager__link--next .tech-article-pager__copy {
    align-items: flex-start;
    text-align: left;
  }
}

.tech-main--center {
  padding: var(--space-9) 0 0;
  text-align: center;
}

.body-martini-tech :focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
}

.tech-home-path-card__banner img,
.tech-hub-hero__card-img,
.tech-cat-hero__art img,
.tech-article-figure img,
.tech-prose img {
  border: 1px solid var(--img-border);
  border-radius: inherit;
}

.tech-home-path-card__banner {
  background: var(--surface-2);
}
