/* ===== Single Application Custom Styles ===== */
/* ===== Application Intro Section ===== */
.app-intro {
  padding: 48px 0 32px;
  background-color: var(--color-bg-light, #f9fafb);
}

.app-intro__inner {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--color-text, #333);
  text-align: center;
}

.app-intro__inner p + p {
  margin-top: 1em;
}

/* --- Challenges --- */
.app-ch-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.app-ch-item {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: 18px;
  text-align: center;
}
.app-ch-icon {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}
.app-ch-icon img {
  max-height: 80px;
  width: auto;
}
.app-ch-icon__ph {
  width: 64px;
  height: 64px;
  border-radius: 4px;
  display: inline-block;
}
.app-ch-desc {
  margin: 0;
  color: var(--color-muted);
  line-height: 1.5;
}

/* ===== Our Solutions: Block 1 (2-col) ===== */
.app-sol-2col{
  display:grid;
  grid-template-columns: 1.1fr 0.9fr; /* media hơi rộng hơn */
  gap: 24px;
  align-items: center;
}
.app-sol-media{ width:100%; }
.app-sol-image{ margin:0; }
.app-sol-image img{
  display:block;
  width:100%;
  height:auto;
  border-radius:4px;
  box-shadow: 0 2px 8px rgba(0,0,0,.05);
}
.app-sol-embed{
  position:relative;
  width:100%;
  aspect-ratio:16/9;
  overflow:hidden;
  border-radius:4px;
  box-shadow: 0 2px 8px rgba(0,0,0,.05);
}
.app-sol-embed iframe{
  position:absolute; inset:0;
  width:100%; height:100%;
}

.app-sol-copy{
  padding:0;
}

/* ===== OUR SOLUTIONS – Related Products (5 cards / row) ===== */
.app-solutions-section {
  background: var(--color-bg-soft);
}
.app-products{ margin-top:28px; }
.app-products__title{
  margin:20px 0 16px;
  padding-top:20px;
  font-size:1.125rem;
  font-weight:800;
}

/* 5 cột desktop, tự rơi xuống ở breakpoint */
.app-products-grid{
  display:grid;
  grid-template-columns: repeat(5, minmax(180px, 1fr));
  gap:20px;
}

/* Card */
.app-product-card{
  display:flex;
  flex-direction:column;
  height:100%;
  background:#fff;
  border:1px solid var(--color-border);
  border-radius:4px;
  overflow:hidden;
  transition: all .3s ease;
}
.app-product-card:hover{
  transform: translateY(-1px);
  border:1px solid var(--color-primary);
}

.app-product-card__media{
  display:flex;
  align-items:center;
  justify-content:center;
  background: #fff;
  height:140px;
  padding:10px;
  margin:14px 14px 10px;
  overflow:hidden;
}
.app-product-card__media img{
  max-width:100%;
  max-height:100%;
  width:auto;
  height:auto;
  object-fit:contain;
}
/* Ghi đè nếu trước đó có aspect-ratio */
.app-product-card__media{ aspect-ratio:auto !important; }

/* Body */
.app-product-card__body{
  display:flex;
  flex-direction:column;
  padding:0 16px 14px;
  flex: 1 1 auto;
  min-height: 0;
}
.app-product-card__title{
  margin:0 0 8px;
  font-size:1rem;
  font-weight:800;
  text-align:left;
}
.app-product-card__title a{ color:inherit; text-decoration:none; }

.app-product-card__excerpt{ display:none !important; }

/* CTA */
.app-product-card__more{
  margin-top:auto;
  align-self: flex-end;
  font-size:.75rem;
  font-weight:400;
  color:var(--color-primary);
  text-decoration:none;
  text-align:left;
  display:inline-block;
}
.app-product-card__more:hover{ color: var(--color-muted); }


.app-sol-cta {
  margin-top: 50px;
}

/* Breakpoints */
@media (max-width: 1400px){
  .app-products-grid{ grid-template-columns: repeat(4, minmax(0,1fr)); }
}
@media (max-width: 1100px){
  .app-products-grid{ grid-template-columns: repeat(3, minmax(0,1fr)); }
  .app-sol-2col{ grid-template-columns: 1fr; }
}
@media (max-width: 820px){
  .app-products-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 520px){
  .app-products-grid{ grid-template-columns: 1fr; }
}
/* --- Typical Industries --- */
.app-ti-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.app-ti-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: start;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: 0;
  overflow:hidden;
}
.app-ti-media {
  width: 100%;
  height: 100%;
}
.app-ti-media img {
  display: block;
  object-fit: cover;
  width: 100%;
  height: 100%;
  border-radius: 0;
}
.app-ti-body {
  padding: 16px 18px;
}
.app-ti-title {
  margin: 0 0 6px;
  font-weight: 800;
  font-size: 1rem;
}
.app-ti-desc {
  margin: 0;
  color: var(--color-muted);
  line-height: 1.6;
  font-size:0.875rem;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .app-ch-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 868px) {
  .app-ti-grid {
    grid-template-columns: 1fr;
  }
}




body.container{
  overflow-x: hidden !important;
}



