.gm-blog {
  font-family: "graphik-regular", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #222;
  padding: 24px 0 64px;
}

.gm-blog-wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

.gm-blog-article-wrap {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 20px;
}

.gm-breadcrumbs {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #666;
  margin-bottom: 20px;
}

.gm-breadcrumbs a {
  color: #555;
  text-decoration: none;
}

.gm-breadcrumbs a:hover {
  color: #772a25;
  text-decoration: underline;
}

.gm-breadcrumbs span.sep {
  margin: 0 6px;
  color: #aaa;
}

.gm-blog-hero-header {
  text-align: center;
  padding: 16px 0 28px;
  border-bottom: 1px solid #e6e6e6;
  margin-bottom: 28px;
}

.gm-blog-kicker {
  font-family: "graphik-semi-bold", sans-serif;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #772a25;
  margin-bottom: 8px;
}

.gm-blog-hero-header h1 {
  font-family: "bitter-regular", Georgia, serif;
  font-size: 36px;
  line-height: 1.2;
  margin: 0 0 12px;
  color: #1a1a1a;
  font-weight: 600;
}

.gm-blog-hero-header p {
  font-size: 16px;
  line-height: 1.6;
  color: #555;
  max-width: 660px;
  margin: 0 auto;
}

.gm-cat-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}

.gm-cat-pill {
  display: inline-block;
  padding: 8px 18px;
  border: 1px solid #d5d5d5;
  border-radius: 999px;
  font-size: 13px;
  font-family: "graphik-medium", sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: #333;
  background: #fff;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.gm-cat-pill:hover,
.gm-cat-pill.active {
  background: #772a25;
  border-color: #772a25;
  color: #fff;
}

.gm-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.gm-blog-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 4px;
  overflow: hidden;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.gm-blog-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.gm-blog-card a.gm-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.gm-card-media {
  aspect-ratio: 16 / 10;
  background: #f4f4f4;
  overflow: hidden;
}

.gm-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gm-card-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.gm-card-meta {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #772a25;
  font-family: "graphik-semi-bold", sans-serif;
  margin-bottom: 8px;
}

.gm-card-title {
  font-family: "bitter-regular", Georgia, serif;
  font-size: 19px;
  line-height: 1.3;
  margin: 0 0 10px;
  color: #1a1a1a;
  font-weight: 600;
}

.gm-card-excerpt {
  font-size: 14px;
  line-height: 1.55;
  color: #555;
  margin: 0 0 14px;
  flex: 1;
}

.gm-card-cta {
  font-size: 12px;
  font-family: "graphik-semi-bold", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #772a25;
}

.gm-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 38px;
  flex-wrap: wrap;
}

.gm-page-link {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid #d5d5d5;
  color: #333;
  text-decoration: none;
  font-size: 14px;
  border-radius: 3px;
}

.gm-page-link.active,
.gm-page-link:hover {
  background: #772a25;
  border-color: #772a25;
  color: #fff;
}

/* Article page */
.gm-article-header {
  margin-bottom: 24px;
}

.gm-article-header h1 {
  font-family: "bitter-regular", Georgia, serif;
  font-size: 36px;
  line-height: 1.22;
  margin: 0 0 10px;
  color: #1a1a1a;
  font-weight: 600;
}

.gm-article-subtitle {
  font-size: 18px;
  line-height: 1.5;
  color: #555;
  margin: 0 0 14px;
}

.gm-article-meta {
  font-size: 13px;
  color: #777;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.gm-article-meta a {
  color: #772a25;
  text-decoration: none;
  font-family: "graphik-medium", sans-serif;
}

.gm-article-hero {
  margin: 22px 0 30px;
  border-radius: 4px;
  overflow: hidden;
  background: #f5f5f5;
}

.gm-article-hero img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  display: block;
}

.gm-article-content {
  font-size: 17px;
  line-height: 1.75;
  color: #2b2b2b;
}

