/* =====================================================================
   SUVIRA — GENERAL & LAPAROSCOPIC SURGERY (page layer)
   Loads AFTER suvira-theme.css and uses only its tokens:
   navy / teal / alert (#C42020) colours, Poppins + Roboto, radii,
   shadows and buttons. Adds the new banner and section layouts only.
   ===================================================================== */

/* ---------- 1 · Banner ---------- */
.gs-hero {
  background: linear-gradient(180deg, var(--teal-bg-light) 0%, #f0f8f6 100%);
  padding: 28px 0 44px;
}

.gs-hero__panel {
  position: relative;
  border-radius: var(--r-2xl);
  overflow: hidden;
  background: var(--navy-900);
  min-height: 540px;
  display: flex;
  align-items: center;
  box-shadow: var(--shadow-lg);
}

.gs-hero__panel>img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: bottom right;
}

.gs-hero__panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 26, 66, 0.95) 0%, rgba(11, 26, 66, 0.86) 36%, rgba(11, 26, 66, 0.35) 66%, rgba(11, 26, 66, 0.08) 100%);
  pointer-events: none;
}

.gs-hero__content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  padding: 60px 56px 104px;
  color: rgba(255, 255, 255, 0.82);
}

.gs-hero__title {
  font-family: var(--f-display);
  font-size: 46px;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -1.2px;
  color: var(--white);
  margin: 16px 0 16px;
}

.gs-hero__title span {
  color: var(--teal-300);
}

.gs-hero__lede {
  font-size: 16px;
  line-height: 1.65;
  max-width: 540px;
  margin: 0 0 20px;
}

.gs-hero__lede strong {
  color: var(--white);
  font-weight: 600;
}

.gs-hero__usp {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 22px;
  max-width: 520px;
}

.gs-hero__usp li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--f-display);
  font-size: 14px;
  font-weight: 500;
  color: var(--white);
}

.gs-hero__usp i {
  color: var(--teal-300);
  font-size: 15px;
}

.gs-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.gs-hero__trust {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 26px;
  font-family: var(--f-display);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
}

.gs-hero__trust strong {
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
}

.gs-hero__trust .stars {
  color: var(--gold-300);
  letter-spacing: 1px;
}

.gs-hero__trust .sep {
  width: 1px;
  height: 18px;
  background: rgba(255, 255, 255, 0.22);
}

/* quick-access bar, overlapping the bottom edge of the banner */
.gs-quick {
  position: relative;
  z-index: 2;
  margin: -64px 32px 0;
  background: var(--white);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
}

.gs-quick a {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 22px 22px;
  transition: background var(--t-fast);
}

.gs-quick a+a {
  border-left: 1px solid var(--ink-100);
}

.gs-quick a:hover {
  background: var(--teal-bg-light);
}

.gs-quick__ic {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: var(--teal-50);
  color: var(--teal-600);
  font-size: 17px;
  display: flex !important;
}

.gs-quick a.is-alert .gs-quick__ic {
  background: var(--alert-50);
  color: var(--alert-600);
}

.gs-quick strong {
  display: block;
  font-family: var(--f-display);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--navy-900);
  line-height: 1.3;
}

.gs-quick span {
  display: block;
  font-size: 12.5px;
  color: var(--ink-500);
  margin-top: 3px;
  line-height: 1.45;
  justify-content: center;
}

.gs-quick span i {
  font-size: 28px;
}

.gs-quick a.is-alert strong {
  color: var(--alert-600);
}

/* ---------- 2 · About the department ---------- */
.gs-about__grid {
  display: grid;
  grid-template-columns: .8fr 1.08fr;
  gap: 56px;
  align-items: center;
}

.gs-about__media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.gs-about__media figure {
  margin: 0;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--teal-50);
}

.gs-about__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gs-about__media .is-main {
  grid-column: 1 / -1;
  aspect-ratio: 20 / 10.5;
  box-shadow: var(--shadow-md);
}

.gs-about__media .is-sm {
  aspect-ratio: 4 / 3;
}

.gs-about__body .section__desc {
  margin-left: 0;
  max-width: none;
}

