.elementor-29 .elementor-element.elementor-element-bead4ad{--display:flex;--min-height:774px;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-29 .elementor-element.elementor-element-5c2a753{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-29 .elementor-element.elementor-element-078816f{margin:40px 0px calc(var(--kit-widget-spacing, 0px) + 0px) 0px;}/* Start custom CSS for shortcode, class: .elementor-element-078816f */* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.arma-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 10px; 
  row-gap: 24px;     /* giữ khoảng cách dọc */
  max-width: 1400px;
  margin: 40px auto;
  padding: 0 5px;
  font-family: Arial, sans-serif;
}

.arma-card {
  color: #111;
}


.arma-img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.arma-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.arma-overlay {
  position: absolute;
  inset: 0;                 /* top:0; right:0; bottom:0; left:0 */
  background: rgba(0,153,216,0.9);
  z-index: 2;
  pointer-events: none;

  transform: translateY(100%);     /* nằm dưới khung ảnh */
  transition: transform 0.45s ease;
}

/* HOVER TRƯỢT LÊN */

.arma-card { position: relative; }
.arma-img  { position: relative; z-index: 1; }


.arma-line{
  height: 6px;
  margin: 12px 0;
  position: relative;
  z-index: 6;        /* cao hơn ảnh/overlay */
  overflow: visible; /* cho phép "tràn lên" */
}

/* Phần màu xanh thật sự sẽ tràn lên */
.arma-line::after{
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 6px;
  background: #0099d8;
  transform-origin: bottom;
  transform: scaleY(3);
    background: rgba(0,153,216,0.55);
  transition: transform .35s ease;
}

/* Hover: line tràn lên (tăng độ cao) */
.arma-card:hover .arma-line::after{
  transform: scaleY(50); /* 6*6px = ~36px, đổi 6 thành 4/8/10 tùy bạn */
}

/* Chỉ nhấc TEXT thôi */
.arma-card h3,
.arma-card p,
.arma-card a{
  position: relative;
  z-index: 7;
  transition: transform .25s ease;
  will-change: transform;
}

.arma-card:hover h3,
.arma-card:hover p,
.arma-card:hover a{
  transform: translateY(-4px);
}
.arma-card h3 {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.4px;
  margin-bottom: 6px;
}

.arma-card p {
  font-size: 13px;
  line-height: 1.5;
  color: #333;
  min-height: 80px;
}

/* ===============================
   READ MORE
================================ */
.arma-card a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  color: #0099d8;
  margin-top: 8px;
}

.arma-card a span {
  transition: transform 0.25s ease;
}

.arma-card a:hover span {
  transform: translateX(4px);
}

/* ===============================
   RESPONSIVE
================================ */
@media (max-width: 1200px) {
  .arma-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .arma-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .arma-grid {
    grid-template-columns: 1fr;
  }
}/* End custom CSS */