/* Owner-requested responsive repair for the complete /Testing website. */
html,body{max-width:100%;overflow-x:clip}
.shell,.panel,.two,.three,.quick,.resource-carousel,.resource-list,.welcome,.mandate{min-width:0;max-width:100%}
.nav{position:relative;z-index:100;overflow:visible}
.nav-menu{position:static}
#ecosystemMenu.dropdown{position:absolute!important;left:50%!important;right:auto!important;top:100%!important;transform:translateX(-50%)!important;width:min(960px,calc(100vw - 28px))!important;max-height:min(75vh,680px);overflow-y:auto;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important;padding:18px!important;background:#fff!important;border:3px solid #ffcf24!important;box-shadow:0 12px 36px #081b5270!important;z-index:9999!important}
#ecosystemMenu.dropdown:not(.open){display:none!important}
#ecosystemMenu.dropdown.open{display:grid!important}
#ecosystemMenu.dropdown a{display:flex!important;align-items:center;justify-content:center;min-height:68px;white-space:normal!important;text-align:center;background:linear-gradient(135deg,#fff,#f0f5ff)!important;color:#082b8a!important;border:2px solid #d6e0ff!important;border-radius:12px!important;font-size:clamp(12px,1.3vw,16px)!important;line-height:1.3!important;padding:12px!important;text-shadow:none!important}
#ecosystemMenu.dropdown a:hover,#ecosystemMenu.dropdown a:focus-visible{background:#fff1bb!important;border-color:#ed008b!important;color:#05266d!important}
.top{overflow:hidden;min-width:0;gap:12px}.top .motto{flex:0 0 auto}.top .flags{flex:1 1 auto;min-width:0;overflow:hidden!important;display:block!important;white-space:nowrap!important;mask-image:linear-gradient(90deg,transparent,#000 4%,#000 96%,transparent)}
.hk-flag-marquee{display:flex;width:max-content;align-items:center;gap:15px;animation:hk-flags-travel 155s linear infinite;will-change:transform}
.hk-flag-set{display:flex;align-items:center;gap:15px;flex:none}.hk-flag-set .flag{flex:none;display:inline-flex;font-size:27px;line-height:1;align-items:center;justify-content:center}
@keyframes hk-flags-travel{to{transform:translateX(-50%)}}
.quick-head>span{display:none!important}
.resource-list{min-width:0}
.resource[hidden]{display:none!important}
.hero-pause{display:none!important}
/* Keep both the Ecosystem and Global Christian Social Network panels visible. */
.two:has(>.panel .eco-area){grid-template-columns:repeat(2,minmax(0,1fr))}
.welcome,.mandate{min-width:0;overflow:hidden}
.welcome .content,.mandate .content{min-width:0}
.sc5-scroll{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
/* Preserve the four-column caution grid width inside its horizontal scroll container. */
.sc5-grid{min-width:800px}
@media(max-width:900px){.mast{flex-wrap:wrap;gap:8px}.tagline{max-width:100%;padding:6px}.nav{justify-content:center}.two,.three{grid-template-columns:minmax(0,1fr)!important}.welcome,.mandate{grid-template-columns:minmax(0,1fr)!important}.welcome>img{max-height:250px;object-fit:contain}.mandate img{max-height:230px;object-fit:contain}.hero-content{max-width:100%;padding:22px 16px;margin:0 auto}.hero{min-height:300px}.eco-area{min-width:0}.quick-head{padding:10px}.resource-list{gap:10px;padding:10px}.resource{min-width:0}}
@media(max-width:600px){#ecosystemMenu.dropdown{grid-template-columns:repeat(2,minmax(0,1fr))!important;padding:10px!important;gap:7px!important;top:100%!important;max-height:65vh}#ecosystemMenu.dropdown a{min-height:58px!important;font-size:13px!important;padding:8px!important}.shell{width:calc(100% - 12px)!important}.mast{padding:8px!important}.brand img{width:64px!important;height:auto!important}.brand strong{font-size:clamp(18px,5vw,26px)!important}.brand small{font-size:12px!important}.top{padding:5px 8px!important}.top .motto{font-size:12px!important}.resource{min-height:155px}.resource img{height:110px}.resource strong{font-size:17px}.resource span{font-size:12px}.welcome p{line-height:1.45!important}.sc5-head h2{font-size:clamp(23px,7vw,34px)}}
/* On compact screens, preserve the full motto and give the flags their own unclipped row. */
@media(max-width:600px){
 .top{display:grid!important;grid-template-columns:minmax(0,1fr);gap:3px!important}
 .top .motto{min-width:0;max-width:100%;justify-self:center;font-size:clamp(11px,3.1vw,14px)!important}
 .top .flags{width:100%;min-width:0;max-width:100%;overflow:hidden!important}
 .hk-flag-set .flag{font-size:22px;line-height:1}
}
/* Respect the user's motion preference without showing an extra duplicate track or scrollbar. */
@media(prefers-reduced-motion:reduce){
 .hk-flag-marquee{animation:none!important;transform:none!important;will-change:auto;max-width:none;overflow:visible}
 .hk-flag-set[aria-hidden="true"]{display:none!important}
 .top .flags{overflow-x:auto!important;scrollbar-width:none!important}
 .top .flags::-webkit-scrollbar{display:none!important}
}

/* Keep the nation-flags ticker uninterrupted with no visible control bar. */
.top .flags button,.top .flags input,.top .flags [role='slider'],.top .flags .controls,.top .flags .marquee-controls{display:none!important}
.top .flags{scrollbar-width:none!important}
.top .flags::-webkit-scrollbar{display:none!important}

/* Reusable ministry-branded artwork replacing the retired laptop photograph. */
.community-emblem{display:flex;align-items:center;justify-content:center;min-width:0;min-height:160px;padding:14px;background:linear-gradient(145deg,#f9f1ff,#edf6ff 65%,#fff9dd);border-right:2px solid #ffdc22}.community-emblem img{width:min(100%,215px);height:auto;max-height:225px;object-fit:contain}@media(max-width:640px){.community-emblem{min-height:105px;padding:8px;border-right:0;border-bottom:2px solid #ffdc22}.community-emblem img{max-height:115px}}

/* Nations ribbon: one meaningful left-hand ministry button, uninterrupted flag motion.
   Overrides earlier screenshot-only responsive rules without removing other page content. */
.top.hk-nations-ribbon{
 display:flex!important;flex-direction:row!important;align-items:center!important;
 justify-content:flex-start!important;flex-wrap:nowrap!important;
 min-height:52px!important;height:auto!important;
 gap:12px!important;padding:6px 12px!important;
 background:linear-gradient(110deg,#ed008b 0%,#d9008c 42%,#0751db 100%)!important;
 border-bottom:3px solid #ffdb36!important;
}
.top.hk-nations-ribbon .hk-nations-button{
 display:inline-flex!important;align-items:center!important;justify-content:center!important;
 flex:0 0 auto!important;min-width:0;max-width:48%;gap:7px!important;
 padding:8px 14px!important;margin:0!important;line-height:1.12!important;
 color:#fff!important;text-shadow:none!important;text-decoration:none!important;
 font:900 clamp(12px,1.6vw,17px)/1.12 Arial,Helvetica,sans-serif!important;
 font-style:normal!important;letter-spacing:0!important;white-space:nowrap!important;
 background:linear-gradient(135deg,#084ada,#09339b)!important;
 border:2px solid #ffe052!important;border-radius:999px!important;
 box-shadow:0 2px 0 #b17b0b,0 3px 10px #16063c55!important;
 transition:background-color .2s,box-shadow .2s,transform .2s;
}
.top.hk-nations-ribbon .hk-nations-button:hover{
 background:#113dd7!important;transform:translateY(-1px);
 box-shadow:0 3px 0 #b17b0b,0 5px 14px #16063c77!important;
}
.top.hk-nations-ribbon .hk-nations-button:focus-visible{
 outline:3px solid #fff!important;outline-offset:3px!important;
}
.top.hk-nations-ribbon .hk-nations-button .ribbon-globe{
 display:block!important;width:24px!important;height:24px!important;flex:0 0 24px!important;
 object-fit:contain!important;
}
.top.hk-nations-ribbon .flags{
 flex:1 1 0!important;width:auto!important;min-width:0!important;max-width:none!important;
 margin:0!important;padding:3px 0!important;
 display:block!important;overflow:hidden!important;white-space:nowrap!important;
 align-self:center!important;mask-image:linear-gradient(90deg,transparent,#000 3%,#000 97%,transparent);
}
.top.hk-nations-ribbon .hk-flag-marquee{animation-duration:155s!important}
.top.hk-nations-ribbon .ribbon-back,.top.hk-nations-ribbon .ribbon-forward,
.top.hk-nations-ribbon .flags button,.top.hk-nations-ribbon .flags [role="button"],
.top.hk-nations-ribbon .flags .controls{display:none!important}
@media(max-width:600px){
 .top.hk-nations-ribbon{gap:7px!important;min-height:43px!important;padding:5px 6px!important}
 .top.hk-nations-ribbon .hk-nations-button{
  max-width:58%;padding:6px 8px!important;gap:4px!important;
  font-size:clamp(10px,2.6vw,13px)!important
 }
 .top.hk-nations-ribbon .hk-nations-button .ribbon-globe{
  width:18px!important;height:18px!important;flex-basis:18px!important
 }
 .top.hk-nations-ribbon .flags{width:auto!important;min-width:0!important}
}
@media(prefers-reduced-motion:reduce){
 .top.hk-nations-ribbon .hk-nations-button{transition:none}
 .top.hk-nations-ribbon .hk-flag-marquee{animation:none!important}
 .top.hk-nations-ribbon .flags{overflow-x:auto!important;scrollbar-width:none!important}
}

/* Language selector replaces the removed search and account header controls. */
.mast .hk-language-actions{flex:0 0 auto;display:flex;gap:8px;align-items:center;max-width:100%;min-width:0}
.hk-language-label{display:inline-flex;align-items:center;font-size:13px;font-weight:900;color:#083ba2;white-space:nowrap}
.mast .hk-language-actions .lang{
 min-height:44px;font-size:16px;
 min-width:145px;max-width:220px;width:clamp(145px,14vw,220px);
 padding:10px 12px;border:2px solid #f4c83b;border-radius:22px;
 background:#fff;color:#0a318b;font-weight:800;box-shadow:0 3px 9px #0d368522;
}
.mast .hk-language-actions .lang:focus-visible{outline:3px solid #ed008b;outline-offset:2px}
@media(max-width:600px){
 .mast .hk-language-actions{width:100%;justify-content:center;flex-wrap:wrap;gap:5px}
 .mast .hk-language-actions .lang{width:min(230px,60vw);max-width:60vw;min-width:0}
}

/* Approved text-only ecosystem centre: no overlapping logo, caption or text effects. */
.eco-area .eco-center{
 display:flex!important;flex-direction:column!important;align-items:center!important;
 justify-content:center!important;text-align:center!important;gap:0!important;
 padding:clamp(8px,1vw,15px)!important;overflow:hidden!important;
 background:linear-gradient(155deg,#ed008b,#9f0061)!important;
 border:3px solid #ffdc22!important;border-radius:50%!important;
 box-shadow:0 0 0 2px #fff,0 2px 8px #11246c4d!important;
}
.eco-area .eco-center>img,.eco-area .eco-center>small{display:none!important}
.eco-area .eco-center>strong{
 display:flex!important;flex-direction:column!important;align-items:center!important;
 justify-content:center!important;width:100%!important;margin:0!important;
 font-family:Arial,Helvetica,sans-serif!important;font-size:clamp(10px,1.25vw,18px)!important;
 font-weight:900!important;line-height:1.15!important;letter-spacing:0!important;
 text-align:center!important;white-space:normal!important;overflow-wrap:normal!important;
 color:#fff!important;text-shadow:none!important;filter:none!important;
}
.eco-area .eco-center>strong span{
 display:block!important;width:100%;margin-top:3px!important;
 color:#ffe14b!important;font:inherit!important;letter-spacing:.035em!important;
 text-shadow:none!important;
}
/* Sharpen the footer's live text instead of relying on low-resolution or doubled lettering. */
footer.footer{height:auto!important;max-height:none!important;min-height:0!important}
footer.footer .brand{min-width:0!important;max-width:100%!important;gap:10px!important;text-decoration:none!important}
footer.footer .brand span{display:flex!important;flex-direction:column!important;align-items:flex-start!important;min-width:0!important;gap:3px!important}
footer.footer .brand strong{
 display:block!important;margin:0!important;padding:0!important;
 font-family:Arial,Helvetica,sans-serif!important;font-size:clamp(17px,2vw,25px)!important;
 font-weight:900!important;letter-spacing:0!important;line-height:1.15!important;
 color:#fff!important;text-shadow:none!important;filter:none!important;
 white-space:normal!important;overflow-wrap:normal!important;
}
footer.footer .brand small{
 display:block!important;font-family:Arial,Helvetica,sans-serif!important;
 font-size:clamp(10px,1.05vw,14px)!important;line-height:1.25!important;
 letter-spacing:.01em!important;font-weight:800!important;
 color:#ffe34e!important;text-shadow:none!important;white-space:normal!important;
}
footer.footer h3,footer.footer a,footer.footer p,.copyright{
 text-shadow:none!important;filter:none!important;letter-spacing:normal!important;
}
footer.footer h3{line-height:1.3!important}
footer.footer a{line-height:1.4!important}
.copyright{height:auto!important;min-height:36px!important;white-space:normal!important;line-height:1.45!important}
@media(max-width:640px){
 .eco-area .eco-center{padding:7px!important}
 .eco-area .eco-center>strong{font-size:clamp(9px,2.5vw,14px)!important;line-height:1.1!important}
 footer.footer .brand{flex-wrap:nowrap!important}
 footer.footer .brand strong{font-size:clamp(18px,4.3vw,24px)!important}
 footer.footer .brand small{font-size:clamp(10px,2.5vw,13px)!important}
}

/* Readability polish: retain coloured surfaces while removing doubled lettering. */
.mast .brand strong,.mast .brand small,.mast .tagline,
.panel>.bar,.quick-head,.section-label,.footer .brand strong,.footer .brand small{
 text-shadow:none!important;filter:none!important;
}
.mast .brand strong,.mast .brand small{line-height:1.12!important;letter-spacing:0!important}
.panel>.bar,.quick-head{line-height:1.2!important;letter-spacing:0!important}
.section-label{line-height:1.25!important;letter-spacing:0!important}

/* Community art now sits inside a branded wrapper, not the retired full-height photo.
   Override legacy descendant rules which forced 230–240px minimum image heights. */
.social-body>.community-emblem{
 display:flex!important;min-height:0!important;height:100%!important;width:100%!important;
 overflow:hidden!important;align-items:center!important;justify-content:center!important;
 border-radius:16px 0 0 16px!important;
}
.social-body>.community-emblem>img{
 display:block!important;min-width:0!important;min-height:0!important;
 max-width:min(100%,210px)!important;width:auto!important;height:auto!important;
 max-height:190px!important;object-fit:contain!important;object-position:center!important;
 border-radius:0!important;transform:none!important;filter:none!important;
}
@media(max-width:640px){
 .social-body>.community-emblem{min-height:115px!important;height:100%!important;padding:8px!important}
 .social-body>.community-emblem>img{max-height:110px!important;max-width:100%!important}
}

/* Premium sixteen-resource icon carousel — no blurred photographic thumbnail or text overlays. */
.quick{overflow:hidden!important;border:2px solid #ffd84b!important;background:linear-gradient(180deg,#ed008b 0,#e50088 51px,#f5f8ff 51px,#fff 100%)!important;box-shadow:0 8px 24px #102c7240!important}
.quick .resource-carousel{display:grid!important;grid-template-columns:44px minmax(0,1fr) 44px!important;gap:10px!important;align-items:center!important;padding:16px 14px 10px!important;min-width:0!important}
.quick #resourcesTrack{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:13px!important;padding:0!important;min-width:0!important}
.quick #resourcesTrack>a.resource{
 display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:space-between!important;
 min-width:0!important;min-height:210px!important;height:100%!important;
 padding:14px 10px 12px!important;margin:0!important;gap:7px!important;
 background:linear-gradient(155deg,#fff 0%,#f3f7ff 100%)!important;
 border:2px solid #e3b82b!important;border-radius:20px!important;
 box-shadow:0 3px 0 #e5c77d,0 8px 18px #11277320!important;
 color:#073591!important;text-decoration:none!important;transform:none!important;
 transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease!important;
}
.quick #resourcesTrack>a.resource[hidden]{display:none!important}
.quick #resourcesTrack>a.resource:hover,.quick #resourcesTrack>a.resource:focus-visible{
 transform:translateY(-3px)!important;border-color:#ed008b!important;
 box-shadow:0 4px 0 #e5c77d,0 12px 24px #11277335!important;
}
.quick #resourcesTrack>a.resource:focus-visible{outline:3px solid #124fe0!important;outline-offset:3px}
.quick #resourcesTrack .resource-icon-stage{
 display:grid!important;place-items:center!important;flex:0 0 auto!important;
 width:74px!important;height:74px!important;margin:1px auto 5px!important;padding:16px!important;
 border-radius:21px!important;border:2px solid #ffda46!important;
 background:linear-gradient(145deg,#f10091,#a90074)!important;
 box-shadow:0 5px 10px #ae00762e,inset 0 1px 0 #ffffff99!important;
}
.quick #resourcesTrack>a.resource:nth-child(4n+2) .resource-icon-stage,
.quick #resourcesTrack>a.resource:nth-child(4n+3) .resource-icon-stage{
 background:linear-gradient(145deg,#1768f8,#073bac)!important
}
.quick #resourcesTrack .resource-vector-icon{
 position:static!important;display:block!important;width:100%!important;height:100%!important;
 fill:none!important;stroke:#fff!important;stroke-width:1.9!important;
 stroke-linecap:round!important;stroke-linejoin:round!important;
 overflow:visible!important;filter:none!important;transform:none!important;
}
.quick #resourcesTrack>a.resource>strong{
 position:static!important;display:block!important;width:100%!important;margin:auto 0 0!important;
 padding:0!important;min-height:0!important;
 font:900 clamp(14px,1.4vw,18px)/1.2 Arial,Helvetica,sans-serif!important;
 letter-spacing:0!important;color:#082f89!important;text-shadow:none!important;text-align:center!important;
 overflow-wrap:anywhere!important;
}
.quick #resourcesTrack>a.resource>span{
 display:block!important;width:100%!important;min-height:0!important;margin:0!important;padding:0!important;
 font:750 clamp(11px,1.03vw,14px)/1.35 Arial,Helvetica,sans-serif!important;
 color:#414f6a!important;text-align:center!important;text-shadow:none!important;overflow-wrap:anywhere!important;
}
.quick .carousel-arrow{
 width:44px!important;height:44px!important;display:grid!important;place-items:center!important;
 padding:0!important;border:2px solid #ffe052!important;border-radius:50%!important;
 background:linear-gradient(135deg,#124fe0,#093391)!important;color:#fff!important;
 box-shadow:0 3px 10px #0b298540!important;font:800 26px/1 Arial,sans-serif!important;
}
.quick .carousel-arrow:focus-visible,.quick #resourcesDots button:focus-visible{outline:3px solid #ed008b!important;outline-offset:3px}
.quick #resourcesDots{gap:9px!important;padding:3px 0 12px!important}
.quick #resourcesDots button{width:44px!important;height:44px!important;border:0!important;background:radial-gradient(circle,#9eaed2 5px,transparent 6px)!important}
.quick #resourcesDots button[aria-current=true]{background:radial-gradient(circle,#ed008b 5px,transparent 6px)!important}
.hk-resource-symbols{position:absolute!important;width:0!important;height:0!important;overflow:hidden!important}
@media(max-width:640px){
 .quick .resource-carousel{grid-template-columns:30px minmax(0,1fr) 30px!important;gap:4px!important;padding:10px 5px!important}
 .quick #resourcesTrack{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}
 .quick #resourcesTrack>a.resource{min-height:185px!important;padding:10px 5px!important;border-radius:14px!important}
 .quick #resourcesTrack .resource-icon-stage{width:57px!important;height:57px!important;padding:12px!important;border-radius:17px!important}
 .quick #resourcesTrack>a.resource>strong{font-size:clamp(12px,3.2vw,16px)!important}
 .quick #resourcesTrack>a.resource>span{font-size:clamp(10px,2.65vw,13px)!important}
 .quick .carousel-arrow{width:44px!important;height:44px!important;font-size:20px!important}
}
@media(prefers-reduced-motion:reduce){.quick #resourcesTrack>a.resource{transition:none!important}}
