/*
Theme Name: Astra Child
Theme URI: https://wpastra.com/
Description: Child theme của Astra
Author: Webtop
Template: astra
Version: 1.0
*/

:root, .editor-styles-wrapper {
    --lh-text-heading: #0b1644;
    --lh-text-body: #6b7280;
    /* Edit the desktop type scale here; tablet/mobile overrides follow below. */
    --lh-hero-font-size: 48px;
    --lh-section-font-size: 32px;
    --lh-subheading-font-size: 20px;
    --lh-card-font-size: 18px;
    --lh-panel-font-size: 24px;
    --lh-h4-font-size: 18px;
    --lh-h5-font-size: 16px;
    --lh-h6-font-size: 14px;
    --lh-heading-line-height: 1.4;
    --lh-paragraph-font-size: 16px;
    --lh-paragraph-line-height: 1.6;
}

@media (min-width: 768px) and (max-width: 1100px) {
    :root, .editor-styles-wrapper { --lh-hero-font-size: 40px; }
}

@media (max-width: 767px) {
    :root, .editor-styles-wrapper {
        --lh-hero-font-size: 24px;
        --lh-section-font-size: 24px;
    }
}

/* Canvas width, rather than the admin window, determines the editing scale. */
@container (min-width: 768px) and (max-width: 1100px) {
    .editor-styles-wrapper :is(.lh-home,.lh-news-page) > * { --lh-hero-font-size: 40px; }
}
@container (max-width: 767px) {
    .editor-styles-wrapper :is(.lh-home,.lh-news-page) > * {
        --lh-hero-font-size: 20px;
        --lh-section-font-size: 20px;
    }
}

/* HTML heading defaults, including new content added in WordPress. */
:is(.lh-home,.lh-global,.entry-content,.editor-styles-wrapper) h1 { font-size:var(--lh-hero-font-size); }
:is(.lh-home,.lh-global,.entry-content,.editor-styles-wrapper) h2 { font-size:var(--lh-section-font-size); }
:is(.lh-home,.lh-global,.entry-content,.editor-styles-wrapper) h3 { font-size:var(--lh-subheading-font-size); }
:is(.lh-home,.lh-global,.entry-content,.editor-styles-wrapper) h4 { font-size:var(--lh-h4-font-size); }
:is(.lh-home,.lh-global,.entry-content,.editor-styles-wrapper) h5 { font-size:var(--lh-h5-font-size); }
:is(.lh-home,.lh-global,.entry-content,.editor-styles-wrapper) h6 { font-size:var(--lh-h6-font-size); }

body.single-post .entry-content,
.editor-styles-wrapper.post-type-post { color:var(--lh-text-body); font:400 var(--lh-paragraph-font-size)/var(--lh-paragraph-line-height) 'Be Vietnam Pro',sans-serif; }
body.single-post :is(.entry-title,.entry-content h2) { font-size:var(--lh-section-font-size); }
body.single-post .entry-header .entry-title { font-size:var(--lh-section-font-size); }
body.single-post .entry-header :is(.entry-meta,.ast-breadcrumbs-wrapper) { font-size:14px;line-height:1.6; }
body.single-post #secondary .wt-latest-posts { font-size:14px!important; }
body.single-post .entry-content h3 { font-size:var(--lh-subheading-font-size); }
body.single-post :is(.entry-title,.entry-content h2,.entry-content h3) {
    color:var(--lh-text-heading); font-family:'Be Vietnam Pro',sans-serif; line-height:var(--lh-heading-line-height);
}
.editor-styles-wrapper.post-type-post :is(h2,h3) {
    color:var(--lh-text-heading); font-family:'Be Vietnam Pro',sans-serif; line-height:var(--lh-heading-line-height);
}
.editor-styles-wrapper.post-type-post h2 { font-size:var(--lh-section-font-size); }
.editor-styles-wrapper.post-type-post h3 { font-size:var(--lh-subheading-font-size); }
/* Shared prose scale; component-specific metrics and labels retain their hierarchy. */
body:not(.wp-admin) p, .editor-styles-wrapper p {
    font-size: var(--lh-paragraph-font-size);
    line-height: var(--lh-paragraph-line-height);
}

