/* ==============================================
   KAZJOL — Blog styles
   ============================================== */

/* ===== Blog listing ===== */
.blog-hero {
  padding: 130px 0 50px;
  background: linear-gradient(135deg, #0a1f2c 0%, #1a3548 100%);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.blog-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(0, 175, 222, 0.18) 0, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(0, 140, 179, 0.20) 0, transparent 40%);
  pointer-events: none;
}
.blog-hero .container { position: relative; z-index: 1; }
.blog-hero h1 {
  font-size: 42px;
  font-weight: 700;
  margin: 0 0 14px;
  letter-spacing: -0.5px;
}
.blog-hero p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 auto;
  max-width: 620px;
}

@media (max-width: 991.98px) {
  .blog-hero { padding: 140px 0 40px !important; }
  .blog-hero h1 { font-size: 28px; }
  .blog-hero p { font-size: 15px; }
  .blog-hero .article-breadcrumbs {
    color: #fff !important;
    opacity: 1 !important;
    font-size: 14px !important;
    margin-bottom: 14px !important;
    justify-content: center;
  }
  .blog-hero .article-breadcrumbs a {
    color: #fff !important;
    text-decoration: underline;
  }
}

/* ===== Article grid ===== */
.blog-list {
  padding: 60px 0 100px;
  background: var(--bg-soft, #f5f9fc);
}
.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
  margin-top: 20px;
}
.article-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e5eaf0;
  box-shadow: 0 2px 8px rgba(10, 31, 44, 0.06);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  display: flex;
  flex-direction: column;
}
.article-card:hover {
  transform: translateY(-6px);
  border-color: #00afde;
  box-shadow: 0 14px 32px rgba(10, 31, 44, 0.12);
}
.article-card-image {
  display: block;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #00afde 0%, #006e91 100%);
  position: relative;
  overflow: hidden;
}
.article-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.article-card:hover .article-card-image img { transform: scale(1.06); }

.article-card-body {
  padding: 24px 22px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.article-card-meta {
  font-size: 13px;
  color: #6b7785;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}
.article-card h2 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  color: #0a1f2c;
  margin: 0 0 12px;
}
.article-card h2 a {
  color: inherit;
  text-decoration: none;
}
.article-card h2 a:hover { color: #006e91; }
.article-card-excerpt {
  font-size: 14.5px;
  color: #2c3e50;
  line-height: 1.6;
  margin: 0 0 16px;
  flex: 1;
}
.article-card-readmore {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #006e91;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: gap .2s;
  margin-top: auto;
}
.article-card-readmore:hover { gap: 10px; }
.article-card-readmore::after { content: "→"; }

/* ===== Article page ===== */
.article-hero {
  padding: 110px 0 30px;
  background: linear-gradient(135deg, #0a1f2c 0%, #1a3548 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.article-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 30%, rgba(0, 175, 222, 0.18) 0, transparent 40%);
  pointer-events: none;
}
.article-hero .container { position: relative; z-index: 1; max-width: 820px; }
.article-breadcrumbs {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 18px;
}
.article-breadcrumbs a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.3);
}
.article-breadcrumbs a:hover { color: #00afde; border-color: #00afde; }
.article-breadcrumbs span.sep { padding: 0 8px; color: rgba(255, 255, 255, 0.4); }

.article-hero h1 {
  font-size: 38px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 18px;
  letter-spacing: -0.3px;
}
.article-meta {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 24px;
}
.article-meta span { display: inline-flex; align-items: center; gap: 6px; }

.article-content {
  background: #fff;
  padding: 50px 0 80px;
}
.article-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 20px;
  font-size: 17px;
  line-height: 1.75;
  color: #2c3e50;
}
.article-body h2 {
  font-size: 26px;
  font-weight: 700;
  color: #0a1f2c;
  margin: 40px 0 14px;
  line-height: 1.3;
  padding-bottom: 10px;
  border-bottom: 2px solid #e5eaf0;
}
.article-body h3 {
  font-size: 20px;
  font-weight: 700;
  color: #0a1f2c;
  margin: 30px 0 12px;
}
.article-body p { margin: 0 0 18px; }
.article-body ul, .article-body ol {
  margin: 0 0 20px;
  padding-left: 24px;
}
.article-body li { margin-bottom: 8px; }
.article-body strong { color: #0a1f2c; }
.article-body blockquote {
  border-left: 4px solid #00afde;
  background: #f5f9fc;
  margin: 24px 0;
  padding: 18px 22px;
  font-style: italic;
  color: #0a1f2c;
  border-radius: 0 12px 12px 0;
}
.article-body a {
  color: #006e91;
  text-decoration: underline;
  text-decoration-color: rgba(0, 175, 222, 0.4);
  text-underline-offset: 3px;
}
.article-body a:hover { text-decoration-color: #00afde; }

.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 22px 0;
  font-size: 15px;
}
.article-body table th {
  background: #00afde;
  color: #fff;
  padding: 12px 14px;
  text-align: left;
  font-weight: 600;
}
.article-body table td {
  padding: 12px 14px;
  border-bottom: 1px solid #e5eaf0;
}
.article-body table tr:nth-child(even) td { background: #f5f9fc; }

.article-cta {
  margin-top: 50px;
  padding: 36px 28px;
  background: linear-gradient(135deg, #00afde 0%, #006e91 100%);
  border-radius: 16px;
  color: #fff;
  text-align: center;
  box-shadow: 0 14px 32px rgba(0, 175, 222, 0.25);
}
.article-cta h3 {
  color: #fff;
  font-size: 22px;
  margin: 0 0 10px;
  font-weight: 700;
}
.article-cta p {
  color: rgba(255, 255, 255, 0.92);
  margin: 0 0 22px;
  font-size: 16px;
}
.article-cta-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.article-cta a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  font-size: 15px;
  transition: transform .2s, background .2s;
}
.article-cta-primary {
  background: #fff;
  color: #006e91 !important;
}
.article-cta-primary:hover { transform: translateY(-2px); background: #f5f9fc; }
.article-cta-wa {
  background: #168c3d;
  color: #fff !important;
}
.article-cta-wa:hover { transform: translateY(-2px); background: #0f6b2d; }

.article-related {
  background: #f5f9fc;
  padding: 50px 0 70px;
}
.article-related h2 {
  font-size: 24px;
  font-weight: 700;
  color: #0a1f2c;
  text-align: center;
  margin: 0 0 30px;
}

@media (max-width: 991.98px) {
  .article-hero { padding: 130px 0 24px !important; }
  .article-hero .article-breadcrumbs {
    color: #fff !important;
    opacity: 1 !important;
    font-size: 14px !important;
  }
  .article-hero .article-breadcrumbs a {
    color: #fff !important;
    text-decoration: underline;
  }
  .article-hero h1 { font-size: 26px; }
  .article-content { padding: 35px 0 60px; }
  .article-body { font-size: 16px; }
  .article-body h2 { font-size: 22px; margin: 30px 0 12px; }
  .article-body h3 { font-size: 18px; }
  .article-cta { padding: 28px 20px; }
  .article-cta h3 { font-size: 19px; }
}