.gs-checks {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  gap: 12px;
}

.gs-checks li {
  display: flex;
  gap: 12px;
  font-size: 15px;
  color: var(--ink-700);
  line-height: 1.55;
}

.gs-checks i {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--teal-50);
  color: var(--teal-600);
  display: grid;
  place-items: center;
  font-size: 10px;
  flex-shrink: 0;
  margin-top: 1px;
}

.gs-checks strong {
  color: var(--navy-900);
}

.gs-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 28px 0;
  border-top: 1px solid var(--ink-100);
  border-bottom: 1px solid var(--ink-100);
  border-radius: 15px;
}

.gs-stats div {
  padding: 18px 12px;
  text-align: center;
  background: #fff7f7;
}

.gs-stats div+div {
  border-left: 1px solid var(--ink-100);
}

.gs-stats strong {
  display: block;
  font-family: var(--f-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--teal-600);
  letter-spacing: -0.6px;
  line-height: 1.1;
}

.gs-stats .is-alert strong {
  color: var(--alert-600);
}

.gs-stats span {
  display: block;
  font-size: 12px;
  color: var(--ink-500);
  margin-top: 6px;
  line-height: 1.4;
}

.gs-btnrow {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ---------- 3 · Procedures (tabbed explorer) ---------- */
.gs-proc {
  background: var(--bg-soft);
}

.gs-explorer {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 28px;
  align-items: start;
}

.gs-tabs {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.gs-tab {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 13px 16px;
  text-align: left;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--r-md);
  font-family: var(--f-display);
  color: var(--navy-900);
  cursor: pointer;
  transition: background var(--t-fast), border-color var(--t-fast), box-shadow var(--t-fast);
  position: relative;
}

.gs-tab i {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--white);
  color: var(--teal-600);
  font-size: 14px;
  flex-shrink: 0;
  border: 1px solid var(--ink-100);
}

.gs-tab strong {
  display: block;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.25;
}

.gs-tab small {
  display: block;
  font-size: 11.5px;
  color: var(--ink-500);
  font-weight: 500;
  margin-top: 2px;
}

.gs-tab:hover {
  background: var(--white);
  border-color: var(--ink-100);
}

.gs-tab[aria-selected="true"] {
  background: var(--white);
  border-color: var(--ink-100);
  box-shadow: var(--shadow-md);
}

.gs-tab[aria-selected="true"]::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 12px;
  bottom: 12px;
  width: 3px;
  border-radius: 3px;
  background: var(--alert-600);
}

.gs-tab[aria-selected="true"] i {
  background: var(--alert-600);
  color: var(--white);
  border-color: var(--alert-600);
}

.gs-panel {
  background: var(--white);
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--ink-100);
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  min-height: 470px;
}

.gs-panel[hidden] {
  display: none;
}

.gs-panel__media {
  position: relative;
  background: var(--teal-50);
  min-height: 260px;
}

.gs-panel__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gs-panel__body {
  padding: 30px 32px;
  display: flex;
  flex-direction: column;
}

.gs-panel__tag {
  align-self: flex-start;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  background: var(--teal-50);
  color: var(--teal-700);
  border: 1px solid var(--teal-100);
  font-family: var(--f-display);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.gs-panel__tag--alert {
  background: var(--alert-50);
  color: var(--alert-700);
  border-color: var(--alert-100);
}

.gs-panel h3 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.4px;
  margin: 14px 0 4px;
}

.gs-panel__proc {
  font-family: var(--f-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--alert-600);
}

.gs-panel p {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--ink-600);
  margin: 12px 0 0;
}

.gs-panel__label {
  font-family: var(--f-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: var(--ink-400);
  margin: 18px 0 8px;
}

.gs-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.gs-chips li {
  padding: 5px 11px;
  border-radius: var(--r-pill);
  background: var(--bg-soft);
  border: 1px solid var(--ink-100);
  font-family: var(--f-display);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-700);
}

.gs-panel__meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 20px 0 22px;
  border: 1px solid var(--ink-100);
  border-radius: var(--r-md);
}

.gs-panel__meta div {
  padding: 12px 14px;
}

