/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/

/* ===== Footer Section Background ===== */
.xc-footer {
  background-color: #29619d;
  color: #fff;
}

.xc-footer .col-inner,
.xc-footer p,
.xc-footer li,
.xc-footer a,
.xc-footer .ux-menu-link__link {
  color: #fff;
}

.xc-footer a:hover,
.xc-footer .ux-menu-link:hover .ux-menu-link__link {
  color: #fafafa;
}

.xc-footer .social-icons .is-outline {
  color: #fff;
  border-color: #fff;
}

/* ===== Footer Widget Title ===== */
.xc-footer__widget-title {
  color: #fff;
  text-transform: uppercase;
  font-size: 16px;
  font-weight: 700;
  position: relative;
  padding-bottom: 15px;
  padding-top: 10px;
  margin-bottom: 30px;
}

.xc-footer__widget-title::after {
  content: "";
  height: 3px;
  width: 30px;
  position: absolute;
  display: block;
  bottom: 0;
  left: 0;
  background: linear-gradient(to left, #fff, #ff963a);
}

.absolute-footer {
  display: none;
}

/* ===== Giới thiệu Section ===== */
.xc-gioi-thieu {
  padding: 50px 0;
}

.xc-gioi-thieu h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.3;
}

.xc-gioi-thieu h3 {
  font-size: 22px;
  margin-bottom: 15px;
  line-height: 1.3;
}

.xc-gioi-thieu p {
  margin-bottom: 15px;
}

/* List với dot.png bullet */
.xc-gioi-thieu .xc-dich-vu {
  list-style: none;
  margin-bottom: 15px;
  padding-left: 0;
}

.xc-gioi-thieu .xc-dich-vu li {
  background: url('assets/images/dot.png') no-repeat 0 8px;
  padding: 5px 0 5px 25px;
  margin-left: 0;
  margin-bottom: 0;
}

/* Video Play Button */
.xc-gioi-thieu .button.open-video {
  background: #fff;
  border-color: #fff;
  width: 80px;
  height: 80px;
  line-height: 80px;
  min-height: 80px;
  min-width: 80px;
  padding: 0;
  opacity: 0.8;
  transition: all 0.5s;
}

.xc-gioi-thieu .button.open-video i {
  color: red;
  font-size: 22px !important;
}

.xc-gioi-thieu .button.open-video::before {
  content: "";
  position: absolute;
  border-radius: 100%;
  background-color: #fff;
  opacity: 0.2;
  width: 96px;
  height: 96px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.xc-gioi-thieu .button.open-video:hover {
  opacity: 1;
  background: #fff;
  box-shadow: none !important;
}

.xc-gioi-thieu .button.open-video:hover i {
  color: red;
}

/* Button Xem thêm — text link style */
.xc-gioi-thieu .btn-xem-them {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  min-height: auto;
  font-style: italic;
  font-weight: 600;
  color: #333;
  text-transform: none;
  letter-spacing: 0;
  font-size: 1em;
  line-height: 1.5;
}

.xc-gioi-thieu .btn-xem-them:hover {
  background: none;
  box-shadow: none;
  color: #3876a8;
}

.xc-gioi-thieu .btn-xem-them span {
  transition: all 0.4s;
}

.xc-gioi-thieu .btn-xem-them::after {
  content: " →";
  display: inline-block;
  transition: margin-left 0.4s;
  margin-left: 0;
}

.xc-gioi-thieu .btn-xem-them:hover::after {
  margin-left: 10px;
}

/* ===== Hạng mục / Dịch vụ Section ===== */
.xc-hang-muc {
  padding: 50px 0;
}

/* Title area */
.xc-hang-muc h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
}

.xc-hang-muc #text-2828297296 p {
  color: #acacac;
  margin-bottom: 40px;
}

/* Blog grid — project cards */
.xc-hang-muc .xc-blog .post-item {
  padding-bottom: 15px;
}

.xc-hang-muc .xc-blog .box-blog-post {
  height: 230px;
  overflow: hidden;
}

.xc-hang-muc .xc-blog .box-image {
  height: 100%;
}

.xc-hang-muc .xc-blog .image-cover {
  padding-top: 0 !important;
  height: 100%;
}

.xc-hang-muc .xc-blog .image-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Hide default box-text, use overlay caption instead */
.xc-hang-muc .xc-blog .box-text {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 15px;
  background: #f9a1408a;
  z-index: 999;
  opacity: 0;
  transition: all 0.5s;
  text-align: center;
}

