@import url('https://fonts.googleapis.com/css2?family=Google+Sans+Flex:opsz,wght@6..144,100..1000&display=swap');

:root {
  --site-font: 'Google Sans Flex', 'Google Sans', Arial, sans-serif;
}

/* Page scroll progress: always stays above the smart header and loader exit. */
.site-scroll-progress {
  position: fixed;
  z-index: 10000;
  top: 0;
  left: 0;
  width: 0;
  height: 4px;
  pointer-events: none;
  background: linear-gradient(90deg, #d9480f 0%, #ff6b1a 58%, #ffb066 100%);
  box-shadow: 0 1px 8px rgba(238, 91, 22, .48);
  transform-origin: left center;
  transition: width .08s linear;
}

@media (max-width: 700px) {
  .site-scroll-progress { height: 3px; }
}

html,
body,
body *,
button,
input,
select,
textarea,
optgroup,
option {
  font-family: var(--site-font) !important;
}

.static-ready .reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .65s ease, transform .65s cubic-bezier(.22,.61,.36,1);
}
.static-ready .reveal-on-scroll.is-visible {
  opacity: 1;
  transform: none;
}
.strength-bar i { transition: width 1.2s cubic-bezier(.22,.61,.36,1) !important; }
.step-detail {
  display: grid !important;
  grid-template-rows: 0fr !important;
  max-height: 0;
  opacity: 0 !important;
  visibility: hidden;
  overflow: hidden;
  transition: max-height .35s ease, grid-template-rows .35s ease, opacity .25s ease;
}
.step.is-open .step-icon .vertical { opacity: 0; }
.step.is-open .step-detail,
.step.open .step-detail {
  grid-template-rows: 1fr !important;
  max-height: 320px !important;
  opacity: 1 !important;
  visibility: visible;
  overflow: visible !important;
}
.step.is-open .step-detail p,
.step.open .step-detail p {
  height: auto !important;
  min-height: 0;
  margin-top: 12px;
  padding: 15px 14px 16px !important;
  background: rgba(255, 255, 255, .82);
  border: 1px solid rgba(255, 107, 26, .13);
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(97, 54, 29, .065);
  overflow: visible !important;
  white-space: normal !important;
  text-overflow: clip !important;
}
.process .step.is-open,
.process .step.open {
  height: auto !important;
  overflow: visible !important;
}
.process-viewport {
  margin-block: -20px;
  padding-block: 20px;
}
.process .process-track { overflow: visible !important; }
.process .process-step-slide { position: relative; }
.process .process-step-slide:hover { z-index: 3; }

/* 3D Flip Button theo trục X cho 5 bước quy trình.
   Góc xoay đổi mặt tại 90 độ để chữ không bao giờ bị hiển thị ngược. */
.process .step-shape {
  transform-style: preserve-3d;
  backface-visibility: hidden;
  will-change: transform;
  transition: background-color .25s ease, filter .25s ease;
}
.process .step:hover .step-shape,
.process .step:last-child:hover .step-shape {
  background: var(--orange) !important;
  filter: drop-shadow(0 10px 10px rgba(117, 47, 14, .22));
  animation: processFlipX .68s cubic-bezier(.2,.75,.25,1) both;
}
@keyframes processFlipX {
  0% { transform: perspective(900px) rotateX(0deg); }
  49% { transform: perspective(900px) rotateX(82deg); }
  51% { transform: perspective(900px) rotateX(-82deg); }
  100% { transform: perspective(900px) rotateX(0deg); }
}
.gallery-track,.real-gallery-track,.reviews-track,.process-track { transition: transform .85s cubic-bezier(.22,.61,.36,1) !important; touch-action: pan-y; }

