.client-blog-dashboard {
  max-width: 1320px;
  margin: 10rem auto 4rem;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 50px;

  .section-main-title {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 8px;
    position: relative;
    text-transform: uppercase;
    line-height: 3rem;
    margin: 0;
    text-rendering: optimizeLegibility;
  }
  .section-sub-title {
    font-size: 1.5rem;
    color: var(--color-text-muted);
    margin-bottom: 24px;
  }

  .latest-blog-section {
    width: 100%;

    .latest-blog-swiper {
      border-radius: 16px;
      overflow: hidden;
      box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);

      .swiper-slide {
        height: auto;
      }

      .latest-slide-card {
        position: relative;
        height: 480px;
        width: 100%;

        @media (max-width: 768px) {
          height: 380px;
        }

        a {
          display: block;
          width: 100%;
          height: 100%;
        }

        img {
          width: 100%;
          height: 100%;
          object-fit: cover;
          transition: transform 0.6s ease;
        }

        &:hover img {
          transform: scale(1.04);
        }

        .slide-overlay {
          position: absolute;
          inset: 0;
          background: linear-gradient(to top, rgba(15, 59, 64, 0.95) 0%, rgba(15, 59, 64, 0.6) 40%, transparent 100%);
          display: flex;
          flex-direction: column;
          justify-content: flex-end;
          padding: 30px 40px;
          color: #fff;

          @media (max-width: 768px) {
            padding: 20px;
          }

          .slide-meta {
            display: flex;
            align-items: center;
            gap: 15px;
            margin-bottom: 12px;

            .badge-type {
              background: var(--color-secondary);
              color: #fff;
              padding: 4px 12px;
              border-radius: 6px;
              font-size: 1.3rem;
              font-weight: 700;
              text-transform: uppercase;
            }

            .publish-date {
              font-size: 1.3rem;
              color: #e0e0e0;
            }
          }

          .slide-title {
            font-size: 2.8rem;
            font-weight: 700;
            line-height: 1.35;
            margin-bottom: 10px;
            color: #fff;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);

            text-rendering: optimizeLegibility;
            @media (max-width: 768px) {
              font-size: 2rem;
            }
          }

          .slide-desc {
            font-size: 1.6rem;
            color: #e2e8f0;
            line-height: 1.5;
            margin: 0;
            max-width: 850px;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;

            @media (max-width: 768px) {
              font-size: 1.4rem;
            }
          }
        }
      }

      .swiper-button-prev,
      .swiper-button-next {
        color: #fff;
        background: rgba(255, 255, 255, 0.2);
        backdrop-filter: blur(8px);
        width: 44px;
        height: 44px;
        border-radius: 50%;
        transition: 0.3s;

        &:hover {
          background: var(--color-secondary);
        }
        &::after {
          font-size: 1.8rem;
          font-weight: bold;
        }
      }
      .swiper-pagination-bullet-active {
        background: var(--color-secondary);
      }
    }
  }

  .market-blog-section {
    display: grid;
    grid-template-columns: 7fr 3fr;
    gap: 30px;
    align-items: start;

    @media (max-width: 991px) {
      grid-template-columns: 1fr;
    }

    .market-left-pane {
      .market-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin-top: 15px;

        @media (max-width: 768px) {
          grid-template-columns: 1fr;
        }

        .market-card {
          display: flex;
          background: var(--color-surface);
          border: 1px solid var(--color-border);
          border-radius: 12px;
          overflow: hidden;
          transition: 0.3s ease;

          &:hover {
            transform: translateY(-4px);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
            border-color: var(--color-secondary);
          }

          .card-thumb {
            width: 140px;
            flex-shrink: 0;
            overflow: hidden;

            img {
              width: 100%;
              height: 100%;
              object-fit: cover;
              transition: 0.4s ease;
            }
          }
          &:hover .card-thumb img {
            transform: scale(1.08);
          }

          .card-info {
            padding: 14px 16px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            min-width: 0;

            .card-date {
              font-size: 1.2rem;
              color: var(--color-text-muted);
              margin-bottom: 4px;
            }

            .card-title {
              font-size: 1.5rem;
              font-weight: 600;
              line-height: 1.4;
              margin-bottom: 6px;
              display: -webkit-box;
              -webkit-line-clamp: 2;
              -webkit-box-orient: vertical;
              overflow: hidden;

              margin: 0;
              text-rendering: optimizeLegibility;
              a {
                color: var(--color-primary);
                &:hover {
                  color: var(--color-secondary);
                }
              }
            }

            .card-desc {
              font-size: 1.3rem;
              color: var(--color-text-muted);
              line-height: 1.4;
              margin: 0;
              display: -webkit-box;
              -webkit-line-clamp: 2;
              -webkit-box-orient: vertical;
              overflow: hidden;
            }
          }
        }
      }
    }

    .market-right-sidebar {
      @media (min-width: 992px) {
        position: sticky;
        top: 9rem;
      }
    }
  }

  .utility-blog-section {
    background: linear-gradient(135deg, #f0fdf4 0%, #e6f7f8 100%);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid rgba(0, 196, 204, 0.2);

    .utility-wrap {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 20px;

      @media (max-width: 991px) {
        grid-template-columns: repeat(2, 1fr);
      }
      @media (max-width: 480px) {
        grid-template-columns: 1fr;
      }

      .utility-card {
        display: flex;
        align-items: center;
        gap: 15px;
        padding: 18px 20px;
        background: #fff;
        border-radius: 12px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
        transition: all 0.3s ease;
        text-decoration: none;

        &:hover {
          transform: translateY(-5px);
          box-shadow: 0 12px 25px rgba(15, 59, 64, 0.12);
          border-color: var(--color-secondary);
        }

        .icon {
          width: 50px;
          height: 50px;
          border-radius: 50%;
          display: flex;
          align-items: center;
          justify-content: center;
          font-size: 2.2rem;
          color: #fff;
          flex-shrink: 0;
          box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);

          &.bg-teal {
            background: #00c2c7;
          }
          &.bg-orange {
            background: #f19b00;
          }
          &.bg-purple {
            background: #8b5cf6;
          }
          &.bg-yellow {
            background: #eab308;
          }
        }

        .text {
          font-size: 1.6rem;
          font-weight: 600;
          color: var(--color-primary);
        }
      }
    }
  }

  .service-blog-section {
    display: grid;
    grid-template-columns: 1fr 1fr 300px;
    gap: 24px;
    align-items: start;

    @media (max-width: 1024px) {
      grid-template-columns: 1fr 1fr;
    }
    @media (max-width: 768px) {
      grid-template-columns: 1fr;
    }

    .service-col-box {
      background: var(--color-surface);
      border: 1px solid var(--color-border);
      border-radius: 16px;
      padding: 20px;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);

      .service-col-header {
        border-bottom: 2px solid var(--color-primary);
        padding-bottom: 12px;
        margin-bottom: 16px;

        .service-title {
          font-size: 1.8rem;
          font-weight: 700;
          color: var(--color-primary);
          margin: 0;
          text-transform: uppercase;
    text-rendering: optimizeLegibility;
        }
      }

      .service-featured-item {
        margin-bottom: 16px;

        a {
          display: block;
          border-radius: 10px;
          overflow: hidden;
          position: relative;
          group: hover;
        }

        img {
          width: 100%;
          height: 200px;
          object-fit: cover;
          border-radius: 10px;
          margin-bottom: 10px;
          transition: 0.3s;
        }

        &:hover img {
          transform: scale(1.03);
        }

        .featured-info {
          .featured-info-title {
            font-size: 1.6rem;
            font-weight: 700;
            color: var(--color-primary);
            margin-bottom: 6px;
            line-height: 1.4;
          }
          p {
            font-size: 1.4rem;
            color: var(--color-text-muted);
            line-height: 1.4;
            margin: 0;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
          }
        }
      }

      .service-list-item {
        display: flex;
        flex-direction: column;
        gap: 10px;
        border-top: 1px dashed var(--color-border);
        padding-top: 14px;

        li a {
          font-size: 1.4rem;
          color: var(--color-text-main);
          transition: 0.2s;
          display: block;
          white-space: nowrap;
          overflow: hidden;
          text-overflow: ellipsis;
          margin-bottom: 2rem;

          &:hover {
            color: var(--color-secondary);
            transform: translateX(5px);
          }
        }
      }
    }

    .service-col-banner {
      @media (max-width: 1024px) {
        grid-column: span 2;
        display: flex;
        gap: 20px;
        img {
          width: 50%;
        }
      }
      @media (max-width: 768px) {
        grid-column: span 1;
        flex-direction: column;
        img {
          width: 100%;
        }
      }

      img {
        width: 100%;
        border-radius: 12px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
      }
    }
  }

  .price-blog-section {
    background: transparent;
    border-top: 1px solid var(--color-border);
    padding-top: 30px;
    margin-top: 20px;

    .price-custom-layout {
      display: grid;
      grid-template-columns: 1.8fr 1fr;
      gap: 30px;

      @media (max-width: 991px) {
        grid-template-columns: 1fr;
      }

      .price-left-col {
        display: flex;
        flex-direction: column;
        gap: 20px;

        /* Bài chính */
        .price-main-article {
          background: var(--color-surface);
          border: 1px solid var(--color-border);
          border-radius: 12px;
          overflow: hidden;
          transition: 0.3s;

          &:hover {
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
            border-color: var(--color-secondary);
            .thumb img {
              transform: scale(1.05);
            }
            .info .title {
              color: var(--color-secondary);
            }
          }

          a {
            display: block;
            text-decoration: none;
          }

          .thumb {
            position: relative;
            height: 360px;
            overflow: hidden;

            img {
              width: 100%;
              height: 100%;
              object-fit: cover;
              transition: 0.5s ease;
            }
            .badge {
              position: absolute;
              top: 16px;
              left: 16px;
              background: #e03c31;
              color: #fff;
              padding: 6px 14px;
              border-radius: 6px;
              font-size: 1.3rem;
              font-weight: 600;
              text-transform: uppercase;
            }
          }

          .info {
            padding: 24px;

            .title {
              font-size: 2.2rem;
              font-weight: 700;
              color: var(--color-primary);
              margin-bottom: 12px;
              line-height: 1.4;
              transition: 0.2s;
            }
            .desc {
              font-size: 1.5rem;
              color: var(--color-text-main);
              line-height: 1.6;
              margin-bottom: 12px;
              display: -webkit-box;
              -webkit-line-clamp: 2;
              -webkit-box-orient: vertical;
              overflow: hidden;
            }
            .date {
              font-size: 1.3rem;
              color: var(--color-text-muted);
            }
          }
        }

        .price-sub-grid {
          display: grid;
          grid-template-columns: 1fr 1fr;
          gap: 20px;

          @media (max-width: 576px) {
            grid-template-columns: 1fr;
          }

          .price-sub-article {
            background: var(--color-surface);
            border: 1px solid var(--color-border);
            border-radius: 10px;
            overflow: hidden;
            transition: 0.3s;

            &:hover {
              box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
              border-color: var(--color-secondary);
              .thumb img {
                transform: scale(1.05);
              }
              .info .title {
                color: var(--color-secondary);
              }
            }

            a {
              display: block;
              text-decoration: none;
            }

            .thumb {
              height: 180px;
              overflow: hidden;
              img {
                width: 100%;
                height: 100%;
                object-fit: cover;
                transition: 0.4s;
              }
            }
            .info {
              padding: 16px;
              .title {
                font-size: 1.5rem;
                font-weight: 600;
                color: var(--color-primary);
                margin-bottom: 8px;
                line-height: 1.4;
                display: -webkit-box;
                -webkit-line-clamp: 2;
                -webkit-box-orient: vertical;
                overflow: hidden;
                transition: 0.2s;
              }
              .date {
                font-size: 1.2rem;
                color: var(--color-text-muted);
              }
            }
          }
        }
      }

      .price-right-col {
        .price-list-wrapper {
          background: var(--color-bg-body);
          border-radius: 12px;
          padding: 24px;
          border: 1px solid var(--color-border);
          height: 100%;

          .list-heading {
            font-size: 1.8rem;
            font-weight: 700;
            color: var(--color-primary);
            margin-bottom: 20px;
            padding-bottom: 12px;
            border-bottom: 2px solid var(--color-primary);
            text-transform: uppercase;
          }

          .price-list {
            display: flex;
            flex-direction: column;
            gap: 16px;

            .price-list-item {
              padding-bottom: 16px;
              border-bottom: 1px dashed var(--color-border);

              &:last-child {
                border-bottom: none;
                padding-bottom: 0;
              }

              a {
                display: flex;
                gap: 14px;
                align-items: flex-start;
                text-decoration: none;
              }

              .thumb {
                width: 110px;
                height: 80px;
                flex-shrink: 0;
                border-radius: 8px;
                overflow: hidden;
                img {
                  width: 100%;
                  height: 100%;
                  object-fit: cover;
                  transition: 0.3s;
                }
              }

              &:hover .thumb img {
                transform: scale(1.08);
              }

              .info {
                flex: 1;
                min-width: 0;
                .title {
                  font-size: 1.4rem;
                  font-weight: 600;
                  color: var(--color-primary);
                  line-height: 1.4;
                  margin-bottom: 8px;
                  display: -webkit-box;
                  -webkit-line-clamp: 3;
                  -webkit-box-orient: vertical;
                  overflow: hidden;
                  transition: 0.2s;
                }
                .date {
                  font-size: 1.2rem;
                  color: var(--color-text-muted);
                }
              }

              &:hover .info .title {
                color: var(--color-secondary);
              }
            }
          }
        }
      }
    }
  }
}

.mobile-search-section {
  display: none;
}
