
:root {
  --gg-green: #115e38;
  --gg-green-dark: #0c4428;
  --gg-cream: #f5f1e8;
  --gg-text: #111827;
  --gg-muted: #6b7280;
  --gg-radius-lg: 18px;
  --gg-radius-sm: 12px;
  --gg-shadow-soft: 0 14px 30px rgba(15, 23, 42, 0.18);
  --gg-max-width: 1120px;
}

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

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

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--gg-cream);
  color: var(--gg-text);
  line-height: 1.6;
}

/* Layout wrapper */

.gg-wrapper {
  max-width: var(--gg-max-width);
  margin: 0 auto;
  padding: 1.5rem 1.25rem 2.5rem;
}

@media (min-width: 960px) {
  .gg-wrapper {
    padding: 2.25rem 1.25rem 3.25rem;
  }
}

/* Header */

.gg-site-header {
  background: linear-gradient(130deg, var(--gg-green) 0%, var(--gg-green-dark) 60%, #020617 100%);
  color: #f9fafb;
  box-shadow: var(--gg-shadow-soft);
}

.gg-site-header-inner {
  max-width: var(--gg-max-width);
  margin: 0 auto;
  padding: 1.4rem 1.25rem 2.3rem;
}

.gg-brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.gg-brand-logo {
  width: 54px;
  height: 54px;
  border-radius: 999px;
  border: 2px solid rgba(248, 250, 252, 0.5);
  background: rgba(15, 118, 110, 0.9);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.gg-brand-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gg-brand-text-title {
  margin: 0;
  font-size: 1.6rem;
  letter-spacing: 0.03em;
}

.gg-brand-text-subtitle {
  margin: 0.25rem 0 0;
  font-size: 0.95rem;
  color: #e5e7eb;
}

.gg-nav {
  margin-top: 1.3rem;
}

.gg-nav-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
}

/* Support Ghost's {{navigation}} output (ul > li > a) */
.gg-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.gg-nav li {
  list-style: none;
}

.gg-nav a {
  text-decoration: none;
  color: #e5e7eb;
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  font-size: 0.9rem;
  border: 1px solid rgba(248, 250, 252, 0.2);
  display: inline-block;
}

.gg-nav a:hover {
  background: rgba(15, 23, 42, 0.5);
}

/* Hero */

.gg-hero {
  margin-top: 1.7rem;
  display: grid;
  gap: 1.4rem;
}

@media (min-width: 900px) {
  .gg-hero {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.1fr);
    align-items: center;
  }
}

.gg-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.7rem;
}

.gg-hero-badge {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  padding: 0.15rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(209, 213, 219, 0.55);
  color: #e5e7eb;
}

.gg-hero-title {
  font-size: 2.0rem;
  margin: 0 0 0.6rem;
}

.gg-hero-text {
  margin: 0 0 1rem;
  color: #e5e7eb;
}

.gg-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
}

.gg-btn-primary,
.gg-btn-outline {
  border-radius: 999px;
  padding: 0.55rem 1.4rem;
  font-size: 0.95rem;
  border: 1px solid transparent;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
}

.gg-btn-primary {
  background: #facc15;
  color: #111827;
  border-color: rgba(202, 138, 4, 0.9);
}

.gg-btn-primary:hover {
  background: #eab308;
}

.gg-btn-outline {
  background: transparent;
  color: #e5e7eb;
  border-color: rgba(243, 244, 246, 0.5);
}

.gg-btn-outline:hover {
  background: rgba(15, 23, 42, 0.45);
}

.gg-hero-side {
  background: rgba(15, 23, 42, 0.85);
  border-radius: 16px;
  padding: 1.05rem 1.05rem 1.3rem;
  border: 1px solid rgba(148, 163, 184, 0.6);
}

.gg-hero-side h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.gg-hero-side p {
  margin: 0.4rem 0 0.85rem;
  font-size: 0.9rem;
  color: #e5e7eb;
}

/* Newsletter form */

.gg-newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.gg-newsletter-form input[type="email"] {
  flex: 1;
  min-width: 0;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  border: none;
  font-size: 0.95rem;
}

.gg-newsletter-form button {
  border: none;
}

.gg-newsletter-footnote {
  margin-top: 0.45rem;
  font-size: 0.8rem;
  color: #d1d5db;
}

/* Main layout */

.gg-main {
  padding-top: 1.8rem;
}

.gg-grid {
  display: grid;
  gap: 1.3rem;
}

@media (min-width: 960px) {
  .gg-grid {
    grid-template-columns: minmax(0, 2.1fr) minmax(0, 1.25fr);
  }
}

.gg-card {
  background: #ffffff;
  border-radius: var(--gg-radius-lg);
  box-shadow: var(--gg-shadow-soft);
  padding: 1.3rem 1.4rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
}