.gs-panel__meta div+div {
  border-left: 1px solid var(--ink-100);
}

.gs-panel__meta span {
  display: block;
  font-size: 11px;
  color: var(--ink-500);
  letter-spacing: 0.3px;
}

.gs-panel__meta strong {
  display: block;
  font-family: var(--f-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--navy-900);
  margin-top: 2px;
  line-height: 1.3;
}

.gs-panel__cta {
  margin-top: auto;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.gs-proc__note {
  text-align: center;
  font-size: 12.5px;
  color: var(--ink-500);
  margin-top: 22px;
}

/* ---------- 4 · Laparoscopy explained (navy) ---------- */
.gs-lap {
  background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-800) 60%, var(--navy-900) 100%);
  color: rgba(255, 255, 255, 0.8);
  position: relative;
  overflow: hidden;
}

.gs-lap::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 90% 10%, rgba(38, 166, 154, 0.18), transparent 45%);
  pointer-events: none;
}

.gs-lap>.container {
  position: relative;
  z-index: 1;
}

.gs-lap__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: stretch;
}

.gs-steps {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: grid;
  gap: 14px;
  counter-reset: st;
}

.gs-steps li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-lg);
  counter-increment: st;
}

.gs-steps li::before {
  content: counter(st);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--teal-500);
  color: var(--white);
  display: grid;
  place-items: center;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 16px;
}

.gs-steps h4 {
  font-family: var(--f-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin: 2px 0 4px;
}

.gs-steps p {
  font-size: 13.5px;
  line-height: 1.6;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.gs-compare {
  background: var(--white);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.gs-compare__scroll {
  overflow-x: auto;
}

.gs-compare table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 14px;
}

.gs-compare th,
.gs-compare td {
  text-align: left;
  padding: 14px 18px;
  border-bottom: 1px solid var(--ink-100);
  vertical-align: top;
}

.gs-compare thead th {
  font-family: var(--f-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ink-500);
  background: var(--bg-soft);
}

.gs-compare thead th.is-lap {
  color: var(--teal-700);
  background: var(--teal-50);
}

.gs-compare td {
  color: var(--ink-600);
}

.gs-compare tbody th {
  font-family: var(--f-display);
  font-weight: 600;
  color: var(--navy-900);
  width: 30%;
}

.gs-compare td.is-lap {
  color: var(--navy-900);
  font-weight: 500;
  background: rgba(38, 166, 154, 0.05);
}

.gs-compare td.is-lap i {
  color: var(--teal-500);
  margin-right: 6px;
  font-size: 12px;
}

.gs-compare tr:last-child th,
.gs-compare tr:last-child td {
  border-bottom: 0;
}

.gs-compare__foot {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 14px;
}

.gs-lap__media {
  margin: 0;
  border-radius: var(--r-2xl);
  overflow: hidden;
  position: relative;
  min-height: 420px;
  background: var(--navy-800);
}

.gs-lap__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gs-lap__media figcaption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  background: rgba(255, 255, 255, 0.96);
  border-radius: var(--r-md);
  padding: 14px 16px;
  display: flex;
  gap: 12px;
  align-items: center;
  color: var(--navy-900);
}

.gs-lap__media figcaption strong {
  font-family: var(--f-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--teal-600);
  white-space: nowrap;
}

.gs-lap__media figcaption span {
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--ink-600);
}

/* ---------- 5 · When to see a surgeon ---------- */
.gs-signs__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: start;
}

.gs-signs__media {
  margin: 0;
  border-radius: var(--r-2xl);
  overflow: hidden;
  aspect-ratio: 6 / 5;
  background: var(--teal-50);
  box-shadow: var(--shadow-lg);
  position: sticky;
  top: 110px;
}

.gs-signs__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gs-signs__body .section__desc {
  margin-left: 0;
}

.gs-siglist {
  margin-top: 26px;
}

.gs-siglist+.gs-siglist {
  margin-top: 30px;
}

.gs-siglist__head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: var(--alert-600);
  padding-bottom: 10px;
  border-bottom: 2px solid var(--alert-600);
}

