:root {
  --bg-0: #04060a;
  --bg-1: #060a12;
  --bg-2: #0a0f1a;
  --panel: #0d1220;
  --panel-2: #0b101b;
  --text: #f3f7ff;
  --muted: #97a7bd;
  --line: #182234;
  --cyan: #00b8e6;
  --cyan-2: #00c8f0;
  --danger: #ef4444;
  --radius: 12px;
  --container-max: 1180px;
  --container-pad: 40px;
}

[data-theme="light"] {
  --bg-0: #f4f7fb;
  --bg-1: #eef3f9;
  --bg-2: #e8eef6;
  --panel: #ffffff;
  --panel-2: #f7faff;
  --text: #101827;
  --muted: #526179;
  --line: #d6dfec;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg-1) 240px, var(--bg-0) 100%);
  color: var(--text);
  font-family: "Inter", system-ui, sans-serif;
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 0.5rem;
  font-family: "Outfit", system-ui, sans-serif;
  line-height: 1.18;
}

p {
  margin: 0;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.gs-container {
  width: min(var(--container-max), calc(100vw - var(--container-pad)));
  margin-inline: auto;
}

.gs-main {
  min-height: 74vh;
  padding-top: 5.7rem;
}

.gs-section {
  padding: 3.2rem 0;
}

.gs-section-ad {
  padding-bottom: 0;
}

.gs-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  background: rgba(4, 8, 14, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.gs-breaking {
  background: linear-gradient(90deg, #ef4444 0%, #ff3e3e 100%);
}

.gs-breaking-inner {
  min-height: 1.8rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.gs-breaking-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
  flex-shrink: 0;
}

.gs-breaking-ticker {
  position: relative;
  overflow: hidden;
  min-width: 0;
  flex: 1;
}

.gs-breaking-track {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  white-space: nowrap;
  animation: gsTicker 18s linear infinite;
  will-change: transform;
}

.gs-breaking-ticker:hover .gs-breaking-track {
  animation-play-state: paused;
}

.gs-breaking-text {
  font-size: 0.95rem;
  font-weight: 500;
}

.gs-breaking-sep {
  opacity: 0.72;
  font-weight: 700;
}

.gs-breaking-datetime {
  flex-shrink: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  opacity: 0.95;
  padding-left: 0.6rem;
  border-left: 1px solid rgba(255, 255, 255, 0.28);
}

.gs-header-main {
  min-height: 3.85rem;
  display: grid;
  align-items: center;
  grid-template-columns: auto 1fr auto;
  gap: 1.3rem;
}

.gs-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.62rem;
}

.gs-brand-mark {
  width: 2rem;
  height: 2rem;
  border-radius: 0.45rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #041019;
  font-weight: 800;
  font-family: "Outfit", system-ui, sans-serif;
  background: linear-gradient(135deg, var(--cyan) 0%, var(--cyan-2) 100%);
}

.gs-brand-text {
  font-size: 2rem;
  font-weight: 800;
  font-family: "Outfit", system-ui, sans-serif;
}

.gs-brand-text span {
  color: var(--cyan);
}

.gs-nav {
  min-width: 0;
}

.gs-menu {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
}

.gs-menu li {
  list-style: none;
  position: relative;
}

.gs-menu li a {
  display: inline-block;
  color: #a5b1c3;
  font-size: 0.93rem;
  font-weight: 500;
  padding: 0.3rem 0;
}

.gs-menu li a:hover,
.gs-menu .current-menu-item > a,
.gs-menu .current_page_item > a {
  color: #f7fbff;
}

.gs-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.gs-menu .sub-menu {
  display: none;
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 0;
  min-width: 170px;
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  background: #0e1524;
  padding: 0.35rem;
  z-index: 30;
}

.gs-menu .sub-menu li a {
  display: block;
  padding: 0.35rem 0.45rem;
  border-radius: 0.35rem;
}

.gs-menu li:hover > .sub-menu {
  display: block;
}

.gs-header-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
}

.gs-icon-btn {
  width: 2rem;
  height: 2rem;
  border: 1px solid transparent;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #c9d5e6;
}

.gs-icon-btn:hover {
  border-color: var(--line);
  background: #111a29;
}

.gs-icon-search {
  width: 0.75rem;
  height: 0.75rem;
  display: inline-block;
  border: 2px solid currentColor;
  border-radius: 50%;
  position: relative;
}

.gs-icon-search::after {
  content: "";
  position: absolute;
  width: 0.45rem;
  height: 2px;
  background: currentColor;
  right: -0.35rem;
  bottom: -0.2rem;
  transform: rotate(45deg);
  border-radius: 999px;
}

.gs-icon-moon {
  width: 0.75rem;
  height: 0.75rem;
  display: inline-block;
  border-radius: 50%;
  box-shadow: -0.2rem 0 0 0 currentColor;
  transform: translateX(0.1rem);
}

.gs-login-link {
  margin-left: 0.35rem;
  color: #d8e3f5;
  font-size: 0.92rem;
  font-weight: 600;
}

.gs-login-link:hover {
  color: #fff;
}

.gs-signup-btn {
  margin-left: 0.35rem;
  min-height: 2rem;
  padding: 0 0.9rem;
  border-radius: 0.45rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--cyan) 0%, var(--cyan-2) 100%);
  color: #041019;
  font-size: 0.86rem;
  font-weight: 700;
}

.gs-menu-toggle {
  display: none;
  border: 1px solid var(--line);
  border-radius: 0.4rem;
  background: #0e1524;
  color: #ebf1fb;
  padding: 0.45rem 0.6rem;
}

.gs-home-wrap {
  padding-top: 1.35rem;
}

.gs-hero-carousel {
  position: relative;
  overflow: hidden;
}

.gs-hero-track {
  display: flex;
  transition: transform 0.55s ease;
  will-change: transform;
}

.gs-hero-slide {
  min-width: 100%;
  flex: 0 0 100%;
}