/* Post list with thumbnails */

.gg-post-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.gg-post-list-item {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 0.9rem;
  align-items: flex-start;
}

.gg-post-list-item + .gg-post-list-item {
  margin-top: 1.05rem;
}

.gg-post-thumb-link {
  display: block;
  text-decoration: none;
}

.gg-post-thumb {
  width: 96px;
  height: 96px;
  border-radius: 14px;
  overflow: hidden;
  background: #e5e7eb;
}

.gg-post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gg-post-list-body {
  min-width: 0;
}

.gg-post-item-title {
  font-size: 1.05rem;
  margin: 0 0 0.25rem;
}

.gg-post-item-title a {
  color: var(--gg-green-dark);
  text-decoration: none;
}

.gg-post-item-title a:hover {
  text-decoration: underline;
}

.gg-post-meta {
  font-size: 0.8rem;
  color: var(--gg-muted);
}

/* Post view */

.gg-post-header {
  margin-bottom: 1.3rem;
}

.gg-post-title {
  font-size: 2rem;
  margin: 0 0 0.5rem;
}

.gg-post-meta-line {
  font-size: 0.87rem;
  color: var(--gg-muted);
}

.gg-post-content {
  margin-top: 1.2rem;
}

.gg-post-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--gg-radius-sm);
  margin: 1rem 0;
}

/* Koenig wide and full */

.kg-width-wide {
  width: 100%;
  display: block;
}

.kg-width-full {
  width: 100%;
  display: block;
}

/* Footer */

.gg-footer {
  margin-top: 2.6rem;
  padding: 1.7rem 1.25rem 2.3rem;
  background: #020617;
  color: #9ca3af;
}

.gg-footer-inner {
  max-width: var(--gg-max-width);
  margin: 0 auto;
}

.gg-footer-top {
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
}

@media (min-width: 800px) {
  .gg-footer-top {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}

.gg-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.gg-footer-links a {
  color: #d1d5db;
  font-size: 0.86rem;
  text-decoration: none;
}

.gg-footer-links a:hover {
  text-decoration: underline;
}

.gg-footer-bottom {
  margin-top: 1.3rem;
  font-size: 0.8rem;
  color: #6b7280;
}


/* === Grazing Grass custom: Spotlight, taxonomy lists, CTA blocks === */

.gh-main.gh-spotlight,
.gh-breeds,
.gh-states,
.gh-countries {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.gh-breeds-header {
  margin-bottom: 2rem;
}

.gh-breeds-title {
  font-size: 2.2rem;
  margin: 0 0 0.5rem;
}

.gh-breeds-intro {
  margin: 0;
  opacity: 0.85;
}

.gh-breeds-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.gh-breeds-item {
  background: rgba(17, 94, 56, 0.04);
  border-radius: 0.75rem;
  padding: 1.25rem 1.5rem;
}

.gh-breeds-link {
  text-decoration: none;
  display: block;
}

.gh-breeds-name {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
}

.gh-breeds-excerpt {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Spotlight CTA and related lists */

.gh-spotlight-section {
  margin-top: 2.5rem;
}

.gh-spotlight-heading {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.gh-spotlight-cta-inner {
  padding: 2rem 2.5rem;
  border-radius: 0.75rem;
  background: rgba(17, 94, 56, 0.08);
}

.gh-spotlight-cta-inner h2 {
  margin: 0 0 0.5rem;
  font-size: 1.6rem;
}

.gh-spotlight-cta-inner p {
  margin: 0 0 1.25rem;
}

.gh-spotlight-cta-button {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  background: var(--gg-green);
  color: var(--gg-cream);
}

.gh-spotlight-cta-button:hover {
  opacity: 0.9;
}

.gh-episode-list,
.gh-resource-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.gh-episode-list-item,
.gh-resource-list-item {
  margin-bottom: 0.5rem;
}

.gh-episode-link,
.gh-resource-link {
  text-decoration: none;
}

.gh-episode-link:hover,
.gh-resource-link:hover {
  text-decoration: underline;
}

.gh-episode-meta {
  display: inline-block;
  margin-left: 0.5rem;
  font-size: 0.85rem;
  opacity: 0.75;
}

/* Podcast episode grid */
.gg-episode-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1.1rem;
}

.gg-episode-card {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.gg-episode-image {
  border-radius: var(--gg-radius-lg);
  overflow: hidden;
  background: #e5e7eb;
  aspect-ratio: 1 / 1;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.16);
}

.gg-episode-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gg-episode-caption {
  font-size: 0.9rem;
}

.gg-episode-number {
  font-weight: 600;
  color: var(--gg-green-dark);
  margin-bottom: 0.1rem;
}

.gg-episode-title {
  color: var(--gg-text);
}
