
/* CSS Prefix: ggh- */

:root {
  --ggh-primary: #059669;
  --ggh-primary-dark: #047857;
  --ggh-secondary: #f59e0b;
  --ggh-secondary-dark: #d97706;
  --ggh-accent: #3b82f6;
  --ggh-text: #1e3a3a;
  --ggh-text-light: #6b7280;
  --ggh-bg: #ffffff;
  --ggh-bg-alt: #f0fdf4;
  --ggh-bg-warm: #fffbeb;
  --ggh-border: #d1fae5;
  --ggh-shadow: 0 1px 3px rgba(5, 150, 105, 0.1);
  --ggh-shadow-lg: 0 10px 40px rgba(5, 150, 105, 0.15);
  --ggh-radius: 8px;
  --ggh-radius-lg: 16px;
  --ggh-max-width: 1200px;
  --ggh-content-width: 800px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.ggh-body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--ggh-text);
  background: var(--ggh-bg);
  line-height: 1.7;
  font-size: 17px;
}

.ggh-container {
  max-width: var(--ggh-max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.ggh-header {
  background: var(--ggh-bg);
  border-bottom: 1px solid var(--ggh-border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.ggh-header .ggh-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.ggh-logo img {
  height: 48px;
  width: auto;
}

.ggh-nav {
  display: flex;
  gap: 8px;
}

.ggh-nav a {
  color: var(--ggh-text);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: var(--ggh-radius);
  font-size: 15px;
  font-weight: 500;
  transition: all 0.2s;
}

.ggh-nav a:hover {
  background: var(--ggh-bg-alt);
  color: var(--ggh-primary);
}

/* Breadcrumb */
.ggh-breadcrumb {
  background: var(--ggh-bg-alt);
  padding: 12px 0;
  border-bottom: 1px solid var(--ggh-border);
}

.ggh-breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 14px;
}

.ggh-breadcrumb li {
  display: flex;
  align-items: center;
}

.ggh-breadcrumb li:not(:last-child)::after {
  content: '/';
  margin-left: 8px;
  color: var(--ggh-text-light);
}

.ggh-breadcrumb a {
  color: var(--ggh-primary);
  text-decoration: none;
}

.ggh-breadcrumb a:hover {
  text-decoration: underline;
}

.ggh-breadcrumb span {
  color: var(--ggh-text-light);
}

/* Main Content */
.ggh-main {
  min-height: calc(100vh - 300px);
}

/* Article Styles */
.ggh-article {
  max-width: var(--ggh-content-width);
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.ggh-article-header {
  margin-bottom: 40px;
}

.ggh-article-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--ggh-text);
  margin-bottom: 16px;
}

.ggh-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--ggh-text-light);
  font-size: 15px;
}

.ggh-article-author {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ggh-article-content {
  font-size: 17px;
  line-height: 1.8;
}

.ggh-article-content h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 48px 0 20px;
  color: var(--ggh-text);
  padding-bottom: 8px;
  border-bottom: 2px solid var(--ggh-primary);
}

.ggh-article-content h3 {
  font-size: 1.35rem;
  font-weight: 600;
  margin: 36px 0 16px;
  color: var(--ggh-text);
}

.ggh-article-content p {
  margin-bottom: 20px;
}

.ggh-article-content ul,
.ggh-article-content ol {
  margin: 20px 0 20px 24px;
}

.ggh-article-content li {
  margin-bottom: 8px;
}

.ggh-article-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 2rem auto;
  border-radius: 8px;
}

