/* Blog page — scoped to .blog-page; standalone nav/topbar/footer omitted (site header used) */
.blog-page {
  --espresso: #2b1a12;
  --espresso-2: #3d271b;
  --cream: #F2EDE8;
  --cream-2: #ebdfcc;
  --caramel: #c08043;
  --caramel-deep: #a9622c;
  --sage: #6f7256;
  --ink: #000000;
  --paper: #fbf6ee;
  --line: rgba(43, 26, 18, 0.14);
  font-family: 'Tajawal', sans-serif;
  color: var(--ink);
  line-height: 1.7;
  background: #ECE6E1;
}
.blog-page .display { font-family: 'Amiri', serif; }
.blog-page .kufi { font-family: 'Reem Kufi', sans-serif; }

.blog-page .blog-head {
  text-align: center;
  padding: 70px 6vw 30px;
  position: relative;
}
.blog-page .eyebrow {
  display: inline-block;
  color: #000000;
  font-weight: 700;
  letter-spacing: 3px;
  font-size: 0.78rem;
  margin-bottom: 14px;
}
.blog-page .blog-head h1 {
  font-family: 'Amiri', serif;
  font-size: clamp(2.6rem, 7vw, 5rem);
  color: #000000;
  line-height: 1.15;
  font-weight: 700;
}
.blog-page .blog-head p {
  max-width: 560px;
  margin: 18px auto 0;
  color: #000000;
  font-size: 1.05rem;
}
.blog-page .steam {
  position: absolute;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  opacity: 0.5;
}
.blog-page .steam i {
  width: 4px;
  height: 34px;
  background: linear-gradient(var(--caramel), transparent);
  border-radius: 4px;
  display: block;
  animation: blog-rise 3s ease-in-out infinite;
}
.blog-page .steam i:nth-child(2) { animation-delay: 0.6s; height: 46px; }
.blog-page .steam i:nth-child(3) { animation-delay: 1.1s; }
@keyframes blog-rise {
  0%, 100% { transform: translateY(4px) scaleY(0.9); opacity: 0.2; }
  50% { transform: translateY(-6px) scaleY(1.1); opacity: 0.6; }
}