/* Heading roles: all page-specific size assignments live here. */
:where(.lh-home, .lh-global) h1 { font-size:var(--lh-hero-font-size); }
:where(.lh-home, .lh-global) h2 { font-size:var(--lh-section-font-size); }
:where(.lh-home, .lh-global) h3 { font-size:var(--lh-subheading-font-size); }
.lh-contact-panel h2 { font-size:var(--lh-panel-font-size); }
.lh-news-card h3 { font-size:var(--lh-card-font-size); }
.lh-footer .lh-footer-brand h3 { font-size:var(--lh-card-font-size); }
.editor-styles-wrapper .lh-hero h1 { font-size:var(--lh-hero-font-size); }
.editor-styles-wrapper .lh-home h1 { font-size:var(--lh-hero-font-size); }
.editor-styles-wrapper .lh-home h2 { font-size:var(--lh-section-font-size); }
.editor-styles-wrapper .lh-capacity-showcase .lh-heading { font-size:var(--lh-hero-font-size); }
@media (min-width:1101px) and (max-width:1599px) {
    .lh-capacity-showcase .lh-heading { font-size:var(--lh-section-font-size); }
}
@container (min-width:1101px) and (max-width:1599px) {
    .editor-styles-wrapper .lh-capacity-showcase .lh-heading { font-size:var(--lh-section-font-size); }
}
.lh-about .lh-about-highlight h3 { font-size:var(--lh-subheading-font-size); }
.lh-about .lh-about-vision-card h3 { font-size:var(--lh-subheading-font-size); }
.lh-about .lh-about-value h3 { font-size:var(--lh-subheading-font-size); }
.lh-about-tribeco .lh-about-highlight h3 { font-size:var(--lh-subheading-font-size); }
.lh-home.lh-about-reference .lh-ref-overview-panel h1 { font-size:var(--lh-section-font-size); }
.lh-about-reference .lh-ref-card h3 { font-size:var(--lh-subheading-font-size); }
.lh-home.lh-about-reference .lh-development-heading .lh-heading { font-size:var(--lh-section-font-size); }
.lh-about-tribeco .lh-about-hero h1 { font-size:var(--lh-hero-font-size); }
.lh-about-tribeco .lh-about-story-copy .lh-heading { font-size:var(--lh-section-font-size); }
.lh-about-reference .lh-ref-core-values .lh-heading { font-size:var(--lh-section-font-size); }
.lh-about-reference .lh-core-center h3 { font-size:var(--lh-subheading-font-size); }
.lh-about-reference .lh-core-tabs:not(.is-interactive) h3 { font-size:var(--lh-subheading-font-size); }
.lh-about-reference .lh-ref-awards .lh-heading { font-size:var(--lh-section-font-size); }
.editor-styles-wrapper .lh-about-reference .lh-core-center h3 { font-size:var(--lh-subheading-font-size); }
.editor-styles-wrapper .lh-about-reference .lh-core-tabs > .lh-core-item h3 { font-size:var(--lh-subheading-font-size); }
.lh-catalog .lh-catalog-selection .lh-heading { font-size:var(--lh-section-font-size); }
.lh-catalog .lh-catalog-card h3 { font-size:var(--lh-card-font-size); }
.lh-catalog .lh-catalog-browser .lh-catalog-card h3 { font-size:var(--lh-card-font-size); }
.lh-catalog .lh-catalog-benefit h3 { font-size:var(--lh-subheading-font-size); }
.lh-product-detail .lh-product-summary h1 { font-size:var(--lh-section-font-size); }
.lh-product-detail .lh-product-information h2 { font-size:var(--lh-subheading-font-size); }
.lh-product-detail .lh-product-applications h3 { font-size:var(--lh-subheading-font-size); }
.lh-product-detail .lh-related-products h2 { font-size:var(--lh-section-font-size); }
.lh-home.lh-quality .lh-quality-copy h2 { font-size:var(--lh-section-font-size); }
.lh-quality .lh-contact-panel h2 { font-size:var(--lh-panel-font-size); }
.editor-styles-wrapper .lh-quality .lh-quality-copy h2 { font-size:var(--lh-section-font-size); }
.lh-distributors h2 { font-size:var(--lh-section-font-size); }
.lh-distributors .lh-partner-feature h3 { font-size:var(--lh-card-font-size); }
.lh-distributors .lh-benefit-copy h3 { font-size:var(--lh-subheading-font-size); }
.lh-distributors .lh-step-copy h3 { font-size:var(--lh-subheading-font-size); }
.lh-distributors .lh-register-panel h3 { font-size:var(--lh-subheading-font-size); }
.lh-distributors .lh-register-copy .lh-register-eyebrow { font-size:12px;line-height:1.5; }
.lh-distributors .lh-register-panel .lh-register-privacy { font-size:12px;line-height:1.5; }
.lh-distributors .lh-about-banner h1 { font-size:var(--lh-hero-font-size); }
.lh-contact-page .lh-contact-information h2 { font-size:var(--lh-section-font-size); }
.lh-contact-page .lh-consult-heading h2 { font-size:var(--lh-panel-font-size); }
.lh-contact-page .lh-about-banner h1 { font-size:var(--lh-hero-font-size); }
.lh-news-page .lh-news-grid.uagb-post-grid.is-grid .uagb-post__title a { font-size:var(--lh-card-font-size); }
.lh-news-page .lh-news-grid.uagb-post-grid.is-grid .uagb-post__title { font-size:var(--lh-card-font-size); }
.lh-news-page .lh-news-grid.uagb-post-grid.is-grid .uagb-post__excerpt { font-size:var(--lh-paragraph-font-size); }
.lh-news-page .wp-block-uagb-advanced-heading .uagb-heading-text { font-size:var(--lh-section-font-size); }
.lh-news-page .uagb-heading-text { font-size:var(--lh-section-font-size); }
.editor-styles-wrapper .lh-news-page .uagb-heading-text { font-size:var(--lh-section-font-size); }
.lh-production .lh-process-stage-copy h3 { font-size:var(--lh-subheading-font-size); }
.lh-production .lh-production-heading,
.lh-production-overview .lh-production-heading { font-size:var(--lh-section-font-size); }
.lh-production .lh-production-hero h1 { font-size:var(--lh-hero-font-size); }
.editor-styles-wrapper .lh-production-hero h1 { font-size:var(--lh-hero-font-size); }
.wp-block-uagb-container.wt-heading-sidebar h3 { font-size:var(--lh-card-font-size) !important; }
.wt-404-title { font-size:var(--lh-section-font-size); }
.wt-404-description { font-size:var(--lh-paragraph-font-size); }
.editor-styles-wrapper .lh-section-heading :is(h1,h2) { font-size:var(--lh-section-font-size); }
.editor-styles-wrapper .lh-about-subheader h1 { font-size:var(--lh-hero-font-size); }
.editor-styles-wrapper .lh-about-value h3 { font-size:var(--lh-subheading-font-size); }

