/*
 * VPCC 1.30.60 — Public typography system
 * Mục tiêu: trang trọng, hài hòa, tránh tiêu đề kiểu landing-page quá lớn.
 * Scope có chủ đích: chỉ frontend công khai của plugin.
 */
:root{
 --vpcc-type-display:clamp(36px,4vw,50px);
 --vpcc-type-h1:clamp(30px,3.1vw,40px);
 --vpcc-type-h2:clamp(24px,2.25vw,32px);
 --vpcc-type-h3:20px;
 --vpcc-type-lead:17px;
 --vpcc-type-body:16px;
 --vpcc-type-small:13px;
 --vpcc-type-eyebrow:11px;
 --vpcc-line-heading:1.18;
}

/* Trang chủ */
.vpcc-home-hero h1{font-size:var(--vpcc-type-display)!important;line-height:1.12!important;letter-spacing:-.022em!important;max-width:680px}
.vpcc-home-heading h2{font-size:var(--vpcc-type-h2)!important;line-height:var(--vpcc-line-heading)!important;letter-spacing:-.015em!important}
.vpcc-home-why>div:first-child h2{font-size:var(--vpcc-type-h2)!important;line-height:1.22!important}
.vpcc-home-final h2{font-size:var(--vpcc-type-h1)!important;line-height:1.18!important}
.vpcc-home-start h2{font-size:24px!important;line-height:1.25}
.vpcc-home-groups h3,.vpcc-home-guides h3{font-size:19px!important;line-height:1.32}
.vpcc-home-process-grid h3,.vpcc-home-why-cards h3{font-size:18px!important}
.vpcc-home-hero-copy>p{font-size:18px!important;line-height:1.68}
.vpcc-home-final p{font-size:16px!important;line-height:1.65}
.vpcc-home-section{padding-top:64px;padding-bottom:64px}
.vpcc-home-hero{padding-top:64px;padding-bottom:58px}

/* Dịch vụ + Hồ sơ – Thủ tục */
.vpcc-archive-head h1,.vpcc-hero h1,.vpcc-single .vpcc-hero h1,
.vpcc-procedure-hero h1{font-size:var(--vpcc-type-h1)!important;line-height:1.16!important;letter-spacing:-.018em!important}
.vpcc-procedure-link-primary h2{font-size:var(--vpcc-type-h2)!important;line-height:1.22!important}

/* Giới thiệu + Đội ngũ */
.vpcc-about-grid h2{font-size:20px!important;line-height:1.3}
.vpcc-about-principles h2,.vpcc-team-group>header h2{font-size:var(--vpcc-type-h2)!important;line-height:1.22!important}
.vpcc-team-card h3{font-size:19px!important;line-height:1.3}
.vpcc-about-lead,.vpcc-team-lead{font-size:17px!important;line-height:1.7}

/* Customer journey / hubs */
.vpcc-hub-bottom h2{font-size:var(--vpcc-type-h2)!important;line-height:1.22!important}

/* Eyebrow thống nhất */
.vpcc-home-kicker,.vpcc-home-heading span,.vpcc-home-start>span,.vpcc-home-final>span,
.vpcc-about-principles>span,.vpcc-team-group>header>span{
 font-size:var(--vpcc-type-eyebrow)!important;letter-spacing:.12em
}

@media(max-width:620px){
 :root{--vpcc-type-display:34px;--vpcc-type-h1:29px;--vpcc-type-h2:24px;--vpcc-type-h3:19px}
 .vpcc-home-hero{padding-top:48px;padding-bottom:46px}
 .vpcc-home-section{padding-top:48px;padding-bottom:48px}
 .vpcc-home-hero-copy>p{font-size:17px!important}
}

/* 1.30.62 Homepage V2 owns its own restrained visual scale. */
.vpcc-home-v2 .vpcc-home-hero h1{font-size:clamp(38px,4.2vw,54px)!important;line-height:1.1!important;letter-spacing:-.035em!important}
.vpcc-home-v2 .vpcc-home-heading h2,.vpcc-home-v2 .vpcc-home-procedure-intro h2,.vpcc-home-v2 .vpcc-home-office h2,.vpcc-home-v2 .vpcc-home-support h2{font-size:clamp(27px,2.6vw,35px)!important;line-height:1.18!important}
.vpcc-home-v2 .vpcc-home-section{padding-top:68px;padding-bottom:68px}
.vpcc-home-v2 .vpcc-home-hero{padding-top:78px;padding-bottom:72px}
@media(max-width:620px){.vpcc-home-v2 .vpcc-home-hero h1{font-size:34px!important}.vpcc-home-v2 .vpcc-home-section{padding-top:50px;padding-bottom:50px}.vpcc-home-v2 .vpcc-home-hero{padding-top:50px;padding-bottom:45px}}


/* VPCC 1.31.51 — Responsive, restrained heading scale.
 * Scoped to plugin-owned public layouts; never target Astra header,
 * Elementor, wp-admin, or other plugins. Loaded after older VPCC CSS.
 * Preserve semantic heading levels and text content.
 */