/* Partner reviews: four cards per desktop slide, one card per phone slide. */
@media (min-width: 761px) {
  .customer-reviews .reviews-page {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

/* Mobile-only refinements. Desktop keeps the original process and review grids. */
@media (max-width: 1000px) {
  .process {
    padding-top: 56px !important;
    padding-bottom: 50px !important;
  }
  .process .title { margin-bottom: 28px !important; }
  .process-viewport {
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    touch-action: pan-y;
    overscroll-behavior-x: contain;
    cursor: grab;
    -webkit-user-select: none;
    user-select: none;
  }
  .process-viewport:active { cursor: grabbing; }
  .process .steps.process-track {
    align-items: flex-start !important;
    padding: 4px 0 8px !important;
    touch-action: inherit;
  }
  .process .process-step-slide {
    height: auto !important;
    min-height: 0 !important;
    align-self: flex-start !important;
    padding: 6px 5.5% 12px !important;
  }
  .process .step-toggle { min-height: 72px !important; }
  .process-slider-controls { display: none !important; }
}

@media (max-width: 760px) {
  .customer-reviews .review-controls { display: none !important; }
  .customer-reviews .reviews-slider { touch-action: pan-y pinch-zoom; }
  .customer-reviews .reviews-page.mobile-single-review-page {
    display: flex;
    justify-content: center;
    padding-inline: 4px;
  }
  .customer-reviews .mobile-single-review-page .review-card {
    width: min(100%, 680px);
    min-height: 0;
  }
}

/* Mobile strengths: keep the copy clear and reserve a separate row for the bar. */
@media (max-width: 760px) {
  .quote .strengths {
    gap: 11px;
    padding: 24px 14px 28px;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
  }

  .quote .strengths h2 {
    margin-bottom: 15px;
    font-size: clamp(29px, 9vw, 38px);
    line-height: 1.12;
  }

  .quote .strength-item {
    grid-template-columns: 46px minmax(0, 1fr) !important;
    grid-template-rows: minmax(46px, auto) 8px !important;
    column-gap: 13px !important;
    row-gap: 11px !important;
    flex: 0 0 auto !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
    padding: 14px 15px !important;
    border-radius: 11px;
  }

  .quote .strength-item::before {
    grid-row: 1 / 3;
    width: 46px !important;
    height: 46px !important;
    font-size: 12px !important;
  }

  .quote .strength-item > div:first-child {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    min-height: 46px;
    margin: 0 !important;
  }

  .quote .strength-item > div:first-child > span {
    display: block !important;
    position: static !important;
    padding: 0 !important;
    font-size: 15.5px !important;
    line-height: 1.38 !important;
    white-space: normal !important;
    overflow: visible !important;
  }

  .quote .strength-item b {
    align-self: center;
    font-size: 14px !important;
    white-space: nowrap;
  }

  .quote .strength-bar {
    grid-column: 2;
    grid-row: 2;
    position: static !important;
    width: 100%;
    height: 8px;
    margin: 0;
  }
}

.slider-controls button,
.real-gallery-dots button,
.review-controls button,
.process-slider-controls button {
  position: relative;
  z-index: 8;
  pointer-events: auto !important;
  touch-action: manipulation;
}
.slider-controls,
.real-gallery-dots,
.review-controls,
.process-slider-controls {
  position: relative !important;
  z-index: 50 !important;
  isolation: isolate;
  pointer-events: auto !important;
}
.slider-controls button::before,
.real-gallery-dots button::before,
.review-controls button::before,
.process-slider-controls button::before {
  pointer-events: none !important;
}

.back-to-top.show { opacity: 1; visibility: visible; pointer-events: auto; }
.site-search-panel[hidden], .auth-overlay[hidden] { display: none !important; }
.auth-close { font-size: 24px; line-height: 1; }
.auth-error:empty { display: none; }

/* Keep the account and search actions visually continuous with the main nav. */
.nav-account button,
.nav-search-toggle {
  background: transparent !important;
  color: #fff !important;
}

/* Smart header: hide while scrolling down, reveal while scrolling up. */
body .site-header {
  display: block !important;
  position: sticky !important;
  top: 0;
  z-index: 110;
  transform: translate3d(0, 0, 0);
  transition: transform .34s cubic-bezier(.22,.61,.36,1), box-shadow .28s ease;
  will-change: transform;
}

/* The bundled theme makes the header `display: contents` and the orange nav
   independently sticky. Keep both layers inside one movable header instead. */
body .site-header > .top,
body .site-header > .nav {
  position: relative !important;
  top: auto !important;
}

body .site-header.smart-header-scrolled {
  box-shadow: 0 10px 28px rgba(65, 25, 7, .14);
}

body .site-header.smart-header-hidden {
  transform: translate3d(0, calc(-100% - 8px), 0) !important;
  box-shadow: none;
  pointer-events: none;
}

body .site-header.smart-header-visible {
  transform: translate3d(0, 0, 0) !important;
  pointer-events: auto;
}

@media (prefers-reduced-motion: reduce) {
  body .site-header { transition-duration: .01ms; }
}

.nav-account button:hover,
.nav-account button:focus-visible,
.nav-search-toggle:hover,
.nav-search-toggle:focus-visible {
  background: rgba(255, 255, 255, .12) !important;
}
.nav-account button:focus-visible,
.nav-search-toggle:focus-visible {
  outline: 2px solid rgba(255, 255, 255, .9);
  outline-offset: -3px;
}
@media (max-width: 1100px) {
  .nav.is-open .nav-inner { display: flex !important; }
  .nav-item.is-open .nav-dropdown { display: block !important; max-height: 500px; opacity: 1; visibility: visible; }
}
@media (prefers-reduced-motion: reduce) {
  .static-ready .reveal-on-scroll { opacity: 1; transform: none; transition: none; }
  .process .step:hover .step-shape { animation: none; }
}

/* Zalo brand icon supplied by the site owner. */
.floating-zalo {
  background-color: #fff !important;
  background-image: url("zalo-icon.svg") !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: calc(100% - 8px) calc(100% - 8px) !important;
}
.floating-zalo > svg {
  opacity: 0 !important;
}

/* Keep Phone, Zalo and Back-to-top in one evenly spaced right-side stack. */
.floating {
  left: auto !important;
  right: 22px !important;
  bottom: 84px !important;
  gap: 10px !important;
  z-index: 80 !important;
  align-items: center;
}
.floating a,
.back-to-top {
  width: 50px !important;
  height: 50px !important;
  flex: 0 0 50px;
}

/* The contact stack sits on the right, so its hover labels must open inward. */
.floating a::after {
  left: auto !important;
  right: 64px !important;
  white-space: nowrap;
  transform: translateX(5px) !important;
}
.floating a:hover::after,
.floating a:focus-visible::after {
  opacity: 1;
  transform: translateX(0) !important;
}

@media (max-width: 760px) {
  .floating {
    left: auto !important;
    right: 14px !important;
    bottom: 74px !important;
    gap: 10px !important;
  }
  .floating a,
  .back-to-top {
    width: 46px !important;
    height: 46px !important;
    flex-basis: 46px;
  }
}

/* Prevent Vietnamese words and contact details from breaking mid-character. */
.footer-grid {
  grid-template-columns: 1.35fr 0.95fr 0.95fr 1.55fr !important;
  gap: 32px !important;
}
.footer-grid > * {
  min-width: 0;
}
.footer-grid p,
.footer-grid a,
.footer-contact-line span {
  word-break: normal !important;
  overflow-wrap: break-word !important;
}
.footer-contact-line[href^="mailto:"] span,
.footer-contact-line[href^="tel:"] span {
  white-space: nowrap;
  overflow-wrap: normal !important;
}

@media (max-width: 1000px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 28px !important;
  }
}

@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr !important;
  }
  .footer-contact-line[href^="mailto:"] span {
    white-space: normal;
    overflow-wrap: anywhere !important;
  }
}