/* Numeric and compact paragraph roles retain their responsive hierarchy. */
.lh-lead { font-size:var(--lh-paragraph-font-size); }
.editor-styles-wrapper .lh-about-breadcrumb { font-size:14px; }
.editor-styles-wrapper .lh-about-value__number { font-size:30px; }
.lh-metric .lh-value { font-size:32px; }
.lh-metric .lh-unit { font-size:14px; }
.lh-metric .lh-label { font-size:18px; }
.lh-capacity-showcase .lh-value { font-size:36px; }
.lh-capacity-showcase .lh-unit { font-size:18px; }
.lh-capacity-showcase .lh-label { font-size:15px; }
.lh-capacity-showcase .lh-capacity-eyebrow { font-size:13px; }
.lh-capacity-showcase .lh-capacity-copy { font-size:var(--lh-paragraph-font-size); }
.lh-certificate-modal__title { font-size:18px; }
@media (max-width: 767px) {
    .lh-certificate-modal__title { font-size:16px; }
}
.lh-navigation > :is(.lh-language, p) { font-size:16px; }
@media (min-width: 768px) and (max-width: 1399px) {
    .lh-capacity-showcase .lh-value { font-size:28px; }
}
@media (min-width: 768px) and (max-width: 1399px) {
    .lh-capacity-showcase .lh-unit { font-size:16px; }
}
@media (min-width: 768px) and (max-width: 1399px) {
    .lh-capacity-showcase .lh-label { font-size:14px; }
}
@media (max-width: 359px) {
    .lh-home .lh-capacity-showcase .lh-value { font-size:22px; }
}
@media (max-width: 767px) {
    .lh-capacity-showcase .lh-value { font-size:24px; }
}
@media (max-width: 767px) {
    .lh-capacity-showcase .lh-unit { font-size:14px; }
}
@media (max-width: 767px) {
    .lh-capacity-showcase .lh-label { font-size:12px; }
}
@media (max-width: 767px) {
    .lh-capacity-showcase .lh-capacity-copy { font-size:var(--lh-paragraph-font-size); }
}
@container (max-width: 480px) {
    .editor-styles-wrapper .lh-capacity-showcase .lh-value { font-size:24px; }
}
@container (max-width: 480px) {
    .editor-styles-wrapper .lh-capacity-showcase .lh-unit { font-size:14px; }
}
@container (max-width: 480px) {
    .editor-styles-wrapper .lh-capacity-showcase .lh-label { font-size:12px; }
}
@container (max-width: 480px) {
    .editor-styles-wrapper .lh-capacity-showcase .lh-capacity-copy { font-size:var(--lh-paragraph-font-size); }
}
:is(.lh-about, .lh-catalog, .lh-quality, .lh-distributors, .lh-contact-page, .lh-news-shell) .lh-about-breadcrumb { font-size:14px; }
.lh-about .lh-about-number { font-size:32px; }
.lh-about .lh-about-capacity-copy { font-size:var(--lh-paragraph-font-size); }
.lh-about-tribeco .lh-eyebrow { font-size:13px; }
.lh-about-tribeco .lh-about-number { font-size:20px; }
.lh-home.lh-about-reference .lh-development-year { font-size:30px; }
.lh-about-tribeco .lh-about-badge-value { font-size:34px; }
.lh-about-tribeco .lh-about-badge-label { font-size:13px; }
.lh-about-tribeco .lh-about-capacity-copy { font-size:var(--lh-paragraph-font-size); }
.lh-about-tribeco .lh-about-capacity-copy .lh-metric .lh-value { font-size:30px; }
@media (max-width: 767px) {
    .lh-about-tribeco .lh-about-badge-value { font-size:26px; }
}
.lh-about-reference .lh-ref-breadcrumb-card .lh-about-breadcrumb { font-size:17px; }
.lh-about-reference .lh-ref-award-caption { font-size:16px; }
@media (max-width: 767px) {
    .lh-about-reference .lh-ref-breadcrumb-card .lh-about-breadcrumb { font-size:13px; }
}
.lh-catalog .lh-catalog-benefit-number { font-size:56px; }
.lh-product-detail .lh-product-category { font-size:var(--lh-paragraph-font-size); }
.lh-distributors .lh-benefit-number { font-size:56px; }
.lh-distributors .lh-step-number { font-size:18px; }
.lh-contact-page .lh-contact-label { font-size:13px; }
.lh-contact-page .lh-map-caption { font-size:13px; }
.lh-production .lh-production-eyebrow { font-size:12px; }
.lh-production .lh-production-number { font-size:28px; }
.lh-production .lh-production-number small { font-size:18px; }
.lh-production .lh-production-fact-label { font-size:11px; }
.lh-production-process .lh-process-eyebrow { font-size:12px; }
@media (max-width: 1100px) {
    .lh-production .lh-production-number { font-size:24px; }
}
@media (max-width: 1100px) {
    .lh-production .lh-production-number small { font-size:15px; }
}
@media (max-width: 767px) {
    .lh-production .lh-production-number { font-size:22px; }
}
@container (max-width: 640px) {
    .editor-styles-wrapper .lh-production .lh-production-number { font-size:22px; }
}

