/* Scoped visual treatment for the rental-account article cluster. */
body.single-post.dvqc-front .article-header.dvqc-account-article-hero {
  padding: 43px 0 56px;
  background: radial-gradient(circle at 78% 18%, rgba(20, 120, 212, .12), transparent 33%), linear-gradient(135deg, #f8fbff 0%, #edf5fc 65%, #f7fbff 100%);
}

body.single-post.dvqc-front .dvqc-account-article-hero .dvqc-account-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: clamp(26px, 4vw, 62px);
  align-items: center;
  margin-top: 24px;
}

body.single-post.dvqc-front .dvqc-account-article-hero .dvqc-u-margin-top28 {
  min-width: 0;
  margin-top: 0;
  text-align: left;
}

body.single-post.dvqc-front .dvqc-account-article-hero .dvqc-u-margin-top28 > h1 {
  width: auto;
  max-width: none;
  margin: 16px 0 20px;
  font-size: clamp(34px, 3.35vw, 47px);
  line-height: 1.14;
  letter-spacing: -.035em;
  text-wrap: balance;
}

body.single-post.dvqc-front .dvqc-account-article-hero .dvqc-u-margin-top28 > .article-meta {
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 9px 12px;
}

body.single-post.dvqc-front .dvqc-account-hero-media,
body.single-post.dvqc-front .dvqc-account-hero-media figure {
  min-width: 0;
  margin: 0;
}

body.single-post.dvqc-front .dvqc-account-hero-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 20px 52px rgba(18, 67, 110, .17);
}

body.single-post.dvqc-front .dvqc-account-hero-media figcaption {
  max-width: 100%;
  margin: 10px 5px 0;
  color: #52697d;
  font-size: 13px;
  line-height: 1.5;
  text-align: left;
}

/* The calculator hero retains its cost scenario while gaining a visual. */
html[data-current-path="/tinh-phi-thue-tai-khoan-quang-cao-facebook/"] body.dvqc-front .mb-hero__grid {
  align-items: start;
}

html[data-current-path="/tinh-phi-thue-tai-khoan-quang-cao-facebook/"] body.dvqc-front .mb-hero__grid::after,
html[data-current-path="/tinh-phi-thue-tai-khoan-quang-cao-facebook/"] body.dvqc-front .mb-section__grid::after,
html[data-current-path="/tinh-phi-thue-tai-khoan-quang-cao-facebook/"] body.dvqc-front .mb-faq::after {
  display: none;
  content: none;
}

html[data-current-path="/tinh-phi-thue-tai-khoan-quang-cao-facebook/"] body.dvqc-front .mb-hero__aside {
  display: grid;
  align-content: start;
  gap: 15px;
}

.dvqc-account-calc-hero-visual,
.dvqc-account-calc-visual {
  margin: 0;
}

.dvqc-account-calc-hero-visual {
  margin-top: 28px;
}

.dvqc-account-calc-hero-visual img,
.dvqc-account-calc-visual img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 14px 36px rgba(18, 67, 110, .12);
}

.dvqc-account-calc-hero-visual img {
  max-height: 210px;
  aspect-ratio: 16 / 6;
}

.dvqc-account-calc-hero-visual figcaption,
.dvqc-account-calc-visual figcaption {
  margin-top: 10px;
  color: #52697d;
  font-size: 13px;
  line-height: 1.5;
}

.dvqc-account-calc-visual--rights {
  width: min(calc(100% - 36px), 900px);
  margin: 34px auto 0;
}

.dvqc-account-calc-visual--rights img {
  aspect-ratio: auto;
}

.dvqc-account-calc-visual--invoice {
  width: min(calc(100% - 36px), 1040px);
  margin: 34px auto 0;
}

.dvqc-account-calc-visual--invoice img {
  aspect-ratio: auto;
}

