@import url("https://fonts.googleapis.com/css2?family=Estedad:wght@400;500;700&display=swap");

html {
  direction: rtl;
}

body {
  text-align: right;
  font-family: "Estedad", "Vazirmatn", Tahoma, Arial, sans-serif;
}

/* تیترها */
h1, h2, h3, h4, h5, h6 {
  text-align: right;
}

/* لیست‌ها */
ul, ol {
  padding-right: 1.5rem;
  padding-left: 0;
}

/* لینک‌ها و منو */
nav, header, footer {
  direction: rtl;
}

/* قهرمان صفحه اصلی */
.hero-gradient {
  background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.12), transparent 35%),
              radial-gradient(circle at 80% 10%, rgba(255, 255, 255, 0.15), transparent 30%),
              linear-gradient(135deg, #ff6f61 0%, #ff9068 45%, #ffca61 100%);
  color: #fff;
}

.hero-gradient .subtitle.is-6 {
  margin-bottom: 1.25rem;
}

.hero-gradient .subtitle.is-6 + .title.is-1 {
  margin-top: 0.35rem;
  margin-bottom: 0.5rem;
}

.hero-gradient .hero-actions .button.is-light.is-outlined {
  border-color: rgba(255, 255, 255, 0.65);
  color: #fff;
}

.stat-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15);
}

.stat-item + .stat-item {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 1rem;
  padding-top: 1rem;
}

.stat-value {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
}

.stat-label {
  color: rgba(255, 255, 255, 0.85);
}

/* کارت دستور پخت */
.recipe-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: none;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
}

.recipe-card__image {
  position: relative;
  min-height: 220px;
  background-size: cover;
  background-position: center;
}

.recipe-card__image--empty {
  background: linear-gradient(135deg, #ffd8b5, #ffe3c6);
}

.recipe-card__tags {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: flex;
  gap: 0.5rem;
}

.recipe-card__title {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  left: 1rem;
}

.recipe-card__meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  color: #4a4a4a;
}

.recipe-card__meta i {
  margin-left: 0.35rem;
}

.recipe-card__badges .tag {
  margin: 0 0 0.5rem 0.5rem;
}

/* دسته‌بندی‌ها */
.category-band {
  background: #fff9f2;
}

.category-card {
  position: relative;
  border-radius: 14px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  padding-top: 3.5rem;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.category-card .title {
  margin-top: 0.35rem;
  margin-bottom: 0.75rem;
}

.category-card .subtitle {
  margin-top: 0.25rem;
}

.category-chip {
  position: absolute;
  left: 1rem;
  top: 1rem;
  font-size: 0.9rem;
  background: #ffedd5;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  color: #b45309;
}

/* صفحه دستور پخت */
.recipe-hero {
  background: linear-gradient(135deg, #ff6f61 0%, #ff9068 50%, #ffca61 100%);
  color: #fff;
}

.recipe-hero.has-image {
  background-size: cover;
  background-position: center;
}

.recipe-body h2,
.recipe-body h3 {
  margin-top: 1.5rem;
}

.recipe-aside .tags .tag {
  margin: 0 0 0.5rem 0.5rem;
}

.related-grid > * + * {
  margin-top: 1rem;
}

@font-face {
  font-family: "Vazirmatn";
  src: url("/fonts/Vazirmatn-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Vazirmatn";
  src: url("/fonts/Vazirmatn-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
