/* ==========================================================================
   Greg Sowell 2026 — design layer over Twenty Twenty-Five
   Palette: purple #6c3ff2 / coral #ff6b47 / gold #ffb648 / green #2bb673
   ========================================================================== */

:root {
  --gs-purple: #6c3ff2;
  --gs-purple-dark: #4d20d1;
  --gs-coral: #ff6b47;
  --gs-gold: #ffb648;
  --gs-green: #2bb673;
  --gs-ink: #1a1523;
  --gs-ink-soft: #55506a;
  --gs-card-purple-bg: #f7f5fc; --gs-card-purple-bd: #eee9fa;
  --gs-card-coral-bg: #fff3ec;  --gs-card-coral-bd: #ffe3d1;
  --gs-card-green-bg: #eafaf1;  --gs-card-green-bd: #d4f2e2;
}

body {
  color: var(--gs-ink);
  background: #fff;
}

.gs-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Top bar ===== */
.gs-topbar {
  background: var(--gs-ink);
  color: #fff;
  font-size: 12.5px;
}
.gs-topbar .gs-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 7px;
  padding-bottom: 7px;
}
.gs-topbar a {
  text-decoration: none;
  color: #cfc7f0;
  margin-left: 16px;
}
.gs-topbar a:hover { color: #fff; }

/* ===== Header ===== */
.gs-header {
  padding: 20px 0;
  border-bottom: 1px solid #eee;
}
.gs-header .gs-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.gs-logo-block {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}
.gs-logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--gs-purple), var(--gs-coral));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-family: "Sora", sans-serif;
  font-size: 17px;
  flex-shrink: 0;
}
.gs-logo-text { display: flex; flex-direction: column; }
.gs-logo-name {
  font-family: "Sora", sans-serif;
  font-weight: 800;
  font-size: 19px;
  line-height: 1.1;
  color: var(--gs-ink);
}
.gs-logo-name span { color: var(--gs-purple); }
.gs-logo-tagline { font-size: 12px; color: var(--gs-ink-soft); }

.gs-nav { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.gs-nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  color: var(--gs-ink);
  position: relative;
}
.gs-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 3px;
  border-radius: 2px;
  background: var(--gs-coral);
  transition: width .15s;
}
.gs-nav a:hover::after { width: 100%; }

/* ===== Hero ===== */
.gs-hero-outer { padding: 28px 24px 0; }
.gs-hero {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  padding: 64px 48px;
  color: #fff;
  background: linear-gradient(120deg, var(--gs-purple) 0%, var(--gs-coral) 55%, var(--gs-gold) 100%);
  max-width: 1180px;
  margin: 0 auto;
}
.gs-hero::after {
  content: "";
  position: absolute;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: rgba(255,255,255,0.14);
  top: -140px; right: -80px;
}
.gs-hero::before {
  content: "";
  position: absolute;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: rgba(255,255,255,0.10);
  bottom: -90px; left: 8%;
}
.gs-hero-inner { position: relative; max-width: 600px; }
.gs-kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  background: rgba(255,255,255,0.22);
  padding: 5px 14px;
  border-radius: 20px;
  text-transform: uppercase;
}
.gs-hero h1 {
  font-size: 38px;
  line-height: 1.2;
  margin: 16px 0 12px;
  color: #fff;
}
.gs-hero p {
  font-size: 15px;
  line-height: 1.6;
  opacity: .94;
  margin: 0 0 22px;
  max-width: 520px;
}
.gs-hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.gs-btn-solid {
  background: #fff;
  color: var(--gs-purple-dark);
  font-weight: 700;
  font-size: 14px;
  padding: 11px 22px;
  border-radius: 30px;
  text-decoration: none;
}
.gs-btn-outline {
  border: 2px solid rgba(255,255,255,0.65);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 9px 20px;
  border-radius: 30px;
  text-decoration: none;
}

/* ===== Content layout ===== */
.gs-content-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 36px;
  padding: 48px 24px 60px;
  max-width: 1180px;
  margin: 0 auto;
}
.gs-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}
.gs-dot {
  width: 10px; height: 10px;
  border-radius: 3px;
  background: var(--gs-purple);
  flex-shrink: 0;
}
.gs-section-title h2,
.gs-archive-title {
  font-size: 22px;
  margin: 0;
}
.gs-archive-title { margin-bottom: 0; }

/* ===== Post grid ===== */
ul.gs-post-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}
ul.gs-post-grid > li.wp-block-post {
  border-radius: 16px;
  padding: 22px;
  background: var(--gs-card-purple-bg);
  border: 2px solid var(--gs-card-purple-bd);
  display: flex;
  flex-direction: column;
  transition: transform .12s ease, box-shadow .12s ease;
}
ul.gs-post-grid > li.wp-block-post:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26,21,35,0.08);
}
/* rotate card tints */
ul.gs-post-grid > li.wp-block-post:nth-child(3n+2) {
  background: var(--gs-card-coral-bg);
  border-color: var(--gs-card-coral-bd);
}
ul.gs-post-grid > li.wp-block-post:nth-child(3n) {
  background: var(--gs-card-green-bg);
  border-color: var(--gs-card-green-bd);
}

