/* Queensway: accessible brand palette and final review, 7 November 2026. */
.qh-template{--black-2:#00334e;--bg-3:#1b5671;--red:#00334e;--blue:#1b5671;--blue-2:#00334e;--blue-3:#1b5671;--blue-4:#1b5671;--green:#eaf2f6;--green-2:#1b5671;--green-3:#eaf2f6;--yellow:#f6e6ca;--yellow-2:#d68c2b;--yellow-3:#d68c2b;--pink:#d68c2b;--purple:#d68c2b;--cayent:#d68c2b;--gray-5:#eaf2f6;--color-paragraph:#40515a;font-size:19px;line-height:1.65}
.qh-template :is(p,.desc,.text,.according-content,li){line-height:1.65}
.qh-template main :is(p,.desc,.according-content li,.qh-detail-list li,.qh-copy li){font-size:19px}
.qh-template :is(.sub-title,.eyebrow,.qh-editorial-meta,.qh-journal-meta,.qh-archive-note,.qh-image-note,figcaption){font-size:16px;line-height:1.6}
.qh-template :is(.tf-btn,.tf-btn span,.tf-btn i,.qh-story-link,.qh-story-link span){font-size:17px;line-height:1.4}
.qh-template .tf-btn{min-height:46px;white-space:normal;text-align:center;flex-shrink:0}
.qh-template :is(label,input,select,textarea){font-size:18px!important;line-height:1.5}
.qh-template :is(.form-contact-us p,dialog p,.qh-logo-card span,.qh-trust-context,.qh-footer-legal,.qh-footer-legal p,.qh-footer-legal a,.footer .bottom,.footer .bottom a){font-size:16px!important;line-height:1.65!important}
.qh-template .footer :is(.desc,.support-item-footer a){font-size:17px;line-height:1.7}
.qh-template .qh-top-contact>a,.qh-template .qh-top-message{font-size:15px}.qh-template .qh-socials a{width:34px;height:34px}
.qh-template .qh-top-rating{color:#fff;text-decoration:underline;text-underline-offset:4px;font-weight:600;white-space:nowrap;font-size:15px}
.qh-template :is(.bg-green,.bg-yellow){background:#f6e6ca!important;color:#00334e}
.qh-template .fun-fact-item.bg-green{background:#eaf2f6!important}
.qh-template .fun-fact-item :is(.number-counter,.title-counter){color:#00334e!important}
.qh-template .fun-fact-item.bg-black-2 :is(.number-counter,.title-counter){color:#fff!important}
.qh-template :is(.section-lab,.box-banner.box-1){background:#1b5671!important}
.qh-template .section-lab>.heading-section :is(h2,p,.sub-title){color:#fff}
.qh-template .lab-item{background:#fff;color:#00334e}
.qh-template .section-lab .lab-item :is(h3,h4,p,.desc,a){color:#00334e}
.qh-template .box-banner.box-1 :is(.text,.title,.benefit-items,.benefit-items span){color:#fff}
.qh-template :is(.section-banner.h-2 .wg-banner,.qh-inner-title .page-title-content){background-color:#00334e;background-blend-mode:luminosity}
.qh-template :is(.section-banner.h-2 .wg-banner,.section-lab,.box-banner.box-1){background-image:linear-gradient(110deg,#00334eeb,#1b5671de),url(../image/section/item-bg-department-h2.png)!important}
.qh-template .box-page-title{background:#00334e!important;--black-2:#00334e}
.qh-template .box-page-title .box-agent{background:#00334eeb}
.qh-template .box-page-title .heading{position:relative;z-index:0;margin:0 0 36px}
.qh-template .box-page-title .heading .title{font-size:clamp(64px,8.2vw,160px);line-height:.94;letter-spacing:-.055em;margin:0;text-align:center;white-space:nowrap}
.qh-hero-homes{display:block;font-size:.34em;line-height:1.1;letter-spacing:.13em;font-weight:500;margin-top:10px;text-align:right;padding-right:5%;color:#fff}
.qh-template .box-page-title .box-page-title-content{position:static;z-index:1}
.qh-template .tf-btn.style-blue{background:#d68c2b;color:#00334e}.qh-template .tf-btn.style-blue :is(span,i){color:#00334e}
.qh-template .box-banner.box-2{position:relative;min-height:390px;background:#d68c2b!important;isolation:isolate}
.qh-support-backdrop{position:absolute;inset:20px 24px auto;z-index:-1;font-weight:700;font-size:clamp(64px,7.2vw,136px);line-height:.88;letter-spacing:-.055em;color:#fff;pointer-events:none}
.qh-support-backdrop span{display:block}
.qh-template .box-banner.box-2 .img-item{z-index:0;bottom:0}
.qh-template .box-banner.box-2 .text{position:relative;z-index:1;padding-top:225px;padding-bottom:28px;font-size:30px;line-height:1.18;max-width:65%}
.qh-template .box-banner.box-2 .text .tf-btn{margin-top:16px}
.qh-template .department-item .item-icon{background:#f6e6ca!important;color:#00334e;border:5px solid #fff}
.qh-template .department-item .item-icon::before{background:#f6e6ca!important;z-index:0}
.qh-service-icon{position:relative;z-index:1;width:42px;height:42px;display:block;fill:none;stroke:#00334e;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.qh-template .department-item .item-content{display:flex;flex-direction:column;align-items:stretch;min-height:270px;gap:15px;padding-bottom:28px}
.qh-template .department-item .item-content .title{margin:0;font-size:25px;line-height:1.25}
.qh-template .department-item .item-content .desc{font-size:18px;margin:0}
.qh-template .department-item .item-content .tf-btn{margin-top:auto}
.qh-template .qh-trust-head button{font-size:16px;padding:8px 16px;min-height:44px;white-space:nowrap}
.qh-template .qh-trust-head p{font-size:18px}.qh-template .qh-logo-card{min-height:150px}
.qh-ncsc-note{border-top:1px solid #b9cdd8;margin-top:22px;padding-top:22px;display:flex;gap:20px;align-items:center;justify-content:space-between}
.qh-ncsc-note p{font-size:17px!important;margin:0;max-width:780px;color:#00334e}.qh-ncsc-note a{font-size:17px;color:#00334e;text-decoration:underline;font-weight:600}
.qh-template .qh-official-cqc{grid-template-columns:minmax(0,1fr) minmax(280px,440px)}
.qh-cqc-summary{margin:20px 0;font-size:18px;line-height:1.7}.qh-cqc-summary dt{font-weight:600}.qh-cqc-summary dd{margin:0 0 10px}.qh-cqc-summary .qh-rating-large{font-size:38px;font-weight:700;line-height:1.2;color:#fff}
.qh-template .qh-cqc-intro .qh-cqc-date{font-size:16px}.qh-cqc-anchor{display:inline-block;font-weight:700}
.qh-template .qh-official-cqc .qh-cqc-intro a{color:#f6d5a5!important}
.qh-template .qh-page-title :is(h1,h2),.qh-template .qh-copy a{color:#00334e}
.qh-template :is(.qh-editorial,.qh-copy,.qh-article-prose,.services-details-content){overflow-wrap:anywhere}
.qh-template .qh-holiday-feature p{font-size:20px}.qh-template .qh-holiday-feature{background:#f6e6ca;border-color:#d8bb8c}
.qh-story-reader{margin:40px 0;padding:28px;background:#eaf2f6;border:1px solid #c9dae4;border-radius:16px}
.qh-story-reader h2{font-size:30px;line-height:1.25;margin:0 0 16px}.qh-story-reader>p{margin-bottom:20px}
.qh-story-reader details{border-top:1px solid #b9cdd8;padding:15px 0}.qh-story-reader summary{cursor:pointer;font-size:21px;font-weight:600;color:#00334e;padding:8px 0;list-style-position:inside}
.qh-story-reader figure{margin:24px 0 32px}.qh-story-reader img{width:100%;height:auto;max-width:690px;display:block;margin:0 auto 16px;border-radius:8px}.qh-story-reader figcaption{font-size:19px!important;color:#00334e;line-height:1.7}
.qh-story-reader .qh-story-page-number{font-size:16px;font-weight:600;display:block;margin-bottom:6px}
.qh-story-reader .qh-story-download{font-size:18px;text-decoration:underline;display:inline-block;margin-top:20px}
.qh-email-disclosure{background:#eaf2f6;border:1px solid #c9dae4;border-radius:16px;padding:32px;margin-bottom:45px}.qh-email-disclosure h2{font-size:30px;margin-bottom:20px}.qh-email-disclosure p{margin:18px 0}.qh-email-disclosure [data-email-check]{margin-top:24px}.qh-email-disclosure a{color:#00334e;text-decoration:underline}.qh-revealed-email{font-size:22px;overflow-wrap:anywhere}
@media(max-width:1199px){.qh-template .qh-top-contact{gap:14px}.qh-template .qh-premium-top{flex-wrap:wrap;padding-block:8px;gap:8px}.qh-template .qh-top-message{display:none}.qh-template .box-page-title .heading .title{font-size:clamp(64px,9vw,120px)}.qh-ncsc-note{align-items:flex-start;flex-direction:column;gap:10px}}
@media(max-width:767px){.qh-template{font-size:18px}.qh-template main :is(p,.desc,.according-content li,.qh-detail-list li,.qh-copy li){font-size:18px}.qh-template .box-page-title{padding-top:26px;min-height:700px}.qh-template .box-page-title .heading .title{font-size:clamp(39px,11.7vw,82px);line-height:1}.qh-template .box-page-title .heading{margin-bottom:18px}.qh-hero-homes{font-size:.44em;margin-top:5px}.qh-template .box-page-title .title-2{font-size:34px}.qh-template .box-page-title .right-box .text{font-size:17px;line-height:1.5}.qh-template .box-page-title .right-box .benefit-items{font-size:16px}.qh-template .box-page-title .img-item{height:465px;right:-28px}.qh-template .box-page-title .box-agent h6{font-size:16px}.qh-template .box-page-title .right-box{padding-bottom:90px;max-width:60%}.qh-template .box-page-title .box-agent{bottom:14px}.qh-template .box-banner.box-2{min-height:390px}.qh-support-backdrop{inset:22px 18px auto;font-size:clamp(46px,13.5vw,86px);line-height:.92}.qh-template .box-banner.box-2 .text{padding-top:210px;padding-left:20px;max-width:65%;font-size:26px}.qh-template .box-banner.box-2 .img-item{width:55%;height:280px;right:-12px}.qh-template .box-banner.box-2 .img-item img{width:100%;height:100%;object-fit:contain;object-position:bottom}.qh-template .qh-official-cqc{grid-template-columns:1fr}.qh-template .qh-trust-head{align-items:flex-start;flex-wrap:wrap}.qh-template .qh-logo-card span{font-size:16px}.qh-template .qh-logo-card img{height:48px}.qh-story-reader{padding:22px 16px}.qh-story-reader summary{font-size:20px}.qh-template .qh-top-contact>a{font-size:15px}.qh-template .qh-socials{width:auto}.qh-template .qh-premium-top{flex-direction:column}.qh-template .box-page-title .right-box .tf-btn{font-size:16px;padding:12px}.qh-template .qh-cqc-summary{font-size:18px}}
@media(prefers-reduced-motion:reduce){.qh-template *{scroll-behavior:auto!important;animation:none!important}}

@media(max-width:767px){.qh-template .qh-hero-homes{text-align:center;padding:0;font-size:.48em;margin-top:8px}.qh-template .box-page-title .img-item{bottom:0}.qh-template .box-page-title .box-agent{bottom:20px}}

.qh-template footer a[data-review-footer]{color:#eaf2f6}.qh-template .section-lab :is(.mb-15,.heading-section .text){color:#fff}

.qh-template .section-features.h-2 .heading-section :is(.mb-15,.text){color:#fff!important}

/* Keep every text layer readable over the dark care-enquiry card. */
.qh-template .box-banner.box-1 :is(.title-banner,.title-banner *,.benefit-items,.benefit-items *){color:#fff!important}
.qh-template .box-banner.box-1 .tf-btn{background:#fff!important;border-color:#fff!important;color:#00334e!important;position:relative}
.qh-template .box-banner.box-1 .tf-btn :is(span,i){color:#00334e!important}
.qh-template .box-banner.box-1 .tf-btn:hover{background:#f6e6ca!important;border-color:#f6e6ca!important}

.qh-social-x{display:block;width:16px;height:16px;flex:none;fill:currentColor}
.qh-template :is(.qh-socials,.footer .icon-social) .qh-social-x{fill:#fff}
.qh-life-card{position:relative;display:flex;flex-direction:column;gap:0}
.qh-life-card-photo{display:none}
.qh-template .qh-life-card .title-counter{display:block;overflow:visible;-webkit-line-clamp:unset}
.qh-template .qh-life-card .qh-life-card-cta{display:inline-flex;align-items:center;justify-content:space-between;gap:10px;align-self:flex-start;max-width:100%;min-height:44px;margin-top:22px;padding:10px 15px;border:1px solid #00334e;border-radius:28px;font-size:16px;font-weight:600;line-height:1.4;color:#00334e;background:#fff;text-decoration:none}
.qh-template .qh-life-card .qh-life-card-cta span{font:inherit;color:inherit;flex-shrink:0}
.qh-template .qh-life-card .qh-life-card-cta:hover{background:#eaf2f6}
.qh-template .qh-life-card .qh-life-card-cta:focus-visible{outline:3px solid #d68c2b;outline-offset:4px}
@media(min-width:768px){.qh-template .qh-life-card{min-height:340px;padding:32px}.qh-template .qh-life-card .icon{margin-bottom:20px}.qh-template .qh-life-card .icon i{font-size:44px}.qh-template .qh-life-card:not(.bg-black-2) .icon i{color:#00334e}.qh-template .qh-life-card .qh-life-card-cta{margin-top:auto}.qh-template .qh-life-card .counter-item{margin-bottom:20px}}
@media(max-width:767px){
 .qh-template .section-fun-fact .qh-life-card{min-height:330px;padding:28px 24px;isolation:isolate;overflow:hidden;background:#00334e!important}
 .qh-template .qh-life-card .qh-life-card-photo{display:block;position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:62% center;z-index:-2}
 .qh-template .qh-life-card::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,51,78,.96) 0%,rgba(0,51,78,.82) 60%,rgba(0,51,78,.48) 100%);z-index:-1;pointer-events:none}
 .qh-template .section-fun-fact .qh-life-card :is(.number-counter,.title-counter,.icon i){color:#fff!important}
 .qh-template .qh-life-card .icon{margin-bottom:18px}.qh-template .qh-life-card .icon i{font-size:36px}
 .qh-template .qh-life-card .number-counter{font-size:42px;line-height:1.15;margin-bottom:12px}
 .qh-template .qh-life-card .title-counter{max-width:75%;font-size:18px;line-height:1.55;margin-bottom:0}
 .qh-template .qh-life-card .title-counter br{display:none}
 .qh-template .qh-life-card .counter-item{margin-bottom:22px}
 .qh-template .qh-life-card .qh-life-card-cta{margin-top:auto;border-color:#fff;position:relative}
 .qh-template .section-about.h-2 :is(.right,.wg-tab,.tab-content,.tab-pane,.section-content){min-width:0;max-width:100%}
 .qh-template .section-about.h-2 .wg-tab{overflow:visible}
 .qh-template .section-about.h-2 .tab-product{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;min-width:0;padding:0;gap:8px;align-items:stretch}
 .qh-template .section-about.h-2 .nav-tab-item{min-width:0;margin:0}
 .qh-template .section-about.h-2 .nav-tab-item h6{height:100%;margin:0}
 .qh-template .section-about.h-2 .tab-product a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;width:100%;height:100%;min-height:100px;padding:12px 4px;white-space:normal;overflow-wrap:normal;text-align:center;font-size:16px;line-height:1.4}
 .qh-template .section-about.h-2 .tab-product a i{font-size:24px;margin:0}
 .qh-template .section-about.h-2 .section-content .item{flex-direction:column;align-items:flex-start;gap:12px}
 .qh-template .section-about.h-2 .section-content .item :is(.title,.text){max-width:100%;width:100%;margin:0}
 .qh-template .section-about.h-2 .section-content .title{font-size:21px;line-height:1.35}
 .qh-template .section-about.h-2 .section-content .desc{margin-bottom:28px}
 .qh-template .section-about.h-2 .tab-product a:focus-visible{outline:3px solid #00334e;outline-offset:3px}
}
