/* cafesriyadh.com — custom styles */

:root {
  --font-sys: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans Arabic", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
  font-family: var(--font-sys);
  background: #FAF7F2;
  color: #2C1810;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .heading {
  font-family: var(--font-sys);
}

.card-hover {
  transition: transform .25s ease, box-shadow .25s ease;
}
.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -15px rgba(44, 24, 16, .18);
}

.nav-link {
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -6px;
  right: 0;
  width: 0;
  height: 2px;
  background: #B8935A;
  transition: width .25s;
}
.nav-link:hover::after {
  width: 100%;
}

.hero-pattern {
  background-image:
    radial-gradient(circle at 20% 30%, rgba(184, 147, 90, .08), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(74, 56, 42, .06), transparent 40%);
}

/* Article body (.prose-ar) */
.prose-ar p {
  font-size: 1.125rem;
  line-height: 2;
  color: #4A382A;
  margin-bottom: 1.5rem;
}
.prose-ar h2 {
  font-weight: 700;
  font-size: 1.75rem;
  color: #2C1810;
  margin: 2.5rem 0 1rem;
}
.prose-ar h3 {
  font-weight: 600;
  font-size: 1.35rem;
  color: #2C1810;
  margin: 2rem 0 .75rem;
}
.prose-ar h4 {
  font-weight: 600;
  font-size: 1.15rem;
  color: #2C1810;
  margin: 1.5rem 0 .5rem;
}
.prose-ar ul, .prose-ar ol {
  margin-bottom: 1.5rem;
  padding-right: 1.5rem;
}
.prose-ar ul li, .prose-ar ol li {
  font-size: 1.0625rem;
  line-height: 1.9;
  color: #4A382A;
  margin-bottom: .5rem;
  list-style: disc;
}
.prose-ar blockquote {
  border-right: 4px solid #B8935A;
  padding: .5rem 1.5rem;
  margin: 2rem 0;
  background: #F0EAE0;
  font-style: italic;
  font-size: 1.125rem;
  color: #4A382A;
  border-radius: 0 .5rem .5rem 0;
}
.prose-ar strong {
  color: #2C1810;
  font-weight: 600;
}
.prose-ar a {
  color: #8B6F47;
  text-decoration: underline;
  text-decoration-color: rgba(184, 147, 90, .4);
}
.prose-ar a:hover {
  color: #B8935A;
}
.prose-ar img {
  border-radius: .75rem;
  max-width: 100%;
  height: auto;
  margin: 1.5rem 0;
}
.prose-ar figure {
  margin: 1.5rem 0;
}
.prose-ar figcaption {
  text-align: center;
  font-size: .9rem;
  color: #6B5D4F;
  margin-top: .5rem;
}
.prose-ar table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}
.prose-ar table th,
.prose-ar table td {
  border: 1px solid #E5DDD0;
  padding: .5rem .75rem;
  text-align: right;
}
.prose-ar table th {
  background: #F0EAE0;
  font-weight: 600;
}

/* Pagination */
.pagination {
  margin-top: 3rem;
  text-align: center;
}
.pagination ul {
  display: inline-flex;
  gap: .375rem;
  list-style: none;
  padding: 0;
  flex-wrap: wrap;
  justify-content: center;
}
.pagination li {
  display: flex;
}
.pagination li a,
.pagination li.current {
  display: inline-flex;
  min-width: 2.25rem;
  height: 2.25rem;
  padding: 0 .75rem;
  align-items: center;
  justify-content: center;
  border: 1px solid #E5DDD0;
  border-radius: .5rem;
  color: #4A382A;
  font-size: .95rem;
  text-decoration: none;
  background: #fff;
  transition: background .15s;
}
.pagination li a:hover {
  background: #F0EAE0;
}
.pagination li.current {
  background: #2C1810;
  color: #FAF7F2;
  border-color: #2C1810;
}
.pagination li.dots {
  align-items: center;
  display: flex;
  padding: 0 .25rem;
  color: #6B5D4F;
}
