.cat_list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 10px 0;

  .cat_item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: #fff;
    border-radius: 10px;
    padding: 12px 16px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.2s ease;

    &:hover {
      box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
    }

    .cat_thumb {
      flex: 0 0 220px;

      img {
        width: 100%;
        height: auto;
        object-fit: cover;
        border-radius: 8px;
      }
    }

    .cat_content {
      flex: 1;

.cat_title {
  font-size: 1.4rem;
  margin: 0;
  line-height: 1.3;

  /* ⚠️ Quan trọng: phải set chiều rộng cố định hoặc có layout xác định */
  width: 100%;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* Giới hạn 2 dòng */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis; /* hiển thị ... */
  white-space: normal; /* phải là normal để có nhiều dòng */

  a {
    color: #222;
    text-decoration: none;
    display: block;
    &:hover {
      color: #0073aa;
    }
  }
}



      .cat_desc {
        font-size: 1.15rem;
        color: #555;
        margin-bottom: 6px; /* thu nhỏ font cho mobile */
    line-height: 1.4;
    -webkit-line-clamp: 2; /* vẫn giới hạn 2 dòng */
    -webkit-box-orient: vertical;
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
      }

      .cat_meta {
        font-size: 13px;
        color: #888;

        .cat_author {
          margin-right: 8px;
        }
      }
    }
  }
@media (max-width: 480px) {
  .cat_item {
    flex-direction: column; /* ảnh nằm trên, text bên dưới */
    align-items: flex-start;
  }

  .cat_thumb {
      flex: none !important;
  }
  
  .cat_thumb img {
    width: 100%;
    height: auto;
    border-radius: 10px;
  }

  .cat_content {
    margin-top: 10px;
  }

  .cat_title {
    font-size: 16px; /* thu nhỏ font cho mobile */
    line-height: 1.4;
    -webkit-line-clamp: 2; /* vẫn giới hạn 2 dòng */
    -webkit-box-orient: vertical;
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .cat_desc {
    font-size: 13px;
    -webkit-line-clamp: 3;
  }

  .cat_meta {
    font-size: 12px;
  }
}

}
.archive-header {
    background:none !important;
    border-bottom: none !important;
	.entry-title {
		font-size: 1.75rem;
		font-weight: 700;
		margin-bottom: 2rem;
		position: relative;
		padding-bottom: 10px;
		color: #333;
	}
	.entry-title:after {
		content: '';
		position: absolute;
		bottom: 0;
		left: 0;
		width: 50px;
		height: 4px;
		background-color: var(--rootcolor3);
	}	
	
}
.navigation.pagination {
  display: flex;
  justify-content: center;
  margin: 30px 0;
  font-family: inherit;

  .nav-links {
    display: flex;
    gap: 6px;
    align-items: center;
    flex-wrap: wrap;
  }

  .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    border-radius: 6px;
    background: #f5f5f5;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.25s ease;

    &:hover {
      background: #0073aa;
      color: #fff;
    }

    &.current {
      background: #0073aa;
      color: #fff;
      cursor: default;
      font-weight: 600;
    }

    &.next,
    &.prev {
      background: #eee;
      font-weight: 500;
      padding: 0 14px;
    }
  }
}

blockquote {
    padding: 24px 20px 25px 20px;
    background: #ecfbf0;
    color: #484848;
    border: 5px dashed #fff;
    margin-bottom: 20px;
    font-size: 15px;
    line-height: 2;
    margin-top: 10px;
}
.sidebar {
    padding-top: 15px;
}.the-global-title {
    position: relative;
    font-size: 17px;
    padding: 0 0 15px;
    border-bottom: 2px solid rgba(0,0,0,0.1);
    margin-bottom: 20px;
}.the-global-title:before {
    content: "";
    width: 0;
    height: 0;
    position: absolute;
    bottom: -5px;
    left: 0;
    border-left: 0;
    border-right: 5px solid transparent;
    border-top: 5px solid #2c2f34;
}.the-global-title:after {
    content: "";
    background: #2c2f34;
    width: 40px;
    height: 2px;
    position: absolute;
    bottom: -2px;
    left: 0;
}
.widget-title .the-subtitle {
    font-size: 1.25rem;
    line-height: 1.4;
    font-weight: 600;
}
.tab-content:not(.is-not-active):first-of-type .tab-content-elements li {
    opacity: 1;
}

.widget li:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}
.widget li:first-child {
    padding-top: 0;
}
li.widget-post-list, .recent-comments-widget li {
    padding: 7px 0;
    position: relative;
    margin-bottom: 10px;
}
.post-widget-thumbnail {
    width: unset !important;
    float: left;
    margin-right: 15px;
    position: relative;
}.post-widget-body {
    padding-left: 125px;
    line-height: 1.2;
}.wf-active .the-subtitle {
    font-family: 'Roboto';
}

.post-widget-body .post-title {
    font-size: 1rem;
    line-height: 1.4;
    margin-bottom: 5px;
}.widget .post-meta {
    margin: 2px 0 0;
    font-size: 11px;
    line-height: 17px;
}

