/*
Theme Name: Gardaseo Fresh
Theme URI: https://gardaseo.com
Description: Child theme Astra untuk gardaseo.com — magazine pertanian: hijau logo, krem hangat, tipografi Source Sans 3, hero bertumpuk dan indeks rubrik.
Author: Homelab Ops
Template: astra
Version: 1.0.0
Text Domain: gs-magazine
*/

/* ==========================================================================
   1. Fonts
   ========================================================================== */
@font-face {
  font-family: "DM Sans";
  src: url("assets/fonts/dm-sans-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122,
    U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("assets/fonts/source-sans-3-latin.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122,
    U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   2. Tokens
   ========================================================================== */
  :root {
  /* Palette from the Gardaseo logo: royal blue #003098 + black */
  --gs-blue: #003098;
  --gs-blue-dark: #00236e;
  --gs-blue-ui: #003098;
  --gs-blue-deep: #001b52;
  --gs-blue-soft: #e8eefc;
  --gs-blue-tint: #f3f6fd;
  --gs-amber: #f2b705;
  --gs-amber-dark: #8a6500;
  --gs-ink: #0b0b0d;
  --gs-ink-soft: #24262b;
  --gs-muted: #5c6470;
  --gs-paper: #ffffff;
  --gs-soft: #f7f8fb;
  --gs-soft-2: #eef1f7;
  --gs-line: #e4e8f0;
  --gs-max: 1240px;
  --gs-gap: 28px;
  --gs-radius: 10px;
  --gs-radius-lg: 14px;
  --gs-shadow: 0 12px 30px rgba(11, 11, 13, 0.07);
  --gs-shadow-hover: 0 16px 38px rgba(11, 11, 13, 0.12);
  --gs-font-body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --gs-font-head: "DM Sans", "Source Sans 3", system-ui, -apple-system,
    "Segoe UI", Roboto, Arial, sans-serif;
}

/* ==========================================================================
   3. Astra base overrides
   ========================================================================== */
body,
body.ast-separate-container,
body.ast-plain-container {
  font-family: var(--gs-font-body);
  color: var(--gs-ink-soft);
  background: var(--gs-paper);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6,
.entry-title {
  font-family: var(--gs-font-head);
  color: var(--gs-ink);
  letter-spacing: -0.02em;
}

a {
  color: var(--gs-blue-dark);
}

a:hover,
a:focus {
  color: var(--gs-blue-dark);
}

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

.gs-template.ast-separate-container .site-content,
.gs-template .site-content {
  background: var(--gs-paper) !important;
  padding: 0 !important;
}

.gs-template #content > .ast-container {
  max-width: none !important;
  padding: 0 !important;
}

.gs-template #primary,
.gs-template.ast-right-sidebar #primary,
.gs-template.ast-left-sidebar #primary {
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  display: block;
}

.gs-template .ast-container {
  padding-inline: 0;
}

.gs-content-area {
  display: block;
  width: 100%;
}

.gs-wrap {
  width: 100%;
  max-width: var(--gs-max);
  margin-inline: auto;
  padding-inline: 20px;
}

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

::selection {
  background: var(--gs-blue-soft);
  color: var(--gs-blue-deep);
}

/* ==========================================================================
   4. Header (Astra)
   ========================================================================== */
.gs-template .site-header,
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 253, 248, 0.97);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--gs-line);
  box-shadow: none;
}

.site-header .ast-primary-header-bar,
.site-header .main-header-bar {
  background: transparent !important;
  border-bottom: 0;
}

.site-header .ast-container,
.site-header .ast-builder-grid-row-container {
  max-width: var(--gs-max);
}

.site-header .ast-builder-grid-row {
  min-height: 76px;
  align-items: center;
}

.custom-logo,
.site-header .custom-logo {
  height: 36px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
}

.main-header-menu {
  gap: 2px;
}

.main-header-menu > li > .menu-link,
.main-header-menu > li > a {
  font-family: var(--gs-font-body) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gs-ink) !important;
  padding: 9px 12px !important;
  border-radius: 10px;
  line-height: 1.2 !important;
  transition: color 0.16s ease, background 0.16s ease;
}