.xc-hang-muc .xc-blog .box-text .post-title {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}

.xc-hang-muc .xc-blog .box-text .post-title a {
  color: #fff !important;
}

.xc-hang-muc .xc-blog .box-text .is-divider {
  display: none;
}

.xc-hang-muc .xc-blog .box-text .box-text-inner {
  padding: 0;
}

/* Dark overlay with view icon on hover */
.xc-hang-muc .xc-blog .box-image::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: url('assets/images/view.png') rgba(0,0,0,0.5) center center no-repeat;
  z-index: 99;
  top: 0;
  left: 0;
  opacity: 0;
  transition: all 0.5s;
}

/* Hover effects */
.xc-hang-muc .xc-blog .box-blog-post:hover .box-text {
  opacity: 1;
}

.xc-hang-muc .xc-blog .box-blog-post:hover .box-image::after {
  opacity: 1;
}

/* "Tìm hiểu thêm" button — rounded outline style */
.xc-hang-muc .xc-tim-hieu-them {
  display: inline-block;
  line-height: 43px;
  border: 1px #ebebeb solid;
  text-align: center;
  padding: 0 20px;
  min-width: 150px;
  border-radius: 20px;
  color: #888;
  font-weight: 600;
  background: none;
  text-transform: none;
  letter-spacing: 0;
  margin-top: 40px;
}

.xc-hang-muc .xc-tim-hieu-them:hover {
  color: #111;
  background-color: #ebebeb;
  box-shadow: none;
}

/* Center the button */
.xc-hang-muc .col-inner {
  text-align: center;
}

.xc-hang-muc .xc-blog {
  text-align: left;
}

/* ===== Vì sao chọn chúng tôi Section ===== */
.xc-vi-sao {
  background-color: #ff963a;
  color: #fff;
  padding: 50px 0;
}

.xc-vi-sao h2 span {
  color: #fff !important;
}

.xc-vi-sao p {
  color: #fff;
}

/* Ẩn ảnh image box */
.xc-vi-sao .box-vi-sao .box-image {
  display: none;
}

/* Số liệu lớn */
.xc-vi-sao .box-vi-sao h4 {
  font-size: 50px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 5px;
}

.xc-vi-sao .box-vi-sao .box-text {
  padding-top: 0;
}

.xc-vi-sao .box-vi-sao .box-text p {
  color: #fff;
}

/* ===== Reusable Section Title with border ===== */
.xc-section-title__border {
  font-size: 24px;
  color: #ff963a;
  padding-bottom: 15px;
  margin-bottom: 20px;
  position: relative;
  font-weight: 700;
}

.xc-section-title__border::after {
  content: "";
  height: 3px;
  width: 30px;
  position: absolute;
  display: block;
  bottom: 0;
  left: 0;
  background: #ff963a;
}

/* ===== Giá trị & Khách hàng Section ===== */
.xc-gia-tri-khach-hang {
  padding: 50px 0;
  background-color: #f7f8f9;
}

/* Accordion */
.xc-accordion .accordion-item {
  border: none;
  border-radius: 0;
  overflow: hidden;
  margin-bottom: 0;
}

.xc-accordion .accordion-title {
  background-color: #f7f8f9;
  border-bottom: 1px solid #fff;
  border-top: none;
  font-size: 14px;
  text-transform: uppercase;
  font-weight: 600;
  color: #707070;
  padding: 15px 30px 15px 15px;
  position: relative;
}

.xc-accordion .accordion-title .toggle {
  position: absolute;
  right: 10px;
  left: auto;
  top: 50%;
  transform: translateY(-50%);
  width: auto;
  color: #707070;
  font-size: 18px;
}

.xc-accordion .accordion-title[aria-expanded="true"] {
  background-color: #fff;
}

.xc-accordion .accordion-inner {
  padding: 15px;
  background: #f7f8f9;
}

/* Testimonial slider — override .dark text colors */
.xc-slider__test .text-box-content,
.xc-slider__test .text-box-content p,
.xc-slider__test .testimonial-text,
.xc-slider__test .testimonial-text p,
.xc-slider__test .testimonial-meta,
.xc-slider__test .testimonial-name-divider {
  color: #333 !important;
}

.xc-slider__test .testimonial-name {
  font-weight: 600;
  font-size: 15px;
  text-transform: uppercase;
  color: #333 !important;
}

.xc-slider__test .testimonial-company {
  color: #959595;
}