.blog-page .container { max-width: 1180px; margin: 0 auto; padding: 0 6vw; }
.blog-page .featured {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 0;
  margin: 40px auto 80px;
  border-radius: 24px;
  overflow: hidden;
  background: var(--paper);
  color: #000000;
  box-shadow: 0 30px 60px -30px rgba(43, 26, 18, 0.5);
}
.blog-page .featured-img {
  background:
    linear-gradient(180deg, rgba(43, 26, 18, 0.15), rgba(43, 26, 18, 0.45)),
    radial-gradient(circle at 30% 30%, #5a3826, #2b1a12 80%);
  min-height: 420px;
  position: relative;
  display: flex;
  align-items: flex-end;
}
.blog-page .featured-img::before {
  content: "☕";
  font-size: 9rem;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.18;
  filter: grayscale(1);
}
.blog-page .featured-img .tag {
  margin: 24px;
  background: var(--caramel);
  color: #000000;
  padding: 6px 16px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.8rem;
}
.blog-page .featured-body {
  padding: 50px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.blog-page .featured-body .meta {
  color: #000000;
  font-size: 0.82rem;
  letter-spacing: 1px;
  margin-bottom: 14px;
}
.blog-page .featured-body h2 {
  font-family: 'Amiri', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.7rem);
  line-height: 1.3;
  margin-bottom: 16px;
}
.blog-page .featured-body p { color: #000000; margin-bottom: 26px; }
.blog-page .read-link {
  color: #000000;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  border-bottom: 2px solid var(--caramel);
  padding-bottom: 3px;
  transition: gap 0.25s;
}
.blog-page .read-link:hover { gap: 14px; }

.blog-page .cats {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 46px;
}
.blog-page .cat-chip {
  border: 1.5px solid var(--line);
  background: transparent;
  color: #000000;
  padding: 9px 22px;
  border-radius: 30px;
  font-family: 'Tajawal', sans-serif;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s;
  font-size: 0.95rem;
}
.blog-page .cat-chip:hover { border-color: var(--caramel); color: var(--caramel-deep); }
.blog-page .cat-chip.active {
  background: var(--paper);
  color: #000000;
  border-color: var(--espresso);
}

.blog-page .blog-search {
  margin-bottom: 36px;
}
.blog-page .blog-posts-search {
  width: 100%;
  max-width: 420px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  font-family: inherit;
  font-size: 0.95rem;
  color: #000000;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.blog-page .blog-posts-search:focus {
  outline: none;
  border-color: var(--caramel);
  box-shadow: 0 0 0 3px rgba(196, 148, 90, 0.15);
}

.blog-page .grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 90px;
}
.blog-page .card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.35s, box-shadow 0.35s;
  display: flex;
  flex-direction: column;
}
.blog-page .card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 40px -24px rgba(43, 26, 18, 0.4);
}
.blog-page .card-img {
  height: 200px;
  position: relative;
  display: flex;
  align-items: flex-start;
  overflow: hidden;
}
.home-blog-badge {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: rgba(111, 78, 55, 0.92);
  color: #fff;
  font-weight: 700;
  font-size: 0.68rem;
  padding: 5px 10px;
  border-radius: 20px;
  z-index: 2;
  line-height: 1.2;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.home-blog-badge .check {
  font-size: 0.75rem;
}
.blog-page .featured-img .home-blog-badge {
  bottom: 24px;
  left: 24px;
}
.blog-page .short .home-blog-badge--short {
  bottom: 72px;
  left: 12px;
}
.blog-page .card-product-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--caramel);
  color: #000000;
  font-weight: 700;
  font-size: 0.7rem;
  padding: 4px 10px;
  border-radius: 20px;
  z-index: 2;
  line-height: 1.2;
}
.blog-page .featured-img .card-product-badge {
  top: 24px;
  left: 24px;
}
.blog-page .card-img .c-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(251, 246, 238, 0.92);
  color: #000000;
  font-weight: 700;
  font-size: 0.74rem;
  padding: 5px 13px;
  border-radius: 20px;
}
.blog-page .card-img.has-photo span.ico { opacity: 0.35; }
.blog-page .featured-img.has-photo::before { display: none; }
.blog-page .card-img span.ico {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 3.4rem;
  opacity: 0.85;
}
.blog-page .ci-1 { background: radial-gradient(circle at 30% 20%, #7a4a2c, #3d271b); }
.blog-page .ci-2 { background: radial-gradient(circle at 70% 30%, #8a6f3a, #4a3818); }
.blog-page .ci-3 { background: radial-gradient(circle at 40% 60%, #6f7256, #3a3c2a); }
.blog-page .ci-4 { background: radial-gradient(circle at 50% 30%, #a9622c, #5a2e12); }
.blog-page .ci-5 { background: radial-gradient(circle at 30% 50%, #5a3826, #241208); }
.blog-page .ci-6 { background: radial-gradient(circle at 60% 40%, #9a7b4a, #4a3a1e); }
.blog-page .card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.blog-page .card-body .meta {
  color: #000000;
  font-size: 0.78rem;
  letter-spacing: 0.5px;
  margin-bottom: 9px;
  font-weight: 500;
}
.blog-page .card-body h3 {
  font-family: 'Amiri', serif;
  font-size: 1.45rem;
  line-height: 1.4;
  color: #000000;
  margin-bottom: 10px;
}
.blog-page .card-body p { color: #000000; font-size: 0.95rem; flex: 1; }
.blog-page .card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  color: #000000;
}
.blog-page .card-foot .author { display: flex; align-items: center; gap: 8px; }
.blog-page .card-products-btn {
  margin-top: 14px;
  align-self: flex-start;
  border: 1.5px solid #12110F;
  background: rgba(18, 17, 15, 0.06);
  color: #12110F;
  font-family: 'Tajawal', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 8px 16px;
  border-radius: 20px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  position: relative;
  z-index: 2;
}
.blog-page .card-products-btn:hover {
  background: #12110F;
  color: #fff;
  border-color: #12110F;
}
.blog-page .featured-body .card-products-btn {
  margin-top: 16px;
  color: #000000;
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.12);
}
.blog-page .featured-body .card-products-btn:hover {
  background: #fff;
  color: #12110F;
}
.blog-page .avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--caramel), var(--sage));
}

.blog-page .shorts-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 26px;
  flex-wrap: wrap;
  gap: 12px;
}
.blog-page .shorts-head h2 {
  font-family: 'Amiri', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: #000000;
  display: flex;
  align-items: center;
  gap: 12px;
}
.blog-page .shorts-head h2 .live {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--caramel-deep);
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(169, 98, 44, 0.5);
  animation: blog-pulse 2s infinite;
}
@keyframes blog-pulse {
  0% { box-shadow: 0 0 0 0 rgba(169, 98, 44, 0.5); }
  70% { box-shadow: 0 0 0 12px rgba(169, 98, 44, 0); }
  100% { box-shadow: 0 0 0 0 rgba(169, 98, 44, 0); }
}
.blog-page .shorts-head .sub { color: #000000; font-size: 0.95rem; }
.blog-page .shorts-head .blog-admin-btn-primary {
  flex-shrink: 0;
  align-self: flex-end;
}
.blog-page .shorts-head a {
  color: #000000;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid var(--caramel);
  padding-bottom: 2px;
}
.blog-page .shorts-rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 24px;
}
.blog-page .shorts-rail .short {
  flex: unset;
  width: auto;
  height: auto;
  aspect-ratio: 200 / 340;
  scroll-snap-align: unset;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  box-shadow: 0 16px 30px -20px rgba(43, 26, 18, 0.6);
  transition: transform 0.35s;
}
.blog-page .short:hover { transform: translateY(-6px) scale(1.015); }
.blog-page .short::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(28, 18, 12, 0.85));
}
.blog-page .sh-1 { background: radial-gradient(circle at 40% 30%, #7a4a2c, #241208); }
.blog-page .sh-2 { background: radial-gradient(circle at 60% 40%, #8a6f3a, #2b1a12); }
.blog-page .sh-3 { background: radial-gradient(circle at 30% 50%, #6f7256, #2a2c1c); }
.blog-page .sh-4 { background: radial-gradient(circle at 50% 30%, #a9622c, #3d1c0c); }
.blog-page .sh-5 { background: radial-gradient(circle at 40% 40%, #5a3826, #1c1008); }
.blog-page .short .play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(244, 235, 222, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  transition: transform 0.25s, background 0.25s;
}
.blog-page .short:hover .play {
  transform: translate(-50%, -50%) scale(1.12);
  background: var(--caramel);
}
.blog-page .short .play::before {
  content: "";
  border-style: solid;
  border-width: 9px 0 9px 14px;
  border-color: transparent transparent transparent var(--espresso);
  margin-right: -3px;
}
.blog-page .short .dur {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(28, 18, 12, 0.7);
  color: #000000;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 14px;
  z-index: 3;
}
.blog-page .short .sh-cat {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--caramel);
  color: #000000;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 14px;
  z-index: 3;
}
.blog-page .short .sh-info {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  padding: 16px;
  z-index: 3;
  color: var(--cream);
}
.blog-page .short .sh-info h4 {
  font-family: 'Tajawal', sans-serif;
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.4;
  margin-bottom: 4px;
}
.blog-page .short .sh-card-desc {
  font-size: 0.82rem;
  color: rgba(244, 235, 222, 0.85);
  margin-bottom: 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 1.4;
}
.blog-page .short .sh-info .views {
  font-size: 0.76rem;
  opacity: 0.85;
  display: flex;
  align-items: center;
  gap: 5px;
}
.blog-page .short .sh-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  pointer-events: none;
}
.blog-page .short .sh-thumb-video {
  background: #1c1008;
}

.blog-page .short-video-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.blog-page .short-video-modal.hidden {
  display: none;
}
.blog-page .short-video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(28, 18, 12, 0.82);
}
.blog-page .short-video-modal-content {
  position: relative;
  z-index: 1;
  width: min(92vw, 420px);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  background: #1c1008;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
}
.blog-page .short-video-modal-close {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(244, 235, 222, 0.92);
  color: #000000;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}
.blog-page .short-video-modal-content video {
  display: block;
  width: 100%;
  max-height: 70vh;
  background: #000;
}
.blog-page .short-video-modal-meta {
  flex-shrink: 0;
  padding: 12px 16px 16px;
  background: var(--color-bg);
  border-top: 1px solid var(--line);
}
.blog-page .short-video-modal-title {
  margin: 0 0 8px;
  font-size: 1.15rem;
  font-weight: 700;
  color: #000000;
  font-family: 'Amiri', serif;
}
.blog-page .short-video-desc-wrap.hidden {
  display: none;
}
.blog-page .short-video-desc-wrap {
  margin-bottom: 10px;
}
.blog-page .short-video-desc-wrap {
  position: relative;
  margin-bottom: 10px;
}
.blog-page .short-video-desc-scroll {
  max-height: 2.25em; /* 1.5 lines */
  overflow: hidden;
  transition: max-height 0.35s ease;
  padding: 0;
}
.blog-page .short-video-desc-scroll.expanded {
  max-height: min(38vh, calc(90vh - 240px));
  overflow-y: auto;
}
.blog-page .short-video-desc-text {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: #000000;
  white-space: pre-wrap;
}
.blog-page .short-video-desc-more {
  display: inline-block;
  position: absolute;
  bottom: 0;
  left: 0;
  background: #ECE6E1;
  color: #000000;
  border: none;
  cursor: pointer;
  padding: 0 4px;
  font-size: 1.2rem;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 2px;
  box-shadow: -8px 0 10px 4px #ECE6E1;
  z-index: 2;
}
.blog-page .short-video-desc-more.hidden {
  display: none;
}
.blog-page .short-video-desc-more.hidden {
  display: none;
}
.blog-page .short-video-play-toggle {
  border: 1px solid #12110F;
  background: transparent;
  color: #12110F;
  border-radius: 8px;
  padding: 6px 14px;
  font-family: inherit;
  font-size: 0.88rem;
  cursor: pointer;
}
.blog-page .short-video-play-toggle:hover {
  background: rgba(18, 17, 15, 0.05);
}

.blog-page .gallery-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 26px;
  flex-wrap: wrap;
  gap: 12px;
}
.blog-page .gallery-head h2 {
  font-family: 'Amiri', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: #000000;
}
.blog-page .gallery-head .sub { color: #000000; font-size: 0.95rem; }
.blog-page .gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 24px;
}
.blog-page .gallery-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  cursor: pointer;
  box-shadow: 0 14px 28px -18px rgba(43, 26, 18, 0.55);
  transition: transform 0.35s;
  background: radial-gradient(circle at 40% 30%, #7a4a2c, #241208);
}
.blog-page .gallery-card:hover { transform: translateY(-5px) scale(1.02); }
.blog-page .gallery-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.blog-page .gallery-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(28, 18, 12, 0.88));
  pointer-events: none;
}
.blog-page .gallery-cat {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--caramel);
  color: #000000;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 12px;
  z-index: 2;
}
.blog-page .gallery-card-info {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  padding: 14px;
  z-index: 2;
  color: var(--cream);
}
.blog-page .gallery-card-info h4 {
  font-family: 'Tajawal', sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1.35;
  margin: 0;
}
.blog-page .blog-gallery-admin-controls {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 4;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.blog-page .blog-paused-badge--gallery { top: 36px; right: 10px; }

.blog-page .blog-show-more-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 70px;
}
.blog-page .blog-show-more-wrap.hidden {
  display: none;
}
.blog-page .blog-show-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  border: none;
  background: none;
  color: var(--color-brown-500, #888);
  cursor: pointer;
  line-height: 0;
  transition: color 0.2s ease;
}
.blog-page .blog-show-more:hover {
  color: var(--color-brown-700, #666);
}
.blog-page .blog-show-more:disabled {
  opacity: 0.5;
  cursor: default;
}
.blog-page .blog-show-more-icon {
  width: 24px;
  height: 24px;
}

.blog-page .gallery-detail-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.blog-page .gallery-detail-modal.hidden { display: none; }
.blog-page .gallery-detail-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(28, 18, 12, 0.85);
}
.blog-page .gallery-detail-modal-content {
  position: relative;
  z-index: 1;
  width: min(94vw, 560px);
  max-height: 92vh;
  overflow: hidden;
  background: var(--cream);
  border-radius: 20px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
}
.blog-page .gallery-detail-modal-close {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(244, 235, 222, 0.95);
  color: #000000;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}
.blog-page .gallery-detail-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(244, 235, 222, 0.92);
  color: #000000;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}
.blog-page .gallery-detail-prev { right: 10px; }
.blog-page .gallery-detail-next { left: 10px; }
.blog-page .gallery-detail-image-wrap {
  background: #1c1008;
  flex-shrink: 0;
  max-height: min(220px, 32vh);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 20px 20px 0 0;
}
.blog-page .gallery-detail-image-wrap img {
  display: block;
  width: 100%;
  max-height: min(220px, 32vh);
  object-fit: cover;
}
.blog-page .gallery-detail-body {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 0;
  text-align: right;
}
.blog-page .gallery-detail-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 20px 22px 12px;
  -webkit-overflow-scrolling: touch;
}
.blog-page .gallery-detail-category {
  display: inline-block;
  background: var(--caramel);
  color: #000000;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 12px;
  margin-bottom: 10px;
}
.blog-page .gallery-detail-body h3 {
  font-family: 'Amiri', serif;
  font-size: 1.45rem;
  color: #000000;
  margin: 0 0 8px;
}
.blog-page .gallery-detail-date {
  font-size: 0.82rem;
  color: #000000;
  margin: 0 0 12px;
}
.blog-page .gallery-detail-description {
  font-size: 0.95rem;
  line-height: 1.65;
  color: #000000;
  margin: 0 0 8px;
  white-space: pre-wrap;
}
.blog-page .gallery-detail-body .coffee-details-grid {
  margin-bottom: 14px;
}
.blog-page .gallery-detail-body .detail-description-wrap {
  margin-bottom: 14px;
}
.blog-page .gallery-detail-body .detail-section-title {
  color: #000000;
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 6px;
}
.blog-page .gallery-detail-shop.hidden { display: none; }
.blog-page .gallery-detail-shop {
  flex-shrink: 0;
  width: calc(100% - 44px);
  margin: 0 22px 20px;
  border: none;
  cursor: pointer;
}

.blog-page .newsletter {
  background: var(--paper);
  color: #000000;
  border-radius: 28px;
  padding: 64px 6vw;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-bottom: 70px;
}
.blog-page .newsletter::before,
.blog-page .newsletter::after {
  content: "☕";
  position: absolute;
  font-size: 8rem;
  opacity: 0.06;
}
.blog-page .newsletter::before { top: -10px; right: 6%; }
.blog-page .newsletter::after { bottom: -26px; left: 6%; transform: rotate(15deg); }
.blog-page .newsletter .eyebrow { color: var(--caramel); }
.blog-page .newsletter h2 {
  font-family: 'Amiri', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 12px;
}
.blog-page .newsletter p { color: #000000; max-width: 480px; margin: 0 auto 30px; }
.blog-page .sub-form {
  display: flex;
  gap: 10px;
  max-width: 480px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.blog-page .sub-form input {
  flex: 1;
  padding: 15px 22px;
  border-radius: 40px;
  border: none;
  font-family: 'Tajawal', sans-serif;
  font-size: 1rem;
  background: var(--cream);
  color: var(--ink);
}
.blog-page .sub-form input:focus { outline: 2px solid var(--caramel); }
.blog-page .sub-form button {
  background: #12110F;
  color: #fff;
  border: none;
  padding: 15px 28px;
  border-radius: 40px;
  font-family: 'Tajawal', sans-serif;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.25s, transform 0.2s;
}
.blog-page .sub-form button:hover { background: #2b2825; transform: translateY(-2px); }

.blog-page .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.blog-page .reveal.in { opacity: 1; transform: none; }

/* Admin controls on the same layout as the customer blog */
.blog-admin-mode-bar {
  background: #d4a373;
  color: #1a1a1a;
  text-align: center;
  padding: 8px 10px;
  font-size: 0.85rem;
  font-weight: 700;
  width: fit-content;
  margin: -10px auto 16px;
  border-radius: 0 0 12px 12px;
}
.blog-page .blog-admin-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 28px;
}
.blog-page .blog-admin-btn-primary {
  background: var(--paper);
  color: #000000;
  border: none;
  padding: 11px 22px;
  border-radius: 40px;
  font-family: 'Tajawal', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.25s, transform 0.2s;
}
.blog-page .blog-admin-btn-primary:hover {
  background: var(--caramel-deep);
  transform: translateY(-2px);
}
.blog-page .blog-admin-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.blog-page .featured-body .blog-admin-controls {
  border-top-color: rgba(244, 235, 222, 0.2);
}
.blog-page .blog-admin-controls--newsletter {
  justify-content: center;
  border-top: none;
  padding-top: 8px;
  margin-top: 22px;
  position: relative;
  z-index: 2;
}
.blog-page .blog-admin-btn-ctrl {
  border: 1px solid var(--line);
  background: var(--paper);
  color: #000000;
  border-radius: 30px;
  padding: 6px 14px;
  font-family: 'Tajawal', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}
.blog-page .featured-body .blog-admin-btn-ctrl {
  background: rgba(251, 246, 238, 0.12);
  border-color: rgba(244, 235, 222, 0.35);
  color: #000000;
}
.blog-page .featured-body .blog-admin-btn-ctrl:hover {
  background: var(--caramel);
  color: #000000;
  border-color: var(--caramel);
}
.blog-page .newsletter .blog-admin-btn-ctrl {
  background: rgba(251, 246, 238, 0.12);
  border-color: rgba(244, 235, 222, 0.35);
  color: #000000;
}
.blog-page .newsletter .blog-admin-btn-ctrl:hover {
  background: var(--caramel);
  color: #000000;
}
.blog-page .blog-admin-btn-ctrl:hover {
  border-color: var(--caramel);
  color: #000000;
}
.blog-page .blog-admin-btn-danger {
  color: #b94a48;
  border-color: #f1c7c5;
}
.blog-page .blog-admin-btn-danger:hover {
  background: #b94a48;
  color: #fff;
  border-color: #b94a48;
}
.blog-page .blog-paused-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(251, 246, 238, 0.95);
  color: #000000;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  z-index: 4;
}
.blog-page .blog-paused-badge--short {
  top: auto;
  bottom: 52px;
  left: 12px;
  right: auto;
}
.blog-page .blog-paused-badge--newsletter {
  position: relative;
  display: inline-block;
  top: auto;
  left: auto;
  margin-bottom: 12px;
  background: rgba(244, 235, 222, 0.2);
  color: #000000;
}
.blog-page .card.paused .card-img,
.blog-page .featured.paused .featured-img {
  filter: blur(6px) grayscale(45%);
  opacity: 0.78;
}
.blog-page .short.paused {
  filter: grayscale(40%);
  opacity: 0.72;
}
.blog-page .newsletter.paused {
  opacity: 0.85;
}
.blog-page .blog-short-admin-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 4;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px 12px;
  background: linear-gradient(0deg, rgba(28, 18, 12, 0.92), transparent);
}
.blog-page .blog-short-admin-controls .blog-admin-btn-ctrl {
  background: rgba(251, 246, 238, 0.95);
  font-size: 0.72rem;
  padding: 4px 10px;
}
.blog-page .blog-empty-msg,
.blog-page .blog-admin-hint {
  text-align: center;
  color: #000000;
  padding: 24px 0;
}
.blog-page .blog-admin-hint {
  font-size: 0.95rem;
  margin-bottom: 20px;
}
.blog-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.blog-form-grid label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: #000000;
  font-size: 0.95rem;
}
.blog-form-grid input,
.blog-form-grid select,
.blog-form-grid textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #F2EDE8;
  border-radius: 12px;
  font-family: inherit;
  font-size: 1rem;
  background: #fff;
}
.blog-form-grid .full-width { grid-column: 1 / -1; }
.blog-form-edit-only.hidden { display: none; }
.blog-modal-hint { color: #000000; font-size: 0.85rem; margin: 6px 0 0; }
.blog-modal-actions {
  margin-top: 16px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
@media (max-width: 640px) {
  .blog-form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .blog-page .featured { grid-template-columns: 1fr; }
  .blog-page .grid { grid-template-columns: repeat(2, 1fr); }
  .blog-page .shorts-rail,
  .blog-page .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .blog-page .grid { grid-template-columns: 1fr; }
  .blog-page .sub-form { flex-direction: column; }
  .blog-page .featured-body { padding: 34px 26px; }
}

/* Inner article page */
.blog-page .featured[data-post-href] { cursor: pointer; }
.blog-article-page .article-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 28px 0 32px;
  color: #000000;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}
.blog-article-page .article-back:hover {
  color: #000000;
  border-bottom-color: var(--caramel);
}
.blog-article-page .article-full {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 80px;
  box-shadow: 0 24px 50px -30px rgba(43, 26, 18, 0.35);
}
.blog-article-page .article-hero {
  min-height: 320px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.blog-article-page .article-hero.has-photo::before { display: none; }
.blog-article-page .article-hero-ico { font-size: 5rem; opacity: 0.85; }
.blog-article-page .article-body { padding: 44px 48px 52px; }
.blog-article-page .article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  color: #000000;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 18px;
}
.blog-article-page .article-cat {
  background: rgba(192, 128, 67, 0.12);
  padding: 4px 14px;
  border-radius: 20px;
}
.blog-article-page .article-title {
  font-family: 'Amiri', serif;
  font-size: clamp(2rem, 5vw, 3rem);
  color: #000000;
  line-height: 1.25;
  margin: 0 0 20px;
}
.blog-article-page .article-author {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #000000;
  font-size: 0.95rem;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.blog-article-page .article-content {
  color: #000000;
  font-size: 1.08rem;
  line-height: 1.9;
  white-space: pre-wrap;
}
.blog-article-page .article-external-link {
  display: inline-flex;
  align-items: center;
  margin-top: 28px;
  padding: 12px 22px;
  background: var(--paper);
  color: #000000;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 12px;
  transition: background 0.2s;
}
.blog-article-page .article-external-link:hover {
  background: #2b2825;
}
.blog-article-page .article-products {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.blog-article-page .article-products-title {
  font-family: 'Amiri', serif;
  font-size: 1.6rem;
  color: #000000;
  margin: 0 0 20px;
}
.blog-article-page .article-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}
.blog-article-page .article-product-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.blog-article-page .article-product-img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
}
.blog-article-page .article-product-info {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 8px;
}
.blog-article-page .article-product-info h3 {
  font-size: 1rem;
  margin: 0;
  color: #000000;
  line-height: 1.4;
}
.blog-article-page .article-product-price {
  margin: 0;
  color: #000000;
  font-weight: 700;
  font-size: 0.95rem;
}
.blog-article-page .article-product-price-old {
  text-decoration: line-through;
  color: #000000;
  font-weight: 500;
  margin-left: 8px;
  font-size: 0.85rem;
}
.blog-article-page .article-product-buy {
  margin-top: auto;
  display: inline-block;
  text-align: center;
  background: var(--paper);
  color: #000000;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 10px 16px;
  border-radius: 10px;
  transition: background 0.2s;
}
.blog-article-page .article-product-buy:hover {
  background: #2b2825;
}
.blog-article-page .article-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin: 24px 0 32px;
  padding: 16px 18px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.blog-article-page .article-share-label {
  font-weight: 700;
  color: #000000;
  font-size: 0.9rem;
}
.blog-article-page .article-share-btn {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 20px;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid var(--line);
  background: var(--paper);
  color: #000000;
  transition: background 0.2s, border-color 0.2s;
}
.blog-article-page .article-share-btn:hover {
  background: #12110F;
  border-color: #12110F;
  color: #fff;
}
.blog-article-page .article-share-btn.hidden {
  display: none;
}
.blog-article-page .article-share-whatsapp:hover {
  background: #25d366;
  border-color: #25d366;
  color: #fff;
}
.blog-article-page .article-share-facebook:hover {
  background: #1877f2;
  border-color: #1877f2;
  color: #fff;
}
.blog-article-page .article-share-instagram:hover {
  background: #e1306c;
  border-color: #e1306c;
  color: #fff;
}
.blog-article-page .article-share-qr-toggle:hover,
.blog-article-page .article-share-qr-toggle[aria-expanded="true"] {
  background: var(--espresso);
  border-color: var(--espresso);
  color: #000000;
}
.blog-article-page .article-share-qr-panel {
  flex-basis: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding-top: 6px;
}
.blog-article-page .article-share-qr-panel.hidden {
  display: none;
}
.blog-article-page .article-share-qr {
  display: inline-flex;
  padding: 10px;
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 12px;
  line-height: 0;
}
.blog-article-page .article-share-qr img,
.blog-article-page .article-share-qr canvas {
  display: block;
  width: 180px;
  height: 180px;
}
.blog-article-page .article-share-qr-hint {
  margin: 0;
  color: #000000;
  font-size: 0.85rem;
}
.blog-article-page .article-related {
  margin-bottom: 80px;
}
.blog-article-page .article-related-title {
  font-family: 'Reem Kufi', sans-serif;
  font-size: 1.6rem;
  color: #000000;
  margin: 0 0 28px;
}
.blog-article-page .article-related-grid {
  margin-bottom: 0;
}
@media (max-width: 560px) {
  .blog-article-page .article-body { padding: 28px 22px 36px; }
  .blog-article-page .article-hero { min-height: 220px; }
  .blog-article-page .article-products-grid { grid-template-columns: 1fr; }
}

.blog-page .blog-submit-row {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 18px;
}

.blog-page .blog-article-submit-btn {
  background: transparent;
  color: #000000;
  border: 2px solid #000000;
  border-radius: 100px;
  padding: 10px 22px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.blog-page .blog-article-submit-btn:hover {
  background: var(--espresso-2);
  color: #fff;
}

.article-submission-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.hidden {
  display: none !important;
}

.article-submission-modal.hidden {
  display: none;
}

#article-submission-form-panel.hidden {
  display: none;
}

.article-submission-modal-content {
  background: #fff;
  border-radius: 24px;
  padding: 30px;
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  direction: rtl;
  text-align: right;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.article-submission-modal-close {
  position: absolute;
  top: 12px;
  inset-inline-end: 16px;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #000000;
  line-height: 1;
}

.article-submission-modal-content h2 {
  margin: 0 0 8px;
  color: #000000;
  font-size: 1.4rem;
}

.article-submission-lead {
  margin: 0 0 20px;
  color: #000000;
  font-size: 0.95rem;
}

.article-submission-hint {
  margin: -6px 0 14px;
  color: #000000;
  font-size: 0.82rem;
}

.article-submission-field {
  display: block;
  margin-bottom: 14px;
}

.article-submission-field span {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: #000000;
  font-size: 0.9rem;
}

.article-submission-field small {
  font-weight: 400;
  color: #000000;
}

.article-submission-field input,
.article-submission-field select,
.article-submission-field textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #F2EDE8;
  border-radius: 12px;
  padding: 10px 12px;
  font-family: inherit;
  font-size: 0.95rem;
}

.article-submission-error {
  color: #b42318;
  font-size: 0.9rem;
  margin: 0 0 12px;
}

.article-submission-error.hidden {
  display: none;
}

.article-submission-submit {
  width: 100%;
  background: #12110F;
  color: #fff;
  border: none;
  border-radius: 100px;
  padding: 12px 22px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease;
}

.article-submission-submit:hover:not(:disabled) {
  background: #2b2825;
}

.article-submission-submit:disabled {
  opacity: 0.7;
  cursor: wait;
}

.article-submission-success {
  text-align: center;
  padding: 20px 0;
}

.article-submission-success.hidden {
  display: none;
}

.article-submission-success-icon {
  font-size: 2.5rem;
  color: #2e7d32;
  margin: 0 0 12px;
}
