/* Gutech Blog Standalone Stylesheet */
.gu-blog-hero {
  background: linear-gradient(120deg, #f0f5ff, #f7f9fe);
  border: 1px solid #e4ecfb;
  border-radius: 18px;
  padding: 28px 30px;
  margin-bottom: 24px;
}

.gu-blog-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #3166ba;
  text-transform: uppercase;
}

.gu-blog-eyebrow > span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2463eb;
}

.gu-blog-hero h1 {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.9px;
  color: #14283f;
  margin: 10px 0 8px;
}

.gu-blog-hero p {
  font-size: 13px;
  color: #64748b;
  margin: 0 0 18px;
  max-width: 620px;
  line-height: 1.7;
}

.gu-blog-search {
  display: flex;
  gap: 8px;
  max-width: 520px;
}

.gu-blog-search .form-control {
  height: 42px;
  border: 1px solid #dce4f0;
  border-radius: 10px;
  font-size: 13px;
}

.gu-blog-search .btn {
  height: 42px;
  padding: 0 18px;
  border-radius: 10px;
  background: #2463eb;
  border-color: #2463eb;
  white-space: nowrap;
}

.gu-blog-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.gu-blog-pill {
  padding: 6px 14px;
  border-radius: 99px;
  border: 1px solid #dce4f0;
  background: #ffffff;
  font-size: 12px;
  font-weight: 600;
  color: #475569;
  text-decoration: none;
}

.gu-blog-pill:hover {
  border-color: #9ab8f5;
  color: #2463eb;
  background: #f0f5ff;
}

.gu-blog-pill.active {
  background: #2463eb;
  border-color: #2463eb;
  color: #ffffff;
}

.gu-blog-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin: 24px 0 16px;
}

.gu-blog-head h2 {
  font-size: 24px;
  font-weight: 700;
  color: #182c46;
  margin: 6px 0 0;
}

.gu-blog-head a {
  font-size: 12px;
  font-weight: 600;
  color: #2463eb;
  text-decoration: none;
}

.gu-blog-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.gu-blog-card {
  background: #ffffff;
  border: 1px solid #e5ebf3;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.gu-blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(24, 38, 55, 0.08);
  border-color: #cdddf9;
}

.gu-blog-card-img {
  display: block;
  height: 155px;
  background: #f6f8fb;
  overflow: hidden;
  border-bottom: 1px solid #eef2f7;
}

.gu-blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gu-blog-card-body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.gu-blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 11px;
  color: #7a8ba3;
  margin-bottom: 8px;
}

.gu-blog-meta i {
  color: #2463eb;
  margin-right: 4px;
}

.gu-blog-card-body h3 {
  font-size: 13.5px !important;
  font-weight: 600 !important;
  line-height: 1.45;
  margin: 0 0 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gu-blog-card-body h3 a {
  color: #182c46;
  text-decoration: none;
}

.gu-blog-card-body h3 a:hover {
  color: #2463eb;
}

.gu-blog-excerpt {
  font-size: 12px;
  line-height: 1.5;
  color: #64748b;
  margin: 0 0 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.gu-blog-readmore {
  font-size: 12.5px;
  font-weight: 600;
  color: #2463eb;
  text-decoration: none;
}

.gu-blog-sidebar {
  position: sticky;
  top: 96px;
  background: #ffffff;
  border: 1px solid #e5ebf3;
  border-radius: 14px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.gu-blog-sidebar-item {
  display: block;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  color: #334155;
  text-decoration: none;
  transition: all 0.16s ease;
}

.gu-blog-sidebar-item:hover {
  background: #f1f5f9;
  color: #182c46;
}

.gu-blog-sidebar-item.active {
  background: #2463eb;
  color: #ffffff;
  font-weight: 600;
}

.gu-post-wrap {
  margin: 0 0 30px;
  background: #ffffff;
  border: 1px solid #e5ebf3;
  border-radius: 16px;
  padding: 32px 36px;
}

.gu-post-wrap h1 {
  font-size: 30px;
  font-weight: 700;
  color: #14283f;
  line-height: 1.3;
  margin: 0 0 20px;
}

.gu-post-cover {
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 24px;
  background: #f6f8fb;
}

.gu-post-cover img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
}

.gu-post-content {
  font-size: 15px;
  line-height: 1.85;
  color: #334155;
}

.gu-post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid #eef2f7;
}

.gu-post-tag {
  padding: 4px 12px;
  border-radius: 99px;
  background: #f0f5ff;
  color: #2463eb;
  font-weight: 600;
  font-size: 11.5px;
}

@media (max-width: 991px) {
  .gu-blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .gu-blog-pills {
    flex-wrap: nowrap !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
  }

  .gu-blog-pills::-webkit-scrollbar {
    display: none;
  }

  .gu-blog-pill {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .gu-blog-grid {
    grid-template-columns: 1fr;
  }
  .gu-post-wrap {
    padding: 20px 18px;
  }
  .gu-post-wrap h1 {
    font-size: 22px;
  }
}

html, body {
  overflow-x: clip;
}

/* Mobile 2-Column Blog Slider + Left/Right Arrows */
.gu-blog-carousel-wrap {
  position: relative;
}

.gu-blog-nav {
  display: none;
}

@media (max-width: 767px) {
  .gu-blog-pills {
    flex-wrap: nowrap !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
  }

  .gu-blog-pills::-webkit-scrollbar {
    display: none;
  }

  .gu-blog-pill {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .gu-blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  #gu-blog-home-track {
    display: flex !important;
    gap: 10px !important;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding: 2px 2px 8px;
  }

  #gu-blog-home-track::-webkit-scrollbar {
    display: none;
  }

  #gu-blog-home-track .gu-blog-card {
    flex: 0 0 calc((100% - 10px) / 2);
    min-width: 0;
    scroll-snap-align: start;
  }

  .gu-blog-card-img {
    height: 105px !important;
  }

  .gu-blog-card-body {
    padding: 10px 10px 12px !important;
  }

  .gu-blog-meta {
    gap: 6px;
    font-size: 10px;
    margin-bottom: 6px;
  }

  .gu-blog-card-body h3 {
    font-size: 12px !important;
    line-height: 1.35;
    margin-bottom: 6px;
  }

  .gu-blog-excerpt {
    font-size: 11px;
    line-height: 1.4;
    margin-bottom: 8px;
  }

  .gu-blog-readmore {
    font-size: 11.5px;
  }

  .gu-blog-nav {
    position: absolute;
    top: 42%;
    transform: translateY(-50%);
    z-index: 5;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #d8e2f0;
    background: rgba(255, 255, 255, 0.95);
    color: #2463eb;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.14);
    cursor: pointer;
  }

  .gu-blog-prev {
    left: -6px;
  }

  .gu-blog-next {
    right: -6px;
  }
}