.gs-hero-card {
  position: relative;
  border-radius: 0.92rem;
  overflow: hidden;
  background: #09101a;
  border: 1px solid #0f1d2f;
  box-shadow: 0 18px 38px rgba(7, 14, 24, 0.22);
  min-height: 500px;
}

.gs-hero-image img,
.gs-hero-fallback {
  width: 100%;
  min-height: 500px;
  height: 500px;
  object-fit: cover;
}

.gs-hero-fallback {
  background: radial-gradient(circle at 65% 30%, rgba(0, 184, 230, 0.24), transparent 55%),
    linear-gradient(125deg, #07101d 0%, #0a1b33 50%, #02060e 100%);
}

.gs-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(92deg, rgba(3, 7, 14, 0.88) 0%, rgba(3, 7, 14, 0.64) 34%, rgba(3, 7, 14, 0.24) 58%, rgba(3, 7, 14, 0.08) 82%, rgba(3, 7, 14, 0.02) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.12) 12%, rgba(2, 5, 10, 0.42) 58%, rgba(4, 6, 10, 0.86) 100%);
}

.gs-hero-content {
  position: absolute;
  left: 2rem;
  right: auto;
  bottom: 1.8rem;
  z-index: 2;
  width: min(760px, calc(100% - 6.4rem));
  padding: 0;
  background: transparent;
  backdrop-filter: none;
}

.gs-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  min-height: 1.38rem;
  padding: 0 0.62rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: #03131d;
  background: linear-gradient(135deg, var(--cyan) 0%, #32d9ff 100%);
  margin-bottom: 0.88rem;
}

.gs-hero-content h1 {
  font-size: clamp(1.95rem, 4.3vw, 3.2rem);
  margin-bottom: 0.78rem;
  line-height: 1.14;
  text-wrap: balance;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
}

.gs-hero-content h1 a {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gs-hero-content h1 a:hover {
  color: #d8f6ff;
}

.gs-hero-content p {
  color: #becce0;
  max-width: 60ch;
  font-size: 1.12rem;
  line-height: 1.55;
  margin-bottom: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35);
}

.gs-hero-meta {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  color: #d8e5f6;
  font-size: 1rem;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
}

.gs-hero-meta span::before {
  content: "•";
  margin-right: 0.55rem;
  opacity: 0.4;
}

.gs-hero-meta span:first-child::before {
  content: "";
  margin-right: 0;
}

.gs-hero-meta span + span::before {
  content: "\2022";
}

.gs-hero-nav {
  position: absolute;
  right: 1.25rem;
  bottom: 1.15rem;
  z-index: 3;
  display: flex;
  gap: 0.6rem;
}

.gs-hero-btn {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  border: 1px solid rgba(228, 239, 255, 0.36);
  background: rgba(9, 16, 28, 0.42);
  backdrop-filter: blur(4px);
  color: #f7fbff;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.gs-hero-btn:hover {
  transform: translateY(-1px);
  background: rgba(13, 27, 45, 0.78);
  border-color: rgba(106, 231, 255, 0.62);
}

.gs-trending {
  margin-top: 1.6rem;
  background: #050a13;
  border-top: 1px solid #0f1b2d;
  border-bottom: 1px solid #0f1b2d;
  padding: 2rem 0 2.35rem;
}

.gs-trending h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.gs-trending-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.85rem;
}

.gs-trend-card {
  border: 1px solid #18243a;
  border-radius: 0.72rem;
  background: linear-gradient(170deg, #0c1322, #09101c);
  padding: 0.95rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem;
  min-height: 108px;
}

.gs-trend-rank {
  color: #00a9d8;
  font-size: 2rem;
  font-family: "Outfit", system-ui, sans-serif;
  font-weight: 700;
  line-height: 1;
  margin-top: 0.08rem;
}

.gs-trend-cat {
  display: inline-block;
  color: #d9e8f5;
  background: rgba(185, 198, 219, 0.12);
  border: 1px solid rgba(178, 198, 221, 0.15);
  border-radius: 999px;
  font-size: 0.71rem;
  padding: 0.08rem 0.5rem;
  margin-bottom: 0.45rem;
}

.gs-trend-card h3 {
  font-size: 1.08rem;
  margin-bottom: 0.35rem;
}

.gs-trend-card h3 a {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gs-trend-card p {
  color: #9db0c7;
  font-size: 0.82rem;
}

.gs-grid {
  display: grid;
  gap: 1.15rem;
}

.gs-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gs-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gs-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gs-card,
.gs-panel,
.gs-single,
.gs-page,
.gs-widget {
  border: 1px solid #18253b;
  border-radius: var(--radius);
  background: linear-gradient(170deg, var(--panel), var(--panel-2));
}

.gs-card-thumb img,
.gs-card-thumb-placeholder {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius) var(--radius) 0 0;
  background: linear-gradient(135deg, #1e2f4f 0%, #0f1a2d 100%);
}

.gs-card-body {
  padding: 0.95rem 1rem 1.1rem;
}

.gs-card-cat {
  display: inline-flex;
  align-items: center;
  min-height: 1.45rem;
  padding: 0 0.5rem;
  border-radius: 999px;
  margin-bottom: 0.55rem;
  border: 1px solid rgba(0, 184, 230, 0.3);
  color: #66dfff;
  font-size: 0.72rem;
  font-weight: 600;
}

.gs-meta {
  color: #9badc4;
  font-size: 0.85rem;
  margin-bottom: 0.45rem;
}

.gs-card h3 {
  font-size: 1.18rem;
  margin-bottom: 0.45rem;
}

.gs-card p {
  color: #a5b5cb;
}

.gs-section-head {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.gs-section-head h2 {
  font-size: 1.9rem;
}

.gs-section-head a {
  color: #66dfff;
  font-size: 0.88rem;
  font-weight: 600;
}

.gs-section-head a:hover {
  text-decoration: underline;
}

.gs-latest {
  background: rgba(10, 16, 28, 0.45);
}

.gs-latest-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 1.2rem;
}

.gs-latest-list {
  display: grid;
  gap: 0.9rem;
}

.gs-horizontal {
  display: grid;
  grid-template-columns: 152px minmax(0, 1fr);
  gap: 0.85rem;
  border: 1px solid #18253b;
  border-radius: var(--radius);
  background: linear-gradient(170deg, var(--panel), var(--panel-2));
  padding: 0.7rem;
}

.gs-horizontal-thumb img,
.gs-horizontal-thumb .gs-card-thumb-placeholder {
  width: 100%;
  height: 100%;
  min-height: 100px;
  object-fit: cover;
  border-radius: 0.5rem;
}

.gs-horizontal-body h3 {
  font-size: 1.12rem;
  margin-bottom: 0.4rem;
}

.gs-horizontal-body h3 a:hover {
  color: #8de6ff;
}

.gs-horizontal-body p {
  color: #9eb0c8;
  margin-bottom: 0.35rem;
}

.gs-side-box {
  border: 1px solid #18253b;
  border-radius: var(--radius);
  background: linear-gradient(170deg, var(--panel), var(--panel-2));
  padding: 1rem;
  position: sticky;
  top: 104px;
}

.gs-side-box h3 {
  font-size: 1.2rem;
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.gs-side-box h3::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: #3fd8ff;
  box-shadow: 0 0 0.8rem rgba(63, 216, 255, 0.65);
}

.gs-side-list {
  display: grid;
  gap: 0.85rem;
}

.gs-mini-trend {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.55rem;
}

.gs-mini-trend > span {
  font-size: 1.7rem;
  line-height: 1;
  color: rgba(63, 216, 255, 0.5);
  font-family: "Outfit", system-ui, sans-serif;
  font-weight: 700;
}

.gs-mini-trend h4 {
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.gs-mini-trend h4 a:hover {
  color: #8de6ff;
}

.gs-mini-trend p {
  color: #8fa1b9;
  font-size: 0.78rem;
}

.gs-category-page {
  padding-top: 2.6rem;
  padding-bottom: 3.2rem;
}

.gs-category-head {
  margin-bottom: 1.7rem;
}

.gs-category-head h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 0.55rem;
}

.gs-category-head p {
  color: #9fb0c7;
  font-size: 1.08rem;
  max-width: 42rem;
}

.gs-pagination-wrap {
  margin-top: 1.25rem;
}

.gs-pagination-wrap .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  min-height: 2rem;
  border-radius: 0.4rem;
  border: 1px solid #1b2940;
  color: #b6c5d9;
  margin-right: 0.35rem;
  font-size: 0.88rem;
}

.gs-pagination-wrap .current {
  border-color: #34d7ff;
  color: #dff8ff;
}

.gs-topics {
  padding-top: 3.4rem;
}

.gs-topics-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 1.4rem;
}

