/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/
.widget {
  margin-bottom: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--brdcolor-gray-300);
}

aside.wd-sidebar.sidebar-container.wd-grid-col.sidebar-left {
  border: 1px solid #e2e2e2;
  padding: 20px 20px 20px 30px;
  align-self: flex-start;
}

/* =========================
   GLOBAL / TYPO
   ========================= */
h4.woodmart-title-container {
  font-size: 30px;
}

/* Helpers */
.ct-flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.ct-text-center {
  text-align: center;
}

/* =========================
   ĐỘI NGŨ CỦA CHÚNG TÔI
   ========================= */

.ct-block-dncct .info-box-icon {
  border-radius: 50%;
}

.ct-block-dncct .info-box-subtitle {
  font-size: 20px;
  color: #000 !important;
  font-weight: bold;
}

.ct-block-dncct .info-box-title {
  font-size: 18px;
  font-weight: 500;
}

/* =========================
   THÔNG TIN CÔNG TY
   ========================= */
.ct-info-company-title {
  border-bottom: 1px solid #e5e5e5;
  margin-bottom: 50px;
}

.ct-info-company-title h4.woodmart-title-container {
  font-size: 25px;
}

.ct-info-company .ct-text {
  border-bottom: 1px solid #e5e5e5;
  padding-top: 25px;
}

.ct-info-company .ct-text .label-name {
  font-size: 15px;
  font-weight: 600;
}

.ct-info-company .ct-text p {
  font-size: 15px;
}

.ct-info-company .ct-map {
  margin-top: 25px;
}

/* =========================
   LIÊN HỆ
   ========================= */
.ct-lien-he .info-box-wrapper {
  display: flex;
  justify-content: center;
}

.ct-lien-he-title .liner-continer {
  border-bottom: 1px solid #e5e5e5;
}

.ct-lien-he-text div p {
  text-align: center;
  border-bottom: 1px solid #e5e5e5;
  font-size: 20px;
  margin-top: 20px;
  font-weight: 600;
}

.ct-lien-he span.icon-require {
  color: #f7931e;
  font-size: 30px;
  vertical-align: -webkit-baseline-middle;
  padding: 5px;
}

.ct-lien-he div p label {
  font-size: 18px;
  font-weight: 600;
}

.ct-lien-he h4.info-box-title {
  font-size: 30px;
}

.ct-lien-he-contact p {
  font-size: 30px;
}

.ct-lien-he-contact img {
  width: 90px;
}

/* =========================
   BLOG
   ========================= */
.ct-blog {
  margin-bottom: 35px;
}

.ct-blog h4.woodmart-title-container,
h4.title-blog {
  border-bottom: 2px solid #900;
  width: fit-content;
}

/*
.ct-blog .promo-banner .main-wrapp-img::after{
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 1;
}
*/
.ct-blog .promo-banner h4.banner-title {
  font-size: 18px;
}

/* Mục lục chi tiết trang tin tức */
#ez-toc-container a {
  color: #ff7a00;
}


/* =========================
   HOME TOGGLE
   ========================= */
.ct-toggle-box img {
  max-width: 45%;
}

.ct-toggle-house {
  border: 1px solid #000;
  background-color: #f7f7f7;
  text-align: center;
}

/* border chia cột/row */
.ct-toggle-house .ct-toggle-right {
  border-left: 1px solid #000;
}

.ct-toggle-house .ct-toggle-up {
  border-bottom: 1px solid #000;
}

.ct-toggle-house .ct-toggle-right1,
.ct-toggle-house .ct-toggle-right2 {
  border-right: 1px solid #000;
}

.ct-toggle-house .ct-toggle-right3 {
  border-left: 1px solid #000;
}

/* =========================
   TRỢ GIÚP
   ========================= */
.ct-tro-giup h4.banner-title {
  color: #000;
  text-align: center;
  margin-top: -32px;
  font-size: 18px;
}

.ct-tro-giup .promo-banner-wrapper {
  border: 1px solid #e6e6e6;
  padding: 25px;
  height: 250px;
  margin: 30px;
  text-align: center;
}

.ct-tro-giup .promo-banner-wrapper:hover {
  background-color: #f2f2f2;
}

.ct-tro-giup img {
  margin-top: 75px;
  max-width: fit-content;
}

.ct-tro-giup-box {
  border: 1px solid #000;
  background-color: #f7f7f7;
  text-align: center;
}

.ct-tro-giup .ct-tro-giup-title {
  border-bottom: 1px solid #e5e5e5;
}

/* =========================
   LOẠI HÌNH BĐS
   ========================= */
.ct-loai-hinh-bds .info-box-wrapper {
  margin: 35px;
}

.ct-loai-hinh-bds-title {
  border-bottom: 1px solid #e5e5e5;
}