.main-header-menu > li > .menu-link:hover,
.main-header-menu > li > a:hover,
.main-header-menu > li.current-menu-item > .menu-link,
.main-header-menu > li.current-menu-item > a,
.main-header-menu > li.current-menu-ancestor > .menu-link {
  background: var(--gs-blue-tint) !important;
  color: var(--gs-blue-dark) !important;
}

.main-header-menu .sub-menu {
  border: 1px solid var(--gs-line) !important;
  border-radius: 8px;
  box-shadow: var(--gs-shadow);
  padding: 8px;
  background: #fff;
}

.main-header-menu .sub-menu .menu-link {
  border-radius: 10px;
  font-size: 12px !important;
  text-transform: none;
  letter-spacing: 0;
}

.main-header-menu .sub-menu .menu-link:hover {
  background: var(--gs-blue-tint);
}

.main-header-menu-toggle,
.main-header-menu-toggle .mobile-menu-toggle-icon,
.main-header-menu-toggle svg {
  color: var(--gs-ink) !important;
  fill: var(--gs-ink) !important;
}

.main-header-menu-toggle:hover,
.main-header-menu-toggle:hover svg {
  color: var(--gs-blue) !important;
  fill: var(--gs-blue) !important;
}

/* One search only: hide Astra's duplicate search menu item */
.site-header .search-custom-menu-item,
.site-header .ast-masthead-custom-menu-items.search-custom-menu-item {
  display: none !important;
}

/* Header layout: logo + single-line menu + search */
.gs-template .site-header .ast-builder-grid-row,
.site-header .ast-builder-grid-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.site-header .site-branding {
  flex: 0 0 auto;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
}


/* The logo already contains the brand name. */
.site-header .ast-site-title-wrap {
  display: none;
}

.main-header-menu {
  margin-left: auto !important;
  flex-wrap: nowrap;
  flex-shrink: 0;
  align-items: center;
}

.main-header-menu > li {
  flex: 0 0 auto;
}

.gs-menu-search {
  display: flex;
  align-items: center;
  margin-left: 10px;
  flex: 0 0 auto;
}

.gs-search {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 3px 3px 3px 10px;
  background: var(--gs-soft);
  border: 1px solid var(--gs-line);
  border-radius: 10px;
}

.gs-search:focus-within {
  outline: 2px solid var(--gs-blue);
  outline-offset: 2px;
}

.gs-search input {
  width: 124px;
  border: 0;
  background: transparent;
  font-family: var(--gs-font-body);
  font-size: 12px;
  color: var(--gs-ink);
  outline: none;
}

.gs-search input::placeholder {
  color: var(--gs-muted);
}

.gs-search button {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 8px;
  background: var(--gs-blue-ui);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  flex: 0 0 auto;
}

.gs-search button:hover {
  background: var(--gs-blue-dark);
}

/* Dropdown indicator */
.main-header-menu .menu-item-has-children > a::after {
  content: "\25BE";
  font-size: 9px;
  margin-left: 5px;
  opacity: 0.6;
}

@media (max-width: 1180px) {
  .site-header .ast-builder-grid-row {
    gap: 16px;
  }

  .main-header-menu > li > a {
    font-size: 11px !important;
    padding: 8px 8px !important;
  }

  .gs-search {
    height: 34px;
  }

  .gs-search input {
    width: 96px;
  }

  .gs-search button {
    width: 28px;
    height: 28px;
  }
}

/* One search only: hide Astra's duplicate search menu item */
.site-header .search-custom-menu-item,
.site-header .ast-masthead-custom-menu-items.search-custom-menu-item {
  display: none !important;
}

/* True vertical centering in the header bar */
.site-header .ast-primary-header-bar {
  padding-top: 0;
  padding-bottom: 0;
}

.site-header .ast-builder-grid-row {
  height: 76px;
  min-height: 76px;
  align-items: center;
}

.site-header .site-branding {
  height: 100%;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
}

.site-header .custom-logo-link {
  display: flex;
  align-items: center;
  height: 100%;
}