.gs-topics-head h2 {
  font-size: 2.1rem;
  margin-bottom: 0.4rem;
}

.gs-topics-head p {
  color: #97aac1;
}

.gs-topic-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.85rem;
}

.gs-topic-card {
  border: 1px solid #18253b;
  border-radius: var(--radius);
  background: linear-gradient(170deg, var(--panel), var(--panel-2));
}

.gs-topic-card a {
  display: block;
  padding: 1rem 0.85rem;
}

.gs-topic-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 0.45rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #00b8e6, #38dfff);
  color: #03131d;
  font-family: "Outfit", system-ui, sans-serif;
  font-weight: 800;
  margin-bottom: 0.65rem;
}

.gs-topic-card h3 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.gs-topic-card p {
  color: #97aac1;
  font-size: 0.82rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gs-newsletter {
  position: relative;
  overflow: hidden;
  padding-top: 3.8rem;
  padding-bottom: 4rem;
}

.gs-newsletter::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(680px circle at 50% 50%, rgba(0, 184, 230, 0.13) 0%, transparent 65%);
  pointer-events: none;
}

.gs-newsletter-wrap {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.gs-newsletter-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.9rem;
  padding: 0 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 184, 230, 0.35);
  background: rgba(0, 184, 230, 0.1);
  color: #7eeaff;
  font-size: 0.82rem;
  font-weight: 700;
}

.gs-newsletter-wrap h2 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin-top: 0.75rem;
  margin-bottom: 0.45rem;
}

.gs-newsletter-wrap p {
  color: #9cb0c8;
}

.gs-newsletter-msg {
  margin-top: 0.65rem;
  color: #6be9a9;
  font-weight: 600;
}

.gs-newsletter-form {
  margin: 1rem auto 0.95rem;
  display: flex;
  gap: 0.6rem;
  max-width: 520px;
}

.gs-newsletter-form input {
  flex: 1;
  min-height: 2.85rem;
  border: 1px solid #1b2b45;
  border-radius: 0.6rem;
  background: #0b1322;
  color: var(--text);
  padding: 0 0.85rem;
}

.gs-newsletter-form button {
  min-height: 2.85rem;
  border: 0;
  border-radius: 0.6rem;
  padding: 0 1rem;
  background: linear-gradient(135deg, var(--cyan) 0%, var(--cyan-2) 100%);
  color: #021119;
  font-weight: 700;
  cursor: pointer;
}

.gs-newsletter-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.gs-newsletter-features span {
  color: #9db2ca;
  font-size: 0.88rem;
}

.gs-panel {
  padding: 1rem;
}

.gs-with-sidebar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 1.25rem;
}

.gs-single-wrap,
.gs-page-wrap {
  max-width: 920px;
}

.gs-single,
.gs-page {
  padding: 1.4rem;
}

.gs-single-thumb {
  margin: 1rem 0 1.2rem;
}

.gs-single-thumb img {
  border-radius: 0.65rem;
}

.gs-content {
  color: #d2deee;
}

.gs-content h2,
.gs-content h3 {
  margin-top: 1.5rem;
}

.gs-content a {
  color: #4fd8ff;
}

.gs-tags a {
  display: inline-flex;
  align-items: center;
  min-height: 1.7rem;
  padding: 0 0.55rem;
  border-radius: 999px;
  color: #0b8fb5;
  border: 1px solid rgba(0, 184, 230, 0.35);
  background: rgba(0, 184, 230, 0.2);
  margin-right: 0.35rem;
  margin-bottom: 0.35rem;
}