.ct-loai-hinh-bds h4.info-box-title {
  text-align: center;
  font-size: 25px;
  margin-bottom: 20px;
}

.ct-loai-hinh-bds img {
  max-width: 350px;
}

.ct-loai-hinh-bds p {
  font-size: 20px;
  text-align: justify;
}

/* =========================
   CÁC BƯỚC THUÊ NHÀ
   ========================= */
.ct-thue-nha-title .liner-continer {
  border-bottom: 1px solid #e2e2e2;
}

.ct-thue-nha .wrapper-content-banner {
  align-items: center;
  width: 50%;
  position: absolute;
  left: 25%;
  top: 15%;
}

.ct-thue-nha .promo-banner-wrapper img {
  max-width: 65%;
}

.ct-thue-nha .info-box-wrapper div p {
  font-size: 20px;
}

/* =========================
   DỊCH VỤ CỘNG THÊM
   ========================= */
.ct-dich-vu .ct-dich-vu-title {
  border-bottom: 1px solid #e2e2e2;
}

.ct-dich-vu .wpb_column.vc_column_container.vc_col-sm-6 {
  border: 1px solid #e6e6e6;
  text-align: center;
  padding: 20px;
  width: 45%;
  margin: 20px;
}

.ct-dich-vu .ct-dich-vu-button p {
  text-align: center;
  font-size: 29px;
  font-weight: 700;
  margin: 15px 60px;
}

.ct-dich-vu .info-svg-wrapper {
  height: 250px !important;
}

.ct-dich-vu div p {
  height: 115px;
  font-size: 15px;
  text-align: justify;
}

/* =========================
   thông tin công ty
   ========================= */
.ct-thong-tin .info-box-wrapper {
  border: 1px solid #e2e2e2;
  height: 320px;
  padding: 25px;
  margin-bottom: 25px;
}

.ct-thong-tin .ct-thong-tin-title {
  border-bottom: 1px solid #e5e5e5;
}

.ct-thong-tin div p {
  font-size: 18px;
  margin-top: 10px;
}

.ct-thong-tin-button {
  padding: 15px;
  border-radius: 5px;
}

.ct-thong-tin .info-box-wrapper:hover {
  background-color: #f2f2f2;
}

/* =========================
   Hỏi đáp
   ========================= */
.ct-hoi-dap div span {
  font-size: 22px;
}

.ct-hoi-dap div span::before {
  content: "❓";
  font-size: 25px;
}

/* =========================
   Dành cho chủ BĐS
   ========================= */
.ct-danh-cho-chu-bds-title {
  border-bottom: 1px solid #e5e5e5;
}

.ct-danh-cho-chu-bds-form span.icon-require {
  color: #f7931e;
  font-size: 30px;
  vertical-align: -webkit-baseline-middle;
  padding: 5px;
}

.ct-danh-cho-chu-bds-form .cf7-section-title p {
  text-align: center;
  border-bottom: 1px solid #e5e5e5;
  font-size: 20px;
  font-weight: 700;
  color: orange;
}

.ct-danh-cho-chu-bds-form .form-text .wpb_wrapper {
  text-align: center;
  border-bottom: 1px solid #b3b3b3;
  margin-top: 20px;
  font-size: 16px;
}

.ct-danh-cho-chu-bds-form span.form-sao {
  color: #f7931e;
  font-size: 30px;
  vertical-align: -webkit-baseline-middle;
  padding: 5px;
}

.ct-danh-cho-chu-bds-form .cf7-actions {
  text-align: center;
  border-bottom: 1px solid #b2b2b2;
}

/* =========================
   FOOTER
   ========================= */
.ct-footer p a {
  display: block;
  color: #000;
  font-size: 13px;
  border-bottom: 1px solid #e5e5e5;
}

.ct-footer p a:hover {
  color: #f7931e;
}

.ct-footer-logo p {
  margin-top: -50px;
  font-size: 10px;
}

footer .wd-copyrights img {
  width: 380px;
}

/* =========================
   Chi tiết bài viết
   ========================= */
.single-post .wd-single-post-header .wd-post-meta {
  display: none;
}

.single-post .wd-single-post-header .wd-post-image {
  display: none;
}

/* Ép image + title nằm cùng 1 hàng */
.ct-block-sidebar-tintuc .bdpp-post-grid-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Khối ảnh */
.ct-block-sidebar-tintuc .bdpp-post-img-bg {
  flex: 0 0 80px;
  max-width: 80px;
  margin-bottom: 0px;
}

.ct-block-sidebar-tintuc .bdpp-post-img-bg img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  display: block;
}

/* Title */
.ct-block-sidebar-tintuc .bdpp-post-title {
  margin: 0 !important;
  font-size: 15px;
  line-height: 1.4;
}