.site-header .custom-logo {
  display: block;
  margin: 0;
}

.site-header .ast-builder-menu-1 {
  height: 76px;
  display: flex;
  align-items: center;
}

.site-header .main-header-bar-navigation,
.site-header .ast-main-header-bar-alignment,
.site-header .main-navigation {
  height: 100%;
  display: flex;
  align-items: center;
}

.site-header .main-header-menu {
  height: 100%;
  align-items: center;
}

.site-header .main-header-menu > li {
  height: 100%;
  display: flex;
  align-items: center;
}

.site-header .main-header-menu > li > a {
  display: flex;
  align-items: center;
}

.site-header .gs-menu-search {
  height: 100%;
  align-items: center;
}

/* Mobile header centering */
#ast-mobile-header .ast-builder-grid-row {
  height: 76px;
  min-height: 76px;
  align-items: center;
}

#ast-mobile-header .site-branding {
  height: 100%;
  display: flex;
  align-items: center;
}

#ast-mobile-header .custom-logo-link {
  display: flex;
  align-items: center;
  height: 100%;
}

/* ==========================================================================
   5. Top bar
   ========================================================================== */
.gs-topbar {
  background: var(--gs-blue);
  color: #eef2ff;
  border-bottom: 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.gs-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 36px;
  padding-block: 6px;
}

.gs-topbar__tagline {
  color: #dbe4ff;
  letter-spacing: 0.02em;
  text-align: center;
}

.gs-topbar a {
  color: #eef2ff;
  text-decoration: none;
}

.gs-topbar a:hover,
.gs-topbar a:focus-visible {
  color: var(--gs-amber);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.gs-topbar__links {
  display: flex;
  align-items: center;
  gap: 14px;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.08em;
}

/* ==========================================================================
   6. Hero
   ========================================================================== */
.gs-hero {
  background: linear-gradient(
    180deg,
    var(--gs-blue-tint) 0%,
    var(--gs-soft) 55%,
    var(--gs-paper) 100%
  );
  padding: 30px 0 34px;
}

.gs-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 26px;
  align-items: stretch;
}

.gs-hero__lead {
  display: flex;
  flex-direction: column;
  background: var(--gs-paper);
  border: 1px solid var(--gs-line);
  border-radius: var(--gs-radius-lg);
  overflow: hidden;
  box-shadow: var(--gs-shadow);
}

.gs-hero__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--gs-soft);
  border-radius: 0;
  box-shadow: none;
}

.gs-hero__media .gs-pic,
.gs-hero__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.gs-hero__lead:hover .gs-hero__media img {
  transform: scale(1.03);
}

.gs-hero__body {
  position: relative;
  z-index: 2;
  margin: 0;
  padding: 20px 22px 24px;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.gs-hero__title {
  margin: 10px 0 10px;
  font-family: var(--gs-font-head);
  font-size: clamp(1.55rem, 2.6vw, 2.2rem);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.gs-hero__title a {
  color: var(--gs-ink);
  text-decoration: none;
}

.gs-hero__title a:hover {
  color: var(--gs-blue-dark);
}

.gs-hero__excerpt {
  margin: 0 0 14px;
  font-size: 0.94rem;
  line-height: 1.6;
  color: var(--gs-muted);
  max-width: 62ch;
}

.gs-hero__side {
  display: flex;
  flex-direction: column;
  padding: 18px 20px 20px;
  background: var(--gs-soft);
  border: 1px solid var(--gs-line);
  border-radius: var(--gs-radius-lg);
  box-shadow: var(--gs-shadow);
  min-width: 0;
}

.gs-hero__side-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gs-ink);
}

.gs-hero__side-label {
  font-family: var(--gs-font-head);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gs-ink);
}

.gs-hero__side-more {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gs-blue-dark);
  text-decoration: none;
}

.gs-hero__side-more:hover {
  color: var(--gs-blue-dark);
}

.gs-hero__list {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
  display: flex;
  flex: 1;
  flex-direction: column;
}

.gs-hero__list li {
  display: flex;
  flex: 1;
  border-bottom: 1px solid var(--gs-line);
}