.xc-slider__test .testimonial-image img {
  width: 100px !important;
  height: 100px !important;
  object-fit: cover;
}

.xc-slider__test .icon-box-img {
  width: 100px !important;
  margin-right: 25px;
}

.xc-slider__test .flickity-page-dots {
  position: relative;
  bottom: 0;
  margin-top: 20px;
}

.xc-slider__test .flickity-page-dots .dot {
  border-color: #ff963a;
}

.xc-slider__test .flickity-page-dots .dot.is-selected {
  background-color: #ff963a;
}

/* ===== Báo giá thi công Section ===== */
.xc-thi-cong {
  padding: 50px 0;
}

.xc-thi-cong h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
}

.xc-thi-cong #text-4123422069 p {
  color: #acacac;
  margin-bottom: 40px;
}

/* Card styling */
.xc-thi-cong .xc-hang-muc__blog .box-blog-post {
  border: 1px solid #ececec;
  height: auto;
  overflow: visible;
}

.xc-thi-cong .xc-hang-muc__blog .box-image {
  height: auto;
}

.xc-thi-cong .xc-hang-muc__blog .image-cover {
  padding-top: 56.25% !important;
}

.xc-thi-cong .xc-hang-muc__blog .image-cover img {
  height: 240px;
  object-fit: cover;
}

/* Text area */
.xc-thi-cong .xc-hang-muc__blog .box-text {
  position: relative;
  opacity: 1;
  background: none;
  padding: 25px 15px 15px;
  border-top: 1px solid #ececec;
  text-align: left;
  z-index: auto;
}

.xc-thi-cong .xc-hang-muc__blog .box-text .post-title {
  font-size: 18px;
  margin: 0 0 15px;
  transition: all 0.5s;
  padding-right: 10px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.xc-thi-cong .xc-hang-muc__blog .box-text .post-title a {
  color: #2d2d2d !important;
  line-height: normal;
}

.xc-thi-cong .xc-hang-muc__blog .box-blog-post:hover .post-title {
  padding-left: 10px;
  padding-right: 0;
}

.xc-thi-cong .xc-hang-muc__blog .box-blog-post:hover .post-title a {
  color: #ff963a !important;
}

/* Divider */
.xc-thi-cong .xc-hang-muc__blog .is-divider {
  display: none;
}

/* Excerpt */
.xc-thi-cong .xc-hang-muc__blog .from_the_blog_excerpt {
  color: #707070;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  margin-bottom: 10px;
}

/* Read more link — italic text style */
.xc-thi-cong .xc-hang-muc__blog .box-text .button {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  min-height: auto;
  font-style: italic;
  font-weight: 500;
  color: #333;
  text-transform: none;
  letter-spacing: 0;
  font-size: 1em;
  line-height: 1.5;
  display: inline-block;
}

.xc-thi-cong .xc-hang-muc__blog .box-text .button::after {
  content: " →";
  display: inline-block;
  transition: margin-left 0.3s;
  margin-left: 0;
}

.xc-thi-cong .xc-hang-muc__blog .box-blog-post:hover .box-text .button {
  color: #ff963a;
  box-shadow: none;
  background: none;
}

.xc-thi-cong .xc-hang-muc__blog .box-blog-post:hover .box-text .button::after {
  margin-left: 10px;
}

/* No hover overlay for this section */
.xc-thi-cong .xc-hang-muc__blog .box-image::after {
  display: none;
}

/* ===== Back to Top Button ===== */
.back-to-top {
  background: #4c92f8 !important;
  border: none !important;
  border-radius: 0 !important;
  width: 30px;
  height: 35px;
  min-width: 30px;
  min-height: 35px;
  padding: 0;
  line-height: 35px;
  bottom: 50px;
  right: 30px;
  color: #fff !important;
  font-size: 14px;
}

.back-to-top i {
  color: #fff;
  font-size: 14px;
}

.back-to-top:hover {
  background: #3876a8 !important;
  box-shadow: none !important;
}

/* ===== Float Support Widget (BEM) ===== */
.xc-float-support {
  position: fixed;
  left: 30px;
  bottom: 40px;
  z-index: 999;
}

.xc-float-support__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
}

.xc-float-support__item {
  display: block;
  margin-left: 10px;
}

.xc-float-support__item:first-child {
  margin-left: 0;
}