.gs-tags a:hover {
  color: #066f8e;
  background: rgba(0, 184, 230, 0.28);
  border-color: rgba(0, 184, 230, 0.5);
}

.gs-sidebar {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.gs-widget {
  padding: 1rem;
}

.gs-footer {
  border-top: 1px solid var(--line);
  background: #050911;
  margin-top: 1.5rem;
}

.gs-footer-newsletter {
  border-bottom: 1px solid var(--line);
}

.gs-footer-newsletter-inner {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
  padding: 2.7rem 0;
}

.gs-footer-newsletter-inner h3 {
  font-size: 2rem;
  margin-bottom: 0.4rem;
}

.gs-footer-newsletter-inner p {
  color: #97a9c2;
  margin-bottom: 1rem;
}

.gs-footer-subscribe {
  max-width: 480px;
  margin-inline: auto;
  display: flex;
  gap: 0.55rem;
}

.gs-footer-subscribe input {
  flex: 1;
  min-height: 2.8rem;
  border: 1px solid #1b2b45;
  border-radius: 0.6rem;
  background: #0c1322;
  color: var(--text);
  padding: 0 0.85rem;
}

.gs-footer-subscribe button {
  min-height: 2.8rem;
  border: 0;
  border-radius: 0.6rem;
  padding: 0 1rem;
  background: linear-gradient(135deg, var(--cyan) 0%, var(--cyan-2) 100%);
  color: #021119;
  font-weight: 700;
  cursor: pointer;
}

.gs-footer-links {
  padding: 2.4rem 0;
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1fr;
  gap: 1.3rem;
}

.gs-footer-brand {
  margin-bottom: 0.6rem;
}

.gs-footer-brand-col p,
.gs-footer-col ul li a,
.gs-footer-bottom p,
.gs-footer-contact a {
  color: #93a5bc;
}

.gs-footer-col h4 {
  font-size: 1.03rem;
  margin-bottom: 0.8rem;
}

.gs-footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.gs-footer-menu a:hover,
.gs-footer-contact a:hover {
  color: #d7ecff;
}

.gs-socials {
  display: flex;
  gap: 0.55rem;
  margin-top: 0.7rem;
}

.gs-socials a {
  width: 2.05rem;
  height: 2.05rem;
  border-radius: 0.5rem;
  border: 1px solid #1c2b43;
  background: #0b1321;
  color: #9eb0c9;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.gs-socials a:hover {
  color: #6de8ff;
  border-color: #2dccec;
  background: rgba(0, 184, 230, 0.12);
}

.gs-footer-bottom {
  border-top: 1px solid var(--line);
}

.gs-footer-bottom-inner {
  min-height: 3.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.gs-footer-contact {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #93a5bc;
}

[data-theme="light"] .gs-header {
  background: rgba(255, 255, 255, 0.9);
}

[data-theme="light"] .gs-menu li a {
  color: #405067;
}

[data-theme="light"] .gs-menu li a:hover,
[data-theme="light"] .gs-menu .current-menu-item > a,
[data-theme="light"] .gs-menu .current_page_item > a {
  color: #0f1727;
}

[data-theme="light"] .gs-menu .sub-menu {
  background: #ffffff;
}

[data-theme="light"] .gs-icon-btn {
  color: #334155;
}

[data-theme="light"] .gs-icon-btn:hover {
  background: #f1f5fb;
}

[data-theme="light"] .gs-login-link {
  color: #1f2937;
}

[data-theme="light"] .gs-hero-card {
  background: #ecf2fa;
  border-color: #d6dfec;
}

[data-theme="light"] .gs-hero-fallback {
  background: radial-gradient(circle at 65% 30%, rgba(0, 184, 230, 0.16), transparent 56%),
    linear-gradient(125deg, #f6fbff 0%, #e8f0fb 52%, #dfe8f5 100%);
}

[data-theme="light"] .gs-hero-overlay {
  background:
    linear-gradient(92deg, rgba(15, 23, 39, 0.82) 0%, rgba(15, 23, 39, 0.54) 34%, rgba(15, 23, 39, 0.24) 58%, rgba(15, 23, 39, 0.08) 82%, rgba(15, 23, 39, 0.03) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02) 8%, rgba(15, 23, 39, 0.16) 58%, rgba(15, 23, 39, 0.34) 100%);
}

[data-theme="light"] .gs-trending {
  background: #f0f4fa;
}

[data-theme="light"] .gs-trend-card,
[data-theme="light"] .gs-card,
[data-theme="light"] .gs-panel,
[data-theme="light"] .gs-single,
[data-theme="light"] .gs-page,
[data-theme="light"] .gs-widget,
[data-theme="light"] .gs-horizontal,
[data-theme="light"] .gs-side-box {
  border-color: #d6dfec;
}

[data-theme="light"] .gs-trend-card p,
[data-theme="light"] .gs-card p,
[data-theme="light"] .gs-horizontal-body p,
[data-theme="light"] .gs-category-head p,
[data-theme="light"] .gs-footer p,
[data-theme="light"] .gs-footer li a,
[data-theme="light"] .gs-footer-bottom .gs-container,
[data-theme="light"] .gs-meta {
  color: #526179;
}

[data-theme="light"] .gs-hero-content h1,
[data-theme="light"] .gs-hero-content h1 a {
  color: #f4f8ff;
}

[data-theme="light"] .gs-hero-content p,
[data-theme="light"] .gs-hero-meta {
  color: #e7effb;
}

[data-theme="light"] .gs-trend-card h3 a,
[data-theme="light"] .gs-card h3 a,
[data-theme="light"] .gs-horizontal-body h3 a,
[data-theme="light"] .gs-mini-trend h4 a {
  color: #0f1727;
}

[data-theme="light"] .gs-trend-cat {
  color: #334155;
  background: rgba(51, 65, 85, 0.08);
  border-color: rgba(51, 65, 85, 0.18);
}

[data-theme="light"] .gs-hero-btn {
  border-color: rgba(255, 255, 255, 0.56);
  background: rgba(20, 36, 58, 0.35);
  color: #f8fbff;
}

[data-theme="light"] .gs-hero-btn:hover {
  background: rgba(20, 36, 58, 0.58);
}

[data-theme="light"] .gs-content {
  color: #1f2937;
}

[data-theme="light"] .gs-footer {
  background: #eaf0f8;
}

[data-theme="light"] .gs-breaking-datetime {
  border-left-color: rgba(15, 23, 39, 0.25);
  color: #1f2937;
}

[data-theme="light"] .gs-footer-newsletter-inner p,
[data-theme="light"] .gs-footer-brand-col p,
[data-theme="light"] .gs-footer-col ul li a,
[data-theme="light"] .gs-footer-bottom p,
[data-theme="light"] .gs-footer-contact a {
  color: #5a6b84;
}

[data-theme="light"] .gs-footer-subscribe input {
  background: #fff;
  border-color: #d6dfec;
  color: #101827;
}

[data-theme="light"] .gs-socials a {
  border-color: #d6dfec;
  background: #fff;
  color: #60708a;
}

[data-theme="light"] .gs-topics-head p,
[data-theme="light"] .gs-topic-card p,
[data-theme="light"] .gs-newsletter-wrap p,
[data-theme="light"] .gs-newsletter-features span {
  color: #5a6b84;
}

[data-theme="light"] .gs-topic-card {
  border-color: #d6dfec;
}

[data-theme="light"] .gs-newsletter-chip {
  color: #0d8ab0;
  background: rgba(0, 184, 230, 0.08);
}

[data-theme="light"] .gs-newsletter-form input {
  background: #fff;
  border-color: #d6dfec;
  color: #101827;
}

.wp-block-image img {
  border-radius: 0.6rem;
}

.alignwide,
.alignfull {
  margin-left: auto;
  margin-right: auto;
}

@keyframes gsTicker {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 1120px) {
  .gs-trending-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .gs-container {
    --container-pad: 26px;
  }

  .gs-single-wrap,
  .gs-page-wrap {
    max-width: 100%;
  }

  .gs-header-main {
    grid-template-columns: auto auto 1fr;
    min-height: 4.2rem;
  }

  .gs-menu-toggle {
    display: inline-flex;
  }

  .gs-nav {
    display: none;
    grid-column: 1 / -1;
    padding-bottom: 0.9rem;
  }

  .gs-nav.is-open {
    display: block;
  }

  .gs-menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
  }

  .gs-header-actions {
    margin-left: auto;
  }

  .gs-login-link,
  .gs-signup-btn {
    display: none;
  }

  .gs-hero-card,
  .gs-hero-image img,
  .gs-hero-fallback {
    min-height: 420px;
    height: 420px;
  }

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

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

  .gs-side-box {
    position: static;
    top: auto;
  }

  .gs-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gs-topic-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .gs-container {
    --container-pad: 22px;
    width: min(var(--container-max), calc(100vw - var(--container-pad)));
  }

  .gs-brand-text {
    font-size: 1.55rem;
  }

  .gs-breaking-text {
    font-size: 0.82rem;
  }

  .gs-breaking-datetime {
    display: none;
  }

  .gs-home-wrap {
    padding-top: 0.8rem;
  }

  .gs-hero-card,
  .gs-hero-image img,
  .gs-hero-fallback {
    min-height: 360px;
    height: 360px;
  }

  .gs-hero-content {
    left: 1rem;
    right: auto;
    bottom: 1rem;
    width: calc(100% - 2rem);
    max-width: calc(100% - 2rem);
    padding: 0;
  }

  .gs-hero-content h1 {
    font-size: 1.75rem;
  }

  .gs-hero-content h1 a {
    -webkit-line-clamp: 3;
  }

  .gs-hero-content p {
    font-size: 0.95rem;
    -webkit-line-clamp: 2;
  }

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

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

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

  .gs-newsletter-form {
    flex-direction: column;
  }

  .gs-footer-subscribe {
    flex-direction: column;
  }

  .gs-grid-2,
  .gs-grid-3,
  .gs-grid-4,
  .gs-footer-links {
    grid-template-columns: 1fr;
  }

  .gs-footer-bottom-inner {
    flex-direction: column;
    justify-content: center;
    padding: 0.65rem 0;
  }
}

.gs-header-ad-wrap {
  padding-bottom: 0.45rem;
}

.gs-ad-slot,
.gs-ad-placeholder {
  border: 1px dashed #2a3a56;
  border-radius: 0.6rem;
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8ea2bd;
  background: rgba(11, 18, 31, 0.55);
  font-size: 0.86rem;
}

.gs-mega-menu {
  position: relative;
  display: inline-block;
  margin-left: 0.5rem;
}

.gs-mega-trigger {
  border: 1px solid #1b2940;
  border-radius: 0.45rem;
  background: #0d1625;
  color: #c7d3e4;
  font-size: 0.83rem;
  min-height: 1.9rem;
  padding: 0 0.65rem;
}

.gs-mega-panel {
  position: absolute;
  top: calc(100% + 0.4rem);
  left: 0;
  min-width: 500px;
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  border: 1px solid #1a2a43;
  border-radius: 0.7rem;
  background: #0b1322;
  padding: 0.9rem;
  z-index: 50;
}

.gs-mega-menu:hover .gs-mega-panel {
  display: grid;
}

.gs-mega-panel h4 {
  font-size: 0.95rem;
  margin-bottom: 0.45rem;
}

.gs-mega-panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.3rem;
}