.gs-hero__list li:last-child {
  border-bottom: 0;
}

.gs-hero__item {
  flex: 1;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding-block: 10px;
  text-decoration: none;
}

.gs-hero__rank {
  font-family: var(--gs-font-head);
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1;
  color: var(--gs-blue-dark);
}

.gs-hero__item-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.gs-hero__item-title {
  font-family: var(--gs-font-head);
  font-size: 0.88rem;
  line-height: 1.4;
  font-weight: 700;
  color: var(--gs-ink);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gs-hero__item:hover .gs-hero__item-title {
  color: var(--gs-blue-dark);
}

.gs-hero__item-date {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gs-muted);
}

/* ==========================================================================
   7. Category index strip
   ========================================================================== */
.gs-index {
  background: var(--gs-paper);
  border-bottom: 1px solid var(--gs-line);
}

.gs-index__inner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-block: 13px;
  min-width: 0;
}

.gs-index__label {
  flex: 0 0 auto;
  font-family: var(--gs-font-head);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gs-blue-dark);
}

.gs-index__list {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
  min-width: 0;
}

.gs-index__list::-webkit-scrollbar {
  display: none;
}

.gs-index__list a {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  color: var(--gs-ink);
  text-decoration: none;
  white-space: nowrap;
}

.gs-index__list a:hover {
  color: var(--gs-blue-dark);
}

.gs-index__list span {
  font-family: var(--gs-font-head);
  font-size: 10.5px;
  font-weight: 700;
  color: var(--gs-blue-dark);
}

/* ==========================================================================
   8. Home layout + section headings
   ========================================================================== */
.gs-home {
  padding-block: 34px 56px;
}

.gs-home__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 42px;
  align-items: start;
}

.gs-home__main {
  counter-reset: none;
}

.gs-sec {
  margin-bottom: 40px;
}

.gs-sec__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--gs-line);
}

.gs-sec__title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-family: var(--gs-font-head);
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gs-ink);
}

.gs-sec__title::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: var(--gs-blue);
  flex: 0 0 auto;
}


.gs-sec__more {
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gs-blue-dark);
  text-decoration: none;
}