.ct-block-sidebar-tintuc .bdpp-post-title a {
  display: block;
}

/* =========================
   CONTACT BANNER (vh-*)
   ========================= */
.vh-contact-banner {
  display: flex;
  align-items: stretch;
  border: 1px solid #222;
  background: #fff;
  overflow: hidden;
}

.vh-left {
  flex: 1 1 45%;
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid #222;
}

.vh-title {
  font-size: 38px;
  font-weight: 700;
  letter-spacing: 6px;
  text-align: center;
  line-height: 1.1;
}

.vh-sub {
  margin-top: 8px;
  font-size: 13px;
  text-align: center;
  opacity: 0.9;
}

.vh-right {
  flex: 1 1 55%;
  display: flex;
  flex-direction: column;
}

.vh-top,
.vh-bottom {
  display: grid;
}

.vh-top {
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid #222;
}

.vh-bottom {
  grid-template-columns: repeat(3, 1fr);
}

.vh-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 14px 12px;
  color: #111;
  text-decoration: none;
  font-weight: 600;
  border-left: 1px solid #222;
}

.vh-top .vh-pill:first-child,
.vh-bottom .vh-pill:first-child {
  border-left: none;
}

.vh-pill:hover {
  text-decoration: underline;
}

.cf7-checkgrid .cf7-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 14px;
  align-items: start;
  margin-bottom: 18px;
}

.cf7-checkgrid .cf7-label {
  font-weight: 600;
}

.cf7-checkgrid .cf7-3col .wpcf7-form-control {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px 22px;
}

.cf7-checkgrid .wpcf7-list-item {
  margin: 0;
}


/* Layout giống form trước: 2 cột */
.ct-danh-cho-chu-bds-form .cf7-grid .cf7-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  align-items: start;
  margin-bottom: 0px;
}

.ct-danh-cho-chu-bds-form .cf7-grid .cf7-label {
  font-weight: 600;
}

/* Input/textarea full */
.ct-danh-cho-chu-bds-form .cf7-grid .cf7-control {
  width: 100%;
  max-width: 520px;
}

/* Textarea cao giống ảnh */
.ct-danh-cho-chu-bds-form .cf7-grid .cf7-row-textarea textarea.cf7-control {
  min-height: 180px;
}

/* Upload list */
.ct-danh-cho-chu-bds-form .cf7-grid .cf7-row-upload {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 14px;
  align-items: start;
}

.ct-danh-cho-chu-bds-form .cf7-upload-list {
  display: grid;
  gap: 10px;
  max-width: 520px;
}

/* File input: để hiện ô + nút như ảnh (CF7 mặc định) */
.ct-danh-cho-chu-bds-form .cf7-upload-list input[type="file"] {
  width: 100%;
}

/* Tin tức & Sự Kiện */
.ct-tin-tuc-su-kien-short-code .bdpp-design-7 .bdpp-post-gridbox {
  box-sizing: border-box !important;
  border: 5px solid #ffffff !important;
  /* 5px mỗi bên = 10px gap */
  background-clip: padding-box;
}

.ct-tin-tuc-su-kien-title h4.woodmart-title-container {
  font-size: 32px;
}

.ct-tin-tuc-su-kien .ct-blog-filter {
  display: flex;
  gap: 25px;
  font-size: 20px;
}

/* Mobile */
@media (max-width: 768px) {
  .cf7-checkgrid .cf7-row {
    grid-template-columns: 1fr;
  }

  .cf7-checkgrid .cf7-3col .wpcf7-form-control {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ct-danh-cho-chu-bds-form .cf7-grid .cf7-row,
  .ct-danh-cho-chu-bds-form .cf7-grid .cf7-row-upload {
    grid-template-columns: 1fr;
  }

  .ct-danh-cho-chu-bds-form .cf7-grid .cf7-control,
  .cf7-upload-list {
    max-width: 100%;
  }

  .whb-main-header .whb-general-header {
    border-bottom: 1px solid #ccc;
  }

  .ct-tin-tuc-su-kien-short-code .bdpp-design-7 .bdpp-post-gridbox {
    border-width: 3px !important;
    /* mobile = 6px gap */
  }

  .vh-contact-banner {
    flex-direction: column;
  }

  .vh-left {
    border-right: none;
    border-bottom: 1px solid #222;
  }

  .vh-title {
    font-size: 30px;
    letter-spacing: 4px;
  }

  .vh-top {
    grid-template-columns: 1fr;
  }

  .vh-bottom {
    grid-template-columns: 1fr;
  }

  .vh-pill {
    border-left: none;
    border-top: 1px solid #222;
  }

  .vh-top .vh-pill:first-child {
    border-top: none;
  }
}