/* Giant Jiang navy-and-gold visual system using original company content and assets. */
:root{--gj-purple:#152f50;--gj-lilac:#ffffff;--gj-navy:#1c315c;--gj-cream:#faf9ef;--gj-muted:#59616c}
html{scroll-behavior:smooth}body{font-family:Arial,"Noto Sans TC","Microsoft JhengHei",sans-serif;color:#29313b}.topbar{display:none!important}header{background:#ffffff!important;border:0!important;box-shadow:0 2px 8px rgba(71,39,88,.08)!important}.header-inner{max-width:1360px!important;min-height:70px;padding:8px 20px!important;gap:28px}.brand{flex:none}.brand .logo-mark{background:none!important;color:#dfa008!important;font-size:29px;font-style:italic;box-shadow:none!important;width:48px;height:48px}.brand strong{color:#152f50!important;font-size:17px!important}.brand small{font-size:10px;color:#8f7855}.main-nav{gap:27px!important;align-items:center}.main-nav>a,.nav-drop>a{color:#32303a!important;font-weight:600;font-size:15px;text-decoration:none;white-space:nowrap}.main-nav>a:hover,.nav-drop>a:hover{color:var(--gj-purple)!important}.main-nav .cta{background:#fff!important;border:1px solid #d7b66d!important;border-radius:999px!important;color:var(--gj-purple)!important;padding:11px 20px!important}.nav-drop{position:relative;padding:13px 0}.nav-drop-list{display:none;position:absolute;left:0;top:100%;z-index:80;min-width:196px;max-height:72vh;overflow:auto;background:#273238;box-shadow:0 18px 35px rgba(0,0,0,.22);padding:0}.nav-drop:hover .nav-drop-list,.nav-drop:focus-within .nav-drop-list{display:block}.nav-drop-list a{display:block;padding:14px 18px;color:#fff!important;text-decoration:none;font-size:14px}.nav-drop-list a:hover{background:#455359}.mobile-nav{background:#f7f8fa!important}.mobile-nav a{color:#653a7d!important}
.gj-hero{background:#e9e9eb}.gj-hero-photo{position:relative;max-width:1536px;margin:auto;height:min(41vw,530px);min-height:390px;overflow:hidden}.gj-hero-photo>img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 43%}.gj-hero-photo:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(255,250,241,.96),rgba(255,250,241,.83) 31%,rgba(255,250,241,.06) 70%)}.gj-hero-copy{position:absolute;z-index:1;left:max(5vw,42px);top:50%;transform:translateY(-50%);max-width:650px}.gj-hero-copy span{font-weight:800;color:var(--gj-purple);letter-spacing:.08em}.gj-hero-copy h1{font-size:clamp(44px,5.5vw,76px);line-height:1.1;color:var(--gj-navy);margin:20px 0;text-shadow:0 2px 2px #fff7}.gj-hero-copy p{color:#5c534d;font-size:22px;font-weight:700}.gj-hero-copy a{display:inline-block;background:#354c78;color:white;padding:13px 25px;border-radius:999px;text-decoration:none;font-size:18px;font-weight:800;margin-top:18px;box-shadow:0 5px 12px #283a5d55}.gj-dots{display:flex;justify-content:center;gap:11px;padding:36px 0 22px}.gj-dots span{width:10px;height:10px;background:#a9a9a9;border-radius:50%}.gj-dots .active{background:#383838}.gj-services{background:linear-gradient(#faf9ef,#f8f7f3);padding:52px 0 64px}.gj-services .wrap,.gj-process .wrap{max-width:1320px}.gj-heading{text-align:center;margin-bottom:55px}.gj-heading>p{font-size:clamp(37px,5vw,66px);font-weight:800;letter-spacing:.04em;color:#152f50;margin:0}.gj-heading i{display:block;width:60px;height:3px;background:#ce9221;margin:17px auto 28px}.gj-heading small{letter-spacing:.35em;color:#92949c;font-size:13px;font-weight:700}.gj-heading h2{font-size:clamp(28px,3.5vw,44px);margin:20px 0 10px;color:#18243a}.gj-intro{font-size:18px;line-height:1.8;color:#61636a;text-align:center}.gj-feature-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px}.gj-card{background:#fff;border:1px solid #d9d9dd;border-radius:22px;overflow:hidden;box-shadow:0 10px 28px rgba(39,52,74,.08);text-decoration:none}.gj-card.featured .card-photo{height:350px;position:relative;overflow:hidden}.gj-card img{width:100%;height:100%;object-fit:cover;display:block}.gj-card .card-photo>span{position:absolute;top:20px;left:20px;background:#fffdf8;padding:10px 15px;border-radius:12px;color:#9f7d43;font-weight:800}.gj-card .card-body{padding:25px}.gj-card .badge{display:inline-block;background:#fcf3ef;padding:8px 12px;border-radius:8px;color:#735f44;font-weight:800;margin:0 0 10px}.gj-card:nth-child(2) .badge{background:#fbf4e7;color:#9f7d43}.gj-card h3{font-size:25px;color:#1a2433;margin:8px 0 12px}.gj-card .card-body>p:not(.badge){font-size:17px;color:#626873;line-height:1.8;min-height:90px}.card-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:25px}.card-actions a{display:flex;align-items:center;justify-content:center;padding:14px 10px;border:1px solid #e2e2e2;border-radius:11px;text-decoration:none;color:#4a5360;font-size:17px;font-weight:800}.card-actions .primary{border:0;color:#fff;box-shadow:0 5px 12px #aaa8}.card-actions .orange{background:#f16811}.card-actions .pink{background:#d72c83}.gj-small-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px;margin-top:28px}.gj-card.small img{height:190px;object-fit:cover}.gj-card.small>div{padding:17px}.gj-card.small h3{font-size:20px;margin:0 0 8px}.gj-card.small span{color:var(--gj-purple);font-weight:700}.gj-more{text-align:center;margin:28px 0 0}.gj-more a,.gj-license a,.gj-locations a{color:var(--gj-purple);font-weight:800}.gj-license{text-align:center;background:#fff;padding:65px 0}.gj-license h2{font-size:38px;color:var(--gj-navy);margin:0 0 12px}.gj-license p{font-size:20px}.gj-process{background:#f5f3ed;padding:70px 0}.gj-process h2{text-align:center;color:var(--gj-navy);font-size:38px;margin:0 0 14px}.gj-steps{display:grid;grid-template-columns:repeat(5,1fr);gap:15px;margin:45px 0}.gj-steps article{background:#fff;border-radius:16px;padding:24px 18px;text-align:center;box-shadow:0 6px 20px #4c356017}.gj-steps b{display:flex;align-items:center;justify-content:center;width:48px;height:48px;background:#dfa008;border-radius:50%;color:#fff;font-size:25px;margin:auto}.gj-steps h3{font-size:19px;color:#152f50;margin:16px 0 8px}.gj-steps p{font-size:15px;line-height:1.7;color:#62646b}.gj-process-contact{background:#fff;padding:26px 34px;border-radius:18px;display:flex;justify-content:space-between;align-items:center;gap:24px;box-shadow:0 8px 28px #5638661c}.gj-process-contact h3{font-size:23px;color:var(--gj-purple);margin:0}.gj-process-contact p{margin:8px 0 0}.gj-process-contact>div:last-child{display:flex;gap:12px;flex-wrap:wrap}.gj-process-contact a{padding:12px 18px;border-radius:8px;background:#248f98;color:#fff;text-decoration:none;font-weight:800}.gj-process-contact a.line{background:#06bf58}.gj-locations{padding:65px 0;background:#fff;text-align:center}.gj-locations h2{font-size:38px;color:var(--gj-navy)}.gj-locations .wrap>div{display:flex;justify-content:center;gap:60px;line-height:1.8}
.gj-category-nav{background:#fff;padding:12px 0 14px}.gj-category-nav .wrap{display:flex;align-items:center;justify-content:center;gap:5px;white-space:nowrap;overflow-x:auto;max-width:1320px}.gj-category-nav a{color:var(--gj-purple);text-decoration:none;font-weight:800;padding:12px 9px;border-radius:11px}.gj-category-nav a:hover,.gj-category-nav a[aria-current="page"]{background:#152f50;color:#fff}.qualification-page .hero{background:#fff!important;padding:40px 0 35px!important}.qualification-page .hero .wrap,.qualification-page .section .wrap{max-width:1130px}.qualification-page .hero .breadcrumb{font-size:14px;color:#777}.qualification-page .hero .eyebrow{color:#9f7d43;font-size:14px;margin:30px 0 8px}.qualification-page .hero h1{background:#f7f4ec;color:#152f50!important;font-size:clamp(28px,3vw,38px)!important;line-height:1.35;padding:12px 18px;margin:12px 0 20px;text-align:center}.qualification-page .hero .lead{color:#52545c;font-size:18px;line-height:1.8}.qualification-page .quick-points,.qualification-page .info-box{display:none}.qualification-page .hero-actions{border:1px solid #279ba1;border-left:7px solid #279ba1;border-radius:7px;padding:18px;justify-content:center;margin-top:25px}.qualification-page .hero-actions .btn.primary{background:#218f98;border-color:#218f98}.qualification-page .hero-actions .btn.light{background:#09bf5c;color:#fff;border-color:#09bf5c}.qualification-page .section{background:#fff!important;border-bottom:0!important;padding:38px 0!important}.qualification-page .section h2{color:#152f50!important;font-size:clamp(25px,2.5vw,34px)!important;line-height:1.35}.qualification-page .section p,.qualification-page .section li{line-height:1.85}.qualification-page .section .kicker{color:#9f7d43}.qualification-subnav{position:relative!important;top:auto!important;background:#fff!important;box-shadow:none!important;border-top:1px solid #eee;border-bottom:1px solid #eee}.qualification-subnav .wrap{max-width:1130px}.qualification-subnav a{color:#152f50!important}.qualification-page #process-steps{scroll-margin-top:100px}.page-hero-v6{background:#faf7fc!important}.page-hero-v6 h1,.v6-heading h2{color:#152f50!important}.process-category-section{background:#fff!important}
@media(max-width:1150px){.main-nav{gap:12px!important}.main-nav>a,.nav-drop>a{font-size:13px}.header-inner{gap:15px}.brand small{display:none}.gj-card.featured .card-photo{height:280px}}@media(max-width:900px){.header-inner .main-nav{display:none!important}.gj-feature-grid{gap:14px}.gj-small-grid{grid-template-columns:1fr 1fr}.gj-steps{grid-template-columns:repeat(2,1fr)}.gj-process-contact{display:block}.gj-process-contact>div:last-child{margin-top:15px}.gj-category-nav .wrap{justify-content:flex-start}}@media(max-width:620px){.gj-hero-photo{height:420px;min-height:0}.gj-hero-photo>img{object-position:63% center}.gj-hero-photo:after{background:linear-gradient(90deg,rgba(255,250,241,.9),rgba(255,250,241,.6) 55%,rgba(255,250,241,.05))}.gj-hero-copy{left:20px;right:25px;top:55%}.gj-hero-copy h1{font-size:42px}.gj-hero-copy p{font-size:16px}.gj-hero-copy a{font-size:14px}.gj-heading{margin-bottom:30px}.gj-heading>p{font-size:38px}.gj-services{padding:35px 0}.gj-feature-grid,.gj-small-grid{grid-template-columns:1fr}.gj-card.featured .card-photo{height:240px}.gj-card .card-body{padding:18px}.gj-card .card-body>p:not(.badge){min-height:0}.card-actions{grid-template-columns:1fr 1fr}.card-actions a{font-size:14px}.gj-steps{grid-template-columns:1fr}.gj-process{padding:45px 0}.gj-process h2{font-size:29px}.gj-locations .wrap>div{display:block}.qualification-page .hero h1{text-align:left}.qualification-page .hero-actions{display:flex;flex-wrap:wrap}.gj-category-nav{padding:5px 0}.gj-category-nav a{font-size:14px;padding:10px}}
.gj-footer{background:#fff!important;color:#26303b!important;padding:50px 0 20px!important;border-top:1px solid #ede8f0}.gj-footer .wrap{max-width:1200px}.footer-link-panel{display:grid;grid-template-columns:1fr 1fr;gap:50px;border:1px solid #ececf0;border-radius:18px;padding:30px 36px;box-shadow:0 5px 20px #2424370a}.footer-link-panel h3{text-align:center;color:#182639!important;font-size:20px;margin:0 0 20px}.footer-link-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.footer-link-grid a{display:block;text-align:center;text-decoration:none;color:#505866!important;font-weight:800;background:#f7f8fa;border-radius:7px;padding:13px}.footer-link-grid a:hover{background:#fff4df;color:#152f50!important}.footer-map-panel{display:grid;grid-template-columns:1fr 1fr;gap:22px;background:#f7f5ef;border-radius:13px;margin-top:30px;padding:22px}.footer-map-panel a{display:flex;min-height:142px;flex-direction:column;justify-content:center;gap:8px;background:#fff;border-radius:12px;padding:20px;text-decoration:none;color:#293b53!important;box-shadow:0 3px 11px #37284915}.footer-map-panel span{font-size:13px;color:#9f7d43;font-weight:800}.footer-map-panel strong{font-size:18px}.footer-map-panel small{color:#4672a3;font-size:14px}.footer-contact-panel{display:flex;align-items:center;justify-content:space-between;gap:25px;margin-top:25px;padding:30px 35px;background:#fff;border:1px solid #ededed;border-radius:16px;box-shadow:0 6px 15px #33333310}.footer-contact-panel h3{color:#172436!important;font-size:25px;margin:0 0 8px}.footer-contact-panel p{color:#59636d;margin:0}.footer-contact-actions{display:grid;gap:8px;min-width:295px}.footer-contact-actions a{display:block;text-align:center;text-decoration:none;color:#fff!important;border-radius:999px;padding:10px 18px;background:#1eaa5e;font-weight:800;box-shadow:0 5px 12px #22914a3b}.footer-contact-actions a:nth-child(2){background:#ba8530}.footer-contact-actions a:nth-child(3){background:#08b852}.footer-copyright{color:#707780!important;font-size:12px;line-height:1.7;margin:18px 0 0!important;text-align:center}@media(max-width:700px){.footer-link-panel,.footer-map-panel{grid-template-columns:1fr}.footer-link-panel{padding:25px 16px;gap:30px}.footer-contact-panel{display:block;padding:22px}.footer-contact-actions{margin-top:16px;min-width:0}}

/* Business card palette: navy #152f50, gold #dfa008, white. */
.gj-heading i{background:#dfa008}.gj-hero-copy a,.gj-process-contact a{background:#152f50}.gj-process-contact a.line,.footer-contact-actions a:nth-child(3){background:#08b852}.gj-card .orange,.gj-card .pink{background:#152f50}.gj-card .primary:hover,.gj-hero-copy a:hover{background:#dfa008;color:#152f50}.gj-category-nav a[aria-current="page"],.gj-category-nav a:hover{background:#152f50;color:#fff}.qualification-page .hero-actions{border-color:#dfa008;border-left-color:#dfa008}.qualification-page .hero-actions .btn.primary{background:#152f50;border-color:#152f50}.gj-license{border-top:5px solid #dfa008}.gj-services{background:linear-gradient(#fffdf8,#f7f5ef)}.gj-hero-copy span{color:#9f7d43}.gj-footer h3{color:#152f50!important}.footer-contact-actions a:first-child{background:#152f50}.footer-contact-actions a:nth-child(2){background:#a47e42}.footer-map-panel span{color:#9f7d43}.gj-intro{color:#152f50;font-weight:600}

.family-infographic{margin:24px auto 34px;max-width:1040px}.family-infographic img{display:block;width:100%;height:auto;border-radius:22px;box-shadow:0 12px 36px rgba(21,47,80,.10)}.family-infographic figcaption{padding:10px 8px;color:#687789;font-size:.92rem}.family-infographic.wide{max-width:1120px}.qualification-page ol{padding-left:1.5rem;line-height:1.9}.qualification-page .note a{font-weight:700} @media(max-width:720px){.family-infographic{margin:18px -2px 26px}.family-infographic img{border-radius:14px}.family-infographic figcaption{font-size:.83rem}}

/* Family-care page rebuilt to follow the supplied reference order and data. */
.family-care-hero{background:#fff!important;padding:34px 0 28px!important;border-bottom:1px solid #ececec}
.family-care-hero .wrap{max-width:1120px}.family-care-kicker{color:#9f7d43;font-weight:800;letter-spacing:.04em;margin:28px 0 8px!important}.family-care-hero h1{background:#f5f7fa!important;border-left:6px solid #dfa008;text-align:left!important;padding:16px 20px!important;margin:8px 0 14px!important;font-size:clamp(27px,3vw,38px)!important}.family-care-hero .lead{font-size:18px!important;line-height:1.8;color:#424c57!important}.family-care-hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin:22px 0 10px}.family-care-hero-actions a,.family-contact-copy>a{display:inline-flex;align-items:center;justify-content:center;padding:13px 19px;border-radius:8px;background:#152f50;color:#fff;text-decoration:none;font-weight:800}.family-care-hero-actions a[data-line-cta],.family-contact-copy>a:last-child{background:#08b852}.family-care-updated{font-size:13px;color:#687789;margin:12px 0 0!important}.family-care-main .section{scroll-margin-top:82px}.family-care-main .section .wrap{max-width:1120px}.family-care-main .section h2{font-size:clamp(26px,2.8vw,35px)!important}.family-care-main .section h3{color:#152f50;margin:25px 0 10px}.family-care-main .section p,.family-care-main .section li{font-size:17px;line-height:1.85}.family-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:24px 0}.family-detail-grid .card{padding:22px 24px}.family-detail-grid h3{margin:0 0 10px!important}.family-detail-grid ul{padding-left:1.25rem}.family-list{padding-left:1.45rem;line-height:1.9}.family-detail{margin:18px 0;padding:18px 22px}.family-detail summary{font-size:18px;font-weight:800;color:#152f50;cursor:pointer}.family-table{width:100%;border-collapse:collapse;background:#fff;min-width:720px}.family-table th,.family-table td{border:1px solid #dce2e8;padding:12px 14px;text-align:left;vertical-align:top;line-height:1.65}.family-table th{background:#eaf1f8;color:#152f50;font-weight:800}.family-table tr:nth-child(even) td{background:#fbfcfd}.table-wrap{overflow-x:auto;margin:20px 0}.family-care-main .small{font-size:14px!important;color:#687789}.family-care-main .note,.family-care-main .warn{padding:17px 20px;margin:18px 0;border-radius:12px;background:#fff5d9;border-left:4px solid #dfa008;line-height:1.8}.family-care-main .warn{background:#f9eeee;border-left-color:#b85252}.official-link{display:inline-block;color:#152f50;text-decoration:underline;font-weight:800}.family-cta-band{display:flex;align-items:center;justify-content:space-between;gap:22px;margin:26px 0;padding:22px 26px;border:1px solid #e1e6eb;border-radius:16px;background:#fff;box-shadow:0 8px 24px #152f5010}.family-cta-band b{font-size:20px;color:#152f50}.family-cta-band p{margin:7px 0 0!important}.family-cta-band>div:last-child{display:flex;gap:10px;flex-wrap:wrap}.family-cta-band a{display:inline-flex;align-items:center;justify-content:center;background:#152f50;color:#fff;text-decoration:none;padding:12px 17px;border-radius:8px;font-weight:800}.family-cta-band a[data-line-cta]{background:#08b852}.official-card{display:flex;flex-direction:column;gap:8px;padding:20px;border:1px solid #e1e5eb;border-radius:12px;background:#fff;color:#152f50;text-decoration:none}.official-card b{font-size:17px}.official-card span{font-size:14px;color:#697789}.family-care-contact{background:#152f50!important;color:#fff}.family-care-contact h2,.family-care-contact .kicker{color:#fff!important}.family-care-contact .wrap{display:flex;align-items:center;justify-content:space-between;gap:28px}.family-contact-copy p{color:#e1e8f1}.family-contact-copy>a{margin:8px 8px 0 0}.family-line-qr{display:flex;flex-direction:column;align-items:center;gap:10px;padding:12px;background:white;border-radius:14px;color:#152f50;text-decoration:none;font-weight:800}.family-line-qr img{display:block;width:190px;height:190px;object-fit:contain}.family-infographic{margin:22px auto 28px;max-width:1040px}.family-infographic img{display:block;width:100%;height:auto;border-radius:18px;box-shadow:0 9px 26px rgba(21,47,80,.1)}.family-infographic figcaption{padding:9px 5px;color:#687789;font-size:14px}.family-infographic.wide{max-width:1120px}
@media(max-width:720px){.family-detail-grid{grid-template-columns:1fr}.family-cta-band{display:block;padding:20px}.family-cta-band>div:last-child{margin-top:14px}.family-care-contact .wrap{display:block}.family-line-qr{width:max-content;margin:25px auto 0}.family-line-qr img{width:160px;height:160px}.family-care-hero h1{font-size:27px!important}.family-care-main .section p,.family-care-main .section li{font-size:16px}.family-infographic{margin:18px -2px 22px}.family-infographic img{border-radius:12px}.family-table th,.family-table td{font-size:15px;padding:10px}}

.qualification-page .family-care-main .section.soft{background:#f3f6fa!important}.qualification-page .family-care-main .section.blue{background:#eaf1f8!important}.family-cost-table{min-width:1120px}.family-cost-table td:last-child{min-width:250px}.gj-category-nav .wrap{scrollbar-width:thin}

.family-care-banner{margin:0 0 28px;height:clamp(210px,32vw,390px);overflow:hidden;border-radius:16px;position:relative;background:#152f50}.family-care-banner img{width:100%;height:100%;display:block;object-fit:cover;object-position:center 45%}.family-care-banner figcaption{position:absolute;left:0;right:0;bottom:0;padding:36px 22px 14px;background:linear-gradient(transparent,rgba(9,28,50,.72));color:#fff;font-size:14px;font-weight:700}@media(max-width:720px){.family-care-banner{margin:0 -2px 20px;height:220px;border-radius:11px}.family-care-banner img{object-position:52% center}}

/* Contextual visual system for service categories and process. */
.service-image-note{font-size:14px;color:#617188;margin:0 0 24px}
.gj-services .gj-more:after{content:"圖片為服務情境示意圖";display:block;margin-top:13px;font-size:13px;font-weight:400;color:#718095}
.service-tile{padding:0 0 62px;overflow:hidden;min-height:335px}
.service-tile .service-image{display:block;width:100%;height:145px;object-fit:cover}
.service-tile .icon{margin:16px 22px 0}
.service-tile h3{margin:10px 22px 7px}
.service-tile p{margin:0 22px 22px}
.service-tile .link{left:22px;right:16px;bottom:18px}
.qualification-card-image{display:block;width:100%;height:150px;object-fit:cover;border-radius:10px;margin-bottom:15px}
.process-card-image{display:block;width:100%;height:115px;object-fit:cover;border-radius:9px;margin-bottom:8px}
.qualification-visual,.gj-process-visual,.dormitory-visual{margin:24px 0}
.qualification-visual img{display:block;width:100%;height:290px;object-fit:cover;border-radius:16px}
.gj-process-visual{max-width:1000px;margin:28px auto 0}
.gj-process-visual img{display:block;width:100%;height:270px;object-fit:cover;border-radius:18px}
.dormitory-visual{max-width:900px}
.dormitory-visual img{display:block;width:100%;height:330px;object-fit:cover;border-radius:16px}
.qualification-visual figcaption,.gj-process-visual figcaption,.dormitory-visual figcaption{font-size:13px;color:#718095;margin-top:7px}
@media(max-width:720px){.service-tile{min-height:0}.qualification-visual img{height:210px}.gj-process-visual img,.dormitory-visual img{height:210px}}

/* Keep content inside its card or media frame across all pages. */
*,*::before,*::after{box-sizing:border-box}
html,body{max-width:100%;overflow-x:clip}
img,svg,video,iframe{max-width:100%}
main,.wrap,.section,.card,.track,.track-card,.service-tile,.process-card,.route-panel,.route-item,.footer,.grid,.service-menu,.process-row{min-width:0}
h1,h2,h3,h4,p,li,td,th,figcaption,.card,.track,.track-card,.service-tile,.process-card,.route-panel,.route-item,.footer-map-panel a,.footer-contact-actions a{overflow-wrap:anywhere;word-break:normal}
button,.btn,.v6-btn,.card-actions a,.family-care-hero-actions a,.family-cta-band a{max-width:100%;min-width:0;white-space:normal;overflow-wrap:anywhere;text-align:center}
.table-wrap{width:100%;max-width:100%;overflow-x:auto}
.gj-feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.gj-small-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.gj-steps{grid-template-columns:repeat(5,minmax(0,1fr))}

/* Three-slide homepage carousel with controls and swipe support. */
.gj-hero-photo{position:relative;isolation:isolate;height:clamp(420px,39vw,560px);min-height:0;overflow:hidden}
.gj-hero-photo:after{display:none}
.gj-hero-slide{position:absolute;inset:0;z-index:0;opacity:0;visibility:hidden;transition:opacity .55s ease}
.gj-hero-slide.is-active{z-index:2;opacity:1;visibility:visible}
.gj-hero-slide:after{content:"";position:absolute;z-index:1;inset:0;pointer-events:none;background:linear-gradient(90deg,rgba(255,252,246,.97),rgba(255,252,246,.86) 34%,rgba(255,252,246,.12) 76%)}
.gj-hero-slide>img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;object-position:center 44%}
.gj-hero-slide .gj-hero-copy{left:clamp(24px,5vw,76px);right:28px;top:50%;transform:translateY(-50%);width:min(650px,calc(100% - 56px));max-width:650px;max-height:calc(100% - 34px);overflow:auto;z-index:2;padding:4px 8px 8px 0;scrollbar-width:thin}
.gj-hero-copy span{display:block;font-size:clamp(14px,1.2vw,17px);line-height:1.5;overflow-wrap:anywhere}
.gj-hero-copy h1,.gj-hero-copy h2{font-size:clamp(38px,5.3vw,72px);line-height:1.16;letter-spacing:-.035em;margin:14px 0 15px;overflow-wrap:anywhere}
.gj-hero-copy p{font-size:clamp(16px,1.55vw,21px);line-height:1.65;margin:0;max-width:590px;overflow-wrap:anywhere}
.gj-hero-copy a{display:inline-flex;align-items:center;justify-content:center;max-width:100%;white-space:normal;line-height:1.45;margin-top:20px;padding:12px 22px;text-align:center;overflow-wrap:anywhere}
.gj-carousel-controls{display:flex;align-items:center;justify-content:center;gap:22px;padding:13px 16px 20px;background:#fff}
.gj-carousel-controls>button{border:1px solid #dbe1e7;border-radius:999px;background:#fff;color:#152f50;font-family:inherit;font-size:14px;font-weight:700;line-height:1.3;padding:9px 15px;cursor:pointer}
.gj-dots{display:flex;align-items:center;justify-content:center;gap:10px;padding:0;margin:0}
.gj-dots button{display:grid;place-items:center;width:32px;height:32px;padding:0;border:0;border-radius:50%;background:transparent;cursor:pointer}
.gj-dots button span{display:block;width:10px;height:10px;border-radius:50%;background:#a8b0ba;transition:transform .2s,background-color .2s}
.gj-dots button.active span{background:#dfa008;transform:scale(1.3)}
.gj-carousel-controls button:focus-visible{outline:3px solid #dfa008;outline-offset:3px}
@media(max-width:900px){.gj-steps{grid-template-columns:repeat(2,minmax(0,1fr))}.gj-small-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){
 .gj-hero-photo{height:clamp(400px,62svh,500px)}
 .gj-hero-slide>img{object-position:62% center}
 .gj-hero-slide:after{background:linear-gradient(90deg,rgba(255,252,246,.94),rgba(255,252,246,.76) 58%,rgba(255,252,246,.12))}
 .gj-hero-slide .gj-hero-copy{left:18px;right:18px;top:50%;transform:translateY(-50%);width:auto;max-height:calc(100% - 28px);padding-right:4px}
 .gj-hero-copy h1,.gj-hero-copy h2{font-size:clamp(34px,9vw,42px);line-height:1.2;margin:12px 0}
 .gj-hero-copy p{font-size:16px;line-height:1.65}
 .gj-hero-copy a{font-size:15px;margin-top:16px;padding:11px 16px}
 .gj-carousel-controls{gap:10px;padding:11px 8px 17px}
 .gj-carousel-controls>button{font-size:12px;padding:8px 11px}
 .gj-dots{gap:5px}
 .gj-dots button{width:26px;height:28px}
 .gj-feature-grid,.gj-small-grid{grid-template-columns:minmax(0,1fr)}
}
@media(prefers-reduced-motion:reduce){.gj-hero-slide,.gj-dots button span{transition:none}}


/* Final brand palette and category copy from the supplied publish reference. */
:root{--gj-purple:#173253;--gj-navy:#173253;--gj-gold:#d6a319;--gj-cream:#faf8f1;--gj-muted:#596879}
.brand .logo-mark{color:var(--gj-gold)!important}
.brand strong,.gj-heading>p,.gj-license h2,.gj-process h2,.gj-locations h2,.gj-steps h3,.gj-card h3{color:var(--gj-navy)}
.main-nav>a:hover,.nav-drop>a:hover,.gj-more a:hover,.gj-license a:hover,.gj-locations a:hover{color:#9a7413!important}
.main-nav .cta{border-color:#d6a319!important;color:var(--gj-navy)!important}
.gj-hero-copy h1,.gj-hero-copy h2{color:var(--gj-navy)}
.gj-hero-copy a,.card-actions .orange,.card-actions .pink,.qualification-page .hero-actions .btn.primary{background:var(--gj-navy)!important;border-color:var(--gj-navy)!important;color:#fff!important}
.gj-hero-copy a:hover,.card-actions .orange:hover,.card-actions .pink:hover,.qualification-page .hero-actions .btn.primary:hover{background:#24496e!important;border-color:#24496e!important;color:#fff!important}
.gj-heading i,.gj-steps b,.gj-dots button.active span{background:var(--gj-gold)!important}
.gj-steps b{color:var(--gj-navy);box-shadow:inset 0 0 0 2px rgba(23,50,83,.12)}
.gj-process-contact a{background:var(--gj-navy)}
.gj-process-contact a.line,.card-actions a[data-line-cta],.family-care-hero-actions a[data-line-cta],.family-contact-copy>a:last-child{background:#08b852!important;color:#fff!important}
.gj-license{border-top-color:var(--gj-gold)}
.gj-services{background:linear-gradient(#fffdf8,#f7f5ef)}
.gj-category-nav a[aria-current=page],.gj-category-nav a:hover{background:var(--gj-navy);color:#fff}
.qualification-page .hero-actions{border-color:var(--gj-gold);border-left-color:var(--gj-gold)}
.qualification-page .hero-actions .btn.light{background:#08b852;border-color:#08b852;color:#fff}
.eligibility-label{display:block;margin-top:5px;color:#9a7413;font-size:.68em;font-weight:700;line-height:1.45;overflow-wrap:anywhere}
.gj-card h3,.gj-card .card-body,.gj-card.small>div{min-width:0;overflow-wrap:anywhere}
.gj-card .card-body>p:not(.badge){min-height:0}
.gj-small-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:900px){.gj-small-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.gj-small-grid{grid-template-columns:minmax(0,1fr)}.eligibility-label{font-size:.72em}.card-actions{grid-template-columns:minmax(0,1fr)}.gj-steps h3{overflow-wrap:anywhere}}


.ip-rights-note{max-width:1080px;margin:8px auto 0!important;padding:0 12px;color:#697687!important;font-size:12px;line-height:1.75;text-align:center;overflow-wrap:anywhere}
.eligibility-label{overflow-wrap:anywhere}
@media(max-width:700px){.ip-rights-note{font-size:11px;line-height:1.7;padding:0 16px}}
