/* Blog archive, search, single — naqliatak-brand */
body.nq-blog #content,
body.nq-blog .site-content {
  background: #f4f8f9 !important;
}
body.nq-blog .site-content .ast-container {
  max-width: 1120px !important;
  width: calc(100% - 32px) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 20px 0 96px !important;
}
body.nq-blog.nq-blog-single .site-content .ast-container {
  max-width: 840px !important;
}

.nq-blog-head {
  background: #fff;
  border-radius: 18px;
  padding: 28px 24px 24px;
  margin-bottom: 22px;
  box-shadow: 0 1px 0 rgba(11, 44, 58, 0.04);
}
.nq-blog-head h1 {
  font-family: "IBM Plex Sans Arabic", Tahoma, sans-serif;
  font-weight: 800;
  color: #0b2c3a;
  font-size: 34px;
  line-height: 1.3;
  margin: 4px 0 10px;
}
.nq-blog-dek {
  color: #3d5662;
  font-size: 16px;
  line-height: 1.7;
  margin: 0 0 18px;
}

.nq-search-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.nq-search-row {
  display: flex;
  gap: 8px;
  align-items: stretch;
}
.nq-search-input {
  flex: 1;
  min-height: 48px;
  border: 1.5px solid #c7d8de;
  border-radius: 12px;
  padding: 10px 14px;
  font-family: "IBM Plex Sans Arabic", Tahoma, sans-serif;
  font-size: 16px;
  color: #0b2c3a;
  background: #fff;
}
.nq-search-input:focus {
  outline: none;
  border-color: #1aa7c4;
  box-shadow: 0 0 0 3px rgba(26, 167, 196, 0.18);
}
.nq-search-btn {
  min-width: 88px;
  border: 0;
  border-radius: 12px;
  background: #0b2c3a;
  color: #fff;
  font-weight: 700;
  font-family: "IBM Plex Sans Arabic", Tahoma, sans-serif;
  font-size: 15px;
  cursor: pointer;
  padding: 0 16px;
}
.nq-search-btn:hover {
  background: #134556;
}
.nq-search--single {
  margin-bottom: 14px;
}

.nq-blog-grid,
.nq-related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.nq-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  box-shadow: 0 1px 0 rgba(11, 44, 58, 0.05);
}
.nq-card-media {
  display: block;
  aspect-ratio: 1200 / 630;
  background: #0b2c3a;
  overflow: hidden;
}
.nq-card-img,
.nq-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.nq-card-fallback {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0b2c3a, #1aa7c4 55%, #f06a12);
}
.nq-card-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.nq-card-meta,
.nq-single-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  color: #5a7380;
  font-size: 13px;
  margin: 0;
}
.nq-card-cat {
  color: #0b6f82;
  font-weight: 700;
}
.nq-card-title {
  font-family: "IBM Plex Sans Arabic", Tahoma, sans-serif;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.4;
  margin: 0;
}
.nq-card-title a {
  color: #0b2c3a;
  text-decoration: none;
}
.nq-card-title a:hover {
  color: #0b6f82;
}
.nq-card-excerpt {
  color: #3d5662;
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
}
.nq-card-more {
  margin-top: auto;
  color: #f06a12;
  font-weight: 700;
  text-decoration: none;
  font-size: 14px;
}
.nq-card-more:hover {
  text-decoration: underline;
}

.nq-blog-empty {
  background: #fff;
  border-radius: 16px;
  padding: 28px 22px;
  color: #3d5662;
}
.nq-blog-pager {
  margin-top: 22px;
}
.nq-blog-pager .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.nq-blog-pager .page-numbers {
  background: #fff;
  color: #0b2c3a;
  border-radius: 10px;
  padding: 8px 12px;
  text-decoration: none;
  font-weight: 700;
}
.nq-blog-pager .page-numbers.current {
  background: #0b2c3a;
  color: #fff;
}

.nq-single {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(11, 44, 58, 0.04);
}
.nq-hero {
  margin: 0;
  aspect-ratio: 1200 / 630;
  background: #0b2c3a;
}
.nq-single-inner {
  padding: 22px 24px 36px;
  max-width: 760px;
  margin: 0 auto;
}
.nq-single-content {
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.nq-single-content .nq-article h1 {
  margin-top: 8px;
}
body.nq-blog .nq-article {
  font-size: 17.5px;
  line-height: 1.9;
  color: #123041;
}

.nq-article-cta {
  background: #0b2c3a;
  color: #e8f4f6;
  border-radius: 14px;
  padding: 20px 22px;
  margin: 28px 0 8px;
}
.nq-article-cta-lead {
  margin: 0 0 14px;
}
.nq-article-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.nq-article-cta .nq-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  height: 48px;
  box-sizing: border-box;
  background: #f06a12;
  color: #fff !important;
  text-decoration: none;
  border-radius: 12px;
  padding: 0 16px;
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  text-align: center;
}
.nq-article-cta .nq-btn-wa {
  background: #128c7e;
}
.nq-article-cta .nq-btn-call {
  background: #34c759;
}
.nq-article-cta-phone {
  margin: 8px 0 0;
  text-align: center;
  font-size: 13px;
  line-height: 1.4;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}
.nq-article-cta-phone a {
  color: #b7c9d0 !important;
  text-decoration: none;
}

.nq-related-block {
  margin-top: 36px;
  padding-top: 8px;
}
.nq-related-block > h2 {
  font-family: "IBM Plex Sans Arabic", Tahoma, sans-serif;
  font-weight: 800;
  color: #0b2c3a;
  font-size: 22px;
  margin: 0 0 14px;
}
.nq-related-grid {
  grid-template-columns: 1fr;
}
.nq-related-grid .nq-card-title {
  font-size: 17px;
}

@media (min-width: 800px) {
  .nq-related-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .nq-related-grid .nq-card-excerpt {
    display: none;
  }
}

@media (max-width: 720px) {
  .nq-blog-grid {
    grid-template-columns: 1fr;
  }
  .nq-blog-head h1 {
    font-size: 26px;
  }
  .nq-single-inner {
    padding: 16px 16px 88px;
  }
  .nq-search-row {
    flex-direction: column;
  }
  .nq-search-btn {
    min-height: 46px;
  }
}

@media (max-width: 980px) {
  body.nq-blog .site-content .ast-container {
    padding-bottom: 128px !important;
  }
}