.gs-sec__more:hover {
  color: var(--gs-blue-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ==========================================================================
   9. Cards
   ========================================================================== */
.gs-grid {
  display: grid;
  gap: 30px 22px;
}

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

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

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

.gs-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.gs-card__mediawrap {
  position: relative;
}

.gs-card__media {
  display: block;
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: var(--gs-radius);
  background: var(--gs-soft);
}

.gs-card__media img,
.gs-card__media .gs-pic {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.gs-card:hover .gs-card__media img {
  transform: scale(1.04);
}

.gs-card__cat {
  position: absolute;
  z-index: 2;
  top: 10px;
  left: 10px;
  display: inline-block;
  padding: 4px 8px;
  border-radius: 10px;
  background: var(--gs-blue-ui);
  color: #fff;
  font-family: var(--gs-font-head);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.gs-hero__media .gs-card__cat {
  top: 14px;
  left: 14px;
  font-size: 10px;
  padding: 5px 10px;
}

.gs-card__body {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding-top: 12px;
}

.gs-card__title {
  margin: 0;
  font-family: var(--gs-font-head);
  font-size: 1.06rem;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.012em;
}

.gs-card__title a {
  color: var(--gs-ink);
  text-decoration: none;
}

.gs-card__title a:hover,
.gs-card__title a:focus-visible {
  color: var(--gs-blue-dark);
}

.gs-card__excerpt {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.6;
  color: var(--gs-muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gs-card--wide {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.gs-card--wide .gs-card__media {
  aspect-ratio: 4 / 3;
}

.gs-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--gs-muted);
}

.gs-meta__dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--gs-blue-ui);
  opacity: 0.8;
}

.gs-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border-radius: 10px;
  background: var(--gs-blue-ui);
  color: #fff;
  font-family: var(--gs-font-head);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  width: fit-content;
}

.gs-kicker:hover {
  background: var(--gs-blue-dark);
  color: #fff;
}

/* Typographic placeholder covers */
.gs-cover {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
  background: linear-gradient(145deg, #123b2d 0%, #003098 58%, #6b4a1e 100%);
}

.gs-cover--v0 {
  background: linear-gradient(145deg, #123b2d 0%, #003098 58%, #0b0b0d 100%);
}

.gs-cover--v1 {
  background: linear-gradient(160deg, #1b4a36 0%, #2f7d5a 55%, #123b2d 100%);
}

.gs-cover--v2 {
  background: linear-gradient(135deg, #164a37 0%, #3f7a38 60%, #0b0b0d 100%);
}

.gs-cover--v3 {
  background: linear-gradient(150deg, #123b2d 0%, #6b4a1e 72%, #0b0b0d 100%);
}

.gs-cover::before {
  content: "";
  position: absolute;
  width: 58%;
  height: 58%;
  right: -8%;
  bottom: -14%;
  border-radius: 50%;
  background: rgba(0, 48, 152, 0.35);
}

.gs-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.06) 0 1px,
    transparent 1px 24px
  );
}

.gs-cover__cat {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 12px;
  padding: 4px 8px;
  border-radius: 10px;
  background: var(--gs-blue-ui);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.gs-cover__mark {
  position: absolute;
  z-index: 2;
  right: 8px;
  bottom: -16px;
  font-family: var(--gs-font-head);
  font-size: 108px;
  font-weight: 800;
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 2px rgba(255, 255, 255, 0.26);
  text-transform: uppercase;
}

.gs-cover--hero .gs-cover__mark {
  font-size: 210px;
  bottom: -40px;
  right: 24px;
  -webkit-text-stroke: 3px rgba(255, 255, 255, 0.18);
}

/* ==========================================================================
   10. Sidebar
   ========================================================================== */
.gs-sidebar {
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: sticky;
  top: 96px;
}

.gs-widget {
  background: #fff;
  border: 1px solid var(--gs-line);
  border-radius: var(--gs-radius-lg);
  padding: 18px 20px;
  box-shadow: var(--gs-shadow);
}

.gs-widget__title {
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gs-ink);
  font-family: var(--gs-font-head);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gs-ink);
}

.gs-pop {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: sbpop;
}

.gs-pop li {
  counter-increment: sbpop;
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 11px;
  padding: 11px 0;
  border-bottom: 1px solid var(--gs-line);
}

.gs-pop li:first-child {
  padding-top: 0;
}

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

.gs-pop li::before {
  content: counter(sbpop, decimal-leading-zero);
  font-family: var(--gs-font-head);
  font-size: 12px;
  font-weight: 800;
  color: var(--gs-blue-dark);
  line-height: 1.4;
}

.gs-pop a {
  font-family: var(--gs-font-head);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--gs-ink);
  text-decoration: none;
}

.gs-pop a:hover {
  color: var(--gs-blue-dark);
}

.gs-pop__meta {
  display: block;
  margin-top: 4px;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gs-muted);
}

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

.gs-cats li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--gs-line);
}

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

.gs-cats a {
  font-family: var(--gs-font-head);
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--gs-ink);
  text-decoration: none;
}

.gs-cats a:hover {
  color: var(--gs-blue-dark);
}

.gs-cats span {
  font-size: 11px;
  font-weight: 600;
  color: var(--gs-blue-dark);
}

.gs-widget--dark {
  background: linear-gradient(160deg, #164a37 0%, #0b0b0d 100%);
  border-color: transparent;
  color: #d8d9de;
}

.gs-widget--dark .gs-widget__title {
  color: #fff;
  border-bottom-color: var(--gs-blue-dark);
}

.gs-widget--dark p {
  margin: 0 0 14px;
  font-size: 0.86rem;
  line-height: 1.65;
  color: #b9bbc2;
}

.gs-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  border-radius: 8px;
  background: var(--gs-blue-ui);
  color: #fff !important;
  font-family: var(--gs-font-head);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
}

.gs-btn:hover {
  background: var(--gs-blue-dark);
  color: #fff !important;
}

