/* ========== Category page article styling (auto-generated content) ========== */
.gz-cat-article {
  font-family: 'Vazirmatn', 'IRANSansX', system-ui, sans-serif;
  max-width: 760px;
  margin: 0 auto;
  color: #15171a;
  line-height: 1.85;
  font-size: 17px;
}
.gz-cat-article h1,
.gz-cat-article h2,
.gz-cat-article h3 {
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #15171a;
}
.gz-cat-article h1 {
  font-size: 2.4rem; line-height: 1.25; margin: 0 0 18px;
  font-weight: 800;
}
.gz-cat-article h2 {
  font-size: 1.5rem; line-height: 1.4; margin: 56px 0 18px;
}
.gz-cat-article h3 {
  font-size: 1.18rem; line-height: 1.4; margin: 0 0 4px;
}
.gz-cat-article p { margin: 0 0 16px; color: #404449; }
.gz-cat-article a {
  color: #18866b; text-decoration: none;
  border-bottom: 1px solid transparent; transition: border-color .15s;
}
.gz-cat-article a:hover { border-bottom-color: #18866b; }

.gz-cat-article .cat-intro {
  border-bottom: 1px solid #e8e6e1;
  padding-bottom: 28px;
  margin-bottom: 8px;
}
.gz-cat-article .cat-lead { font-size: 1.08rem; color: #404449; }
.gz-cat-article .cat-overview p { font-size: 1.02rem; }

/* --- Restaurant cards (in-article top 10) --- */
.gz-cat-article .cat-top-list { margin-top: 32px; }
.gz-cat-article .rest-card {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 20px;
  align-items: start;
  margin: 0 0 32px;
  position: relative;
}
.gz-cat-article .rest-cover {
  position: relative;
  margin: 0;
  width: 160px;
  height: 160px;
  overflow: hidden;
  border-radius: 6px;
  background: #f7f5f0;
}
.gz-cat-article .rest-cover img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.gz-cat-article .rest-cover--placeholder {
  background: #f7f5f0 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ctext x='50' y='65' font-size='60' text-anchor='middle' fill='%23b8b3a3'%3E%E2%9C%A6%3C/text%3E%3C/svg%3E") center/30% no-repeat;
}
.gz-cat-article .rest-rank {
  position: absolute;
  top: 8px; right: 8px;
  background: rgba(0,0,0,.78); color: #fff;
  font-weight: 700; font-size: .82rem;
  width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.gz-cat-article .rest-meta {
  display: flex; gap: 14px; flex-wrap: wrap;
  font-size: .85rem; color: #6b7077;
  margin-bottom: 6px; font-weight: 500;
}
.gz-cat-article .rest-meta .rest-cat { color: #18866b; font-weight: 600; }
.gz-cat-article .rest-card h3 {
  font-size: 1.5rem; font-weight: 700; margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.gz-cat-article .rest-card h3 a { color: #15171a; border-bottom: none; }
.gz-cat-article .rest-card h3 a:hover { color: #18866b; }
.gz-cat-article .rest-body { font-size: 1rem; color: #404449; margin-bottom: 14px; }
.gz-cat-article .rest-tags {
  list-style: none; padding: 0; margin: 0 0 14px;
  display: flex; gap: 8px; flex-wrap: wrap;
  font-size: .82rem; color: #6b7077;
}
.gz-cat-article .rest-tags li {
  background: #f7f5f0; padding: 4px 11px; border-radius: 999px;
}
.gz-cat-article .rest-actions {
  display: flex; gap: 16px; align-items: center; flex-wrap: wrap;
}
.gz-cat-article .rest-map-toggle {
  background: none; border: 1px solid #e8e6e1;
  color: #404449; padding: 7px 14px; border-radius: 999px;
  font-family: inherit; font-size: .85rem; cursor: pointer;
  transition: all .15s;
}
.gz-cat-article .rest-map-toggle:hover { border-color: #18866b; color: #18866b; }
.gz-cat-article .rest-map-toggle[aria-expanded="true"] {
  background: #e8f3ef; color: #18866b; border-color: #e8f3ef;
}
.gz-cat-article .rest-cta { font-size: .92rem; font-weight: 600; color: #18866b; }
.gz-cat-article .rest-map {
  margin-top: 14px; height: 220px; border-radius: 4px; overflow: hidden;
}
.gz-cat-article .rest-map[hidden] { display: none; }

/* --- Occasion grid --- */
.gz-cat-article .cat-context-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  margin-top: 8px;
}
.gz-cat-article .cat-context-grid > div {
  padding: 18px 0 0;
  border-top: 2px solid #15171a;
}
.gz-cat-article .cat-context-grid h3 { font-size: 1.02rem; margin-bottom: 8px; }
.gz-cat-article .cat-context-grid p { font-size: .96rem; margin: 0; }

/* --- Related --- */
.gz-cat-article .cat-related-intro { font-size: 1rem; }
.gz-cat-article .cat-related-links {
  list-style: none; padding: 0; margin: 12px 0 0;
  display: flex; flex-wrap: wrap; gap: 8px;
}
.gz-cat-article .cat-related-links li a {
  display: inline-block; padding: 7px 14px; border-radius: 999px;
  background: #f7f5f0; color: #404449; font-size: .9rem;
  border-bottom: none;
}
.gz-cat-article .cat-related-links li a:hover { background: #e8f3ef; color: #18866b; }

/* --- FAQ --- */
.gz-cat-article .cat-faq details {
  border-bottom: 1px solid #e8e6e1;
  padding: 18px 0;
}
.gz-cat-article .cat-faq details summary {
  cursor: pointer; font-weight: 600; font-size: 1.02rem; color: #15171a;
  list-style: none; position: relative; padding-left: 28px;
}
.gz-cat-article .cat-faq details summary::-webkit-details-marker { display: none; }
.gz-cat-article .cat-faq details summary::before {
  content: '+'; position: absolute; left: 0; top: -2px;
  width: 20px; height: 20px; border-radius: 50%; background: #f7f5f0;
  display: flex; align-items: center; justify-content: center; font-weight: 700;
  transition: transform .2s;
}
.gz-cat-article .cat-faq details[open] summary::before {
  content: '−'; background: #e8f3ef; color: #18866b;
}
.gz-cat-article .cat-faq details p { margin: 10px 0 0; color: #404449; }

/* --- Compact header when article exists --- */
.gz-archive-header--compact { margin: 0 0 16px; }
.gz-archive-header--compact .gz-archive-eyebrow {
  font-size: .82rem; color: #6b7077; text-transform: none;
  letter-spacing: 0.04em; margin: 0;
}

/* --- Last updated badge --- */
.gz-cat-article-meta {
  font-size: .85rem; color: #6b7077;
  margin-top: 48px; padding-top: 20px;
  border-top: 1px solid #e8e6e1;
  text-align: center;
}

@media (max-width: 600px) {
  .gz-cat-article h1 { font-size: 1.8rem; }
  .gz-cat-article h2 { font-size: 1.3rem; margin-top: 44px; }
  .gz-cat-article .rest-card { grid-template-columns: 110px 1fr; gap: 14px; margin-bottom: 26px; }
  .gz-cat-article .rest-cover { width: 110px; height: 110px; }
  .gz-cat-article .rest-card h3 { font-size: 1.15rem; }
  .gz-cat-article .rest-body { font-size: .94rem; }
  .gz-cat-article .cat-context-grid { grid-template-columns: 1fr; gap: 18px; }
  .gz-cat-article .rest-rank { width: 24px; height: 24px; font-size: .72rem; top: 6px; right: 6px; }
}