.gs-siglist--opd .gs-siglist__head {
  color: var(--teal-700);
  border-bottom-color: var(--teal-500);
}

.gs-siglist ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 28px;
}

.gs-siglist li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 10px;
  padding: 14px 0;
  border-bottom: 1px solid var(--ink-100);
}

.gs-siglist li i {
  color: var(--alert-600);
  margin-top: 3px;
}

.gs-siglist--opd li i {
  color: var(--teal-500);
}

.gs-siglist li strong {
  display: block;
  font-family: var(--f-display);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--navy-900);
  line-height: 1.35;
}

.gs-siglist li span {
  display: block;
  font-size: 13px;
  color: var(--ink-500);
  margin-top: 3px;
  line-height: 1.5;
}

.gs-siglist .btn {
  margin-top: 18px;
}

/* ---------- 6 · Your surgery, step by step ---------- */
.gs-journey {
  background: linear-gradient(180deg, #fdf9ef, var(--cream-50));
}

.gs-journey__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.gs-tl {
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
}

.gs-tl li {
  position: relative;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  padding-bottom: 26px;
}

.gs-tl li:last-child {
  padding-bottom: 0;
}

.gs-tl li::after {
  content: "";
  position: absolute;
  left: 23px;
  top: 50px;
  bottom: 4px;
  width: 2px;
  background: var(--teal-100);
}

.gs-tl li:last-child::after {
  display: none;
}

.gs-tl__num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--teal-500);
  color: var(--teal-600);
  display: grid;
  place-items: center;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 17px;
  box-shadow: var(--shadow-sm);
}

.gs-tl li:first-child .gs-tl__num {
  background: var(--teal-500);
  color: var(--white);
}

.gs-tl__when {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  background: var(--teal-50);
  border: 1px solid var(--teal-100);
  color: var(--teal-700);
  font-family: var(--f-display);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.gs-tl h4 {
  font-family: var(--f-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--navy-900);
  margin: 8px 0 4px;
}

.gs-tl p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-600);
}

.gs-journey__media {
  margin: 0;
  border-radius: var(--r-2xl);
  overflow: hidden;
  aspect-ratio: 4 / 4.6;
  background: var(--teal-50);
  box-shadow: var(--shadow-lg);
}

.gs-journey__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- 7 · Surgical team ---------- */
.gs-team__grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 56px;
  align-items: center;
}

.gs-team__media {
  margin: 0;
  border-radius: var(--r-2xl);
  overflow: hidden;
  aspect-ratio: 6 / 4.4;
  background: var(--teal-50);
  box-shadow: var(--shadow-lg);
}

.gs-team__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gs-team__body .section__desc {
  margin-left: 0;
}

.gs-roles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 26px 0 28px;
  border-top: 1px solid var(--ink-100);
}

.gs-role {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  padding: 18px 18px 18px 0;
  border-bottom: 1px solid var(--ink-100);
}

.gs-role:nth-child(even) {
  padding-left: 18px;
  padding-right: 0;
  border-left: 1px solid var(--ink-100);
}

.gs-role i {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--teal-50);
  color: var(--teal-600);
  font-size: 16px;
}

.gs-role h4 {
  font-family: var(--f-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--navy-900);
  margin: 0 0 3px;
}

.gs-role p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-600);
}

/* ---------- 8 · Facilities (uses theme .gmini-grid) ---------- */
.gs-fac .gmini-item {
  cursor: default;
}

/* ---------- 9 · Reviews (theme components, new arrangement) ---------- */
.gs-reviews__grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 26px;
  align-items: start;
}

.gs-reviews__grid .gprofile {
  margin-bottom: 0;
  position: sticky;
  top: 110px;
}

.gs-reviews__grid .gprofile__head {
  grid-template-columns: auto 1fr;
  row-gap: 16px;
}

.gs-reviews__grid .gprofile__score {
  grid-column: 1 / 2;
}

.gs-reviews__grid .gprofile__btn {
  justify-self: end;
}

.gs-reviews__grid .greview-grid {
  grid-template-columns: 1fr;
}

.gs-reviews__foot {
  margin-top: 20px;
}