/* ==========================================================================
   11. Archive
   ========================================================================== */
.gs-archive {
  padding-block: 34px 56px;
}

.gs-archive__head {
  padding: 24px 26px;
  margin-bottom: 26px;
  border-radius: var(--gs-radius-lg);
  background: linear-gradient(135deg, var(--gs-blue-tint) 0%, var(--gs-soft) 70%, #fff 100%);
  border: 1px solid var(--gs-line);
  border-left: 4px solid var(--gs-blue);
}

.gs-archive__eyebrow {
  display: inline-block;
  margin-bottom: 8px;
  padding: 3px 8px;
  border-radius: 10px;
  background: var(--gs-blue-ui);
  color: #fff;
  font-family: var(--gs-font-head);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.gs-archive__title {
  margin: 0;
  font-family: var(--gs-font-head);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.gs-archive__desc {
  max-width: 70ch;
  margin: 10px 0 0;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--gs-muted);
}

.gs-archive__desc p {
  margin: 0;
}

.gs-archive__count {
  display: inline-block;
  margin-top: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gs-blue-dark);
}

.gs-archive .gs-grid {
  row-gap: 34px;
}

.gs-pagination {
  margin-top: 40px;
}

.gs-pagination .page-numbers,
.gs-pagination a.page-numbers,
.gs-pagination span.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  margin-right: 6px;
  border: 1px solid var(--gs-line);
  border-radius: 8px;
  font-family: var(--gs-font-head);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--gs-ink);
  text-decoration: none;
  background: #fff;
}

.gs-pagination .page-numbers:hover {
  border-color: var(--gs-blue-dark);
  color: var(--gs-blue-dark);
  background: var(--gs-blue-tint);
}

.gs-pagination .page-numbers.current {
  background: var(--gs-blue-ui);
  border-color: var(--gs-blue-dark);
  color: #fff;
}

.gs-pagination .page-numbers.dots {
  border-color: transparent;
  background: transparent;
}

/* ==========================================================================
   12. Single article
   ========================================================================== */
.gs-single {
  padding-block: 30px 56px;
}

.gs-single__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 42px;
  align-items: start;
}

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

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

.gs-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gs-muted);
}

.gs-breadcrumb a {
  color: var(--gs-muted);
  text-decoration: none;
}

.gs-breadcrumb a:hover {
  color: var(--gs-blue-dark);
}

.gs-article__title {
  margin: 12px 0 0;
  font-family: var(--gs-font-head);
  font-size: clamp(1.85rem, 3.1vw, 2.8rem);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--gs-ink);
}

.gs-article__deck {
  margin: 16px 0 0;
  font-size: 1.06rem;
  line-height: 1.6;
  color: var(--gs-muted);
  max-width: 72ch;
}

.gs-article__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
  padding: 14px 0;
  border-top: 1px solid var(--gs-line);
  border-bottom: 1px solid var(--gs-line);
}

.gs-byline {
  display: flex;
  align-items: center;
  gap: 10px;
}

.gs-byline__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--gs-blue-soft);
  flex: 0 0 auto;
}

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

.gs-byline__name {
  display: block;
  font-family: var(--gs-font-head);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--gs-ink);
}

.gs-byline__role {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: var(--gs-muted);
}

.gs-article__figure {
  margin: 26px 0 30px;
}

.gs-article__figure img,
.gs-article__figure .gs-pic {
  width: 100%;
  border-radius: var(--gs-radius-lg);
  display: block;
}

.gs-article__figure img {
  max-height: 560px;
  object-fit: cover;
}

.gs-article__caption {
  margin-top: 8px;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--gs-muted);
}

.gs-content {
  max-width: 45rem;
  font-size: 1.0625rem;
  line-height: 1.8;
  color: #2a2c32;
}

.gs-content > * + * {
  margin-top: 1.35em;
}

.gs-content p {
  margin: 0;
}

.gs-content p + p {
  margin-top: 1.35em;
}

.gs-content h2 {
  font-family: var(--gs-font-head);
  font-size: 1.5rem;
  line-height: 1.25;
  margin-top: 2em;
}

