/* =====================================================================
   Bluezone blog: listing + article page
   ===================================================================== */

.bzb {
  --bzb-blue: #0c5adb;
  --bzb-ink: #0f1b33;
  --bzb-text: #3a4658;
  --bzb-muted: #6b7689;
  --bzb-line: #e6eaf1;
  --bzb-soft: #f5f7fb;
  font-family: "Cairo", "Nunito Sans", system-ui, sans-serif;
}

.bzb a {
  text-transform: none;
}

/* ---------------------------------------------------------------- header */
.bzb-head {
  padding: 64px 0 40px;
  background: var(--bzb-soft);
  border-bottom: 1px solid var(--bzb-line);
}

.bzb-crumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 14px;
  color: var(--bzb-muted);
}

.bzb-crumbs a {
  color: var(--bzb-muted);
  text-decoration: none;
}

.bzb-crumbs a:hover {
  color: var(--bzb-blue);
}

[dir="rtl"] .bzb-crumbs .fa-angle-right {
  transform: scaleX(-1);
}

.bzb-head h1 {
  margin: 0;
  font-size: clamp(30px, 3.4vw, 42px);
  font-weight: 800;
  line-height: 1.35;
  color: var(--bzb-ink);
}

.bzb-head-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.bzb-head p {
  margin: 10px 0 0;
  max-width: 620px;
  font-size: 17px;
  line-height: 1.9;
  color: var(--bzb-muted);
  background: none;
}

.bzb-search {
  position: relative;
  width: 320px;
  max-width: 100%;
}

.bzb-search i {
  position: absolute;
  top: 50%;
  inset-inline-start: 16px;
  transform: translateY(-50%);
  color: #98a2b3;
}

.bzb .bzb-search input {
  width: 100%;
  height: 48px;
  margin: 0;
  padding: 0 16px;
  padding-inline-start: 44px;
  border-radius: 12px;
  border: 1.5px solid var(--bzb-line);
  background: #fff;
  font-size: 15px;
  color: var(--bzb-ink);
  outline: none;
}

.bzb .bzb-search input:focus {
  border-color: var(--bzb-blue);
  box-shadow: 0 0 0 3px rgba(12, 90, 219, 0.12);
}

/* ---------------------------------------------------------------- listing */
.bzb-list {
  padding: 48px 0 90px;
  background: #fff;
}

.bzb-featured {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: 40px;
  margin-bottom: 56px;
  color: inherit;
  text-decoration: none;
}

.bzb-featured:hover {
  color: inherit;
}

.bzb-thumb {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border-radius: 16px;
  background: var(--bzb-soft);
}

.bzb-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.bzb-featured:hover .bzb-thumb img,
.bzb-card:hover .bzb-thumb img {
  transform: scale(1.03);
}

.bzb-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  font-size: 14px;
  color: var(--bzb-muted);
}

.bzb-meta i {
  margin-inline-end: 4px;
  color: #a3adbd;
}

.bzb-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 6px;
  background: rgba(12, 90, 219, 0.08);
  color: var(--bzb-blue);
  font-weight: 700;
  font-size: 13px;
}

.bzb-featured h2 {
  margin: 14px 0 0;
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 800;
  line-height: 1.45;
  color: var(--bzb-ink);
}

.bzb-featured p {
  margin: 14px 0 0;
  font-size: 16.5px;
  line-height: 2;
  color: var(--bzb-text);
  background: none;
}

.bzb-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-size: 15px;
  font-weight: 700;
  color: var(--bzb-blue);
}

[dir="rtl"] .bzb-more .fa-arrow-right {
  transform: scaleX(-1);
}

.bzb-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--bzb-line);
  font-size: 20px;
  font-weight: 800;
  color: var(--bzb-ink);
}

.bzb-section-title span {
  font-size: 14px;
  font-weight: 600;
  color: var(--bzb-muted);
}

.bzb-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 64px 44px;
}

.bzb-card {
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}

.bzb-card:hover {
  color: inherit;
}

.bzb-card .bzb-meta {
  margin-top: 16px;
}

.bzb-card h3 {
  margin: 10px 0 0;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--bzb-ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s ease;
}