@media (min-width: 901px) {
  html[data-current-path="/tinh-phi-thue-tai-khoan-quang-cao-facebook/"] body.dvqc-front #loi-ich-thuc-te .mb-section__grid,
  html[data-current-path="/tinh-phi-thue-tai-khoan-quang-cao-facebook/"] body.dvqc-front #invoice-khac-tai-khoan-thue .mb-section__grid {
    align-items: stretch;
  }

  html[data-current-path="/tinh-phi-thue-tai-khoan-quang-cao-facebook/"] body.dvqc-front #loi-ich-thuc-te .mb-benefit-list,
  html[data-current-path="/tinh-phi-thue-tai-khoan-quang-cao-facebook/"] body.dvqc-front #invoice-khac-tai-khoan-thue .mb-compare-list {
    align-content: space-between;
  }
}

@media (max-width: 900px) {
  body.single-post.dvqc-front .dvqc-account-article-hero .dvqc-account-hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 25px;
  }

  body.single-post.dvqc-front .dvqc-account-hero-media img {
    max-height: 390px;
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 600px) {
  html[data-current-path="/tinh-phi-thue-tai-khoan-quang-cao-facebook/"] body.dvqc-front .mb-hero h1 {
    margin: 16px 0 18px;
    font-size: clamp(32px, 8.8vw, 36px);
    line-height: 1.1;
  }

  html[data-current-path="/tinh-phi-thue-tai-khoan-quang-cao-facebook/"] body.dvqc-front .mb-hero p {
    font-size: 16px;
    line-height: 1.6;
  }

  html[data-current-path="/tinh-phi-thue-tai-khoan-quang-cao-facebook/"] body.dvqc-front .mb-hero .actions {
    margin-top: 24px;
  }

  body.single-post.dvqc-front .dvqc-account-article-hero + .section .article-body [role="region"][aria-label^="So sánh"]::before {
    position: sticky;
    left: 0;
    display: block;
    width: max-content;
    margin: 0 0 10px;
    padding: 5px 9px;
    border-radius: 7px;
    background: #e8f3ff;
    color: #0b5bb5;
    content: "Vuốt ngang để xem đủ bảng →";
    font-size: 12px;
    font-weight: 700;
  }

  body.single-post.dvqc-front .article-header.dvqc-account-article-hero {
    padding: 30px 0 36px;
  }

  body.single-post.dvqc-front .dvqc-account-article-hero .dvqc-account-hero-grid {
    margin-top: 20px;
  }

  body.single-post.dvqc-front .dvqc-account-article-hero .dvqc-u-margin-top28 > h1 {
    margin: 14px 0 18px;
    font-size: clamp(30px, 8vw, 38px);
  }

  body.single-post.dvqc-front .dvqc-account-hero-media img {
    aspect-ratio: 5 / 4;
    max-height: none;
    border-radius: 15px;
  }

  body.single-post.dvqc-front .dvqc-account-hero-media figcaption {
    font-size: 12px;
  }

  .dvqc-account-calc-hero-visual img {
    max-height: 230px;
    aspect-ratio: 16 / 10;
  }

}

/* Calculator page: show the entire Meta account visual and give budget choices room. */
html[data-current-path="/tinh-phi-thue-tai-khoan-quang-cao-facebook/"] body.dvqc-front .dvqc-account-calc-hero-visual{max-width:680px}
html[data-current-path="/tinh-phi-thue-tai-khoan-quang-cao-facebook/"] body.dvqc-front .dvqc-account-calc-hero-visual img{height:auto;max-height:none;aspect-ratio:1500/844;object-fit:contain}
@media(max-width:600px){
  html[data-current-path="/tinh-phi-thue-tai-khoan-quang-cao-facebook/"] body.dvqc-front .dvqc-account-calc-hero-visual{max-width:none}
  html[data-current-path="/tinh-phi-thue-tai-khoan-quang-cao-facebook/"] body.dvqc-front .dvqc-account-calc-hero-visual img{height:auto;max-height:none;aspect-ratio:auto;object-fit:contain}
  html[data-current-path="/tinh-phi-thue-tai-khoan-quang-cao-facebook/"] body.dvqc-front .ac-fee-presets{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  html[data-current-path="/tinh-phi-thue-tai-khoan-quang-cao-facebook/"] body.dvqc-front .ac-fee-presets button{width:100%;min-height:46px;padding:10px 8px;border-radius:10px;font-size:13px}
}