/* ---------- Responsive (theme breakpoints) ---------- */
@media (max-width: 1100px) {
  .gs-hero__title {
    font-size: 40px;
  }

  .gs-quick {
    grid-template-columns: 1fr 1fr;
    margin: -56px 20px 0;
  }

  .gs-quick a:nth-child(3) {
    border-left: 0;
  }

  .gs-quick a:nth-child(n+3) {
    border-top: 1px solid var(--ink-100);
  }

  .gs-about__grid,
  .gs-lap__grid,
  .gs-signs__grid,
  .gs-journey__grid,
  .gs-team__grid,
  .gs-reviews__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .gs-explorer {
    grid-template-columns: 1fr;
  }

  .gs-tabs {
    flex-direction: row;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 6px;
    scrollbar-width: thin;
  }

  .gs-tab {
    width: auto;
    flex-shrink: 0;
    padding: 10px 14px;
    background: var(--white);
    border-color: var(--ink-100);
  }

  .gs-tab small {
    display: none;
  }

  .gs-tab[aria-selected="true"]::before {
    left: 12px;
    right: 12px;
    top: auto;
    bottom: -1px;
    width: auto;
    height: 3px;
  }

  .gs-signs__media {
    position: static;
    aspect-ratio: 16 / 9;
  }

  .gs-journey__media {
    aspect-ratio: 16 / 10;
    order: -1;
  }

  .gs-team__media {
    aspect-ratio: 16 / 10;
  }

  .gs-lap__media {
    min-height: 320px;
  }

  .gs-reviews__grid .gprofile {
    position: static;
  }
}

@media (max-width: 860px) {
  .gs-hero {
    padding: 16px 0 36px;
  }

  .gs-hero__panel {
    min-height: 0;
    align-items: flex-end;
  }

  .gs-hero__panel::after {
    background: linear-gradient(180deg, rgba(11, 26, 66, 0.35) 0%, rgba(11, 26, 66, 0.85) 42%, rgba(11, 26, 66, 0.96) 100%);
  }

  .gs-hero__content {
    padding: 140px 26px 92px;
  }

  .gs-panel {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .gs-panel__media {
    aspect-ratio: 16 / 9;
    min-height: 0;
  }

  .gs-siglist ul {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .gs-hero__title {
    font-size: 31px;
    letter-spacing: -0.8px;
  }

  .gs-hero__lede {
    font-size: 15px;
  }

  .gs-hero__usp {
    grid-template-columns: 1fr;
  }

  .gs-hero__cta .btn {
    flex: 1 1 100%;
  }

  .gs-quick {
    grid-template-columns: 1fr;
    margin: -56px 12px 0;
  }

  .gs-quick a+a {
    border-left: 0;
    border-top: 1px solid var(--ink-100);
  }

  .gs-quick a {
    padding: 16px 18px;
  }

  .gs-stats strong {
    font-size: 22px;
  }

  .gs-panel__body {
    padding: 22px 20px;
  }

  .gs-panel__meta {
    grid-template-columns: 1fr;
  }

  .gs-panel__meta div+div {
    border-left: 0;
    border-top: 1px solid var(--ink-100);
  }

  .gs-roles {
    grid-template-columns: 1fr;
  }

  .gs-role,
  .gs-role:nth-child(even) {
    padding: 16px 0;
    border-left: 0;
  }

  .gs-reviews__grid .gprofile__head {
    grid-template-columns: 1fr;
  }

  .gs-reviews__grid .gprofile__btn {
    justify-self: start;
  }
}

@media (max-width: 480px) {
  .gs-hero__content {
    padding: 120px 20px 88px;
  }

  .gs-hero__title {
    font-size: 28px;
  }

  .gs-about__media {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
}

/* keep wide content (tables, tab rows) inside its column */
.gs-about__grid>*,
.gs-explorer>*,
.gs-lap__grid>*,
.gs-signs__grid>*,
.gs-journey__grid>*,
.gs-team__grid>*,
.gs-reviews__grid>* {
  min-width: 0;
}

@media (max-width: 780px) {
  .gs-hero__trust .sep {
    display: none;
  }
}