/* Hero slogan: scale and shine only while the user is hovering it. */
.hero-title {
  isolation: isolate;
  padding: 5px 10px 7px;
  margin: -5px -10px -7px;
  transform-origin: 50% 55%;
  color: transparent;
  background: linear-gradient(105deg, #fff 0 42%, #dffcff 48%, #fff 54% 100%);
  background-size: 260% 100%;
  background-position: 115% 0;
  -webkit-background-clip: text;
  background-clip: text;
  scale: 1;
  filter: brightness(1);
  transition: scale .34s cubic-bezier(.22,.61,.36,1), filter .34s ease;
}

.hero-title strong {
  margin-top: 0;
  color: transparent;
  background: linear-gradient(105deg, #1aff2b 0 42%, #8cff96 48%, #1aff2b 54% 100%);
  background-size: 260% 100%;
  background-position: 115% 0;
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-title-line {
  display: flex;
  align-items: baseline;
  gap: 0.28em;
  white-space: nowrap;
  font-size: clamp(18px, 1.75vw, 28px);
  line-height: 1.25;
}

.hero-title-line strong {
  font-size: clamp(25px, 2.65vw, 43px);
}

@media (max-width: 1000px) {
  .hero-title-line {
    font-size: clamp(15px, 3.2vw, 23px);
  }
  .hero-title-line strong {
    font-size: clamp(20px, 4.5vw, 34px);
  }
}

.hero-title small {
  color: transparent;
  background: linear-gradient(105deg, #fff 0 42%, #dffcff 48%, #fff 54% 100%);
  background-size: 260% 100%;
  background-position: 115% 0;
  -webkit-background-clip: text;
  background-clip: text;
}

@media (hover: hover) and (pointer: fine) {
  .hero-title:hover {
    scale: 1.03;
    filter: brightness(1.1);
  }

  .hero-title:hover,
  .hero-title:hover strong,
  .hero-title:hover small {
    animation: hero-title-text-shine .9s ease-out 1 forwards;
  }
}

@keyframes hero-title-text-shine {
  0% { background-position: 115% 0; }
  100% { background-position: -15% 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-title,
  .hero-title strong,
  .hero-title small {
    animation: none !important;
    background-position: 115% 0;
    scale: 1;
    filter: brightness(1);
  }
}

/* Mobile galleries: show one image and use the phone's native swipe gesture. */
@media (max-width: 760px) {
  .transport-gallery .gallery-slider,
  .real-gallery-slider {
    overflow: visible;
  }

  .transport-gallery .gallery-slider {
    padding-bottom: 0;
  }

  .transport-gallery .gallery-slider::before,
  .transport-gallery .gallery-slider::after {
    display: none;
  }

  .transport-gallery .gallery-track,
  .real-gallery-track {
    transform: none !important;
    transition: none !important;
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    touch-action: pan-x pan-y;
    -webkit-overflow-scrolling: touch;
  }

  .transport-gallery .gallery-track::-webkit-scrollbar,
  .real-gallery-track::-webkit-scrollbar {
    display: none;
  }

  .transport-gallery .gallery-page,
  .real-gallery-page {
    display: contents;
  }

  .transport-gallery .gallery-page article {
    flex: 0 0 100%;
    width: 100%;
    scroll-snap-align: center;
    scroll-snap-stop: always;
    transform: none;
  }

  .real-gallery-page figure {
    flex: 0 0 calc((100% - 12px) / 2);
    width: calc((100% - 12px) / 2);
    aspect-ratio: 3 / 4;
    margin: 0;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    transform: none;
  }

  .transport-gallery .slider-controls,
  .real-gallery-dots {
    display: none !important;
  }
}


/* Fix mobile category archive blank screen: never hide the whole long archive section. */
.news-archive.reveal-on-scroll,
.news-archive.page-reveal {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}
@media (max-width: 760px) {
  .news-archive,
  .news-archive.reveal-on-scroll,
  .news-archive.page-reveal {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    transition: none !important;
  }
  .news-archive .archive-heading,
  .news-archive .archive-grid {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }
}

/* Tài khoản khách hàng: hồ sơ cá nhân và tự đổi mật khẩu. */
html.auth-modal-open,html.auth-modal-open body{overflow:hidden}
.auth-account-modal{width:min(720px,calc(100vw - 28px))!important;max-width:720px!important;max-height:min(880px,calc(100vh - 28px));overflow:auto;padding:30px!important}
.auth-account-modal [hidden]{display:none!important}
.auth-profile-head{display:flex;align-items:center;gap:14px;margin:0 36px 20px 0;padding-bottom:18px;border-bottom:1px solid #eadfd9;text-align:left}
.auth-profile-avatar{display:grid;place-items:center;width:54px;height:54px;flex:0 0 auto;border-radius:16px;background:#fff0e8;color:#e95b18;font-size:22px;font-weight:900}
.auth-profile-head>div{min-width:0}
.auth-profile-head small{color:#e95b18;font-size:9px;font-weight:900;letter-spacing:1.2px}
.auth-profile-head h2{margin:3px 0 2px;color:#27211e;font-size:22px;line-height:1.25}
.auth-profile-head p{margin:0;color:#7e6c63;font-size:11px;overflow-wrap:anywhere}
.auth-profile-tabs{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-bottom:18px;padding:5px;border-radius:9px;background:#f5ece7}
.auth-profile-tabs button{min-height:42px;border:0;border-radius:7px;background:transparent;color:#7b6459;font-size:10px;font-weight:900;cursor:pointer}
.auth-profile-tabs button.active{background:#fff;color:#e95b18;box-shadow:0 4px 12px rgba(76,31,12,.08)}
.auth-profile-form,.auth-password-form{display:grid;gap:14px}
.auth-profile-form label,.auth-password-form label{display:grid;gap:7px;color:#594b44;font-size:10px;font-weight:900;letter-spacing:.3px;text-align:left}
.auth-profile-form input,.auth-password-form input{width:100%;height:48px;border:1px solid #e5d8d1;border-radius:7px;background:#fff;padding:0 13px;color:#2b2522;font:inherit;font-size:15px;outline:0}
.auth-profile-form input:focus,.auth-password-form input:focus{border-color:#ee9d76;box-shadow:0 0 0 3px rgba(233,91,24,.10)}
.auth-profile-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.auth-profile-form>button,.auth-password-form>button{min-height:48px;border:0;border-radius:7px;background:#e95b18;color:#fff;font-size:11px;font-weight:900;cursor:pointer}
.auth-profile-form>button:disabled,.auth-password-form>button:disabled,.auth-logout:disabled{opacity:.65;cursor:wait}
.auth-account-message{min-height:0;margin:0;padding:0;color:#6f625c;font-size:11px;line-height:1.55;text-align:left}
.auth-account-message:empty{display:none}
.auth-account-message.is-loading{color:#6a7180}
.auth-account-message.is-success{padding:10px 12px;border:1px solid #bce4cf;border-radius:7px;background:#ecf8f2;color:#14714d}
.auth-account-message.is-error{padding:10px 12px;border:1px solid #f1c8c4;border-radius:7px;background:#fff2f0;color:#a83932}
.auth-account-view>.auth-logout{width:100%;min-height:44px;margin-top:14px;border:1px solid #ead7cf;border-radius:7px;background:#fff;color:#9b4b2f;font-size:10px;font-weight:900;cursor:pointer}
.auth-account-view>.auth-logout:hover{background:#fff5f0}
@media(max-width:620px){
  .auth-account-modal{width:calc(100vw - 20px)!important;max-height:calc(100vh - 20px);padding:24px 17px!important}
  .auth-profile-grid{grid-template-columns:1fr}
  .auth-profile-tabs{grid-template-columns:1fr}
  .auth-profile-head h2{font-size:19px}
}
/* Tắt hộp tài khoản localStorage cũ của giao diện đóng gói; chỉ dùng tài khoản database. */
body .nav-account .nav-logout{display:none!important}
.auth-overlay:not(:has(.auth-account-modal)){display:none!important}

/* Mobile site search: keep the close button aligned on the input row. */
@media (max-width: 760px) {
  .site-search-panel form {
    grid-template-columns: 28px minmax(0, 1fr) 42px !important;
    grid-template-rows: 44px auto !important;
    align-items: center !important;
  }

  .site-search-panel form > svg {
    grid-column: 1 !important;
    grid-row: 1 !important;
    justify-self: center;
  }

  .site-search-panel form > input[type="search"] {
    grid-column: 2 !important;
    grid-row: 1 !important;
    width: 100%;
    min-width: 0;
  }

  .site-search-panel form > .search-close {
    grid-column: 3 !important;
    grid-row: 1 !important;
    display: grid !important;
    place-items: center;
    width: 40px !important;
    min-width: 40px !important;
    height: 40px !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 6px !important;
    line-height: 1 !important;
    justify-self: end;
    align-self: center;
  }

  .site-search-panel form > button[type="submit"] {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    width: 100% !important;
    margin: 2px 0 0 !important;
  }
}

/* ================================================================
   MEDIA FRAME GUARD v3.62
   Mọi ảnh giao diện quan trọng dùng khung cố định + object-fit:cover.
   Ảnh lớn bị crop giữa, ảnh nhỏ được browser phóng vừa khung; tỷ lệ file
   gốc không còn có thể kéo giãn hoặc làm thay đổi bố cục website.
   ================================================================ */
.about-grid > img,
.main-service-card > img,
.route-image-grid > a > img,
.gallery-slider article > img,
.real-gallery-page figure > img,
.news-feature-image > img,
.news-card-image > img,
.news-grid article img,
.archive-card > a > img,
.news-compact-card img,
.article-cover,
.article-related img,
.related-card img,
.subpage-hero img,
.subpage-hero-image img,
.review-avatar {
  object-fit: cover !important;
  object-position: center center !important;
  image-rendering: auto;
}

/* Trang chủ: giữ đúng kích thước thiết kế hiện có. */
.about-grid > img { width:100% !important; min-height:340px; }
.main-service-card > img { width:100% !important; height:300px !important; }
.route-image-grid > a > img { width:100% !important; height:175px !important; }
.gallery-slider article { aspect-ratio:1 / 1 !important; overflow:hidden !important; }
.gallery-slider article > img { width:100% !important; height:100% !important; }
.real-gallery-page figure { aspect-ratio:9 / 16 !important; overflow:hidden !important; }
.real-gallery-page figure > img { width:100% !important; height:100% !important; }
.review-avatar { width:62px !important; height:62px !important; flex-basis:62px !important; }

/* Tin tức / thumbnail: mọi card có tỷ lệ cố định, không phụ thuộc ảnh upload. */
.news-feature-image { aspect-ratio:1.45 / 1 !important; overflow:hidden !important; }
.news-feature-image > img { width:100% !important; height:100% !important; }
.news-card-image { aspect-ratio:1.55 / 1 !important; overflow:hidden !important; }
.news-card-image > img { width:100% !important; height:100% !important; }
.archive-card > a { aspect-ratio:1.55 / 1 !important; overflow:hidden !important; }
.archive-card > a > img { width:100% !important; height:100% !important; }
.news-compact-card img { aspect-ratio:1.55 / 1 !important; width:100% !important; }

/* Ảnh cover bài viết: chuẩn 16:9 trên mọi bài, kể cả ảnh nguồn dọc/vuông. */
.article-cover {
  width:100% !important;
  aspect-ratio:16 / 9 !important;
  height:auto !important;
  max-height:none !important;
  display:block !important;
  overflow:hidden !important;
}

/* Ảnh nhỏ liên quan: kích thước tuyệt đối để danh sách không nhảy layout. */
.article-related img { width:92px !important; height:68px !important; flex:0 0 92px; }
.related-card img { width:88px !important; height:66px !important; flex:0 0 88px; }

/* Hero/trang con luôn có viewport ảnh cố định. */
.subpage-hero img { width:100% !important; height:400px !important; }
.subpage-hero-image img { width:100% !important; height:430px !important; }

/* Ảnh nền dùng cover, không cho kích thước file gốc thay đổi section. */
.hero-image {
  background-size:cover !important;
  background-position:center center !important;
  background-repeat:no-repeat !important;
}

@media (max-width:760px){
  .about-grid > img{height:280px !important;min-height:0 !important}
  .main-service-card > img{height:220px !important}
  .route-image-grid > a > img{height:210px !important}
  .subpage-hero img,.subpage-hero-image img{height:280px !important}
  .article-cover{aspect-ratio:16 / 9 !important}
}

/* Ảnh chèn trong nội dung bài/trang: cùng chuẩn 16:9 để editor không tạo khối cao/thấp bất thường. */
.article-content .article-section img,
.article-content > figure img,
.article-content .article-section figure img,
.article-content .content img {
  width:100% !important;
  aspect-ratio:16 / 9 !important;
  height:auto !important;
  object-fit:cover !important;
  object-position:center center !important;
  display:block !important;
}