:root{
 --vpcc-type-display:clamp(31px,3.25vw,43px);
 --vpcc-type-h1:clamp(27px,2.65vw,35px);
 --vpcc-type-h2:clamp(23px,2.05vw,29px);
 --vpcc-type-h3:19px;
}
/* Homepage V2 had hard-coded values that overrode the shared scale. */
.vpcc-home-v2 .vpcc-home-hero h1{
 font-size:var(--vpcc-type-display)!important;
 line-height:1.16!important;
 letter-spacing:-.022em!important;
 overflow-wrap:break-word;
}
.vpcc-home-v2 .vpcc-home-heading h2,
.vpcc-home-v2 .vpcc-home-procedure-intro h2,
.vpcc-home-v2 .vpcc-home-office h2,
.vpcc-home-v2 .vpcc-home-support h2,
.vpcc-home-v2 .vpcc-home-why h2,
.vpcc-home-v2 .vpcc-home-final h2{
 font-size:var(--vpcc-type-h2)!important;
 line-height:1.27!important;
 letter-spacing:-.014em!important;
 white-space:normal!important;
 overflow-wrap:break-word;
}
.vpcc-home-v2 .vpcc-home-groups h3,
.vpcc-home-v2 .vpcc-home-guides h3,
.vpcc-home-v2 .vpcc-home-staff h3,
.vpcc-team-card h3{
 font-size:var(--vpcc-type-h3)!important;
 line-height:1.35!important;
}
/* Service, procedures, identity and staff headings. */
.vpcc-archive-head h1,
.vpcc-hero h1,
.vpcc-single .vpcc-hero h1,
.vpcc-procedure-hero h1,
.vpcc-profile-heading h1{
 font-size:var(--vpcc-type-h1)!important;
 line-height:1.22!important;
 overflow-wrap:break-word;
}
.vpcc-about-v2 .vpcc-about-section>h2,
.vpcc-team-group>header h2,
.vpcc-about-principles h2,
.vpcc-hub-bottom h2,
.vpcc-procedure-link-primary h2{
 font-size:var(--vpcc-type-h2)!important;
 line-height:1.28!important;
 overflow-wrap:break-word;
}
@media (max-width:620px){
 :root{
  --vpcc-type-display:30px;
  --vpcc-type-h1:26px;
  --vpcc-type-h2:23px;
  --vpcc-type-h3:18px;
 }
 .vpcc-home-v2 .vpcc-home-hero h1{line-height:1.19!important}
 .vpcc-home-v2 .vpcc-home-heading h2,
 .vpcc-home-v2 .vpcc-home-procedure-intro h2,
 .vpcc-home-v2 .vpcc-home-office h2,
 .vpcc-home-v2 .vpcc-home-support h2,
 .vpcc-home-v2 .vpcc-home-why h2,
 .vpcc-home-v2 .vpcc-home-final h2{line-height:1.3!important}
 /* Keep section labels distinct without shrinking body text. */
 .vpcc-home-v2 .vpcc-home-section{padding-top:44px;padding-bottom:44px}
 .vpcc-home-v2 .vpcc-home-hero{padding-top:48px;padding-bottom:48px}
}

/* VPCC 1.31.52 — Mobile title spacing and procedure hub title.
 * Limit changes to plugin procedure archive and its booking/contact pages.
 * Never move the Astra site header or change form fields.
 */
@media (max-width: 620px) {
  /* Procedure archive uses a plugin template; earlier typography rules
     covered .vpcc-procedure-hero but not .vpcc-procedure-hub .vpcc-page-head. */
  .vpcc-procedure-hub .vpcc-page-head h1 {
    font-size: 27px !important;
    line-height: 1.24 !important;
    letter-spacing: -.015em !important;
    margin: 10px 0 15px !important;
    overflow-wrap: normal;
  }
  /* The archive already has 40px top padding from front.css; retain it. */
  .vpcc-procedure-hub .vpcc-page-head { margin-bottom: 28px; }
  /* Astra outputs the booking/contact page title before plugin content.
     Add breathing room after the header only on these two pages. */
  body.vpcc-booking-page .site-content,
  body.vpcc-contact-page .site-content { padding-top: 34px; }
  body.vpcc-booking-page .entry-header .entry-title,
  body.vpcc-contact-page .entry-header .entry-title {
    margin-top: 0 !important;
    font-size: 29px !important;
    line-height: 1.24 !important;
  }
}

/* 1.31.53: Increase mobile breathing room above booking/contact titles,
   approximately balancing the gap beneath the title. */

/* 1.31.54: Compact the gap below the page title on booking/contact mobile pages.
 * Retain the 54px clearance above the title; do not move the Astra header.
 * Scope to the exact VPCC-owned WordPress page types. */
@media (max-width: 620px) {
  body.vpcc-booking-page .entry-header,
  body.vpcc-contact-page .entry-header {
    margin-bottom: 8px !important;
    padding-bottom: 0 !important;
  }
  body.vpcc-booking-page .entry-header .entry-title,
  body.vpcc-contact-page .entry-header .entry-title {
    margin-bottom: 0 !important;
  }
  body.vpcc-booking-page .entry-content,
  body.vpcc-contact-page .entry-content {
    margin-top: 0 !important;
  }
}

/* 1.31.55: Move both title and introduction up; scope to booking/contact mobile. */
@media(max-width:620px){body.vpcc-booking-page .entry-content > :first-child,body.vpcc-contact-page .entry-content > :first-child{margin-top:0!important}}