.gs-content h3 {
  font-family: var(--gs-font-head);
  font-size: 1.22rem;
  line-height: 1.3;
  margin-top: 1.7em;
}

.gs-content h4 {
  font-family: var(--gs-font-head);
  font-size: 1.06rem;
  margin-top: 1.5em;
}

.gs-content a {
  color: var(--gs-blue-dark);
  text-decoration: underline;
  text-decoration-color: rgba(0, 48, 152, 0.35);
  text-underline-offset: 3px;
}

.gs-content a:hover {
  color: var(--gs-blue-dark);
  text-decoration-color: var(--gs-blue-dark);
}

.gs-content blockquote {
  margin: 1.8em 0;
  padding: 10px 0 10px 22px;
  border-left: 4px solid var(--gs-blue);
  background: var(--gs-blue-tint);
  border-radius: 0 8px 8px 0;
  font-family: var(--gs-font-head);
  font-size: 1.1rem;
  line-height: 1.6;
  font-weight: 500;
  color: var(--gs-ink);
}

.gs-content blockquote p:last-child {
  margin-bottom: 0;
}

.gs-content ul,
.gs-content ol {
  padding-left: 1.4em;
}

.gs-content li + li {
  margin-top: 0.5em;
}

.gs-content img {
  border-radius: var(--gs-radius);
  height: auto;
}

.gs-content figure {
  margin: 1.8em 0;
}

.gs-content figcaption,
.gs-content .wp-caption-text {
  margin-top: 8px;
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--gs-muted);
}

.gs-content iframe,
.gs-content video {
  max-width: 100%;
  border: 0;
}

.gs-content hr {
  margin: 2.2em auto;
  border: 0;
  border-top: 1px solid var(--gs-line);
}

.gs-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.gs-content th,
.gs-content td {
  border: 1px solid var(--gs-line);
  padding: 9px 11px;
  text-align: left;
}

.gs-content th {
  background: var(--gs-soft);
  font-weight: 700;
}

.gs-article__foot {
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid var(--gs-line);
}

.gs-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.gs-tags a {
  display: inline-block;
  padding: 5px 9px;
  border: 1px solid var(--gs-line);
  border-radius: 8px;
  font-size: 11px;
  font-weight: 500;
  color: var(--gs-muted);
  text-decoration: none;
}

.gs-tags a:hover {
  border-color: var(--gs-blue-dark);
  color: var(--gs-blue-dark);
  background: var(--gs-blue-tint);
}

.gs-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
}

.gs-share__label {
  font-family: var(--gs-font-head);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gs-ink);
  margin-right: 2px;
}

.gs-share a,
.gs-share button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--gs-line);
  border-radius: 8px;
  background: #fff;
  font-family: var(--gs-font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--gs-ink);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.gs-share a:hover,
.gs-share button:hover {
  background: var(--gs-blue-ui);
  border-color: var(--gs-blue-dark);
  color: #fff;
}

.gs-author {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 16px;
  margin-top: 30px;
  padding: 20px;
  background: var(--gs-soft);
  border: 1px solid var(--gs-line);
  border-left: 4px solid var(--gs-blue);
  border-radius: var(--gs-radius);
}

.gs-author__avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
}

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

.gs-author__name {
  margin: 0;
  font-family: var(--gs-font-head);
  font-size: 0.95rem;
  font-weight: 800;
}

.gs-author__bio {
  margin: 6px 0 0;
  font-size: 0.85rem;
  line-height: 1.65;
  color: var(--gs-muted);
}

.gs-related {
  margin-top: 40px;
}

.gs-article #comments,
.gs-article .comments-area {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--gs-line);
}

.gs-article #comments .comments-title,
.gs-article .comment-reply-title {
  font-family: var(--gs-font-head);
  font-size: 1.05rem;
  font-weight: 800;
}

.gs-article .comment-form input[type="text"],
.gs-article .comment-form input[type="email"],
.gs-article .comment-form input[type="url"],
.gs-article .comment-form textarea {
  border: 1px solid var(--gs-line);
  border-radius: 10px;
  padding: 10px 12px;
  font-family: var(--gs-font-body);
}