.bzb-card:hover h3 {
  color: var(--bzb-blue);
}

.bzb-card p {
  margin: 8px 0 0;
  font-size: 15px;
  line-height: 1.9;
  color: var(--bzb-muted);
  background: none;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bzb-by {
  display: block;
  margin-top: 12px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--bzb-blue);
}

.bzb-head-by {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 15px;
  font-weight: 700;
  color: var(--bzb-ink);
}

.bzb-author {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 40px;
  padding: 20px 22px;
  border-radius: 16px;
  border: 1px solid var(--bzb-line);
}

.bzb-author img {
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: contain;
}

.bzb-author strong {
  display: block;
  font-size: 17px;
  font-weight: 800;
  color: var(--bzb-ink);
}

.bzb-author span {
  font-size: 14.5px;
  color: var(--bzb-muted);
}

.bzb-empty {
  display: none;
  padding: 40px 0;
  text-align: center;
  color: var(--bzb-muted);
}

/* ---------------------------------------------------------------- article */
.bzb-article {
  padding: 48px 0 40px;
  background: #fff;
}

.bzb-article-wrap {
  max-width: 820px;
  margin: 0 auto;
}

.bzb-article-wrap > .bzb-thumb {
  margin-bottom: 32px;
}

.bzb-body {
  font-size: 17px;
  line-height: 2.05;
  color: var(--bzb-text);
  text-align: start;
}

.bzb-body p {
  margin: 0 0 16px;
  font-size: 17px;
  line-height: 2.05;
  color: var(--bzb-text);
  background: none;
}

.bzb-body h2,
.bzb-body h3,
.bzb-body h4 {
  margin: 34px 0 12px;
  font-weight: 800;
  line-height: 1.5;
  color: var(--bzb-ink);
}

.bzb-body h2 { font-size: 26px; }
.bzb-body h3 { font-size: 22px; }
.bzb-body h4 { font-size: 19px; }

.bzb-body ul,
.bzb-body ol {
  margin: 0 0 16px;
  padding-inline-start: 22px;
}

.bzb-body ul { list-style: disc; }
.bzb-body ol { list-style: decimal; }

.bzb-body li {
  margin-bottom: 6px;
}

.bzb-body img {
  max-width: 100%;
  height: auto;
  border-radius: 14px;
}

.bzb-body a {
  color: var(--bzb-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.bzb-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--bzb-line);
}

.bzb-share > span {
  font-weight: 700;
  color: var(--bzb-ink);
  margin-inline-end: 6px;
}

.bzb-share a,
.bzb-share button {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--bzb-line);
  background: #fff;
  color: var(--bzb-ink);
  font-size: 16px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.bzb-share a:hover,
.bzb-share button:hover {
  background: var(--bzb-blue);
  border-color: var(--bzb-blue);
  color: #fff;
}

.bzb-share button.is-copied {
  background: #22c55e;
  border-color: #22c55e;
  color: #fff;
}

.bzb-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 36px;
  padding: 28px 30px;
  border-radius: 18px;
  background: var(--bzb-soft);
}

.bzb-cta strong {
  display: block;
  font-size: 20px;
  font-weight: 800;
  color: var(--bzb-ink);
}

.bzb-cta span {
  font-size: 15px;
  color: var(--bzb-muted);
}

.bzb-cta a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 22px;
  border-radius: 12px;
  background: var(--bzb-blue);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.bzb-cta a:hover {
  background: #0a47ad;
  color: #fff;
}

.bzb-related {
  padding: 56px 0 90px;
  background: var(--bzb-soft);
}

/* ------------------------------------------------------------- responsive */
@media (max-width: 991px) {
  .bzb-featured {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .bzb-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .bzb-head {
    padding: 40px 0 28px;
  }

  .bzb-search {
    width: 100%;
  }

  .bzb-list {
    padding: 32px 0 60px;
  }

  .bzb-featured {
    margin-bottom: 40px;
  }

  .bzb-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .bzb-body,
  .bzb-body p {
    font-size: 16px;
  }

  .bzb-cta {
    padding: 22px 20px;
  }

  .bzb-cta a {
    width: 100%;
    justify-content: center;
  }
}