.xc-float-support__link {
  width: 60px;
  height: 60px;
  line-height: 60px;
  display: inline-block;
  border: none;
  font-size: 18px;
  color: #fff;
  text-align: center;
  position: relative;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 5px 0 rgba(0,0,0,0.11);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-color: #f8991d;
  transition: transform 0.3s;
}

.xc-float-support__link:hover {
  transform: scale(1.1);
}

.xc-float-support__link--messenger {
  background-image: url('assets/images/widget_icon_messenger.svg') !important;
}

.xc-float-support__link--zalo {
  background-image: url('assets/images/widget_icon_zalo.svg') !important;
}

@media only screen and (max-width: 48em) {

  .xc-float-support {
    bottom: 80px;
    left: auto;
    right: 30px;
  }

  .xc-float-support__link {
    width: 40px;
    height: 40px;
    line-height: 40px;
  }

}

/* ===== Float Hotline Widget (BEM) ===== */
.xc-float-hotline {
  position: fixed;
  bottom: 230px;
  left: 30px;
  display: flex;
  align-items: center;
  width: 60px;
  z-index: 999;
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(0,0,0,0.3);
  transition: all 0.3s;
}

.xc-float-hotline__btn {
  display: inline-block;
  text-align: center;
  background: red;
  color: #fff !important;
  width: 60px;
  min-width: 60px;
  font-size: 24px;
  line-height: 60px;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(25,120,220,0.3);
  animation: xc-pulse 1.5s infinite;
  transition: all 0.3s;
}

.xc-float-hotline__btn i {
  font-size: 24px;
  color: #fff;
}

.xc-float-hotline__text {
  display: inline-block;
  width: 0;
  height: 60px;
  transition: all 0.2s;
  overflow: hidden;
  text-align: center;
}

.xc-float-hotline__number {
  display: block;
  margin: auto;
  line-height: 60px;
  font-size: 18px;
  width: 100%;
  font-weight: 700;
  color: #000 !important;
}

.xc-float-hotline__number:hover {
  color: #ffd600 !important;
}

/* Hover expand */
.xc-float-hotline:hover {
  width: 200px;
  border-radius: 40px;
  overflow: hidden;
  background: #fff;
}

.xc-float-hotline:hover .xc-float-hotline__btn {
  animation: none;
  border-radius: 4px;
}

.xc-float-hotline:hover .xc-float-hotline__text {
  width: calc(100% - 50px);
}

/* Pulse animation */
@keyframes xc-pulse {
  0% {
    transform: scale(0.9);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 50px rgba(25,120,220,0);
  }
  100% {
    transform: scale(0.9);
    box-shadow: 0 0 0 0 rgba(25,120,220,0);
  }
}