/* card media (featured / first-content image) */
.gs-card-media {
  margin: 0 0 14px;
  border-radius: 12px;
  overflow: hidden;
  height: 150px;
  background: linear-gradient(135deg, var(--gs-purple), #9a7cf5);
}
.gs-card-media a { display: block; height: 100%; }
.gs-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gs-card-body { display: flex; flex-direction: column; align-items: flex-start; flex: 1; }

/* category pills — hide comma separators via font-size:0 trick */
.gs-pills {
  font-size: 0;
  margin: 0 0 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.gs-pills a {
  font-size: 10.5px;
  font-weight: 700;
  color: #fff !important;
  background: var(--gs-purple);
  padding: 4px 11px;
  border-radius: 20px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .3px;
}
ul.gs-post-grid > li.wp-block-post:nth-child(3n+2) .gs-pills a { background: var(--gs-coral); }
ul.gs-post-grid > li.wp-block-post:nth-child(3n) .gs-pills a { background: var(--gs-green); }

.gs-card-title {
  font-size: 16px;
  line-height: 1.35;
  margin: 0 0 8px;
}
.gs-card-title a {
  text-decoration: none;
  color: var(--gs-ink);
}
.gs-card-title a:hover { color: var(--gs-purple-dark); }
.gs-card-excerpt {
  font-size: 13px;
  color: var(--gs-ink-soft);
  line-height: 1.55;
  margin: 0 0 10px;
}
.gs-card-excerpt p { margin: 0; }
.gs-card-excerpt .wp-block-post-excerpt__more-link { display: none; }
.gs-meta {
  font-size: 12px;
  color: #8a84a0;
  font-weight: 500;
  margin-top: auto;
}

/* ===== Featured (first) post on the home page ===== */
.gs-posts-home ul.gs-post-grid > li.wp-block-post:first-child {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 20px;
  background: var(--gs-card-purple-bg);
  border-color: var(--gs-card-purple-bd);
}
.gs-posts-home ul.gs-post-grid > li.wp-block-post:first-child .gs-card-media {
  height: 100%;
  min-height: 230px;
  border-radius: 0;
  margin: 0;
}
.gs-posts-home ul.gs-post-grid > li.wp-block-post:first-child .gs-card-body {
  padding: 28px 30px;
  justify-content: center;
}
.gs-posts-home ul.gs-post-grid > li.wp-block-post:first-child .gs-pills a {
  background: var(--gs-purple);
}
.gs-posts-home ul.gs-post-grid > li.wp-block-post:first-child .gs-card-title {
  font-size: 23px;
  line-height: 1.32;
  margin-bottom: 10px;
}
.gs-posts-home ul.gs-post-grid > li.wp-block-post:first-child .gs-card-excerpt {
  font-size: 14px;
  margin-bottom: 14px;
}
/* shift tint rotation so the grid below the featured card starts purple */
.gs-posts-home ul.gs-post-grid > li.wp-block-post:nth-child(3n+2) {
  background: var(--gs-card-purple-bg);
  border-color: var(--gs-card-purple-bd);
}
.gs-posts-home ul.gs-post-grid > li.wp-block-post:nth-child(3n+2) .gs-pills a { background: var(--gs-purple); }
.gs-posts-home ul.gs-post-grid > li.wp-block-post:nth-child(3n) {
  background: var(--gs-card-coral-bg);
  border-color: var(--gs-card-coral-bd);
}
.gs-posts-home ul.gs-post-grid > li.wp-block-post:nth-child(3n) .gs-pills a { background: var(--gs-coral); }
.gs-posts-home ul.gs-post-grid > li.wp-block-post:nth-child(3n+1):not(:first-child) {
  background: var(--gs-card-green-bg);
  border-color: var(--gs-card-green-bd);
}
.gs-posts-home ul.gs-post-grid > li.wp-block-post:nth-child(3n+1):not(:first-child) .gs-pills a { background: var(--gs-green); }

/* ===== Pagination ===== */
.gs-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: 13px;
}
.gs-pagination a, .gs-pagination .page-numbers {
  text-decoration: none;
  color: var(--gs-ink);
}
.gs-pagination .page-numbers.current {
  background: var(--gs-purple);
  color: #fff;
  border-radius: 8px;
  padding: 4px 10px;
}
.gs-pagination a:hover { color: var(--gs-purple-dark); }

/* ===== Sidebar ===== */
.gs-sidebar > * { margin-bottom: 30px; }
.gs-widget-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 14px;
  font-family: "Sora", sans-serif;
}

