/* ==========================================================================
   Shayan Salehi — academic homepage
   Palette: #388087 · #6FB3B8 · #BADFE7 · #C2EDCE, with white and #F6F6F2.
   Type: Source Serif 4 (text, headings) and Source Sans 3 (interface);
   Vazirmatn for Persian.
   ========================================================================== */

@font-face { font-family: Vazirmatn; src: url('../fonts/vazirmatn-regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: Vazirmatn; src: url('../fonts/vazirmatn-semibold.woff2') format('woff2'); font-weight: 500 700; font-display: swap; }

/* ---------- tokens ---------- */
:root {
  --bg: #ffffff;
  --bg-alt: #f6f6f2;
  --ink: #1d2b2e;
  --ink-2: #3e4d50;
  --muted: #5f6e71;
  --rule: #e1e6e4;
  --rule-2: #c9d3d2;
  --teal: #388087;
  --link: #2b6970;
  --teal-mid: #6fb3b8;
  --sky: #badfe7;
  --mint: #c2edce;
  --tint: rgba(186, 223, 231, .32);
  --mesh-line: 111, 179, 184;
  --mesh-tint: 56, 128, 135;
  color-scheme: light;
}
[data-theme="dark"] {
  --bg: #1c1f21;
  --bg-alt: #23272a;
  --ink: #e6eded;
  --ink-2: #c3cdce;
  --muted: #9aa8aa;
  --rule: #30363a;
  --rule-2: #414a4e;
  --teal: #6fb3b8;
  --link: #8fcad0;
  --teal-mid: #4e9aa0;
  --sky: #badfe7;
  --mint: #c2edce;
  --tint: rgba(111, 179, 184, .1);
  --mesh-line: 111, 179, 184;
  --mesh-tint: 22, 52, 56;
  color-scheme: dark;
}
[lang="en"] {
  --serif: "Source Serif 4", "Source Serif Pro", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", "Source Sans Pro", "Segoe UI", system-ui, sans-serif;
}
[lang="fa"] {
  --serif: Vazirmatn, Tahoma, sans-serif;
  --sans: Vazirmatn, Tahoma, sans-serif;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.7 var(--serif); overflow-x: clip; -webkit-font-smoothing: antialiased; }
[lang="fa"] body { font-size: 1rem; line-height: 1.95; }
img, svg { display: block; max-width: 100%; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
b { font-weight: 600; }
::selection { background: var(--sky); color: #1d2b2e; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.container { width: min(100% - 2 * clamp(16px, 4vw, 40px), 1100px); margin-inline: auto; }
.ic { width: 1.05em; height: 1.05em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.sep { margin-inline: .5em; color: var(--rule-2); }
.skip { position: fixed; top: -60px; inset-inline-start: 16px; z-index: 100; padding: 8px 14px; background: var(--teal); color: #fff; font: 600 .95rem var(--sans); }
.skip:focus { top: 10px; }

/* ---------- navigation ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 1px solid var(--rule); }
.nav-inner { display: flex; align-items: center; gap: 28px; height: 60px; width: min(100% - 2 * clamp(16px, 4vw, 40px), 1100px); margin-inline: auto; }
.brand { font: 600 1.12rem/1 var(--serif); color: var(--ink); white-space: nowrap; }
.brand:hover { text-decoration: none; }
.nav-links { display: flex; gap: 22px; margin-inline-start: auto; font: 400 .97rem/1 var(--sans); }
.nav-links a { padding-block: 20px; color: var(--ink-2); border-bottom: 2px solid transparent; }
.nav-links a:hover { color: var(--ink); text-decoration: none; }
.nav-links a.active { color: var(--link); border-bottom-color: var(--teal); }
.nav-tools { display: flex; align-items: center; gap: 6px; }
.tool { height: 32px; min-width: 32px; display: inline-grid; place-items: center; border: 1px solid var(--rule-2); border-radius: 3px; color: var(--ink-2); font: 600 .88rem/1 var(--sans); transition: border-color .2s, color .2s; }
.tool:hover { border-color: var(--teal); color: var(--link); }
.lang-toggle { padding-inline: 10px; }
.lang-toggle[lang="fa"] { font-family: Vazirmatn, Tahoma, sans-serif; }
.lang-toggle[lang="en"] { font-family: "Source Sans 3", "Segoe UI", sans-serif; }
.tool svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.i-sun, .i-play { display: none; }
[data-theme="dark"] .i-moon { display: none; }
[data-theme="dark"] .i-sun { display: block; }
.still .i-pause { display: none; }
.still .i-play { display: block; }
.menu-toggle { display: none; }
.menu-toggle span { grid-area: 1 / 1; width: 14px; height: 1.5px; background: currentColor; transition: transform .2s, opacity .2s; }
.menu-toggle span:first-child { transform: translateY(-4.5px); }
.menu-toggle span:last-child { transform: translateY(4.5px); }
.menu-open .menu-toggle span:first-child { transform: rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:last-child { transform: rotate(-45deg); }

/* ---------- profile header ---------- */
.profile { border-bottom: 1px solid var(--rule); }
.banner { position: relative; height: clamp(200px, 28vw, 340px); overflow: hidden; isolation: isolate; background: rgb(var(--mesh-tint)); }
.banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; z-index: -3; }
.banner .mesh { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.banner-veil { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(var(--mesh-tint), .38) 0%, rgba(29, 43, 46, .5) 100%); }
.profile-grid { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 40px; margin-top: -105px; padding-bottom: 44px; }
.portrait { position: relative; width: 210px; aspect-ratio: 4 / 5; border: 4px solid var(--bg); background: var(--bg); box-shadow: 0 1px 4px rgba(0, 0, 0, .14); }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.identity { padding-top: 121px; }
.name { font: 600 clamp(2rem, 3.4vw, 2.6rem)/1.15 var(--serif); color: var(--ink); }
.role { margin-top: 8px; font: 400 1.15rem/1.45 var(--sans); color: var(--ink); }
.affil { font: 400 1.05rem/1.45 var(--sans); color: var(--muted); }
.id-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 18px; font: 400 .97rem/1.4 var(--sans); }
.id-links a { display: inline-flex; align-items: center; gap: 7px; }

/* ---------- sections ---------- */
.sec { padding-block: clamp(52px, 6.5vw, 80px); }
.sec.alt { background: var(--bg-alt); border-block: 1px solid var(--rule); }
.sec-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 28px; padding-bottom: 10px; border-bottom: 1px solid var(--teal-mid); }
.sec-title { font: 600 1.7rem/1.25 var(--serif); color: var(--ink); }
.aside-link { font: 400 .95rem var(--sans); }
.sub-title { margin: 36px 0 12px; font: 600 1.12rem/1.35 var(--serif); color: var(--ink); }
.lede { max-width: 72ch; margin-bottom: 22px; color: var(--ink-2); }
.bullets { list-style: disc; padding-inline-start: 1.15em; color: var(--ink-2); }
.bullets li { margin-block: 4px; padding-inline-start: 2px; }
.bullets li::marker { color: var(--teal); }
.bullets b { color: var(--ink); }

/* About */
.about-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.about-text p { max-width: 70ch; color: var(--ink-2); }
.about-text p + p { margin-top: 1em; }
.interests { padding: 20px 24px 12px; background: var(--bg-alt); border-top: 3px solid var(--teal); }
.interests .sub-title { margin-top: 0; }
.interests li { padding: 9px 0; border-top: 1px solid var(--rule); font: 400 1rem/1.4 var(--sans); color: var(--ink); }

/* Publications */
.pub-group { margin: 26px 0 4px; font: 600 1rem/1.4 var(--sans); color: var(--link); }
.pub-group:first-of-type { margin-top: 0; }
.pub-group .count { font-weight: 400; color: var(--muted); }
.pub { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 4px 16px; padding: 15px 0; border-bottom: 1px solid var(--rule); }
.pubs .pub:last-child { border-bottom: 0; }
.pub-num { font: 400 .95rem/1.7 var(--sans); color: var(--muted); }
.pub-title { font-weight: 600; line-height: 1.45; color: var(--ink); }
.pub-authors { margin-top: 3px; font-size: .98rem; color: var(--ink-2); }
.pub-authors b { color: var(--ink); }
.pub [lang="en"] { font-family: var(--serif); }
.pub-venue, .pub-location { font-size: .96rem; color: var(--muted); }
.pub-tag { align-self: start; margin-top: 3px; padding: 2px 8px; border-radius: 3px; background: var(--sky); color: #1d2b2e; font: 600 .78rem/1.5 var(--sans); white-space: nowrap; }
.pubs:nth-of-type(2) .pub-tag { background: var(--mint); }

/* Industry experience — every role visible, dates in a margin column */
.jobs { border-inline-start: 2px solid var(--rule); margin-inline-start: 6px; }
.job { position: relative; display: grid; grid-template-columns: 168px minmax(0, 1fr); gap: 28px; padding: 4px 0 26px 26px; }
[dir="rtl"] .job { padding: 4px 26px 26px 0; }
.job + .job { padding-top: 22px; border-top: 1px solid var(--rule); }
.job::before { content: ""; position: absolute; top: 12px; inset-inline-start: -7px; width: 12px; height: 12px; border-radius: 50%; background: var(--bg); border: 2px solid var(--teal); }
.job + .job::before { top: 30px; }
.job:first-child::before { background: var(--teal); }
.job:last-child { padding-bottom: 4px; }
.job-when { padding-top: 3px; font: 600 .93rem/1.5 var(--sans); color: var(--link); }
.job-role { font: 600 1.15rem/1.4 var(--serif); color: var(--ink); }
.job-org { margin-bottom: 8px; font: 400 1rem/1.4 var(--sans); color: var(--ink-2); }
.job-tech { margin-top: 10px; font: 400 .92rem/1.5 var(--sans); color: var(--muted); }
.job-tech span:first-child { font-weight: 600; color: var(--ink-2); }

/* Research experience — timeline with expandable rows */
.gantt { --cols: minmax(0, 1fr) minmax(0, 1.45fr) 26px; }
.g-axis { display: grid; grid-template-columns: var(--cols); gap: 0 24px; padding: 18px 0 8px; border-bottom: 1px solid var(--rule-2); }
.g-scale { position: relative; height: 18px; }
.g-year { position: absolute; top: 0; inset-inline-start: var(--x); padding-inline-start: 6px; border-inline-start: 1px solid var(--rule-2); font: 400 .85rem/18px var(--sans); color: var(--muted); }
.g-now-label { position: absolute; top: -18px; inset-inline-start: var(--x); transform: translateX(-50%); font: 600 .78rem/1 var(--sans); color: var(--link); white-space: nowrap; }
[dir="rtl"] .g-now-label { transform: translateX(50%); }
.g-row { border-bottom: 1px solid var(--rule); }
.g-btn { width: 100%; display: grid; grid-template-columns: var(--cols); gap: 0 24px; align-items: center; padding: 14px 0; text-align: start; }
.g-label { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.g-title { font: 600 1.04rem/1.4 var(--serif); color: var(--ink); }
.g-btn:hover .g-title { color: var(--link); }
.g-inst { display: flex; flex-wrap: wrap; gap: 0 12px; font: 400 .92rem/1.45 var(--sans); color: var(--muted); }
.g-dates { color: var(--ink-2); }
.g-track { position: relative; height: 22px; background: linear-gradient(to right, var(--rule-2) 1px, transparent 1px) 0 0 / calc(100% / var(--years)) 100% repeat-x; }
[dir="rtl"] .g-track { background-image: linear-gradient(to left, var(--rule-2) 1px, transparent 1px); background-position: right 0; }
.g-track::after { content: ""; position: absolute; top: -15px; bottom: -15px; inset-inline-start: var(--now); border-inline-start: 1px dashed var(--teal); opacity: .7; }
.g-bar { position: absolute; top: 50%; inset-inline-start: var(--s); width: var(--w); height: 8px; margin-top: -4px; border-radius: 2px; background: var(--teal-mid); }
.g-row.open .g-bar { background: var(--teal); }
.g-toggle { position: relative; width: 24px; height: 24px; border: 1px solid var(--rule-2); border-radius: 3px; }
.g-toggle::before, .g-toggle::after { content: ""; position: absolute; top: 50%; left: 50%; width: 10px; height: 1.5px; margin: -.75px 0 0 -5px; background: var(--ink-2); }
.g-toggle::after { transform: rotate(90deg); }
.g-row.open .g-toggle::after { display: none; }
.g-btn:hover .g-toggle { border-color: var(--teal); }
.g-detail { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.g-row.open .g-detail { grid-template-rows: 1fr; }
.g-detail-inner { min-height: 0; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr); gap: 0 24px; margin-inline-end: 50px; }
.g-meta { display: grid; align-content: start; gap: 10px; padding-bottom: 22px; font-family: var(--sans); }
.g-meta dt { font-size: .85rem; font-weight: 600; color: var(--muted); }
.g-meta dd { font-size: .97rem; color: var(--ink); }
.g-detail .bullets { padding-bottom: 22px; }

/* Education */
.degrees { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.degree { padding: 20px 24px 22px; background: var(--bg); border: 1px solid var(--rule); border-top: 3px solid var(--teal); }
.deg-dates { font: 600 .92rem/1.5 var(--sans); color: var(--link); }
.deg-title { margin-top: 4px; font: 600 1.2rem/1.35 var(--serif); color: var(--ink); }
.deg-school { font: 400 1rem/1.5 var(--sans); color: var(--ink-2); }
.deg-gpa { margin-top: 10px; font: 400 .97rem/1.5 var(--sans); color: var(--ink-2); }
.deg-gpa b { color: var(--ink); }

/* Tables (coursework, honors, teaching) */
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font: 400 .98rem/1.5 var(--sans); }
.table th { padding: 9px 12px; border-bottom: 2px solid var(--teal-mid); font-weight: 600; color: var(--ink); text-align: start; }
.table td { padding: 10px 12px; border-bottom: 1px solid var(--rule); color: var(--ink-2); vertical-align: top; }
.table :is(th, td):first-child { padding-inline-start: 0; }
.table :is(th, td):last-child { padding-inline-end: 0; }
.table tbody tr:not(.group):hover td { background: var(--tint); }
.table .n { text-align: end; font-variant-numeric: tabular-nums; white-space: nowrap; }
.table td.strong { color: var(--ink); }
.table td.rank { font: 600 1.05rem/1.45 var(--serif); color: var(--link); white-space: nowrap; }
.table .group th { padding: 18px 0 8px; border-bottom: 1px solid var(--rule-2); color: var(--link); font-size: .95rem; }
.table tbody .group:first-child th { padding-top: 10px; }

/* Projects */
.projects { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.project { display: flex; flex-direction: column; gap: 4px; padding: 20px 22px; background: var(--bg); border: 1px solid var(--rule); transition: border-color .2s; }
.project:hover { border-color: var(--teal-mid); }
.proj-title { font: 600 1.1rem/1.4 var(--serif); color: var(--ink); }
.proj-meta { font: 400 .92rem/1.5 var(--sans); color: var(--muted); }
.proj-desc { margin-top: 4px; font-size: .99rem; color: var(--ink-2); }
.proj-link { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; margin-top: auto; padding-top: 12px; font: 600 .93rem/1.4 var(--sans); }

/* Skills and languages */
.skills-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 48px; }
.skills-grid .sub-title { margin-top: 0; }
.kv > div { display: grid; grid-template-columns: 12.5rem minmax(0, 1fr); gap: 4px 18px; padding: 10px 0; border-bottom: 1px solid var(--rule); }
.skills-grid > div:last-child .kv > div { grid-template-columns: 6.5rem minmax(0, 1fr); }
.kv dt { font: 600 .97rem/1.55 var(--sans); color: var(--ink); }
.kv dd { color: var(--ink-2); font-size: 1rem; line-height: 1.55; }
.kv .note { display: block; margin-top: 2px; font: 400 .93rem/1.5 var(--sans); color: var(--muted); }

/* Service */
.service { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.svc { padding: 20px 24px 22px; background: var(--bg); border: 1px solid var(--rule); border-top: 3px solid var(--teal); }
.svc-title { font: 600 1.12rem/1.4 var(--serif); color: var(--ink); }
.svc-meta { margin-bottom: 10px; font: 400 .93rem/1.5 var(--sans); color: var(--muted); }

/* Contact — over a faint triangulated field */
.contact { position: relative; overflow: hidden; isolation: isolate; }
.contact .mesh {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .9;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .35) 40%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .35) 40%, #000 100%);
}
[dir="rtl"] .contact .mesh {
  -webkit-mask-image: linear-gradient(270deg, transparent 0%, rgba(0, 0, 0, .35) 40%, #000 100%);
  mask-image: linear-gradient(270deg, transparent 0%, rgba(0, 0, 0, .35) 40%, #000 100%);
}
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.contact-list { padding: 6px 22px; background: var(--bg); border: 1px solid var(--rule); font-family: var(--sans); }
.contact-list > div { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.contact-list > div:last-child { border-bottom: 0; }
.contact-list dt { font-weight: 600; color: var(--ink); }
.contact-list dd { color: var(--ink-2); }
.copy { display: inline-flex; align-items: center; gap: 5px; margin-inline-start: 10px; padding: 1px 8px; border: 1px solid var(--rule-2); border-radius: 3px; font: 400 .85rem/1.6 var(--sans); color: var(--ink-2); vertical-align: 1px; }
.copy:hover { border-color: var(--teal); color: var(--link); }
.inline-links { display: flex; flex-wrap: wrap; gap: 4px 18px; }

/* Footer and toast */
.footer { padding-block: 22px; background: var(--bg-alt); border-top: 1px solid var(--rule); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; font: 400 .9rem/1.5 var(--sans); color: var(--muted); }
.toast { position: fixed; bottom: 22px; left: 50%; z-index: 60; padding: 8px 16px; border-radius: 3px; background: var(--ink); color: var(--bg); font: 600 .92rem var(--sans); opacity: 0; transform: translate(-50%, 10px); transition: opacity .25s, transform .25s; pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.noscript { padding-block: 80px; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .menu-toggle { display: inline-grid; }
  .nav-links { position: absolute; top: 100%; inset-inline: 0; flex-direction: column; gap: 0; margin: 0; padding: 4px clamp(16px, 4vw, 40px) 12px; background: var(--bg); border-bottom: 1px solid var(--rule); box-shadow: 0 10px 20px -16px rgba(0, 0, 0, .35); display: none; }
  .menu-open .nav-links { display: flex; }
  .nav-links a { padding-block: 12px; border-bottom: 1px solid var(--rule); }
  .nav-links a:last-child { border-bottom: 0; }
  .nav-links a.active { border-bottom-color: var(--rule); }
  .nav-tools { margin-inline-start: auto; }
}
@media (max-width: 900px) {
  .about-grid, .skills-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .degrees, .service { grid-template-columns: minmax(0, 1fr); }
  .job { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}
@media (max-width: 760px) {
  .gantt { --cols: minmax(0, 1fr) 26px; }
  .g-axis { grid-template-columns: minmax(0, 1fr); }
  .g-axis > span { display: none; }
  .g-btn { row-gap: 10px; }
  .g-label { grid-column: 1; grid-row: 1; }
  .g-toggle { grid-column: 2; grid-row: 1; }
  .g-track { grid-column: 1 / -1; grid-row: 2; }
  .g-track::after { top: -6px; }
  .g-detail-inner { grid-template-columns: minmax(0, 1fr); margin-inline-end: 0; }
  .projects { grid-template-columns: minmax(0, 1fr); }
  .pub { grid-template-columns: 34px minmax(0, 1fr); }
  .pub-tag { grid-column: 2; grid-row: 1; justify-self: start; margin: 0 0 4px; }
  .pub-body { grid-column: 2; }
}
@media (max-width: 640px) {
  .profile-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: -72px; padding-bottom: 32px; }
  .portrait { width: 140px; }
  .identity { padding-top: 0; }
  .id-links { gap: 8px 18px; }
  .kv > div, .skills-grid > div:last-child .kv > div, .contact-list > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .table, .table tbody, .table tr, .table td, .table .group th { display: block; width: 100%; }
  .table tr:not(.group) { padding: 10px 0; border-bottom: 1px solid var(--rule); }
  .table td { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: 10px; padding: 2px 0; border: 0; }
  .table td::before { content: attr(data-label); font-weight: 600; color: var(--muted); font-size: .9rem; }
  .table .n { text-align: start; white-space: normal; }
  .table tbody tr:not(.group):hover td { background: none; }
  .footer-inner { flex-direction: column; }
}

@media print {
  .nav, .banner, .mesh, .toast, .skip, .copy, .g-toggle { display: none !important; }
  .profile-grid { margin-top: 0; }
  .identity { padding-top: 0; }
  .sec.alt { background: none; }
  .g-detail { grid-template-rows: 1fr !important; }
}