/* ===== Top Bar Contact (BEM) ===== */
.xc-top-bar-contact {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.xc-top-bar-contact__item {
  padding: 15px 0;
  margin-left: 25px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.xc-top-bar-contact__item:first-child {
  margin-left: 0;
}

.xc-top-bar-contact__icon img {
  max-width: 29px;
  margin-right: 12px;
}

.xc-top-bar-contact__name {
  text-transform: uppercase;
  color: #000;
  line-height: 20px;
  font-weight: 500;
  font-size: 13px;
}

.xc-top-bar-contact__text {
  color: #b6b6b6;
  line-height: 20px;
  font-size: 13px;
}

.xc-top-bar-contact__text a {
  color: #b6b6b6;
  line-height: normal;
}

.xc-top-bar-contact__text a:hover {
  color: #ff963a;
}

/* Modifier: hotline letter-spacing */
.xc-top-bar-contact__item--hotline .xc-top-bar-contact__text {
  letter-spacing: 2px;
}

@media only screen and (max-width: 48em) {
  .xc-top-bar-contact {
    display: none;
  }
}

/* ===== Top Bar Mobile (BEM) ===== */
.xc-topbar-mobile {
  display: none;
}

@media only screen and (max-width: 48em) {
  .xc-topbar-mobile {
    display: block;
    background: #ff963a;
    color: #fff;
  }

  .xc-topbar-mobile__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 10px;
    flex-wrap: wrap;
  }

  .xc-topbar-mobile a {
    color: #fff;
    font-size: 13px;
  }

  .xc-topbar-mobile a:hover {
    color: #fff;
    opacity: 0.8;
  }

  .xc-topbar-mobile__hotline {
    letter-spacing: 1px;
  }

  .xc-topbar-mobile i {
    margin-right: 4px;
  }
}

/* ===== Page Banner (BEM) ===== */
.xc-page-banner {
  padding: 45px 0;
  text-align: center;
  background-color: rgba(0,0,0,0.4);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-blend-mode: multiply;
}

.xc-page-banner__title {
  color: #fff;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 24px;
  margin: 0;
  line-height: 1.3;
}

.xc-page-banner__meta {
  margin-top: 10px;
  color: #fff;
  font-size: 13px;
}

.xc-page-banner__cate,
.xc-page-banner__date {
  display: inline-block;
  margin: 0 8px;
}

.xc-page-banner__cate a {
  color: #fff;
}

.xc-page-banner__cate a:hover {
  color: #ff963a;
}

.xc-page-banner__meta i {
  margin-right: 4px;
}

/* ===== Breadcrumb ===== */
.xc-breadcrumb {
  padding: 10px 0;
  background: #f5f5f5;
  font-size: 13px;
}

.xc-breadcrumb p {
  margin: 0;
}

.xc-breadcrumb a {
  color: #333;
}

.xc-breadcrumb a:hover {
  color: #ff963a;
}

.xc-breadcrumb .separator {
  margin: 0 2px;
  color: #999;
}



@media only screen and (max-width: 48em) {
  .xc-page-banner {
    padding: 30px 10px;
  }

  .xc-page-banner__title {
    font-size: 20px;
  }
}

/* ===== Section Title (BEM) ===== */
.xc-section-title {
  font-size: 24px;
  color: #ff963a;
  padding-bottom: 15px;
  margin-bottom: 20px;
  position: relative;
  font-weight: 700;
  line-height: 1.3;
}

.xc-section-title::after {
  content: "";
  height: 3px;
  width: 30px;
  position: absolute;
  display: block;
  bottom: 0;
  left: 0;
  background: #ff963a;
}

/* ===== List Icon Dot (all li) ===== */
.col-inner ul {
  list-style: none;
  padding-left: 0;
}

.col-inner ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  margin-left: 0 !important;
}


/* ===== Contact Form (CF7) ===== */
.xc-contact .form-group {
  margin-bottom: 18px;
  position: relative;
}

.xc-contact .wpcf7-form-control-wrap {
  position: initial;
}

.xc-contact input[type="text"],
.xc-contact input[type="email"],
.xc-contact input[type="number"],
.xc-contact input[type="tel"],
.xc-contact textarea {
  width: 100%;
  padding: 8px 12px;
  line-height: 22px;
  border: none;
  border-bottom: 1px solid #ccc;
  outline: none;
  box-shadow: none;
  color: #333;
  background: transparent;
  transition: border-color 0.3s;
  margin-bottom: 0;
}

.xc-contact input[type="text"]:focus,
.xc-contact input[type="email"]:focus,
.xc-contact input[type="number"]:focus,
.xc-contact input[type="tel"]:focus,
.xc-contact textarea:focus {
  border-bottom-color: #ff963a;
  box-shadow: none;
}

.xc-contact textarea {
  min-height: 80px;
  resize: vertical;
}

.xc-contact input[type="submit"],
.xc-contact .wpcf7-submit {
  display: inline-block;
  height: 40px;
  line-height: 39px;
  padding: 0 30px;
  text-align: center;
  cursor: pointer;
  border: none;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  color: #fff;
  background: #f9a140;
  border-radius: 0;
  min-width: 120px;
  transition: background 0.3s, box-shadow 0.3s;
}

.xc-contact input[type="submit"]:hover,
.xc-contact .wpcf7-submit:hover {
  box-shadow: inset 0 0 0 100px rgba(0,0,0,0.2);
}

.xc-contact .wpcf7-response-output {
  margin: 1em 0;
  padding: 0.5em 1em;
  border: 2px solid #ff963a;
  font-size: 13px;
}

.xc-contact .wpcf7-form.init .wpcf7-response-output {
  display: none;
}

/* iframe inside col-inner */
.col-inner iframe {
  width: 100%;
  display: block;
  margin: 15px auto;
}

@media only screen and (max-width: 48em) {
  .xc-section-title {
    font-size: 20px;
  }
}

/* ===== Sidebar (Flatsome) ===== */
.post-sidebar .widget {
  margin-bottom: 30px;
}

/* Widget title - orange + underline */
.post-sidebar span.widget-title {
  font-size: 18px;
  font-weight: 700;
  color: #ff963a;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  display: block;
}