.post-meta, .post-meta a:not(:hover) {
    color: #767676;
}
.post-meta {
    margin: 10px 0 8px;
    font-size: 12px;
    overflow: hidden;
}.post-meta .meta-item {
    margin-right: 8px;
    display: inline-block;
}.post-thumb {
    position: relative;
    height: 100%;
    display: block;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: rotate(0);
    -ms-transform: rotate(0);
    transform: rotate(0);
    transition: opacity 0.2s;
}
.post-widget-thumbnail img.tie-small-image, .review-thumbnail img.tie-small-image {
    width: 110px;
}
ul.posts-list-items.widget-posts-wrapper {
    padding: 0;
}
.post-widget-body .post-title{
    color: #333;
    text-decoration: none;
    transition: 0.15s;
    font-weight: 600;
    text-overflow: ellipsis;
    overflow: hidden;
    -webkit-line-clamp: 2;
    height: auto;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}
.post-thumb img {
    width: 100%;
    display: block;
}
ul {
    list-style: none;
}

hr {
    margin-top: 20px;
    margin-bottom: 20px;
    border: 0;
    border-top: 1px solid #eee
}
.order-section {
  padding: 40px 0;
  background: #fafafa;
  font-size: 1.25rem;

  .container {

    .order-title {
      text-align: center;
      font-size: 28px;
      margin-bottom: 25px;
      font-weight: 600;
    }

    .order-layout {
      display: flex;
      flex-wrap: wrap;
      gap: 24px;

      .order-main {
        flex: 0 0 60%;
        min-width: 0;

        .order-form-wrapper {
          background: #fff;
          padding: 25px;
          border-radius: 8px;
          border: 1px solid #eee;
          position: relative;

          /* Overlay */
          .order-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(255,255,255,0.75);
            display: none;
            align-items: center;
            justify-content: center;
            z-index: 50;

            &.active {
              display: flex;
            }

            &::after {
              content: "";
              width: 30px;
              height: 30px;
              border: 4px solid #999;
              border-top-color: transparent;
              border-radius: 50%;
              animation: spinLoad 0.7s linear infinite;
            }
          }

          /* Form */
          .order-form {
            .order-group {
              margin-bottom: 20px;

              .order-label {
                margin-bottom: 8px;
				margin-bottom: 30px;
				font-weight: bold;
              }

              .order-product-list {
                display: flex;
                margin-bottom: 20px;
				gap: 20px;
				flex-wrap: wrap;

                .order-product-item {
                  display: flex;
                  align-items: center;
                  gap: 12px;
                  flex: 1 1 300px;

                  input[type="number"] {
                    width: 70px;
                    padding: 6px 8px;
                    border-radius: 4px;
                    border: 1px solid #ccc;
                  }
                }
              }
            }

            .order-row {
              display: flex;
              gap: 15px;

              .order-col {
                width: 100%;

                .order-input {
                  width: 100%;
                  padding: 12px 14px;
                  border: 1px solid #ccc;
                  border-radius: 6px;
                  transition: 0.2s;
				  font-size: 1.25rem;

                  &:focus {
                    border-color: #666;
                  }
                }
              }
            }

            .order-textarea {
              width: 100%;
              min-height: 120px;
              padding: 12px 14px;
              border-radius: 6px;
              border: 1px solid #ccc;
              transition: 0.2s;
              margin-top: 20px;
			  font-size: 1.25rem;

              &:focus {
                border-color: #666;
              }
            }

            .order-submit {
              width: 100%;
              padding: 14px 20px;
              border: none;
              border-radius: 6px;
              background: #28a745;
              color: #fff;
              cursor: pointer;
              transition: 0.25s;
				  font-size: 1.25rem;

              &:hover {
                background: #218838;
              }
            }
          }
        }
      }

      /* Sidebar */
      .order-sidebar {
        flex: 1;
        min-width: 260px;

        .order-slider {
          overflow: hidden;
          background: #fff;
          padding: 18px 18px 22px;
          border-radius: 8px;
          border: 1px solid #eee;

          .order-slider-inner {
            position: relative;

            .order-slider-item {
              text-align: center;

              .order-slider-thumb img {
                max-width: 100%;
                border-radius: 6px;
                margin-bottom: 12px;
              }

              .order-slider-name {
				  font-size: 1.2rem;
                margin-bottom: 6px;

                a {
                  color: #222;
                  text-decoration: none;

                  &:hover {
                    color: #0073aa;
                  }
                }
              }

              .order-slider-price-text {
                margin: 0;
				  font-size: 1.1rem;

                .order-slider-price {
                  font-weight: 700;
                  color: #000;
                }
              }
            }
            /* Nút Prev/Next */
            .order-slider-prev,
            .order-slider-next {
              width: 26px;
              height: 26px;
              border-radius: 50%;
              border: 1px solid #ccc;
              background: #fff;
              box-shadow: 0 2px 4px rgba(0,0,0,0.08);
              margin: 0 20px;

              &::after {
                font-size: 12px;
                color: #333;
              }
            }
          }
        }
      }
    }

  }

  /* Responsive */
  @media (max-width: 768px) {
    .container .order-wrapper .order-layout {
            display: block;
      flex-direction: column;

      .order-main,
      .order-sidebar {
        flex: 0 0 100%;
      }
    }
  }
}

/* Animation */
@keyframes spinLoad {
  to {
    transform: rotate(360deg);
  }
}





