/* Context, category readability and honest related-product groups. */
.context-rail{display:flex;flex-direction:column;gap:18px;min-width:0}.editorial-sidebar,.catalogue-controls,.collection-sidebar{align-self:stretch;min-width:0}.context-rail>.widget,.context-rail>.contextual-group{margin:0}.context-outline{padding:18px;background:#fff;border:1px solid #dce6ee;border-radius:9px}.context-outline summary{font-weight:700;color:var(--bcc-primary);cursor:pointer;font-size:16px}.context-outline ol{margin:14px 0 0;padding-left:20px}.context-outline li{font-size:13px;line-height:1.7;margin:8px 0}.context-outline a{text-decoration:none;color:#385570}.context-outline a:hover{text-decoration:underline}.context-planning li{font-size:14px;line-height:1.7}.context-planning .text-link{display:inline-block;margin-top:14px}
.collection-layout{display:grid;grid-template-columns:minmax(0,3fr) minmax(260px,1fr);gap:24px;align-items:start}.collection-main{min-width:0}.collection-heading{max-width:none;margin-bottom:20px}.collection-introduction{margin-bottom:28px}.collection-introduction>.category-grid{margin-block:26px}.collection-introduction h2{font-size:25px;line-height:1.4;margin-top:30px;color:var(--bcc-primary)}.collection-introduction h3{font-size:20px;line-height:1.45}.collection-introduction p,.collection-introduction li{line-height:1.8;font-size:16px}.collection-introduction .hub-selection{padding:22px;border:1px solid #dce6ee;border-radius:10px;background:#f6f9fc;margin-block:26px}.collection-introduction .hub-selection ul{margin-bottom:0}.collection-layout .collection-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
.category-details{font-size:16px;line-height:1.9;padding:28px}.category-details h2{font-size:25px;line-height:1.4;color:var(--bcc-primary);margin:32px 0 16px;letter-spacing:0}.category-details h3{font-size:20px;line-height:1.45;margin:25px 0 13px}.category-details p{margin:0 0 18px}.category-details ul,.category-details ol{padding-left:24px;line-height:1.85}.category-details table{border-collapse:collapse;width:100%;display:block;overflow-x:auto}.category-details td,.category-details th{border:1px solid #dbe4ec;padding:12px;text-align:left}.category-details th{background:#eef5fb}.category-selection-guide{background:#f0f6fb;padding:22px;border-left:4px solid var(--bcc-primary);border-radius:9px;margin-block:24px}.category-selection-guide h2:first-child{margin-top:0}
.editorial-body>figure,.editorial-body>.wp-caption{margin-inline:auto!important;max-width:100%}.editorial-body>p:has(>img:only-child){text-align:center}.editorial-body figure img,.editorial-body .wp-caption img,.editorial-body>p>img:only-child{display:block;margin-inline:auto;max-width:100%;height:auto}.editorial-body h2[id],.category-details h2[id]{scroll-margin-top:130px}
.bcc-related-product-groups{grid-column:1/-1;min-width:0}.bcc-related-products{background:#fff;border-radius:12px;padding:25px;margin-top:24px}.bcc-related-products>h2{font-size:25px;line-height:1.4;color:var(--bcc-primary);margin:0 0 18px}.bcc-related-products .related-reason{font-size:14px;color:#607184;line-height:1.7}.woocommerce .bcc-related-products ul.products{display:grid!important;grid-template-columns:repeat(var(--related-count,4),minmax(0,1fr));gap:20px;margin:0!important}.woocommerce .bcc-related-products ul.products::before,.woocommerce .bcc-related-products ul.products::after{display:none!important}.woocommerce .bcc-related-products ul.products li.product{float:none!important;width:auto!important;margin:0!important;min-width:0}.bcc-related-products img{aspect-ratio:1;object-fit:cover;width:100%;height:auto}.bcc-related-products .woocommerce-loop-product__title{font-size:16px!important;line-height:1.5}.bcc-related-products .price{font-size:15px!important}
@media(min-width:1024px){.context-rail{position:sticky;top:min(126px,calc(100vh - 24px - var(--context-height,700px)))}}
@media(max-width:1000px){.collection-layout{grid-template-columns:minmax(0,2.5fr) minmax(230px,1fr)}.woocommerce .bcc-related-products ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}.category-details{padding:22px}}
@media(max-width:780px){.collection-layout{grid-template-columns:minmax(0,1fr);gap:24px}.context-rail{position:static}.collection-sidebar{grid-row:auto}.collection-introduction h2,.category-details h2{font-size:23px}.collection-introduction h3,.category-details h3{font-size:19px}.category-details{padding:18px;line-height:1.8}.category-details p,.category-details li{font-size:15px}.category-selection-guide,.collection-introduction .hub-selection{padding:16px}.bcc-related-products{padding:15px}.bcc-related-products>h2{font-size:23px}.woocommerce .bcc-related-products ul.products{gap:14px}.bcc-related-products .woocommerce-loop-product__title{font-size:14px!important}.editorial-body h2[id],.category-details h2[id]{scroll-margin-top:90px}}
.editorial-sidebar .context-outline li{padding:0;border:0}.editorial-sidebar .context-outline ol{list-style:decimal;padding-left:20px}.contextual-group a:focus-visible,.context-outline a:focus-visible{outline:2px solid var(--bcc-primary);outline-offset:3px}
.bcc-category-selection{background:#edf5fc;padding:22px;border-left:4px solid var(--bcc-primary);border-radius:9px;margin:22px 0}.bcc-category-selection h2:first-child{margin-top:0}.bcc-category-context{padding:20px;border:1px solid #dbe5ee;border-radius:9px;margin:22px 0}.bcc-category-context h2{margin-top:0}.catalogue-singleton-layout{clear:both;width:100%;min-width:0;display:grid;grid-template-columns:minmax(240px,1fr) minmax(0,1.5fr);gap:24px;align-items:start;margin-bottom:26px}.woocommerce .catalogue-singleton-layout ul.products{display:grid!important;grid-template-columns:minmax(0,1fr);margin:0!important}.woocommerce .catalogue-singleton-layout ul.products::before,.woocommerce .catalogue-singleton-layout ul.products::after{display:none}.woocommerce .catalogue-singleton-layout ul.products li.product{float:none!important;width:auto!important;margin:0!important}.catalogue-singleton-guide .bcc-category-selection{margin:0;padding:24px}.catalogue-singleton-guide h2{font-size:23px;line-height:1.45;color:var(--bcc-primary);letter-spacing:0}.catalogue-singleton-guide li,.catalogue-singleton-guide p{font-size:15px;line-height:1.85}.catalogue-singleton-guide ul{padding-left:22px}.catalogue-singleton-guide li{margin-bottom:12px}.catalogue-singleton-layout+section{clear:both}
@media(max-width:1000px){.catalogue-singleton-layout{grid-template-columns:minmax(0,1fr)}.catalogue-singleton-layout ul.products{max-width:440px}.catalogue-singleton-guide .bcc-category-selection{padding:18px}}
@media(max-width:780px){.bcc-category-selection,.bcc-category-context{padding:16px}.catalogue-singleton-layout ul.products{max-width:none}.catalogue-singleton-guide h2{font-size:22px}}
.hub-category-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin:24px 0 32px}.hub-category-card{display:block;background:#fff;border:1px solid #dce6ee;border-radius:9px;overflow:hidden;text-decoration:none;color:#254b70}.hub-category-card img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:cover}.hub-category-card span{display:block;padding:12px;font-size:14px;font-weight:650;line-height:1.5}.hub-category-card:hover{border-color:var(--bcc-primary)}.collection-guide{padding:24px;background:#fff;border:1px solid #e0e7ee;border-radius:10px}
@media(max-width:1000px){.hub-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:780px){.hub-category-grid{gap:12px}.hub-category-card span{padding:10px;font-size:13px}.collection-guide{padding:18px}}

/* Final review: predictable keyboard hit areas and reduced-motion support. */
.context-outline a{display:block;padding:5px 0;min-height:30px}.context-outline li{margin-block:2px}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}

/* Native homepage block columns remain usable in request-only previews without core block CSS. */
.home-native-content .wp-block-columns{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;align-items:start;margin:24px 0}
.home-native-content .wp-block-columns:has(>.wp-block-column:nth-child(3):last-child){grid-template-columns:repeat(3,minmax(0,1fr))}
.home-native-content .wp-block-columns>.wp-block-column{min-width:0;width:auto;margin:0}
.home-native-content .wp-block-column figure{margin:0 0 12px}.home-native-content .wp-block-column img{display:block;max-width:100%;height:auto}
@media(max-width:1000px){.home-native-content .wp-block-columns,.home-native-content .wp-block-columns:has(>.wp-block-column:nth-child(3):last-child){grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.home-native-content .wp-block-columns,.home-native-content .wp-block-columns:has(>.wp-block-column:nth-child(3):last-child){grid-template-columns:minmax(0,1fr)}}
/* Native editorial categories: useful articles first; complete descriptions remain accessible. */
.archive-editorial-layout.category-posts-first{display:block;padding-top:24px}.category-posts-first .page-heading{padding:0 0 20px;margin:0}.category-posts-first .page-heading h1{font-size:30px;line-height:1.3;margin:12px 0;color:#2463a6}.category-posts-first .card-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}.category-posts-first .content-card{background:#fff;border:1px solid #dce5ee;border-radius:10px;overflow:hidden}.category-posts-first .card-image{width:100%;aspect-ratio:4/3;object-fit:cover}.category-posts-first .card-copy{padding:18px}.category-posts-first .card-copy h2{font-size:19px;line-height:1.45;color:#243746;letter-spacing:0}.category-posts-first .card-copy p{font-size:14px;line-height:1.75;color:#465b6e}.category-reading{clear:both;margin:32px 0;background:#fff;border:1px solid #dce5ee;border-radius:12px;overflow:hidden}.category-reading>summary{padding:22px 26px;cursor:pointer;color:#245c96;font-size:20px;font-weight:700;line-height:1.5}.category-reading>summary span{font-size:14px;font-weight:400}.category-reading .category-details{max-width:1120px;margin:auto;padding:24px 28px;color:#243746}.category-reading .category-details h2{font-size:25px;line-height:1.4;color:#245c96}.category-reading .category-details h3{font-size:21px;line-height:1.45}.category-reading .category-details img{max-height:640px;width:auto;display:block;margin:24px auto;object-fit:contain}@media(max-width:1000px){.category-posts-first .card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.category-posts-first .card-grid{grid-template-columns:minmax(0,1fr)}.category-posts-first .page-heading h1{font-size:26px}.category-reading>summary{font-size:18px;padding:18px}.category-reading .category-details{padding:18px}.category-reading .category-details h2{font-size:22px}}
.category-topic-links{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 24px}.category-topic-links a{padding:9px 15px;border:1px solid #cedce9;border-radius:24px;background:#fff;color:#245c96;text-decoration:none;font-size:14px}.category-topic-links a[aria-current]{background:#2463a6;border-color:#2463a6;color:#fff}.category-posts-first .card-grid:not(:has(article:nth-child(2))){grid-template-columns:minmax(0,1fr)}.category-posts-first .card-grid:not(:has(article:nth-child(2))) .content-card>a{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);align-items:center}.category-posts-first .card-grid:not(:has(article:nth-child(2))) .card-copy{padding:32px}.category-posts-first .card-grid:not(:has(article:nth-child(2))) .card-copy h2{font-size:26px;line-height:1.4}.category-posts-first .card-grid:not(:has(article:nth-child(2))) .card-copy p{font-size:16px}@media(max-width:700px){.category-posts-first .card-grid:not(:has(article:nth-child(2))) .content-card>a{display:block}.category-posts-first .card-grid:not(:has(article:nth-child(2))) .card-copy{padding:20px}}
/* Scoped sizes override the retained legacy typography plugin's mobile !important scale. */
@media(max-width:849px){.category-posts-first .card-copy h2{font-size:19px!important}.category-posts-first .card-grid:not(:has(article:nth-child(2))) .card-copy h2{font-size:23px!important}.category-reading .category-details h2{font-size:23px!important}.category-reading .category-details h3{font-size:20px!important}.category-posts-first .page-heading h1{font-size:28px!important}}

/* BANHOP native catalogue: same component rhythm as the reviewed showroom theme. */
.home-native-content .site-home-catalogue{color:#263746}.site-home-catalogue>section{margin:0 0 38px;padding:24px 0;border-bottom:1px solid #e0e8f0}.site-home-catalogue>section>h2,.site-home-catalogue h2{font-size:27px!important;line-height:1.35!important;letter-spacing:0;color:#2463a6;margin:0 0 12px}.site-home-catalogue h3{font-size:18px!important;line-height:1.5!important;letter-spacing:0;margin:0 0 10px;color:#263746}.site-home-catalogue p{font-size:15px;line-height:1.8;margin:0 0 14px}.site-home-catalogue .wp-block-columns{gap:20px;margin:22px 0}.site-home-catalogue .wp-block-column{background:#fff;border:1px solid #dce5ee;border-radius:10px;overflow:hidden;box-shadow:0 4px 18px #26374608}.site-home-catalogue .wp-block-image{margin:0!important}.site-home-catalogue .wp-block-image img{display:block;width:100%!important;height:auto;aspect-ratio:4/3;object-fit:cover;border-radius:0!important}.site-home-catalogue .card-body{padding:18px}.site-home-catalogue .card-body a{color:#2463a6;text-decoration:none}.site-home-catalogue .card-body a:hover{text-decoration:underline}.site-home-catalogue .card-body p:last-child{font-size:13px;color:#53697b;margin-bottom:0}.site-home-catalogue .section-note{font-size:13px;color:#607184;background:#f3f7fb;padding:12px 16px;border-radius:8px}.site-home-catalogue .material-grid,.site-home-catalogue .process-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin:22px 0;padding:0;list-style:none}.site-home-catalogue .material-card,.site-home-catalogue .process-grid>li{display:block;background:#eef5fb;border:1px solid #d7e5f1;border-radius:10px;padding:22px;text-decoration:none;color:#263746}.site-home-catalogue .step-number{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;background:#2463a6;color:#fff;border-radius:50%;font-weight:700;margin-bottom:14px}.site-home-catalogue .material-card p,.site-home-catalogue .process-grid p{font-size:14px;margin:0}.site-home-catalogue .material-card h3{color:#245c96}.site-home-catalogue .home-eyebrow{font-size:12px;font-weight:700;color:#53697b;letter-spacing:.06em;margin-bottom:8px}.site-home-catalogue .home-section-intro{max-width:900px}.site-home-catalogue .native-category-bands{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.site-home-catalogue .native-category-band{padding:24px;background:#f4f8fc;border:1px solid #dce5ee;border-radius:10px}.site-home-catalogue .native-category-band h2{font-size:23px!important}.site-home-catalogue .native-category-band h2 a{text-decoration:none;color:#2463a6}.site-home-catalogue .native-category-band img{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:7px;margin:14px 0}.site-home-catalogue .native-category-band ul{padding-left:20px;font-size:15px}.site-home-catalogue .native-category-band li{margin:8px 0}@media(max-width:1000px){.site-home-catalogue .material-grid,.site-home-catalogue .process-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.site-home-catalogue>section{padding:18px 0;margin-bottom:24px}.site-home-catalogue h2{font-size:23px!important}.site-home-catalogue .material-grid,.site-home-catalogue .process-grid,.site-home-catalogue .native-category-bands{grid-template-columns:minmax(0,1fr)}.site-home-catalogue .material-card,.site-home-catalogue .process-grid>li,.site-home-catalogue .native-category-band{padding:20px}.site-home-catalogue .card-body{padding:16px}}
.site-home-catalogue .native-band-posts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:16px 0}.site-home-catalogue .native-band-posts:has(article:only-child){grid-template-columns:minmax(0,1fr)}.site-home-catalogue .native-band-posts article{background:white;border:1px solid #dce5ee;border-radius:8px;overflow:hidden}.site-home-catalogue .native-band-posts a{text-decoration:none}.site-home-catalogue .native-band-posts img{margin:0;border-radius:0}.site-home-catalogue .native-band-posts h3{font-size:16px!important;padding:14px;margin:0}.site-home-catalogue .native-bands-section{border:0}.site-home-catalogue .native-category-band>p{font-size:14px}.site-home-catalogue .native-category-band .text-link{font-size:14px;font-weight:650}
.catalogue-slide>a,.site-home-catalogue .card-image-link{display:block}

/* Main taxonomy navigation appears immediately below the native image hero. */
#danh-muc-ban-hop{scroll-margin-top:130px;margin-top:0}
.site-home-catalogue .directory-heading{font-size:28px!important;line-height:1.3!important;margin:0 0 8px;color:#1769a5}
.native-category-directory{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:20px}
.native-directory-group{min-width:0;padding:20px;background:#fff;border:1px solid #dce5ec;border-radius:10px}
.site-home-catalogue .native-directory-group h2{font-size:19px!important;line-height:1.4!important;margin:0 0 12px}
.native-directory-group h2 a{display:flex;justify-content:space-between;gap:8px;color:#145e96;text-decoration:none}
.native-directory-group ul{display:flex;flex-wrap:wrap;gap:8px;list-style:none;margin:0;padding:0}
.native-directory-group li{margin:0;padding:0}
.native-directory-group li a{display:block;padding:6px 10px;background:#f0f5f8;border-radius:6px;color:#263746;font-size:14px;line-height:1.5;text-decoration:none}
.native-directory-group a:hover,.native-directory-group a:focus-visible{color:#064d87;text-decoration:underline}
.directory-all{font-size:14px}
@media(max-width:900px){.native-category-directory{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:580px){.native-category-directory{grid-template-columns:1fr;gap:12px}.native-directory-group{padding:16px}.site-home-catalogue .directory-heading{font-size:24px!important}}
.native-directory-group{padding:0;overflow:hidden}
.directory-image{display:block;aspect-ratio:16/9;background:#eef3f7;overflow:hidden}
.directory-image img{display:block;width:100%;height:100%;object-fit:cover;margin:0}
.directory-copy{padding:18px}
@media(max-width:580px){.native-directory-group{padding:0}.directory-copy{padding:16px}}
/* Native details keeps the category menu usable with keyboard and without JavaScript. */
.primary-navigation .category-menu{position:static}
.primary-navigation .category-menu>summary{cursor:pointer;font-weight:600;list-style:none;padding:12px 8px;color:inherit}
.primary-navigation .category-menu>summary::-webkit-details-marker{display:none}
.category-mega-panel{position:absolute;top:100%;left:20px;right:20px;max-height:calc(100vh - 140px);overflow:auto;background:#fff;border:1px solid #dce5ec;border-radius:0 0 12px 12px;box-shadow:0 15px 35px #18364c24;padding:20px;z-index:1001;color:#263746}
.category-menu-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.primary-navigation .category-menu-overview{display:block;color:#1769a5;padding:0 0 16px}
.primary-navigation .category-menu-parent{display:block;font-weight:700;color:#145e96;padding:0 0 8px;white-space:normal}
.primary-navigation .category-menu-group ul{display:block;list-style:none;margin:0;padding:0}
.primary-navigation .category-menu-group li{display:block;margin:0}
.primary-navigation .category-menu-group li a{display:block;padding:5px 0;font-size:14px;line-height:1.45;white-space:normal;color:#263746}
.category-menu summary:focus-visible,.category-mega-panel a:focus-visible{outline:2px solid #1769a5;outline-offset:3px}
@media(max-width:780px){.primary-navigation .category-menu>summary{padding:12px 0}.category-mega-panel{position:static;max-height:none;box-shadow:none;border-radius:8px;padding:16px}.category-menu-grid{grid-template-columns:1fr;gap:18px}}
.primary-menu>.category-menu-item{position:static}
@media(max-width:780px){.primary-navigation.is-open{max-height:calc(100vh - 106px);max-height:calc(100dvh - 106px);overflow-y:auto;overscroll-behavior:contain}}

.primary-navigation .category-menu-parent{font-size:15px;line-height:1.45}
/* Keep the brand in the fixed first row when the mobile taxonomy menu expands. */
@media(max-width:780px){.header-inner .brand{top:8px;height:60px;display:flex;align-items:center}}
/* Portfolio context remains visible on desktop without an empty disclosure. */
.single-featured_item .project-rail-inner .contextual-group h2{font-size:17px!important;line-height:1.4!important}
.single-featured_item .project-related-disclosure>.context-outline{margin-bottom:18px}
.single-featured_item .portfolio-category-links ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.single-featured_item .portfolio-category-links li+li{border:0;margin:0;padding:0}
.single-featured_item .portfolio-category-links a{padding:8px;background:#f1f5f8;border-radius:6px;font-size:13px}
@media(min-width:1024px){.single-featured_item .project-rail-inner{position:sticky;top:126px;max-height:calc(100vh - 150px);max-height:calc(100dvh - 150px);overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding-right:5px}}
@media(max-width:780px){.single-featured_item .project-rail-inner{max-height:none;overflow:visible;padding-right:0}.single-featured_item .project-related-disclosure:not([open])>.context-outline{display:none}}
.editorial-banner .carousel-arrow{position:absolute;top:50%;transform:translateY(-50%);width:42px;height:54px;min-height:0;padding:0;border:0;border-radius:7px;background:#173b5d66;color:white;font-size:36px;z-index:2}
.editorial-banner .carousel-previous{left:12px}.editorial-banner .carousel-next{right:12px}
.editorial-banner .catalogue-slide img{width:100%;max-height:720px;object-fit:contain}
.editorial-about p{font-size:14px;line-height:1.75}.context-all-link{display:block!important;padding:10px!important;border:1px solid #385570;border-radius:7px;font-size:13px!important;text-align:center}
.editorial-category-list li a{justify-content:space-between}.editorial-category-list small{font-size:12px;color:#687e90}
.editorial-sidebar .contextual-group h2{font-size:18px!important;line-height:1.4!important}
@media(max-width:780px){.editorial-banner .catalogue-slide img{max-height:360px}.editorial-banner .carousel-arrow{width:32px;height:42px;font-size:28px}}
/* Editorial categories adopt the reference catalogue hierarchy without fake product data. */
.archive-editorial-layout.category-reference-layout{display:grid;grid-template-columns:minmax(0,3fr) minmax(230px,1fr);gap:24px;align-items:start}
.category-reference-layout .page-heading{background:#fff;border:1px solid #e1e8ef;border-radius:10px;padding:20px;margin-bottom:20px}
.category-reference-layout .page-heading h1{font-size:25px!important;line-height:1.35!important;margin:12px 0}
.category-compact-intro{font-size:14px;line-height:1.7;margin:8px 0}.category-result-count{font-size:13px;color:#637487;margin:8px 0 0}
.category-reference-layout .card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.category-reference-layout .card-grid .content-card:only-child{grid-column:1/-1}
.category-reference-layout .card-image{aspect-ratio:1/1;object-fit:cover;width:100%;height:auto}
.category-reference-layout .card-copy{padding:16px}.category-reference-layout .card-copy h2{font-size:17px!important;line-height:1.5!important;color:#1769a5;margin:0 0 12px}
.category-reference-layout .card-copy p{font-size:13px;line-height:1.65}.category-reference-layout .card-copy .text-link{font-size:13px}
.post-category-controls{min-width:0}.post-category-controls h2{font-size:18px!important;line-height:1.4!important}
.archive-view-buttons{display:flex;flex-wrap:wrap;gap:8px}.archive-view-buttons button{padding:8px 12px;min-height:40px;font-size:13px;background:#fff;color:#263746;border-color:#d1dfe8}.archive-view-buttons button[aria-pressed=true]{background:#1769a5;color:white}
.post-category-controls form{display:grid;gap:10px}.post-category-controls label{font-size:13px}.post-category-controls select{width:100%;min-width:0;font-size:14px}.post-category-controls form button{font-size:14px}
.post-category-controls nav ul ul{padding-left:12px;margin-top:10px}.post-category-controls a[aria-current=page]{color:#1769a5;font-weight:700}
.category-reference-layout .card-grid.archive-list-view{grid-template-columns:1fr}
.category-reference-layout .archive-list-view .content-card>a{display:grid;grid-template-columns:220px minmax(0,1fr)}
.category-reference-layout .archive-list-view .card-image{height:100%;max-height:240px;object-fit:cover}
@media(max-width:1000px){.category-reference-layout .card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:780px){.archive-editorial-layout.category-reference-layout{grid-template-columns:1fr}.post-category-controls{grid-row:1;display:grid;grid-template-columns:1fr 1fr;gap:12px}.post-category-controls .contextual-group{margin:0;padding:14px}.post-category-controls>section:last-child{grid-column:1/-1}.post-category-controls>section:last-child nav{max-height:150px;overflow:auto}.category-reference-layout .card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.category-reference-layout .page-heading h1{font-size:23px!important}.category-reference-layout .archive-list-view .content-card>a{grid-template-columns:110px minmax(0,1fr)}.category-reference-layout .card-copy{padding:12px}.category-reference-layout .card-copy h2{font-size:15px!important}}
@media(max-width:480px){.category-reference-layout .card-grid{grid-template-columns:1fr}.category-reference-layout .card-image{aspect-ratio:4/3}.category-reference-layout .content-card:only-child>a{display:block}}

.post-category-disclosure>summary{display:none}
@media(max-width:780px){.post-category-controls{display:block}.post-category-disclosure>summary{display:block;background:#fff;border:1px solid #dce5ec;border-radius:8px;padding:12px 16px;font-weight:700;color:#1769a5;cursor:pointer}.post-category-control-body{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}.post-category-control-body>section:last-child{grid-column:1/-1}.post-category-control-body>section:last-child nav{max-height:150px;overflow:auto}.editorial-heading h1{font-size:26px!important;line-height:1.3!important}}
@media(min-width:781px){.category-reference-layout .card-grid .content-card:only-child>a{display:grid;grid-template-columns:minmax(0,40%) minmax(0,1fr);align-items:center}.category-reference-layout .card-grid .content-card:only-child .card-image{aspect-ratio:4/3;max-height:360px;height:100%;object-fit:cover}.post-category-controls{position:sticky;top:126px;max-height:calc(100vh - 150px);max-height:calc(100dvh - 150px);overflow-y:auto;scrollbar-gutter:stable}}
@media(max-width:780px){.category-reference-layout .card-grid .content-card:only-child>a{display:block}.category-reference-layout .card-grid .content-card:only-child .card-image{aspect-ratio:4/3}.post-category-controls{position:static;max-height:none;overflow:visible}}

.single-featured_item .project-content h2[id]{scroll-margin-top:48px}
@media(min-width:1024px){.admin-bar.single-featured_item .project-rail-inner{top:150px;max-height:calc(100vh - 174px);max-height:calc(100dvh - 174px)}}
@media(min-width:781px){.admin-bar .post-category-controls{top:150px;max-height:calc(100vh - 174px);max-height:calc(100dvh - 174px)}}
@media(max-width:780px){.single-featured_item .project-content h1{font-size:26px!important;line-height:1.3!important}}
/* Native custom-field portfolio galleries are preserved without the old theme's JS. */
.portfolio-native-gallery.editorial-banner{padding:0;margin:18px 0;border-radius:12px;background:#f3f5f8}
.portfolio-native-gallery.editorial-banner .catalogue-slider{width:100%;height:clamp(300px,45vw,620px);max-width:none}
.portfolio-native-gallery .slider-dots{max-width:calc(100% - 30px);flex-wrap:wrap;gap:6px}
@media(max-width:780px){.portfolio-native-gallery.editorial-banner .catalogue-slider{height:auto;max-height:none}.portfolio-native-gallery .catalogue-slide img{max-height:420px;width:100%;object-fit:contain}}
.native-directory-group .directory-image{position:relative}
.directory-illustration-note{position:absolute;bottom:8px;left:8px;padding:4px 8px;border-radius:4px;background:#fff;color:#263746;font-size:11px;line-height:1.4}

/* Reviewed site-specific homepage cards; native URLs and source images remain unchanged. */
.site-home-catalogue .reviewed-post-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.site-home-catalogue .reviewed-post-card{min-width:0;border:1px solid #dce5ee;border-radius:12px;overflow:hidden;background:#fff}.site-home-catalogue .reviewed-post-card img{display:block;width:100%;aspect-ratio:4/3;object-fit:contain;background:#f4f7fa}.site-home-catalogue .reviewed-topics ul{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 20px;padding:0;list-style:none}.site-home-catalogue .reviewed-topics a{display:block;padding:10px 12px;border:1px solid #dce5ee;border-radius:6px;text-decoration:none}.site-home-catalogue details{padding:16px 20px;background:#f3f7fb;border:1px solid #dde6ef;border-radius:8px;margin:10px 0}.site-home-catalogue summary{cursor:pointer;font-weight:650}.site-home-catalogue details p{margin-top:12px}.site-home-catalogue>section>h1{font-size:28px!important;line-height:1.3!important;max-width:1000px}.site-home-catalogue .preview-notice{padding:12px 16px;border-left:3px solid #2463a6;background:#eff6fc}@media(max-width:900px){.site-home-catalogue .reviewed-post-grid,.site-home-catalogue .reviewed-topics ul{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:580px){.site-home-catalogue .reviewed-post-grid,.site-home-catalogue .reviewed-topics ul{grid-template-columns:minmax(0,1fr)}.site-home-catalogue>section>h1{font-size:25px!important}}

.bcc-reviewed-legacy .reviewed-legacy-row,.bcc-reviewed-legacy .reviewed-legacy-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin:24px 0}.bcc-reviewed-legacy .reviewed-legacy-column{min-width:0}.bcc-reviewed-legacy .reviewed-legacy-section{padding:24px 0}.bcc-reviewed-legacy .reviewed-legacy-image{margin:16px 0}.bcc-reviewed-legacy .reviewed-legacy-image img{display:block;width:100%;height:auto;max-height:620px;object-fit:contain}.bcc-reviewed-legacy details{border:1px solid #dce5ee;padding:16px;border-radius:8px;margin:12px 0}.bcc-reviewed-legacy summary{cursor:pointer;font-weight:650}@media(max-width:700px){.bcc-reviewed-legacy .reviewed-legacy-row,.bcc-reviewed-legacy .reviewed-legacy-gallery{grid-template-columns:minmax(0,1fr)}}

.native-directory-group .directory-caption{font-size:12px!important;line-height:1.55!important;color:#526575;margin:0 0 12px}

/* Whole native photos in a bounded hero: no forced product crop or square-photo page takeover. */
.catalogue-hero.site-catalogue-hero{height:clamp(330px,34vw,480px);align-items:stretch}.site-catalogue-hero>.catalogue-slider{height:100%;aspect-ratio:auto}.site-catalogue-hero .catalogue-slide{position:relative;height:100%;overflow:hidden;background:#eaf0f4}.site-catalogue-hero .catalogue-slide::before{content:"";position:absolute;inset:-16px;background-image:var(--catalogue-image);background-size:cover;background-position:center;filter:blur(18px);opacity:.35}.site-catalogue-hero .catalogue-slide>a{position:relative;display:block;height:100%}.site-catalogue-hero .catalogue-slide img{position:relative;display:block;width:100%;height:100%!important;object-fit:contain;aspect-ratio:auto}.site-catalogue-hero .catalogue-side{height:100%;grid-template-rows:repeat(2,minmax(0,1fr));min-height:0}.site-catalogue-hero .catalogue-banner{height:100%;background:#edf3f7}.site-catalogue-hero .catalogue-banner img{display:block;height:100%!important;object-fit:contain}.site-catalogue-hero .slider-dots{z-index:2}@media(max-width:780px){.catalogue-hero.site-catalogue-hero{height:auto}.site-catalogue-hero>.catalogue-slider{height:auto;aspect-ratio:1.65}.site-catalogue-hero .catalogue-slide{height:100%}.site-catalogue-hero .catalogue-side{height:auto;grid-template-rows:auto}.site-catalogue-hero .catalogue-banner{aspect-ratio:1.65}}

.native-category-directory:has(>.native-directory-group:nth-child(4):last-child){grid-template-columns:repeat(2,minmax(0,1fr))}@media(min-width:1500px){.native-category-directory:has(>.native-directory-group:nth-child(4):last-child){grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:580px){.native-category-directory:has(>.native-directory-group:nth-child(4):last-child){grid-template-columns:minmax(0,1fr)}}
/* Native wordmarks reserve their real width; a long domain must not overlap navigation. */
@media(min-width:781px){.header-inner .brand{flex:0 0 auto;min-width:0;max-width:38%;width:max-content;overflow-wrap:anywhere}.header-inner .primary-navigation{min-width:0;flex:1 1 auto}}
@media(max-width:780px){.header-inner .brand{width:max-content;max-width:calc(100% - 140px);font-size:clamp(18px,4.2vw,24px);overflow-wrap:anywhere}}
.site-catalogue-hero .catalogue-banner{min-height:0;overflow:hidden}.site-catalogue-hero .catalogue-banner>a{display:block;height:100%;min-height:0}.site-catalogue-hero .catalogue-banner>a>img{width:100%;height:100%!important;min-height:0;max-height:100%;object-fit:contain}
/* Longer, site-specific selection guides stay readable rather than becoming a text wall. */
.site-home-catalogue .home-guide-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin:38px 0}.site-home-catalogue .home-guide-card{min-width:0;padding:24px;border:1px solid #dce5ee;border-top:3px solid var(--bcc-primary);border-radius:10px;background:#f8fafc}.site-home-catalogue .home-guide-card h2{font-size:22px!important;line-height:1.3!important;margin:0 0 16px;color:var(--bcc-primary)}.site-home-catalogue .home-guide-card p{font-size:16px;line-height:1.7;margin:0 0 14px}.site-home-catalogue .home-guide-card p:last-child{margin-bottom:0}.site-home-catalogue .home-guide-card a{font-weight:600}@media(min-width:1500px){.site-home-catalogue .home-guide-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:650px){.site-home-catalogue .home-guide-grid{grid-template-columns:minmax(0,1fr);gap:16px}.site-home-catalogue .home-guide-card{padding:20px}.site-home-catalogue .home-guide-card h2{font-size:21px!important}}
.site-home-catalogue .home-comparison-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:24px 0}.site-home-catalogue .home-comparison-card{padding:22px;border:1px solid #dce5ee;border-radius:10px;background:#fff}.site-home-catalogue .home-comparison-card h3{font-size:20px;line-height:1.35;margin:0 0 12px;color:var(--bcc-primary)}.site-home-catalogue .home-planning-checklist{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 28px;padding-left:28px;margin:24px 0}.site-home-catalogue .home-planning-checklist li{padding:12px 16px;background:#f3f7fb;border-radius:7px;line-height:1.65}.site-home-catalogue .home-comparison-card p{margin-bottom:12px}@media(max-width:650px){.site-home-catalogue .home-comparison-grid,.site-home-catalogue .home-planning-checklist{grid-template-columns:minmax(0,1fr)}.site-home-catalogue .home-comparison-card{padding:20px}}
.site-home-catalogue .home-guide-card.card-body p,.site-home-catalogue .home-comparison-card.card-body p{font-size:16px;line-height:1.7;color:#263746}

/* PDF-guided native content discovery; all cards resolve existing site records. */
.home-native-content .native-content-bands{display:grid;gap:32px;margin:28px 0 40px}
.home-native-content .native-content-band{min-width:0;padding:26px;background:#fff;border:1px solid #dce6ee;border-radius:16px;box-shadow:0 8px 28px rgba(24,62,88,.045)}
.home-native-content .native-band-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:20px}
.home-native-content .native-band-heading>div{min-width:0;max-width:780px}
.home-native-content .native-band-kicker{margin:0 0 7px!important;color:#647789!important;font-size:12px!important;font-weight:700;letter-spacing:.06em;text-transform:uppercase}
.home-native-content .native-band-heading h2{font-size:26px!important;line-height:1.25!important;margin:0 0 10px!important;font-weight:750;color:#1366aa!important}
.home-native-content .native-band-heading h2 a{color:inherit;text-decoration:none}
.home-native-content .native-band-intro{font-size:15px!important;line-height:1.65!important;color:#43596b!important;margin:0!important}
.home-native-content .native-band-all{flex:0 0 auto;align-self:center;font-size:14px;font-weight:700;color:#125f9e;padding:10px 14px;border:1px solid #d7e4ee;border-radius:8px;text-decoration:none;background:#f6faff;max-width:240px}
.home-native-content .native-band-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.home-native-content .native-band-card{display:flex;flex-direction:column;min-width:0;background:#fff;border:1px solid #e0e8ef;border-radius:11px;overflow:hidden;transition:border-color .15s ease,box-shadow .15s ease}
.home-native-content .native-band-card.is-text-card{align-self:start}
.home-native-content .native-band-card:hover{border-color:#9cbdd9;box-shadow:0 5px 18px rgba(22,81,123,.08)}
.home-native-content .native-band-image{display:block;aspect-ratio:4/3;overflow:hidden;background:#f3f6f8}
.home-native-content .native-band-image img{display:block!important;width:100%!important;height:100%!important;max-height:100%;object-fit:contain!important;margin:0!important;border-radius:0!important}
.home-native-content .native-band-layout-products .native-band-image{aspect-ratio:1/1}
.home-native-content .native-band-card-body{display:flex;flex:1;flex-direction:column;align-items:flex-start;padding:18px;min-width:0}
.home-native-content .native-band-card h3{font-size:18px!important;line-height:1.4!important;color:#164e78!important;margin:0 0 10px!important;font-weight:700}
.home-native-content .native-band-card h3 a{color:inherit;text-decoration:none;overflow-wrap:anywhere}
.home-native-content .native-band-summary{font-size:15px!important;line-height:1.65!important;color:#334c60!important;margin:0 0 14px!important}
.home-native-content .native-band-caption{font-size:12px!important;line-height:1.55!important;color:#637789!important;margin:0 0 12px!important}
.home-native-content .native-band-read{margin-top:auto;padding-top:8px;font-size:14px;font-weight:700;color:#126bad;text-decoration:none}
.home-native-content .native-band-layout-compact{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.home-native-content .native-band-layout-compact .native-band-card{border-left:3px solid #74a4cb;background:linear-gradient(110deg,#f6faff,#fff 55%)}
.home-native-content .native-band-layout-compact .native-band-card-body{padding:18px 20px}
.home-native-content .native-band-layout-compact .native-band-card h3{font-size:18px!important}
.home-native-content .native-band-grid[data-card-count="1"],.home-native-content .native-band-grid[data-card-count="2"]{grid-template-columns:repeat(2,minmax(0,1fr))}
.home-native-content .native-band-grid[data-card-count="1"] .native-band-card{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr)}
.home-native-content .native-band-grid[data-card-count="1"] .is-text-card{display:block}
.home-native-content .native-band-grid[data-card-count="1"] .native-band-image{aspect-ratio:16/9}
.home-native-content .native-band-grid a:focus-visible,.home-native-content .native-band-heading a:focus-visible{outline:3px solid #e1a83f;outline-offset:4px;border-radius:3px}
@media(max-width:1000px){.home-native-content .native-band-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home-native-content .native-content-band{padding:22px}.home-native-content .native-band-heading h2{font-size:24px!important}}
@media(max-width:650px){.home-native-content .native-content-bands{gap:22px;margin:22px 0 30px}.home-native-content .native-content-band{padding:18px 14px;border-radius:12px}.home-native-content .native-band-heading{display:block;margin-bottom:16px}.home-native-content .native-band-heading h2{font-size:23px!important}.home-native-content .native-band-all{display:inline-flex;margin-top:12px;max-width:100%;padding:9px 12px}.home-native-content .native-band-grid,.home-native-content .native-band-layout-compact,.home-native-content .native-band-grid[data-card-count="1"],.home-native-content .native-band-grid[data-card-count="2"]{grid-template-columns:minmax(0,1fr);gap:12px}.home-native-content .native-band-grid[data-card-count="1"] .native-band-card{display:flex}.home-native-content .native-band-card-body{padding:16px}.home-native-content .native-band-card h3{font-size:18px!important}.home-native-content .native-band-layout-products .native-band-image{aspect-ratio:1/1}}
@media(prefers-reduced-motion:reduce){.home-native-content .native-band-card{transition:none}}
/* Mixed editorial rows stay compact; catalogue product squares remain separate. */
.home-native-content .native-band-layout-mixed{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
.home-native-content .native-band-layout-mixed .has-native-image{display:grid;grid-template-columns:minmax(110px,.55fr) minmax(0,1fr);align-items:start}
.home-native-content .native-band-layout-mixed .has-native-image .native-band-image{aspect-ratio:1/1;align-self:start;max-height:190px}
.home-native-content .native-band-layout-mixed .native-band-card-body{padding:16px}
@media(max-width:650px){.home-native-content .native-band-layout-mixed{grid-template-columns:minmax(0,1fr)}.home-native-content .native-band-layout-mixed .has-native-image{grid-template-columns:112px minmax(0,1fr)}.home-native-content .native-band-layout-mixed .native-band-card-body{padding:14px}.home-native-content .native-band-layout-mixed .native-band-card h3{font-size:17px!important}}
@media(min-width:1001px){.home-native-content .native-band-layout-compact[data-card-count="3"]{grid-template-columns:repeat(3,minmax(0,1fr))}}
/* R9: image-led editorial references use the same compact square-left rhythm. */
.home-native-content .native-band-layout-mixed{align-items:stretch}
.home-native-content .native-band-layout-mixed .has-native-image,
.home-native-content .native-band-layout-mixed[data-card-count="1"] .has-native-image{display:grid;grid-template-columns:minmax(90px,32%) minmax(0,1fr);align-items:center;min-height:180px}
.home-native-content .native-band-layout-mixed .has-native-image .native-band-image,
.home-native-content .native-band-layout-mixed[data-card-count="1"] .native-band-image{width:100%;aspect-ratio:1/1;align-self:center;max-height:none}
.home-native-content .native-band-layout-mixed .native-band-card-body{align-self:stretch;justify-content:center}
.home-native-content .native-band-layout-mixed .native-band-read{margin-top:0}
@media(min-width:1001px){.home-native-content .native-band-layout-mixed[data-card-count="3"]{grid-template-columns:repeat(3,minmax(0,1fr))}.home-native-content .native-band-layout-mixed[data-card-count="1"] .has-native-image{grid-template-columns:190px minmax(0,1fr)}}
@media(max-width:650px){.home-native-content .native-band-layout-mixed .has-native-image,.home-native-content .native-band-layout-mixed[data-card-count="1"] .has-native-image{grid-template-columns:minmax(90px,30%) minmax(0,1fr);min-height:160px}}

/* Local inner-layout revision: title first, bounded native article carousel; no home/portfolio changes. */
.editorial-primary>article>.editorial-banner{padding:0;margin:0 0 20px;border-radius:12px;background:#edf2f6}
.editorial-primary>article>.editorial-banner .catalogue-slider{width:100%;max-width:none;height:clamp(230px,32vw,380px);max-height:none;aspect-ratio:auto;background:transparent}
.editorial-primary>article>.editorial-banner .catalogue-slide{height:100%}
.editorial-primary>article>.editorial-banner .catalogue-slide img{width:100%;height:100%;max-height:100%;object-fit:contain}
.editorial-primary>article>.editorial-banner .editorial-carousel-backdrop{opacity:.22}
.editorial-body{font-size:16px;line-height:1.85}
@media(max-width:650px){.editorial-primary>article>.editorial-banner .catalogue-slider{height:clamp(200px,62vw,300px)}}

/* Native Woo gallery: equal contained squares, including no-JS static review. No source image cropping. */
.woocommerce div.product div.images .woocommerce-product-gallery__image>a{display:block;aspect-ratio:1;overflow:hidden;background:#f2f5f7}
.woocommerce div.product div.images .woocommerce-product-gallery__image>a img{display:block;width:100%;height:100%;aspect-ratio:1;object-fit:contain;margin:0}
.woocommerce div.product div.images .flex-control-thumbs li{aspect-ratio:1;background:#f2f5f7}
.woocommerce div.product div.images .flex-control-thumbs li img{width:100%;height:100%;aspect-ratio:1;object-fit:contain}

/* Contact pages keep the source's outer information/map columns.
   Nested information/form rows stack within the left column; avoid compounded UX spacing. */
body.bcd-native-contact .bcc-reviewed-legacy .reviewed-legacy-section{padding:0}
body.bcd-native-contact .bcc-reviewed-legacy .reviewed-legacy-row{margin:0 0 20px;align-items:start}
body.bcd-native-contact .bcc-reviewed-legacy .reviewed-legacy-column .reviewed-legacy-row{grid-template-columns:minmax(0,1fr);gap:20px}
body.bcd-native-contact .bcc-reviewed-legacy .reviewed-legacy-block{margin:0}
body.bcd-native-contact .bcc-reviewed-legacy h2{margin-top:0;margin-bottom:16px}
body.bcd-native-contact .bcc-reviewed-legacy iframe{display:block;width:100%;border:0;border-radius:12px}
/* wpautop's direct wrapper BR nodes are layout artifacts, not prose line breaks. */
body.bcd-native-contact .bcc-reviewed-legacy .reviewed-legacy-row>br,
body.bcd-native-contact .bcc-reviewed-legacy .reviewed-legacy-column>br{display:none}

/* Native service reference cards: scoped release component, original images contained. */
.native-service-reference .reviewed-post-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.native-service-reference .reviewed-post-card{min-width:0;border:1px solid #dce5ee;border-radius:12px;overflow:hidden;background:#fff}.native-service-reference .reviewed-post-card img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:contain;background:#f4f7fa}.native-service-reference .reviewed-post-card>div{padding:16px}@media(max-width:900px){.native-service-reference .reviewed-post-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:580px){.native-service-reference .reviewed-post-grid{grid-template-columns:minmax(0,1fr)}}

/* Requested native body-image alignment; retain intrinsic dimensions and all image content. */
body:not(.home) .entry-content img:not(:where(.reviewed-post-card img, .content-card img, .native-content-bands img, .native-service-reference img)) { display:block; float:none!important; margin-left:auto!important; margin-right:auto!important; max-width:100%; height:auto; }
body:not(.home) .entry-content figure:not(:where(.reviewed-post-card figure, .content-card figure)), body:not(.home) .entry-content .wp-caption:not(:where(.reviewed-post-card .wp-caption, .content-card .wp-caption)) { float:none!important; margin-left:auto!important; margin-right:auto!important; max-width:100%; }

/* Cohesive desktop navigation: group native top-level labels instead of spreading them across the header. */
@media(min-width:781px){
 .header-inner .primary-menu{justify-content:flex-end;align-items:center;gap:6px;flex-wrap:nowrap}
 .header-inner .primary-menu>li{flex:0 0 auto}
 .header-inner .primary-menu>li>a,.header-inner .primary-menu>li>.category-menu>summary{display:flex;align-items:center;min-height:44px;padding:11px 14px;border-radius:8px;font-size:14px;font-weight:650;line-height:1.4;white-space:nowrap;text-decoration:none}
 .header-inner .primary-menu>li>a:hover,.header-inner .primary-menu>li>a:focus-visible,.header-inner .primary-menu>li>.category-menu>summary:hover,.header-inner .primary-menu>li>.category-menu[open]>summary{background:#e5edf2;color:#145e96}
}

/* Existing native home content reflowed into the approved model, not a second UX hero. */
.site-home-catalogue .native-home-intro h1{font-size:clamp(25px,3vw,38px);line-height:1.25;margin:0 0 12px}
.site-home-catalogue .native-reference-figure{margin:18px auto;text-align:center;max-width:900px}
.site-home-catalogue .native-reference-figure img{width:auto;max-width:100%;max-height:360px;object-fit:contain}
.site-home-catalogue .native-preserved-section.editorial-body{padding:24px;line-height:1.8}
.site-home-catalogue .native-preserved-section .card-copy{min-width:0}
.footer-native-widgets{padding-block:24px;gap:24px}.footer-native-widgets .widget{min-width:0}
@media(max-width:580px){.site-home-catalogue .native-preserved-section.editorial-body{padding:16px}.site-home-catalogue .native-reference-figure img{max-height:260px}}

/* Preserve native footer widgets without inheriting a sparse multi-menu grid. */
.site-footer .footer-native-widgets{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));align-items:start;gap:24px}
.footer-native-widgets .widget{padding:22px;border:1px solid #ffffff40;border-radius:10px;background:#ffffff0b}
.footer-native-widgets .support-product .image img{max-width:160px;height:auto;margin:12px 0}
.footer-native-widgets .policy-product .item{display:flex;gap:16px;align-items:center;margin:0 0 20px}
.footer-native-widgets .policy-product .item img{width:48px;height:48px;object-fit:contain;flex-shrink:0}
.footer-native-widgets .policy-product h5{font-size:16px;line-height:1.5;margin:0 0 5px;color:inherit}
.footer-native-widgets .policy-product .des{font-size:14px;line-height:1.6}.footer-newsletter{padding-block:24px}
/* Legacy inline icon-only backgrounds have no meaningful content after safe SVG filtering. */
.bcc-reviewed-legacy .icon:empty{display:none!important}

/* PDF service-first sections use their genuine item counts, not empty four-column tracks. */
#dich-vu-tu-bep>.card-grid,#video-bluecons>.card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
#tu-bep-theo-yeu-cau>.card-grid,#chuan-bi-phuong-an>.card-grid,#quy-trinh>.card-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:780px){#tu-bep-theo-yeu-cau>.card-grid,#chuan-bi-phuong-an>.card-grid,#quy-trinh>.card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:580px){#dich-vu-tu-bep>.card-grid,#tu-bep-theo-yeu-cau>.card-grid,#chuan-bi-phuong-an>.card-grid,#quy-trinh>.card-grid,#video-bluecons>.card-grid{grid-template-columns:minmax(0,1fr)}}
/* A genuinely available single side photo fills its optional slot; no duplicate third image. */
.site-catalogue-hero .catalogue-side:has(>.catalogue-banner:only-child){grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr)}
/* Bluecons: home feedback, scoped to the existing sections. */
#dich-vu-tu-bep .feedback-card-image,#tu-bep-theo-yeu-cau .feedback-card-image,.feedback-knowledge .feedback-card-image{display:block;overflow:hidden;aspect-ratio:4/3;background:#edf2f4}
#dich-vu-tu-bep .feedback-card-image img,#tu-bep-theo-yeu-cau .feedback-card-image img,.feedback-knowledge .feedback-card-image img{width:100%;height:100%;object-fit:cover;display:block}
.feedback-portfolio .bcc-native-block-portfolio{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.feedback-portfolio .bcc-native-block-project{overflow:hidden;background:#fff;border:1px solid #e2e8ec;border-radius:10px}
.feedback-portfolio .bcc-native-block-project>a{display:flex!important;flex-direction:column;gap:0!important;text-decoration:none;height:100%}
.feedback-portfolio .bcc-native-block-project img{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover}
.feedback-portfolio .bcc-native-block-project span{display:block;padding:14px}
.feedback-portfolio .bcc-native-block-project small{display:block;margin-top:6px}
.feedback-design>.native-reference-figure{max-height:320px;overflow:hidden;margin:0 0 24px}.feedback-design>.native-reference-figure img{width:100%;max-height:320px;object-fit:cover}
.feedback-design>.card-grid{display:block}.feedback-design>.card-grid>article:first-child{margin-bottom:18px}.feedback-design>.card-grid>article:nth-child(2)>.card-copy{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.feedback-design figure{margin:0}.feedback-design figure img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover}.feedback-design figure h4{margin:10px 0}
.feedback-feature>.card-copy{display:flow-root}.feedback-feature .feedback-card-image{float:left;width:38%;margin:0 24px 12px 0}.feedback-feature .feedback-card-image img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:10px}
.feedback-consult{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:40px;align-items:start}.feedback-consult>h2,.feedback-consult>p:first-of-type{grid-column:1/-1}.feedback-consult-info{grid-column:2;grid-row:3/span 4;background:#eef5f8;padding:24px;border-radius:12px}.feedback-consult-info li{margin:.5em 0}
.footer-native-widgets{align-items:start;gap:24px}.footer-newsletter{padding:24px;background:rgba(255,255,255,.08);border-radius:12px}
@media(max-width:767px){.feedback-portfolio .bcc-native-block-portfolio{grid-template-columns:repeat(2,minmax(0,1fr))}.feedback-design>.card-grid>article:nth-child(2)>.card-copy{grid-template-columns:repeat(2,minmax(0,1fr))}.feedback-feature .feedback-card-image{float:none;width:100%;margin:0 0 16px}.feedback-consult{display:block}.feedback-consult-info{margin-top:20px}}
@media(max-width:420px){.feedback-portfolio .bcc-native-block-portfolio{grid-template-columns:1fr}}
/* Make the existing footer support and newsletter useful and balanced. */
@media(min-width:768px){.footer-native-widgets{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch}.footer-native-widgets>section,.footer-native-widgets>.widget{height:100%;box-sizing:border-box}.footer-native-widgets .support-product{display:grid;grid-template-columns:140px minmax(0,1fr);column-gap:20px;align-content:start;align-items:center}.footer-native-widgets .support-product>.title{grid-column:1/-1}.footer-native-widgets .support-product>.image{grid-column:1;grid-row:2/span 6}.footer-native-widgets .support-product>.image img{width:140px;max-width:100%;height:auto}.footer-native-widgets .support-product>:not(.title):not(.image){grid-column:2}.footer-newsletter{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:32px;align-items:center}.footer-newsletter>h2,.footer-newsletter>p{grid-column:1}.footer-newsletter>.wpcf7{grid-column:2;grid-row:1/span 2}}
.footer-native-widgets .support-product .phone a{font-size:1.35rem;font-weight:700}.footer-native-widgets .support-product a.chat{display:inline-block;padding:10px 16px;background:#fff;color:#075987;border-radius:6px;font-weight:700;text-decoration:none}.footer-newsletter .wpcf7 input[type=email]{width:100%;max-width:100%;box-sizing:border-box}.footer-newsletter .wpcf7 input[type=submit]{padding:11px 18px;min-height:44px}.feedback-consult>.wpcf7{width:100%;min-width:0}.feedback-consult .wpcf7 input:not([type=submit]),.feedback-consult .wpcf7 textarea{width:100%;max-width:100%;box-sizing:border-box}
@media(max-width:767px){.footer-native-widgets,.footer-newsletter{display:block}.footer-native-widgets .widget{margin-bottom:20px}.footer-native-widgets .support-product .image img{max-width:140px;height:auto}}

/* Own native noithat content; canonical design CSS above is unchanged. */
.own-service-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.own-service-grid img{width:100%;height:230px;object-fit:cover;display:block}.own-original-home>section{max-width:100%!important;padding:24px 0!important}.native-directory-group .net-directory-posts{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;width:100%;padding-top:20px}.net-directory-posts .content-card{min-width:0}.net-directory-post-image img{display:block;width:100%;height:180px;object-fit:cover}.net-directory-posts h3{font-size:1rem;line-height:1.5}.own-footer-photo-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.own-footer-photo-grid img{display:block;width:100%;height:160px;object-fit:cover}.own-footer-photo-grid a{display:flex;flex-direction:column;gap:8px}.own-footer-photos{padding-top:30px;padding-bottom:30px}@media(max-width:760px){.own-service-grid,.native-directory-group .net-directory-posts,.own-footer-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:480px){.own-service-grid,.native-directory-group .net-directory-posts{grid-template-columns:1fr}}
/* Retain provider-owned About content in the canonical page frame. */
.bcs-about-wrap{max-width:1180px;margin:auto;padding:28px 0}.bcs-about-split{display:grid;grid-template-columns:1fr 1fr;gap:32px;align-items:center}.bcs-about-images{display:grid;grid-template-columns:1fr 1fr;gap:16px}.bcs-about-images img{width:100%;height:260px;object-fit:cover}.bcs-values-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.bcs-about-numbers .bcs-about-wrap{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.bcs-about-numbers strong{display:block;font-size:2rem;color:var(--bcc-primary,#41335f)}.bcs-about-hero,.bcs-about-cta{padding:28px;background:#f4f6f8;border-radius:12px}.bcs-about-cta a{display:inline-block;padding:12px 18px;border-radius:6px;background:#41335f;color:#fff}.bcs-about-wrap>h2{line-height:1.3}@media(max-width:760px){.bcs-about-split,.bcs-values-grid{grid-template-columns:1fr}.bcs-about-numbers .bcs-about-wrap{grid-template-columns:repeat(2,minmax(0,1fr))}.bcs-about-images img{height:200px}}

/* Large native menus retain every destination without overflowing the brand. */
@media(min-width:781px){
 .site-header .header-inner .primary-menu{flex-wrap:wrap;justify-content:flex-start;row-gap:0;max-width:100%}
 .site-header .header-inner .primary-menu>li{max-width:100%;min-width:0}
 .site-header .header-inner .primary-menu>li>a{white-space:normal;overflow-wrap:anywhere}
 .site-header .header-inner:has(.primary-menu>li:nth-child(9)){flex-wrap:wrap;justify-content:space-between;column-gap:20px;row-gap:0;padding-block:10px}
 .site-header .header-inner:has(.primary-menu>li:nth-child(9))>.primary-navigation{order:3;flex:0 0 100%;width:100%;min-width:0}
 .site-header .header-inner:has(.primary-menu>li:nth-child(9))>.header-quote{margin-left:auto}
 .site-header .header-inner .primary-menu>li>.sub-menu{max-width:min(320px,calc(100vw - 64px))}
 .site-header .header-inner .primary-menu>li:nth-last-child(-n+2)>.sub-menu{left:auto;right:0}
}

/* SPA native banners are 2559 x 614: retain all text without tall letterboxing. */
body.home.page-id-6687 .site-catalogue-hero:has(img[src*="thietkespalamdep.com/"]){height:auto;align-items:start}
body.home.page-id-6687 .site-catalogue-hero:has(img[src*="thietkespalamdep.com/"])>.catalogue-slider{height:auto;aspect-ratio:2559/614}
body.home.page-id-6687 .site-catalogue-hero:has(img[src*="thietkespalamdep.com/"]) .catalogue-slide{height:100%;background:transparent}
body.home.page-id-6687 .site-catalogue-hero:has(img[src*="thietkespalamdep.com/"]) .catalogue-slide::before{display:none}
body.home.page-id-6687 .site-catalogue-hero:has(img[src*="thietkespalamdep.com/"]) .catalogue-side{height:auto;grid-template-rows:auto auto;align-content:start}
body.home.page-id-6687 .site-catalogue-hero:has(img[src*="thietkespalamdep.com/"]) .catalogue-banner{height:auto;aspect-ratio:2559/614;background:transparent}
body.home.page-id-6687 .site-catalogue-hero:has(img[src*="thietkespalamdep.com/"]) .catalogue-banner>a{height:100%}
