/* ==========================================================================
   AUREX VIỆT NAM — COMPANY STORY ("VỀ AUREX")
   High-Precision Studio Editorial · Clean Platinum Architecture
   ========================================================================== */

.company-story {
  container-type: inline-size;
  color: #171511;
  background: transparent;
  font-family: "Times New Roman", Times, serif !important;
}

.company-story * {
  box-sizing: border-box;
  font-family: inherit;
}

.company-story .company-section {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  gap: clamp(24px, 5cqw, 64px);
  padding: 44px clamp(24px, 4vw, 56px);
  margin-bottom: 28px;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: var(--radius-md, 16px);
  box-shadow: 0 4px 16px -2px rgba(23, 21, 17, 0.05);
  transition: border-color 220ms cubic-bezier(.2,.7,.2,1), box-shadow 220ms cubic-bezier(.2,.7,.2,1);
}
.company-story .company-section:hover {
  border-color: #ded5c5;
  box-shadow: 0 12px 28px -4px rgba(23, 21, 17, 0.08);
}
.company-story .company-section:last-child {
  margin-bottom: 0;
}

.company-story .company-copy {
  min-width: 0;
  padding: 8px 0;
}
.company-story .company-copy h2 {
  font-weight: 800;
  font-size: clamp(26px, 3.2cqw, 42px);
  line-height: 1.25;
  letter-spacing: -0.025em;
  margin: 0 0 20px;
  color: #171511;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.company-story .company-prose {
  font-size: clamp(16px, 1.5cqw, 18px);
  line-height: 1.8;
  color: #334155;
  overflow-wrap: anywhere;
}
.company-story .company-prose p {
  margin: 0 0 18px;
}
.company-story .company-prose p:last-child {
  margin-bottom: 0;
}
.company-story .company-prose strong {
  font-weight: 700;
  color: #171511;
}
.company-story .company-prose em {
  font-style: italic;
  color: #a66e23;
}
.company-story .company-prose ul {
  list-style: disc;
  margin: 18px 0;
  padding-left: 24px;
}
.company-story .company-prose li {
  margin: 8px 0;
  padding-left: 4px;
  color: #334155;
}

/* Company Visual Stage */
.company-story .company-visual {
  min-width: 0;
  margin: 0;
  background: #f8f5ef;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md, 16px);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(23, 21, 17, 0.04);
}
.company-story .company-visual img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 600px;
  aspect-ratio: 4/3;
  object-fit: contain;
  filter: contrast(1.05) brightness(1.02);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.company-story .company-visual:hover img {
  transform: scale(1.03);
}
.company-story .company-visual figcaption {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.6;
  padding: 12px 18px;
  background: #ffffff;
  color: #64748b;
  border-top: 1px solid #e2e8f0;
  overflow-wrap: anywhere;
}

.company-story .company-layout-image-right .company-visual {
  order: 2;
}
.company-story .company-layout-text {
  display: flex;
  flex-direction: column;
  gap: 24px;
  text-align: left;
}
.company-story .company-layout-text .company-copy {
  width: min(100%, 780px);
}
.company-story .company-layout-text .company-visual {
  width: min(100%, 820px);
}
.company-story .company-layout-feature {
  grid-template-columns: 1fr;
  gap: 28px;
}
.company-story .company-layout-feature .company-copy {
  width: min(100%, 820px);
  justify-self: center;
  text-align: left;
}
.company-story .company-layout-feature .company-visual img {
  aspect-ratio: 16/9;
}

@container (max-width: 680px) {
  .company-story .company-section {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 28px 20px;
  }
  .company-story .company-layout-image-right .company-visual {
    order: 0;
  }
  .company-story .company-copy h2 {
    font-size: 26px;
    margin-bottom: 14px;
  }
  .company-story .company-prose {
    font-size: 16px;
    line-height: 1.7;
  }
  .company-story .company-visual figcaption {
    font-size: 12px;
    padding: 10px 14px;
  }
  .company-story .company-layout-feature .company-visual img {
    aspect-ratio: 4/3;
  }
}

@media (prefers-reduced-motion: reduce) {
  .company-story .company-section,
  .company-story .company-visual img {
    transition: none !important;
  }
}
