/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.1
 Text Domain:  bricks
*/

.css-post-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 16px;
    line-height: 1.5;
}

.css-post-content th,
.css-post-content td {
    padding: 12px 16px;
    border: 1px solid #d9d9d9;
    color: #111111;
    text-align: left;
    vertical-align: top;
}

/* Tiêu đề bảng luôn hiển thị */
.css-post-content th {
    color: #111111 !important;
    background-color: #eeeeee !important;
    font-weight: 600;
}

/* Màu xen kẽ giữa các hàng */
.css-post-content tbody tr:nth-child(even) {
    background-color: #f7f7f7;
}

/* Không thay đổi khi hover */
.css-post-content tbody tr:hover {
    background-color: inherit;
}

@media (max-width: 767px) {
    .css-post-content {
        overflow-x: auto;
    }

    .css-post-content table {
        min-width: 700px;
        font-size: 14px;
    }

    .css-post-content th,
    .css-post-content td {
        padding: 10px 12px;
    }
}

/* Desktop */
.css-post-content h1 {
    font-size: 32px;
}

.css-post-content h2 {
    font-size: 26px;
}

.css-post-content h3 {
    font-size: 22px;
}

.css-post-content h4 {
    font-size: 20px;
}

.css-post-content h5 {
    font-size: 18px;
}

.css-post-content h6 {
    font-size: 16px;
}

/* Tablet */
@media (max-width: 991px) {
    .css-post-content h1 {
        font-size: 28px;
    }

    .css-post-content h2 {
        font-size: 24px;
    }

    .css-post-content h3 {
        font-size: 21px;
    }

    .css-post-content h4 {
        font-size: 19px;
    }

    .css-post-content h5 {
        font-size: 17px;
    }

    .css-post-content h6 {
        font-size: 15px;
    }
}

/* Điện thoại */
@media (max-width: 767px) {
    .css-post-content h1 {
        font-size: 26px;
    }

    .css-post-content h2 {
        font-size: 22px;
    }

    .css-post-content h3 {
        font-size: 20px;
    }

    .css-post-content h4 {
        font-size: 18px;
    }

    .css-post-content h5 {
        font-size: 16px;
    }

    .css-post-content h6 {
        font-size: 14px;
    }
}

/* =====================================
   BANNER JINN HUNG HOME
===================================== */
.css-banner-jinnhung-home {
  position: relative;
  height: auto !important;
  min-height: 90vh;
  overflow: hidden;
}

/* Hình nền banner */
.css-banner-jinnhung-home .img-banner-home {
  position: absolute;
  inset: 0;
  z-index: 0;

  width: 100%;
  height: 100%;
  max-width: none;

  object-fit: cover;
  object-position: center;

  /* Phóng nhẹ và kéo hình sang phải */
transform: translateX(13%) scale(1);
	transform-origin: center;
}

/* Nội dung nằm trên hình */
.css-banner-jinnhung-home > .brxe-container {
  position: relative;
  z-index: 2;
}

/* =====================================
   TABLET
===================================== */
@media (max-width: 1024px) {
  .css-banner-jinnhung-home {
    height: auto !important;
    min-height: auto;
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .css-banner-jinnhung-home .img-banner-home {
    object-position: 55% center;
    transform: translateX(2%) scale(1.06);
  }
}


/* =====================================
   MOBILE
===================================== */
@media (max-width: 767px) {
  .css-banner-jinnhung-home {
    height: auto !important;
    min-height: auto;
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .css-banner-jinnhung-home .img-banner-home {
    object-position: 50% center;
    transform: translateX(0) scale(1.04);
  }
	
}