.gs-mega-panel a {
  color: #9fb1c9;
  font-size: 0.86rem;
}

.gs-mega-panel a:hover {
  color: #e4f5ff;
}

.gs-hero-dots {
  position: absolute;
  left: 1.1rem;
  bottom: 1.2rem;
  z-index: 3;
  display: inline-flex;
  gap: 0.45rem;
}

.gs-hero-dot {
  width: 0.58rem;
  height: 0.58rem;
  border: 0;
  border-radius: 999px;
  background: rgba(236, 245, 255, 0.5);
  cursor: pointer;
  transition: width 0.2s ease, background-color 0.2s ease;
}

.gs-hero-dot.is-active {
  width: 1.35rem;
  background: #6ae7ff;
}

.gs-single-layout {
  display: grid;
  grid-template-columns: 56px minmax(0, 920px);
  justify-content: center;
  gap: 1rem;
}

.gs-reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 120;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, #00b8e6, #32d9ff);
}

.gs-share-rail {
  position: sticky;
  top: 140px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.gs-share-rail a {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  border: 1px solid #22324d;
  color: #b7c7dc;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

.gs-single-head h1 {
  font-size: clamp(2rem, 4.3vw, 3.2rem);
}

.gs-toc {
  margin: 1rem 0 1.2rem;
  border: 1px solid #20314e;
  border-radius: 0.65rem;
  padding: 0.85rem;
  background: rgba(11, 18, 31, 0.45);
}

.gs-toc h3 {
  font-size: 1rem;
  margin-bottom: 0.45rem;
}

.gs-toc ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.3rem;
}

.gs-toc li.is-sub {
  padding-left: 0.8rem;
}

.gs-toc a {
  color: #a7c5e3;
  font-size: 0.9rem;
}

.gs-article-ad {
  margin: 1rem 0;
}

.gs-single-sidebar {
  display: block;
}

.gs-author-hero {
  padding-top: 2.4rem;
}

.gs-author-card {
  border: 1px solid #1a2a43;
  border-radius: 0.8rem;
  padding: 1rem;
  background: linear-gradient(170deg, var(--panel), var(--panel-2));
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: center;
}

.gs-author-avatar img {
  border-radius: 999px;
}

[data-theme="light"] .gs-ad-slot,
[data-theme="light"] .gs-ad-placeholder,
[data-theme="light"] .gs-toc,
[data-theme="light"] .gs-author-card {
  border-color: #d6dfec;
  background: #fff;
}

[data-theme="light"] .gs-mega-trigger {
  border-color: #d6dfec;
  background: #fff;
  color: #334155;
}

[data-theme="light"] .gs-mega-panel {
  border-color: #d6dfec;
  background: #fff;
}

[data-theme="light"] .gs-mega-panel a {
  color: #475569;
}

[data-theme="light"] .gs-mega-panel a:hover {
  color: #0f1727;
}

[data-theme="light"] .gs-share-rail a {
  border-color: #d6dfec;
  color: #475569;
}

[data-theme="light"] .gs-toc a {
  color: #334155;
}

[data-theme="light"] .gs-tags a {
  color: #0f6f8c;
  border-color: rgba(15, 111, 140, 0.35);
  background: rgba(15, 111, 140, 0.14);
}

[data-theme="light"] .gs-tags a:hover {
  color: #0b5a72;
  border-color: rgba(11, 90, 114, 0.45);
  background: rgba(11, 90, 114, 0.2);
}

@media (max-width: 1180px) {
  .gs-single-layout {
    grid-template-columns: minmax(0, 920px);
    justify-content: center;
  }

  .gs-share-rail {
    display: none;
  }
}

@media (max-width: 980px) {
  .gs-mega-menu {
    display: none;
  }

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

  .gs-single-sidebar {
    order: 2;
  }
}

/* Hotfixes: menu stability, trending readability, ads hidden for now */
.gs-menu li {
  padding-bottom: 0.35rem;
  margin-bottom: -0.35rem;
}

.gs-menu .sub-menu {
  top: 100%;
}

.gs-menu li:hover > .sub-menu,
.gs-menu li:focus-within > .sub-menu {
  display: block;
}

.gs-trending {
  background: #070d19;
}

.gs-trend-card {
  border-color: #22324b;
  background: linear-gradient(170deg, #0f1728, #0a1220);
}

.gs-trend-card h3 a {
  color: #f4f8ff;
}

.gs-trend-card p {
  color: #afc0d6;
}

[data-theme="light"] .gs-trending {
  background: #edf3fb;
}

[data-theme="light"] .gs-trend-card {
  background: linear-gradient(170deg, #ffffff, #f7faff);
}

[data-theme="light"] .gs-trend-card h3 a {
  color: #0f1727;
}

[data-theme="light"] .gs-trend-card p {
  color: #526179;
}

.gs-header-ad-wrap,
.gs-ad-slot,
.gs-ad-placeholder,
.gs-article-ad,
.gs-section-ad {
  display: none !important;
}

/* Global width normalization + TechRadar-like scale */
:root {
  --container-max: 1040px;
  --container-pad: 34px;
}

.gs-container,
.gs-list-container,
.gs-single-wrap,
.gs-page-wrap {
  width: min(var(--container-max), calc(100vw - var(--container-pad)));
  max-width: var(--container-max);
  margin-inline: auto;
}

.gs-section {
  padding: 2.4rem 0;
}

.gs-list-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 1.35rem;
  align-items: start;
}

.gs-list-sidebar {
  position: sticky;
  top: 118px;
}

.gs-list-sidebar-box {
  border: 1px solid #22324b;
  background: #111723;
  color: #f2f6ff;
}

.gs-list-sidebar-box h3 {
  margin: 0;
  padding: 0.62rem 0.75rem;
  text-transform: uppercase;
  font-size: 1rem;
  letter-spacing: 0.02em;
  border-bottom: 1px solid #2a3954;
  text-align: center;
}

.gs-list-sidebar-box ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

.gs-list-sidebar-box li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.55rem;
  padding: 0.7rem 0.75rem;
  border-bottom: 1px solid #2a3954;
}

.gs-list-side-rank {
  font-size: 2rem;
  line-height: 1;
  color: #d4deef;
  opacity: 0.9;
}

.gs-list-sidebar-box li a {
  color: #f6faff;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.35;
}

.gs-list-item {
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 1.1rem;
  padding: 0.95rem 0;
}

.gs-list-thumb img,
.gs-list-thumb .gs-card-thumb-placeholder {
  height: 150px;
}

.gs-list-title {
  font-size: clamp(1.15rem, 2vw, 1.95rem);
  line-height: 1.25;
}

.gs-list-meta {
  font-size: 0.84rem;
}

.gs-list-excerpt {
  font-size: 0.85rem;
  line-height: 1.45;
}

.gs-single-layout {
  grid-template-columns: minmax(0, 1fr);
  max-width: 860px;
  margin-inline: auto;
}

.gs-share-rail {
  display: none;
}

.gs-single-head h1 {
  font-size: clamp(1.7rem, 3vw, 2.8rem);
}

[data-theme="light"] .gs-list-sidebar-box {
  border-color: #d6dfec;
  background: #f5f7fb;
  color: #0f1727;
}

[data-theme="light"] .gs-list-sidebar-box h3 {
  border-bottom-color: #d6dfec;
}

[data-theme="light"] .gs-list-sidebar-box li {
  border-bottom-color: #d6dfec;
}

[data-theme="light"] .gs-list-side-rank {
  color: #334155;
}

[data-theme="light"] .gs-list-sidebar-box li a {
  color: #0f1727;
}

@media (max-width: 1100px) {
  .gs-list-layout {
    grid-template-columns: 1fr;
  }

  .gs-list-sidebar {
    position: static;
  }
}

@media (max-width: 700px) {
  :root {
    --container-pad: 20px;
  }

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

  .gs-list-thumb img,
  .gs-list-thumb .gs-card-thumb-placeholder {
    height: 210px;
  }
}

/* Builder override guardrails: keep inner-page widths consistent even with Elementor wrappers */
body:not(.home) .elementor-section .elementor-container,
body:not(.home) .elementor .e-con,
body:not(.home) .elementor .elementor-widget-wrap,
body:not(.home) .site-main > .elementor {
  max-width: 1040px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body:not(.home) .elementor-section.elementor-section-boxed > .elementor-container {
  max-width: 1040px !important;
}

/* Premium static pages */
.gs-static-page {
  padding-top: 2.2rem;
}

.gs-static-wrap {
  max-width: 980px;
}

.gs-static-hero {
  margin-bottom: 1.2rem;
}

.gs-static-eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 1.6rem;
  border-radius: 999px;
  padding: 0 0.55rem;
  border: 1px solid rgba(0, 184, 230, 0.3);
  color: #0f8eaf;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.gs-static-hero h1 {
  margin-top: 0.55rem;
  font-size: clamp(1.8rem, 3.4vw, 3rem);
}

.gs-static-hero p {
  margin-top: 0.45rem;
  color: var(--muted);
  max-width: 64ch;
}

.gs-static-grid {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.gs-static-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gs-static-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gs-static-card,
.gs-static-stat,
.gs-static-form,
.gs-static-legal {
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: linear-gradient(170deg, var(--panel), var(--panel-2));
}

.gs-static-card {
  padding: 0.9rem;
}

.gs-static-card h3 {
  margin-bottom: 0.35rem;
  font-size: 1.08rem;
}

.gs-static-card p {
  color: var(--muted);
}

.gs-static-stat {
  padding: 1rem 0.85rem;
  text-align: center;
}

.gs-static-stat strong {
  display: block;
  font-size: 2rem;
  line-height: 1.1;
}

.gs-static-stat span {
  color: var(--muted);
  font-size: 0.9rem;
}

.gs-static-form {
  padding: 1rem;
}

.gs-static-form h3 {
  margin-bottom: 0.7rem;
}

.gs-static-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.gs-static-form input,
.gs-static-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  background: rgba(15, 23, 39, 0.08);
  color: var(--text);
  padding: 0.62rem 0.7rem;
  margin-bottom: 0.65rem;
}

.gs-static-form button {
  min-height: 2.3rem;
  border: 0;
  border-radius: 0.55rem;
  padding: 0 0.95rem;
  background: linear-gradient(135deg, var(--cyan) 0%, var(--cyan-2) 100%);
  color: #031119;
  font-weight: 700;
  cursor: pointer;
}

.gs-static-legal {
  padding: 1rem;
}

.gs-static-legal .gs-content {
  color: var(--text);
}

.gs-static-legal .gs-content h2,
.gs-static-legal .gs-content h3 {
  margin-top: 1.2rem;
}

@media (max-width: 980px) {
  .gs-static-grid-3 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 700px) {
  .gs-static-grid-2,
  .gs-static-grid-3,
  .gs-static-form-grid {
    grid-template-columns: 1fr;
  }
}

/* Premium comments UI */
.gs-comments {
  margin-top: 1.4rem;
}

.gs-comments-wrap {
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  background: linear-gradient(170deg, var(--panel), var(--panel-2));
  padding: 1rem;
}

.gs-comments-title,
.gs-reply-title {
  font-size: 1.35rem;
  margin-bottom: 0.6rem;
}

.gs-comment-note {
  color: var(--muted);
  margin-bottom: 0.75rem;
  font-size: 0.92rem;
}

.gs-comment-list {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.gs-comment-list > li {
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  padding: 0.85rem;
  background: rgba(127, 145, 172, 0.06);
}

.comment-author {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.35rem;
}

.comment-author img {
  border-radius: 999px;
}

.comment-metadata {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 0.45rem;
}

.comment-content p {
  margin: 0;
  color: var(--text);
}

.reply a,
.comment-edit-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.8rem;
  padding: 0 0.6rem;
  border-radius: 0.35rem;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.8rem;
  margin-top: 0.5rem;
}

.reply a:hover,
.comment-edit-link:hover {
  color: var(--text);
  border-color: #58dfff;
}

.gs-comment-form {
  margin-top: 1rem;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}

.gs-comment-form p {
  margin: 0 0 0.75rem;
}

.gs-comment-form label {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.gs-comment-form input[type="text"],
.gs-comment-form input[type="email"],
.gs-comment-form input[type="url"],
.gs-comment-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  background: rgba(15, 23, 39, 0.2);
  color: var(--text);
  padding: 0.65rem 0.75rem;
  outline: none;
}

.gs-comment-form textarea {
  min-height: 150px;
  resize: vertical;
}

.gs-comment-form input:focus,
.gs-comment-form textarea:focus {
  border-color: #55deff;
  box-shadow: 0 0 0 3px rgba(0, 184, 230, 0.16);
}

.gs-comment-submit {
  min-height: 2.35rem;
  border: 0;
  border-radius: 0.55rem;
  padding: 0 1rem;
  background: linear-gradient(135deg, var(--cyan) 0%, var(--cyan-2) 100%);
  color: #031018;
  font-weight: 700;
  cursor: pointer;
}

.gs-comment-submit:hover {
  filter: brightness(1.04);
}

/* Non-home list page refresh */
.gs-list-page {
  padding-top: 2rem;
}

.gs-list-container {
  max-width: 1080px;
}

.gs-archive-header {
  margin-bottom: 1rem;
}

.gs-archive-header h1 {
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
}

.gs-archive-header p {
  color: #9fb0c7;
}

.gs-list-feed {
  display: grid;
  gap: 0.95rem;
}

.gs-list-item {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 1rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid #202f48;
}

.gs-list-thumb {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 0.35rem;
}

.gs-list-thumb img,
.gs-list-thumb .gs-card-thumb-placeholder {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.gs-list-cat {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  background: #fff;
  color: #121a28;
  border-top: 4px solid #db3caf;
  padding: 0.34rem 0.7rem;
  font-size: 0.74rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.gs-list-title {
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  margin-bottom: 0.35rem;
}

.gs-list-title a:hover {
  color: #7fe9ff;
}

.gs-list-meta {
  color: #a3b4cc;
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}

.gs-list-excerpt {
  color: #c6d3e5;
  font-size: 1.02rem;
  max-width: 62ch;
}

[data-theme="light"] .gs-archive-header p {
  color: #526179;
}

[data-theme="light"] .gs-list-item {
  border-bottom-color: #d6dfec;
}

[data-theme="light"] .gs-list-title a {
  color: #111827;
}

[data-theme="light"] .gs-list-title a:hover {
  color: #0f8eaf;
}

[data-theme="light"] .gs-list-meta {
  color: #5e6f88;
}

[data-theme="light"] .gs-list-excerpt {
  color: #334155;
}

[data-theme="light"] .gs-list-cat {
  background: #ffffff;
  color: #111827;
}

@media (max-width: 980px) {
  .gs-list-item {
    grid-template-columns: 240px minmax(0, 1fr);
  }

  .gs-list-thumb img,
  .gs-list-thumb .gs-card-thumb-placeholder {
    height: 150px;
  }
}

@media (max-width: 700px) {
  .gs-list-item {
    grid-template-columns: 1fr;
    gap: 0.65rem;
    padding: 0.8rem 0;
  }

  .gs-list-thumb img,
  .gs-list-thumb .gs-card-thumb-placeholder {
    height: 210px;
  }

  .gs-list-title {
    font-size: 1.45rem;
  }

  .gs-list-meta {
    font-size: 0.88rem;
  }
}

/* Premium Trending refresh */
.gs-trending {
  background: radial-gradient(1200px circle at 80% -40%, rgba(0, 184, 230, 0.14), transparent 50%), #080f1b;
  border-top: 1px solid #1f2f4a;
  border-bottom: 1px solid #1f2f4a;
}

.gs-trending-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.gs-trending-head h2 {
  margin: 0;
  font-size: clamp(1.5rem, 2.7vw, 2.2rem);
}

.gs-trending-head p {
  margin: 0;
  color: #9fb3cd;
  font-size: 0.92rem;
}

.gs-trending-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.8rem;
}

.gs-trend-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 0.75rem;
  border: 1px solid #2a3b57;
  border-radius: 0.8rem;
  background: linear-gradient(160deg, rgba(20, 31, 52, 0.95), rgba(10, 18, 31, 0.95));
  min-height: 118px;
  padding: 0.9rem;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.gs-trend-card:hover {
  border-color: #4fd8ff;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.gs-trend-main {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.55rem;
  min-width: 0;
}

.gs-trend-rank {
  margin: 0;
  font-size: 2rem;
  font-family: "Outfit", system-ui, sans-serif;
  color: rgba(79, 216, 255, 0.75);
  line-height: 1;
}

.gs-trend-copy {
  min-width: 0;
}

.gs-trend-cat {
  display: inline-flex;
  align-items: center;
  min-height: 1.25rem;
  padding: 0 0.45rem;
  border-radius: 999px;
  border: 1px solid rgba(79, 216, 255, 0.45);
  color: #b5ecff;
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.35rem;
}

.gs-trend-card h3 {
  margin: 0 0 0.3rem;
  font-size: 1rem;
}

.gs-trend-card h3 a {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: #f4f8ff;
}

.gs-trend-meta {
  margin: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.38rem;
  font-size: 0.75rem;
  color: #9db1cb;
}

.gs-trend-meta span + span::before {
  content: "\2022";
  margin-right: 0.38rem;
  color: #6e87a6;
}

[data-theme="light"] .gs-trending {
  background: radial-gradient(1200px circle at 80% -40%, rgba(15, 111, 140, 0.12), transparent 50%), #eff4fb;
  border-top-color: #d6dfec;
  border-bottom-color: #d6dfec;
}

[data-theme="light"] .gs-trending-head p {
  color: #5e6f88;
}

[data-theme="light"] .gs-trend-card {
  border-color: #d6dfec;
  background: linear-gradient(160deg, #ffffff, #f7faff);
}

[data-theme="light"] .gs-trend-card:hover {
  border-color: #58cde7;
}

[data-theme="light"] .gs-trend-rank {
  color: rgba(15, 111, 140, 0.7);
}

[data-theme="light"] .gs-trend-cat {
  color: #0f6f8c;
  border-color: rgba(15, 111, 140, 0.4);
}

[data-theme="light"] .gs-trend-card h3 a {
  color: #0f1727;
}

[data-theme="light"] .gs-trend-meta {
  color: #526179;
}

@media (max-width: 980px) {
  .gs-trending-head {
    flex-direction: column;
    align-items: flex-start;
  }
}