/* Tablet follows phone typography; the editor keeps its canvas-based scale. */
@media (min-width: 768px) and (max-width: 1024px) {
    body:not(.wp-admin):not(.editor-styles-wrapper) {
        --lh-hero-font-size: 24px;
        --lh-section-font-size: 24px;
    }
    body:not(.wp-admin):not(.editor-styles-wrapper) .lh-certificate-modal__title { font-size:16px; }
    body:not(.wp-admin):not(.editor-styles-wrapper) .lh-capacity-showcase .lh-value { font-size:24px; }
    body:not(.wp-admin):not(.editor-styles-wrapper) .lh-capacity-showcase .lh-unit { font-size:14px; }
    body:not(.wp-admin):not(.editor-styles-wrapper) .lh-capacity-showcase .lh-label { font-size:12px; }
    body:not(.wp-admin):not(.editor-styles-wrapper) .lh-about-tribeco .lh-about-badge-value { font-size:26px; }
    body:not(.wp-admin):not(.editor-styles-wrapper) .lh-about-reference .lh-ref-breadcrumb-card .lh-about-breadcrumb { font-size:13px; }
    body:not(.wp-admin):not(.editor-styles-wrapper) .lh-production .lh-production-number { font-size:22px; }
}

/* Gtransale */
.gt_float_switcher{
	box-shadow:none !important;
	background-color: transparent !important;
	font-size:18px !important;
}