.post-sidebar .is-divider {
  background-color: #f9a140;
  height: 3px;
  max-width: 30px;
  margin-top: 10px;
  margin-bottom: 20px;
}

/* Service menu list */
.post-sidebar ul.menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.post-sidebar ul.menu > li {
  margin: 0;
  border-top: 1px solid #ececec;
}

.post-sidebar ul.menu > li:first-child {
  border-top: none;
}

.post-sidebar ul.menu > li::before {
  display: none;
}

.post-sidebar ul.menu > li > a {
  display: block;
  padding: 10px 0;
  color: #333;
  line-height: 1.4;
  transition: color 0.3s;
}

.post-sidebar ul.menu > li > a:hover {
  color: #ff963a;
}

.post-sidebar ul.menu > li.current-menu-item > a {
  color: #ff963a;
  font-weight: 600;
}

/* Contact info widget (custom_html / textwidget) */
.post-sidebar .widget_custom_html .textwidget p {
  padding: 4px 0;
  margin-bottom: 6px;
  font-size: 14px;
  line-height: 1.5;
}

/* XC Posts Widget (Báo Giá) in sidebar */
.post-sidebar .xc-posts-widget ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.post-sidebar .xc-posts-widget .recent-blog-posts-li {
  border-bottom: 1px dotted #efefef;
}

.post-sidebar .xc-posts-widget .recent-blog-posts-li:last-child {
  border-bottom: none;
}

.post-sidebar .xc-posts-widget .recent-blog-posts a {
  color: #333;
  font-size: 13px;
  line-height: 1.3;
}

.post-sidebar .xc-posts-widget .recent-blog-posts a:hover {
  color: #ff963a;
}

/* Badge thumbnail bigger */
.post-sidebar .xc-posts-widget .badge {
  width: 3.5em;
  height: 3.5em;
}

.post-sidebar .xc-posts-widget .badge-outline .badge-inner {
  border: none;
  border-radius: 4px;
}

@media only screen and (max-width: 48em) {
  .post-sidebar span.widget-title {
    font-size: 16px;
  }
}

/* ===== Related Posts ===== */
.xc-related-posts {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.xc-related-posts__title {
  font-size: 20px;
  color: #ff963a;
  padding-bottom: 10px;
  margin-bottom: 15px;
  position: relative;
  font-weight: 700;
}

.xc-related-posts__title::after {
  content: "";
  height: 3px;
  width: 30px;
  position: absolute;
  display: block;
  bottom: 0;
  left: 0;
  background: #ff963a;
}

.xc-related-posts__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.xc-related-posts__item {
  background: url(assets/images/dot.png) no-repeat 0 6px;
  padding: 5px 0 5px 25px;
}

.xc-related-posts__item a {
  color: #333;
  transition: color 0.3s;
}

.xc-related-posts__item a:hover {
  color: #ff963a;
}

/* ===== Category Archive Grid ===== */
.xc-category-archive {
  padding: 30px 0;
}

.xc-project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-column-gap: 30px;
  grid-row-gap: 30px;
}

.xc-project-item {
  position: relative;
  height: 230px;
  overflow: hidden;
  border-radius: 4px;
}

.xc-project-item a {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
}

.xc-project-item img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.xc-project-item__caption {
  position: absolute;
  padding: 15px;
  width: 100%;
  bottom: 0;
  left: 0;
  font-size: 14px;
  background: rgba(249, 161, 64, 0.54);
  text-align: center;
  line-height: 1.5;
  z-index: 10;
  opacity: 0;
  transition: opacity 0.4s;
  color: #fff !important;
  margin: 0;
}

.xc-project-item a::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 5;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.4s;
}

.xc-project-item:hover .xc-project-item__caption {
  opacity: 1;
}

.xc-project-item:hover a::after {
  opacity: 1;
}

/* Pagination */
.xc-category-archive .nav-links {
  display: flex;
  justify-content: center;
  gap: 5px;
  margin-top: 30px;
}

.xc-category-archive .page-numbers {
  display: inline-block;
  width: 36px;
  height: 36px;
  line-height: 36px;
  text-align: center;
  border: 1px solid #ddd;
  color: #333;
  transition: all 0.3s;
}

.xc-category-archive .page-numbers.current,
.xc-category-archive .page-numbers:hover {
  background: #ff963a;
  border-color: #ff963a;
  color: #fff;
}

@media only screen and (max-width: 48em) {
  .xc-project-grid {
    grid-template-columns: 1fr;
    grid-gap: 15px;
  }
}