/* search block styled like mockup */
.gs-search .wp-block-search__inside-wrapper {
  display: flex;
  border: 2px solid var(--gs-ink);
  border-radius: 30px;
  overflow: hidden;
  padding: 0;
}
.gs-search input.wp-block-search__input {
  border: none;
  padding: 11px 16px;
  font-size: 13px;
  flex: 1;
  outline: none;
  font-family: "Inter", sans-serif;
  border-radius: 0;
  background: #fff;
  min-width: 0;
}
.gs-search button.wp-block-search__button {
  border: none;
  background: var(--gs-ink);
  color: #fff;
  padding: 0 18px;
  font-weight: 700;
  cursor: pointer;
  border-radius: 0;
  margin: 0;
}

.gs-about-widget {
  background: linear-gradient(135deg, #1a1523, #3a2c63);
  color: #fff;
  border-radius: 18px;
  padding: 24px;
}
.gs-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gs-coral), var(--gs-gold));
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-family: "Sora", sans-serif;
}
.gs-about-widget h3 {
  font-size: 16px;
  color: #fff;
  margin: 0 0 8px;
}
.gs-about-widget p {
  font-size: 13px;
  line-height: 1.6;
  color: #d9d3ee;
  margin: 0;
}

/* categories block as chip cloud */
ul.gs-cat-cloud, .gs-cat-cloud ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.gs-cat-cloud li { margin: 0; }
.gs-cat-cloud li a {
  font-size: 12px;
  font-weight: 600;
  padding: 6px 13px;
  border-radius: 20px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--gs-card-purple-bg);
  color: var(--gs-purple-dark);
  border: 1px solid var(--gs-card-purple-bd);
}
.gs-cat-cloud li:nth-child(3n+2) a {
  background: var(--gs-card-coral-bg);
  color: #c94a26;
  border-color: var(--gs-card-coral-bd);
}
.gs-cat-cloud li:nth-child(3n) a {
  background: var(--gs-card-green-bg);
  color: #1c8a56;
  border-color: var(--gs-card-green-bd);
}
.gs-cat-cloud .gs-cat-count { opacity: .65; font-weight: 500; }

.gs-tools ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.gs-tools a {
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  color: var(--gs-ink);
}
.gs-tools a:hover { color: var(--gs-purple-dark); }

/* ===== Single post / page ===== */
.gs-single {
  padding: 48px 24px 60px;
  max-width: 860px;
  margin: 0 auto;
}
.gs-single-pills { margin-bottom: 14px; }
.gs-single-title {
  font-size: 34px;
  line-height: 1.25;
  margin: 0 0 10px;
}
.gs-single-meta {
  display: block;
  margin-bottom: 30px;
  padding-bottom: 22px;
  border-bottom: 1px solid #eee;
}
.gs-post-content {
  font-size: 15.5px;
  line-height: 1.75;
  color: #2b2536;
}
.gs-post-content h2, .gs-post-content h3 { margin-top: 1.6em; }
.gs-post-content img {
  border-radius: 12px;
  max-width: 100%;
  height: auto;
}
.gs-post-content a { color: var(--gs-purple-dark); }
.gs-post-content a:hover { color: var(--gs-coral); }
.gs-single-tags { margin-top: 34px; }

/* ===== Footer ===== */
.gs-footer {
  background: var(--gs-ink);
  color: #d8d3e6;
  margin-top: 20px;
}
.gs-footer-cols {
  padding-top: 44px;
  padding-bottom: 26px;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 36px;
}
.gs-footer-name { color: #fff; }
.gs-footer-tagline { color: #a89fc7; }
.gs-footer-blurb {
  font-size: 13px;
  color: #a89fc7;
  line-height: 1.6;
  max-width: 280px;
  margin-top: 14px;
}
.gs-footer h5 {
  font-family: "Sora", sans-serif;
  font-size: 13px;
  color: #fff;
  margin: 0 0 14px;
  letter-spacing: .5px;
  text-transform: uppercase;
}
.gs-footer ul { list-style: none; padding: 0; margin: 0; }
.gs-footer li { margin-bottom: 9px; }
.gs-footer a { text-decoration: none; color: #c3bcdb; font-size: 13.5px; }
.gs-footer a:hover { color: #fff; }
.gs-footer-bottom {
  border-top: 1px solid #322a4a;
  padding: 16px 24px;
  text-align: center;
  font-size: 12px;
  color: #8a80ab;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .gs-content-layout { grid-template-columns: 1fr; }
  ul.gs-post-grid { grid-template-columns: 1fr; }
  .gs-posts-home ul.gs-post-grid > li.wp-block-post:first-child { grid-template-columns: 1fr; }
  .gs-posts-home ul.gs-post-grid > li.wp-block-post:first-child .gs-card-media { min-height: 180px; }
  .gs-footer-cols { grid-template-columns: 1fr; }
  .gs-nav { display: none; }
  .gs-hero { padding: 44px 28px; }
  .gs-hero h1 { font-size: 28px; }
  .gs-topbar .gs-wrap { flex-direction: column; gap: 4px; }
}