.ggh-article-content a {
  color: var(--ggh-primary);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.ggh-article-content a:hover {
  border-bottom-color: var(--ggh-primary);
}

.ggh-article-content strong {
  font-weight: 600;
  color: var(--ggh-text);
}

.ggh-article-content blockquote {
  margin: 32px 0;
  padding: 24px 28px;
  background: linear-gradient(135deg, var(--ggh-bg-alt) 0%, #ecfdf5 100%);
  border-left: 4px solid var(--ggh-primary);
  border-radius: 0 var(--ggh-radius) var(--ggh-radius) 0;
  font-style: italic;
}

.ggh-callout {
  margin: 32px 0;
  padding: 24px;
  background: var(--ggh-bg-alt);
  border-radius: var(--ggh-radius-lg);
  border: 1px solid var(--ggh-border);
}

.ggh-callout-title {
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--ggh-primary);
}

.ggh-safety-box {
  margin: 32px 0;
  padding: 24px;
  background: linear-gradient(135deg, #fef3c7 0%, #fef9c3 100%);
  border-radius: var(--ggh-radius-lg);
  border: 2px solid var(--ggh-secondary);
}

.ggh-safety-box h4 {
  font-weight: 700;
  margin-bottom: 12px;
  color: #92400e;
}

.ggh-heartwarming {
  margin: 32px 0;
  padding: 24px;
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  border-radius: var(--ggh-radius-lg);
  border: 2px solid var(--ggh-primary);
}

.ggh-heartwarming h4 {
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--ggh-primary-dark);
}

.ggh-budget-box {
  margin: 32px 0;
  padding: 24px;
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border-radius: var(--ggh-radius-lg);
  border: 2px solid var(--ggh-accent);
}

.ggh-budget-box h4 {
  font-weight: 700;
  margin-bottom: 12px;
  color: #1e40af;
}

/* Homepage Styles */
.ggh-hero {
  background: linear-gradient(135deg, #047857 0%, #059669 50%, #10b981 100%);
  color: white;
  padding: 80px 24px;
  text-align: center;
}

.ggh-hero h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.ggh-hero p {
  font-size: 1.25rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 32px;
}

.ggh-hero-cta {
  display: inline-block;
  background: var(--ggh-secondary);
  color: #1e293b;
  padding: 14px 32px;
  border-radius: var(--ggh-radius);
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.ggh-hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.ggh-articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 32px;
  padding: 64px 24px;
  max-width: var(--ggh-max-width);
  margin: 0 auto;
}

.ggh-article-card {
  background: var(--ggh-bg);
  border-radius: var(--ggh-radius-lg);
  border: 1px solid var(--ggh-border);
  padding: 28px;
  transition: box-shadow 0.2s, transform 0.2s;
}

.ggh-article-card:hover {
  box-shadow: var(--ggh-shadow-lg);
  transform: translateY(-4px);
}

.ggh-article-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.ggh-article-card h3 a {
  color: var(--ggh-text);
  text-decoration: none;
}

.ggh-article-card h3 a:hover {
  color: var(--ggh-primary);
}

.ggh-article-card p {
  color: var(--ggh-text-light);
  font-size: 15px;
  line-height: 1.6;
}

.ggh-section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 48px;
  color: var(--ggh-text);
}

/* Footer */
.ggh-footer {
  background: var(--ggh-text);
  color: white;
  padding: 64px 24px 32px;
}

.ggh-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.ggh-footer-about img {
  height: 40px;
  width: auto;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
}

.ggh-footer-about p {
  color: #a7f3d0;
  font-size: 15px;
  line-height: 1.6;
}

.ggh-footer-links h4 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
  color: #a7f3d0;
}

.ggh-footer-links ul {
  list-style: none;
}

.ggh-footer-links li {
  margin-bottom: 10px;
}

.ggh-footer-links a {
  color: white;
  text-decoration: none;
  font-size: 15px;
  transition: color 0.2s;
}

.ggh-footer-links a:hover {
  color: var(--ggh-secondary);
}

.ggh-footer-bottom {
  padding-top: 32px;
  border-top: 1px solid #047857;
  text-align: center;
  color: #a7f3d0;
  font-size: 14px;
}

.ggh-footer-bottom p {
  margin-bottom: 4px;
}

/* Responsive */
@media (max-width: 768px) {
  .ggh-header .ggh-container {
    flex-direction: column;
    height: auto;
    padding: 16px 24px;
    gap: 16px;
  }

  .ggh-nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .ggh-nav a {
    padding: 6px 12px;
    font-size: 14px;
  }

  .ggh-hero h1 {
    font-size: 2rem;
  }

  .ggh-article-title {
    font-size: 1.75rem;
  }

  .ggh-footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .ggh-articles-grid {
    grid-template-columns: 1fr;
    padding: 40px 24px;
  }
}