/* Static pages / 404 */
.gs-page {
  max-width: 800px;
  margin-inline: auto;
}

.gs-page .gs-article__title {
  margin-bottom: 22px;
}

.gs-404 {
  max-width: 640px;
  margin: 40px auto 20px;
}

.gs-404 .gs-archive__desc {
  margin-bottom: 22px;
}

.gs-404 .search-form {
  display: flex;
  gap: 8px;
  margin-bottom: 22px;
}

.gs-404 .search-field {
  flex: 1;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--gs-line);
  border-radius: 8px;
  font-family: var(--gs-font-body);
  font-size: 14px;
}

.gs-404 .search-submit {
  min-height: 44px;
  padding: 0 20px;
  border: 0;
  border-radius: 8px;
  background: var(--gs-blue-ui);
  color: #fff;
  font-family: var(--gs-font-head);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
}

.gs-404 .search-submit:hover {
  background: var(--gs-blue-dark);
}

/* ==========================================================================
   13. Footer
   ========================================================================== */
.gs-footer {
  margin-top: 24px;
  padding-top: 46px;
  background: var(--gs-ink);
  color: #e7eaf0;
  border-top: 4px solid var(--gs-blue);
  border-radius: 0;
}

.gs-footer__top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 34px;
  padding-bottom: 34px;
}

.gs-footer__logo {
  display: inline-block;
  font-family: var(--gs-font-head);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #fff;
  text-decoration: none;
}

.gs-footer__logo::after {
  content: ".";
  color: #a8dcc4;
}

.gs-footer__brand p {
  margin: 12px 0 0;
  max-width: 34ch;
  line-height: 1.7;
  color: #9a9da6;
}

.gs-footer__title {
  margin: 0 0 14px;
  font-family: var(--gs-font-head);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
}

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

.gs-footer li + li {
  margin-top: 9px;
}

.gs-footer a {
  color: #c9cbd2;
  text-decoration: none;
}

.gs-footer a:hover,
.gs-footer a:focus-visible {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.gs-footer__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 11.5px;
  color: #8c8f98;
}

.gs-footer__bar a {
  color: #e6e7eb;
}

.gs-footer__social {
  display: flex;
  gap: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  font-size: 10.5px;
}

/* ==========================================================================
   14. Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .gs-home__grid,
  .gs-single__grid {
    grid-template-columns: minmax(0, 1fr) 290px;
    gap: 32px;
  }

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

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

@media (max-width: 921px) {
  #ast-hf-mobile-menu > li > a {
    font-size: 15px !important;
    padding: 12px 0 !important;
  }

  #ast-hf-mobile-menu .sub-menu .menu-link {
    font-size: 14px !important;
    padding: 10px 0 !important;
  }

  .gs-menu-search {
    width: 100%;
    margin: 14px 0 0;
  }

  .gs-search {
    width: 100%;
  }

  .gs-search input {
    flex: 1;
    width: auto;
  }
}

@media (max-width: 900px) {
  .gs-menu-search {
    width: 100%;
    margin: 14px 0 0;
  }

  .gs-search {
    width: 100%;
  }

  .gs-search input {
    flex: 1;
    width: auto;
  }

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

  .gs-hero__side {
    padding: 16px 18px;
  }

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

  .gs-sidebar {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }

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

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

@media (max-width: 640px) {
  :root {
    --gs-gap: 20px;
  }

  .gs-wrap {
    padding-inline: 16px;
  }

  .gs-topbar__tagline {
    display: none;
  }

  .gs-hero {
    padding-top: 18px;
  }

  .gs-hero__body {
    padding: 18px 18px 20px;
  }

  .gs-hero__list li {
    flex: 0 0 auto;
  }

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

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

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

  .gs-article__meta {
    gap: 10px;
  }

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

  .gs-archive__head {
    padding: 20px;
  }

  .gs-archive__title {
    font-size: 1.7rem;
  }
}

/* ==========================================================================
   15. Accessibility / motion
   ========================================================================== */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--gs-blue);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
