/*
Theme Name: Golf Gear Lab Kadence
Theme URI: https://example.local/
Template: kadence
Author: Golf Gear Lab
Description: Golf Gear Lab child theme for review, comparison, and buying-guide content.
Version: 0.1.0
Text Domain: golfgear-lab-kadence
*/

:root {
  --ggl-green: #155f3b;
  --ggl-ink: #18231f;
  --ggl-muted: #5f6f68;
  --ggl-line: #d9e1dc;
  --ggl-paper: #f7f8f5;
  --ggl-accent: #d6a84f;
}

body {
  color: var(--ggl-ink);
}

a {
  text-underline-offset: 0.16em;
}

.entry-content table,
.wp-block-table table {
  border-collapse: collapse;
  width: 100%;
}

.entry-content th,
.entry-content td,
.wp-block-table th,
.wp-block-table td {
  border: 1px solid var(--ggl-line);
  padding: 0.75rem;
  vertical-align: top;
}

.entry-content th,
.wp-block-table th {
  background: #eef4ef;
  color: var(--ggl-green);
  font-weight: 700;
}

.ggl-disclosure,
.ggl-source-note {
  background: var(--ggl-paper);
  border-left: 4px solid var(--ggl-accent);
  color: var(--ggl-muted);
  font-size: 0.94rem;
  margin: 1.5rem 0;
  padding: 1rem 1.15rem;
}

.ggl-product-card {
  border: 1px solid var(--ggl-line);
  border-radius: 8px;
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(96px, 140px) 1fr;
  margin: 1.5rem 0;
  padding: 1rem;
}

.ggl-product-card img {
  aspect-ratio: 1 / 1;
  background: var(--ggl-paper);
  height: auto;
  object-fit: contain;
  width: 100%;
}

.ggl-product-card__placeholder {
  align-items: center;
  aspect-ratio: 1 / 1;
  background: var(--ggl-paper);
  color: var(--ggl-muted);
  display: flex;
  font-size: 0.9rem;
  justify-content: center;
  text-align: center;
}

.ggl-product-card__title {
  color: var(--ggl-ink);
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.35rem;
}

.ggl-product-card__meta {
  color: var(--ggl-muted);
  font-size: 0.9rem;
  margin: 0 0 0.75rem;
}

.ggl-product-card__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.ggl-product-card__links a {
  background: var(--ggl-green);
  border-radius: 6px;
  color: #fff;
  display: inline-block;
  font-weight: 700;
  padding: 0.55rem 0.75rem;
  text-decoration: none;
}

.ggl-product-card__pending {
  color: var(--ggl-muted);
  font-size: 0.9rem;
}

.ggl-product-card dl {
  display: grid;
  gap: 0.35rem 0.7rem;
  grid-template-columns: 4.5rem 1fr;
  margin: 0.75rem 0;
}

.ggl-product-card dt {
  color: var(--ggl-green);
  font-weight: 700;
}

.ggl-product-card dd {
  margin: 0;
}

.ggl-score-table td:first-child,
.ggl-score-table th:first-child {
  width: 11rem;
}

@media (max-width: 640px) {
  .ggl-product-card {
    grid-template-columns: 1fr;
  }
}
