.elementor-kit-18{--e-global-color-primary:#6B0012;--e-global-color-secondary:#FFB400;--e-global-color-text:#000000;--e-global-color-accent:#61CE70;--e-global-typography-primary-font-family:"Roboto Condensed";--e-global-typography-primary-font-weight:600;--e-global-typography-secondary-font-family:"Roboto Condensed";--e-global-typography-secondary-font-weight:400;--e-global-typography-text-font-family:"Roboto Condensed";--e-global-typography-text-font-weight:400;--e-global-typography-accent-font-family:"Roboto Condensed";--e-global-typography-accent-font-weight:500;font-family:"Roboto Condensed", Sans-serif;}.elementor-kit-18 h1{font-family:"Roboto Condensed", Sans-serif;font-size:36px;}.elementor-kit-18 h2{font-family:"Roboto Condensed", Sans-serif;}.elementor-kit-18 h3{font-family:"Roboto Condensed", Sans-serif;}.elementor-kit-18 h4{font-family:"Roboto Condensed", Sans-serif;}.elementor-kit-18 h5{font-family:"Roboto Condensed", Sans-serif;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1140px;}.e-con{--container-max-width:1140px;}.elementor-widget:not(:last-child){--kit-widget-spacing:20px;}.elementor-element{--widgets-spacing:20px 20px;--widgets-spacing-row:20px;--widgets-spacing-column:20px;}{}h1.entry-title{display:var(--page-title-display);}.elementor-kit-18 e-page-transition{background-color:#FFBC7D;}.site-header{padding-inline-end:0px;padding-inline-start:0px;}@media(max-width:1024px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:767px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}
/* Start custom CSS *//* ===== WordPress Gallery - Cố định đồng bộ tỷ lệ ngang ===== */

.gallery {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important; /* 3 cột trên máy tính */
  gap: 12px !important;
  margin: 20px auto !important;
  width: 100%;
  max-width: 1620px;
}

.gallery br {
  display: none;
}

.gallery-item {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  overflow: hidden;
  border-radius: 4px;
  background: #f5f5f5;
  box-sizing: border-box;
  
  /* Cố định chiều cao khung hiển thị ngang (ví dụ: 320px) */
  height: 320px !important; 
}

.gallery-item .gallery-icon {
  margin: 0 !important;
  width: 100%;
  height: 100%;
}

.gallery-item img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important; /* Ép ảnh lấp đầy khung tỷ lệ ngang, ảnh đứng hay ngang đều được căn giữa đẹp mắt */
  display: block;
  border: none !important;
  padding: 0 !important;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.gallery-item:hover img {
  opacity: 0.95;
  transform: scale(1.03); /* Phóng to nhẹ khi rê chuột */
  cursor: zoom-in;
}

/* Ẩn caption mặc định */
.gallery-caption {
  display: none !important;
}

/* ===== Responsive (Tự động thích ứng thiết bị) ===== */

/* Tablet: 2 cột */
@media (max-width: 1024px) {
  .gallery { 
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important; 
  }
  .gallery-item {
    height: 280px !important;
  }
}

/* Mobile: 1 cột */
@media (max-width: 600px) {
  .gallery { 
    grid-template-columns: 1fr !important; 
  }
  .gallery-item {
    height: 220px !important;
  }
}/* End custom CSS */