/* The selected Garimpanda Tech magazine: one lead, two supporting stories. */
:root:not([data-theme='light']) body.tech-magazine {
  --gp-bg: #202b1d;
  --gp-heading: #f0f0df;
  --gp-muted: #c7cdbb;
  --gp-accent: #bfd29e;
  --gp-line: #4c5943;
  --gp-art: url('./assets/tech/news/news-botanical.webp');
  --gp-background-glow: transparent;
}
html body.tech-magazine .topbar.site-header {
  width: min(1190px, calc(100% - 48px)) !important;
  height: 84px !important;
  min-height: 84px !important;
  padding: 12px 0 !important;
}
html body.tech-magazine .topbar.site-header .brand-mark,
html body.tech-magazine .topbar.site-header .brand-mark img {
  width: 48px !important;
  height: 48px !important;
  min-width: 48px !important;
  flex-basis: 48px;
  border-radius: 12px;
}
.tech-page.tech-magazine .tech-main { width: min(1368px, calc(100% - 112px)); margin-top: 0; }
.tech-magazine .tech-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.tech-page.tech-magazine .tech-breadcrumbs { padding-inline: 68px; margin: 4px 0 6px; font-size: 12px; }
.tech-page.tech-magazine .tech-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  max-width: none;
  padding-inline: 68px;
  margin: 0 0 10px;
}
.tech-page.tech-magazine .tech-heading h1 { margin: 0 0 4px; font-size: clamp(40px, 4.7vw, 66px); line-height: 1.1; font-weight: 800; letter-spacing: -2px; }
.tech-magazine .tech-heading > div:first-child > p { margin: 0; font-size: 21px; line-height: 1.5; }
.tech-magazine .tech-edition-note { flex: 0 0 220px; padding-top: 8px; color: var(--gp-muted); font-size: 12px; line-height: 1.5; }
.tech-magazine .tech-edition-note p { margin: 7px 0 0; font-size: 12px; line-height: 1.5; }
.tech-page.tech-magazine .tech-news-index { margin: 0 0 16px; padding: 0 0 18px; }
.tech-news-magazine { grid-template-columns: minmax(0, 1.414fr) minmax(0, 1fr); gap: 14px 28px; align-items: start; }
.tech-news-magazine .tech-news-card { padding: 0; border: 0; border-radius: 0; background: transparent; }
.tech-news-magazine .tech-news-lead { grid-row: span 2; }
.tech-news-magazine .tech-news-image { margin: 0 0 6px; border-radius: 6px; }
.tech-news-magazine .tech-news-image img { aspect-ratio: 3.7 / 1; }
.tech-news-magazine .tech-news-lead .tech-news-image img { aspect-ratio: 1.85 / 1; }
.tech-news-magazine .tech-news-meta { gap: 8px; min-height: 20px; }
.tech-news-magazine .tech-news-publisher { font-size: 12px; line-height: 1.4; }
.tech-news-magazine .tech-news-kind { padding: 1px 8px; font-size: 11px; line-height: 1.4; }
.tech-news-magazine .tech-news-card h3 { margin: 4px 0; font-size: 22px; font-weight: 750; line-height: 1.18; letter-spacing: -.45px; overflow-wrap: break-word; }
html body.tech-magazine .tech-news-card h3 a { color: var(--gp-heading) !important; text-decoration: none; }
html body.tech-magazine .tech-news-card h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.tech-news-magazine .tech-news-lead h3 { font-size: clamp(30px, 2.9vw, 42px); line-height: 1.08; letter-spacing: -1px; font-weight: 800; }
.tech-news-magazine .tech-news-excerpt { margin: 0; font-size: 14px; line-height: 1.45; }
.tech-news-magazine .tech-news-lead .tech-news-excerpt { font-size: 16px; line-height: 1.45; }
.tech-news-magazine .tech-news-footer { flex-direction: row; justify-content: space-between; align-items: center; min-height: 26px; gap: 8px 16px; margin-top: 4px; }
.tech-news-magazine .tech-news-card .tech-news-date { margin: 0; font-size: 11px; line-height: 1.5; }
/* The link retains a 44px hit area within the open spacing around the byline. */
.tech-news-magazine .tech-news-read { flex: 0 0 auto; min-height: 44px; margin: -9px 0; padding: 0; gap: 8px; font-size: 13px; line-height: 1.5; text-underline-offset: 4px; }
.tech-news-magazine .tech-news-read span { font-size: 18px; }
.tech-news-magazine .tech-news-card:nth-child(n+4) { margin-top: 8px; padding-top: 18px; border-top: 1px solid var(--gp-line); }
.tech-news-magazine .tech-news-card:nth-child(n+4) .tech-news-image img { aspect-ratio: 16 / 9; }
.tech-page.tech-magazine .tech-section-heading { gap: 16px 28px; margin-bottom: 12px; }
.tech-page.tech-magazine .tech-section-heading h2 { font-size: 25px; font-weight: 750; line-height: 1.25; }
.tech-magazine .tech-section-heading > span { margin-right: auto; font-size: 12px; }
.tech-guide-filter-menu { position: relative; flex-shrink: 0; font-size: 13px; }
.tech-guide-filter-menu summary { display: list-item; min-height: 44px; padding: 12px 0 8px; cursor: pointer; color: var(--gp-accent); font-weight: 650; text-decoration: underline; text-underline-offset: 4px; }
.tech-page.tech-magazine .tech-guide-filter-menu .tech-filter { position: absolute; right: 0; top: 100%; z-index: 2; width: min(310px, calc(100vw - 48px)); padding: 16px; border: 1px solid var(--gp-line); border-radius: 8px; background: var(--gp-bg); }
.tech-page.tech-magazine .tech-guide-grid,
.tech-page.tech-magazine .tech-guide-grid.is-filtered { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.tech-guide-card { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); min-width: 0; gap: 16px; }
.tech-guide-card[hidden] { display: none; }
.tech-guide-image { display: block; overflow: hidden; border-radius: 6px; align-self: start; }
.tech-guide-image img { display: block; width: 100%; height: 116px; object-fit: cover; }
.tech-guide-copy { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.tech-guide-copy h3 { margin: 3px 0 6px; font-size: 14px; line-height: 1.25; letter-spacing: -.15px; }
html body.tech-magazine .tech-guide-copy h3 a { color: var(--gp-heading) !important; text-decoration: none; }
.tech-guide-copy p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; margin: 0; font-size: 12px; line-height: 1.45; }
.tech-guide-read { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: auto; font-size: 12px; font-weight: 650; text-underline-offset: 4px; }
.tech-magazine :is(.tech-guide-card a, summary):focus-visible { outline: 3px solid var(--gp-accent); outline-offset: 4px; }
@media (hover: hover) {
  .tech-news-magazine .tech-news-image:hover { opacity: .92; }
  .tech-magazine .tech-guide-copy h3 a:hover { text-decoration: underline; text-underline-offset: 3px; }
}
@media (min-width: 701px) and (max-width: 1100px) {
  .tech-page.tech-magazine .tech-breadcrumbs, .tech-page.tech-magazine .tech-heading { padding-inline: 0; }
  .tech-magazine .tech-edition-note { flex-basis: 190px; }
  .tech-news-magazine { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 20px; }
  .tech-news-magazine .tech-news-footer { flex-wrap: wrap; gap: 0; }
  .tech-news-magazine .tech-news-read { margin: 0; }
  .tech-news-magazine .tech-news-card h3 { font-size: 20px; }
  .tech-news-magazine .tech-news-lead h3 { font-size: 32px; }
  .tech-news-magazine .tech-news-lead .tech-news-image img { aspect-ratio: 1.35 / 1; }
  .tech-news-magazine .tech-news-image img { aspect-ratio: 2.5 / 1; }
  .tech-page.tech-magazine .tech-guide-grid,
  .tech-page.tech-magazine .tech-guide-grid.is-filtered { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  html body.tech-magazine .topbar.site-header { width: calc(100% - 32px) !important; height: auto !important; min-height: 96px !important; }
  .tech-page.tech-magazine .tech-main { width: calc(100% - 32px); margin-top: 8px; }
  .tech-page.tech-magazine .tech-breadcrumbs { padding: 0; margin: 0 0 12px; }
  .tech-page.tech-magazine .tech-heading { display: block; padding: 0; margin-bottom: 20px; }
  .tech-page.tech-magazine .tech-heading h1 { margin-bottom: 6px; font-size: clamp(33px, 9vw, 44px); letter-spacing: -1.2px; }
  .tech-magazine .tech-heading > div:first-child > p { max-width: 30ch; font-size: 16px; line-height: 1.5; }
  .tech-magazine .tech-edition-note { padding-top: 10px; font-size: 11px; }
  .tech-magazine .tech-edition-note p { display: none; }
  .tech-news-magazine { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .tech-news-magazine .tech-news-lead { grid-row: auto; }
  .tech-news-magazine .tech-news-image img,
  .tech-news-magazine .tech-news-lead .tech-news-image img { aspect-ratio: 16 / 9; }
  .tech-news-magazine .tech-news-card + .tech-news-card { padding-top: 20px; border-top: 1px solid var(--gp-line); }
  .tech-news-magazine .tech-news-card h3,
  .tech-news-magazine .tech-news-lead h3 { font-size: 25px; line-height: 1.16; letter-spacing: -.5px; margin: 8px 0; }
  .tech-news-magazine .tech-news-excerpt,
  .tech-news-magazine .tech-news-lead .tech-news-excerpt { font-size: 14px; line-height: 1.6; }
  .tech-news-magazine .tech-news-footer { flex-wrap: wrap; gap: 0 12px; margin-top: 8px; }
  .tech-news-magazine .tech-news-read { margin: 0; }
  .tech-news-magazine .tech-news-card .tech-news-date { margin: 0; }
  .tech-page.tech-magazine .tech-section-heading { gap: 0 12px; margin-bottom: 16px; }
  .tech-page.tech-magazine .tech-section-heading h2 { width: 100%; font-size: 24px; }
  .tech-magazine .tech-section-heading > span { max-width: 28ch; margin-top: 8px; }
  .tech-guide-filter-menu { margin-left: auto; }
  .tech-page.tech-magazine .tech-guide-grid,
  .tech-page.tech-magazine .tech-guide-grid.is-filtered { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .tech-guide-card { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 14px; }
  .tech-guide-image img { height: auto; aspect-ratio: 1.25 / 1; }
  .tech-guide-copy h3 { font-size: 16px; line-height: 1.3; }
  .tech-guide-copy p { font-size: 13px; }
}