.gt_float_switcher .gt-selected {
	background-color: transparent !important;
}

.gt_float_switcher .gt-selected .gt-current-lang{
	padding:0 !important
}

#gt_float_wrapper{
	display:flex !important;
}

.ast-builder-grid-row.ast-grid-center-col-layout{
	 grid-template-columns: max-content auto max-content !important;
}

.site-header-primary-section-left.site-header-section.ast-flex.site-header-section-left{
	width: fit-content !important;
}

#gt_float_wrapper {
  position: relative !important;
  width: 58px;   /* thay bằng chiều rộng thực tế của nút lúc đóng */
  height: 25px;  /* thay bằng chiều cao thực tế của nút lúc đóng */
}

.gt_float_switcher .gt-selected .gt-current-lang span.gt-lang-code{
	display:none !important;
}

.gt_options a {
  font-size: 0 !important;
}

.gt_float_switcher.notranslate {
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  z-index: 9999 !important;
}

.gt_options.gt-open{
	max-width:100% !important;
}

.gt_float_switcher .gt_options a{
	padding:0 !important;
	padding-top:10px !important;
}

.gt_float_switcher .gt_options a:hover {
    background: transparent !important;
    color: #333 !important;
}

.gt_float_switcher,
.gt_float_switcher * {
  transition: none !important;
}

/* ẩn div không dùng trên header */
.site-header-primary-section-left-center.site-header-section.ast-flex.ast-grid-left-center-section,
.site-header-primary-section-right-center.site-header-section.ast-flex.ast-grid-right-center-section{
	display:none !important;
}
.lh-header-translate.gt_container--qvtqvn{
	display: flex;
	justify-content: end;
}