.gm-article-content h2 {
  font-family: "bitter-regular", Georgia, serif;
  font-size: 26px;
  line-height: 1.3;
  margin: 34px 0 14px;
  color: #1a1a1a;
  font-weight: 600;
}

.gm-article-content h3 {
  font-family: "graphik-semi-bold", sans-serif;
  font-size: 20px;
  line-height: 1.35;
  margin: 26px 0 10px;
  color: #222;
}

.gm-article-content h4 {
  font-family: "graphik-semi-bold", sans-serif;
  font-size: 17px;
  margin: 20px 0 8px;
  color: #333;
}

.gm-article-content p {
  margin: 0 0 18px;
}

.gm-article-content a {
  color: #772a25;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.gm-article-content a:hover {
  color: #4f1a17;
}

.gm-article-content ul,
.gm-article-content ol {
  margin: 0 0 20px;
  padding-left: 26px;
}

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

.gm-article-content blockquote {
  margin: 24px 0;
  padding: 14px 20px;
  border-left: 4px solid #772a25;
  background: #faf8f7;
  font-style: italic;
  color: #3a3a3a;
}

.gm-article-content img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 24px auto;
  border-radius: 3px;
}

.gm-article-content figure {
  margin: 26px 0;
  text-align: center;
}

.gm-article-content figure img {
  margin: 0 auto 8px;
}

.gm-article-content figcaption {
  font-size: 13px;
  color: #666;
}

.gm-article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 15px;
}

.gm-article-content th,
.gm-article-content td {
  border: 1px solid #e0e0e0;
  padding: 10px 12px;
  text-align: left;
}

.gm-article-content th {
  background: #f7f7f7;
  font-family: "graphik-semi-bold", sans-serif;
}

.gm-article-content .blog-video {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  margin: 24px 0;
  overflow: hidden;
  border-radius: 4px;
}

.gm-article-content .blog-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.gm-shop-cta {
  margin: 42px 0 36px;
  padding: 26px 28px;
  background: #f8f6f4;
  border: 1px solid #e6dfd9;
  border-radius: 4px;
  text-align: center;
}

.gm-shop-cta h2 {
  font-family: "bitter-regular", Georgia, serif;
  font-size: 22px;
  margin: 0 0 8px;
  color: #1a1a1a;
}

.gm-shop-cta p {
  font-size: 14px;
  color: #555;
  margin: 0 0 18px;
}

.gm-shop-cta-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.gm-shop-btn {
  display: inline-block;
  padding: 10px 20px;
  background: #772a25;
  color: #fff !important;
  text-decoration: none !important;
  font-family: "graphik-medium", sans-serif;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 3px;
}

.gm-shop-btn:hover {
  background: #5b1f1b;
}

.gm-related {
  max-width: 1140px;
  margin: 48px auto 0;
  padding: 36px 20px 0;
  border-top: 1px solid #e6e6e6;
}

.gm-related h2 {
  font-family: "bitter-regular", Georgia, serif;
  font-size: 24px;
  text-align: center;
  margin: 0 0 24px;
}

/* 410 Gone page */
.gm-gone {
  max-width: 680px;
  margin: 48px auto;
  padding: 36px 24px;
  text-align: center;
  border: 1px solid #ececec;
  border-radius: 4px;
  background: #fff;
}

.gm-gone h1 {
  font-family: "bitter-regular", Georgia, serif;
  font-size: 30px;
  margin: 0 0 12px;
}

.gm-gone p {
  font-size: 16px;
  line-height: 1.6;
  color: #555;
  margin: 0 0 24px;
}

@media (max-width: 960px) {
  .gm-blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .gm-blog-grid {
    grid-template-columns: 1fr;
  }
  .gm-blog-hero-header h1,
  .gm-article-header h1 {
    font-size: 28px;
  }
  .gm-article-content {
    font-size: 16px;
  }
}
