.ca-page-language-bar{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:10px;padding:12px max(20px,calc((100% - 1200px)/2));background:#f5fcfa;color:#052b35;font:inherit}
.ca-page-language-bar label{display:flex;align-items:center;gap:7px}
.ca-page-language-bar select{border:1px solid #19c9b5;border-radius:12px;background:white;color:#052b35;padding:9px 12px;min-width:150px;font:inherit;direction:ltr}
.ca-page-language-bar select:focus-visible{outline:3px solid #ffaa4c;outline-offset:3px}
.ca-document-language-note{max-width:960px;margin:16px auto;padding:12px 18px;background:#fff5d9;color:#052b35;border-radius:12px;font-size:14px;text-align:center}
html[lang="ur"] .wp-site-blocks{font-family:Tahoma,Arial,sans-serif}
html[dir="rtl"] .wp-block-navigation__container{direction:rtl}
html[dir="rtl"] a[href^="mailto:"],html[dir="rtl"] a[href^="tel:"]{direction:ltr;unicode-bidi:isolate;display:inline-block}
@media(max-width:600px){.ca-page-language-bar{padding:10px 18px}.ca-document-language-note{margin:12px 16px}}
/* Constrain long translated words, identifiers and tables within each device width. */
.ca-page-translated .wp-site-blocks{box-sizing:border-box;max-width:100%;min-width:0}
.ca-page-translated .wp-block-post-content{box-sizing:border-box;min-width:0;overflow-wrap:anywhere}
.ca-page-translated .wp-block-post-content :is(h1,h2,h3,h4,p,li,a){overflow-wrap:anywhere;word-break:normal}
.ca-page-translated .wp-block-post-content img{max-width:100%;height:auto}
.ca-page-translated .wp-block-column{min-width:0}
.ca-page-translated .wp-block-table{max-width:100%;overflow-x:auto}
.ca-page-translated .wp-block-table table{width:100%}
.ca-page-translated .cmplz-document,.ca-page-translated #cmplz-document{box-sizing:border-box;width:100%;max-width:100%;min-width:0;overflow-wrap:anywhere}
.ca-page-translated .cmplz-document :is(p,a,code,td,th),.ca-page-translated #cmplz-document :is(p,a,code,td,th){overflow-wrap:anywhere;word-break:normal;white-space:normal}
.ca-page-translated .cmplz-document table,.ca-page-translated #cmplz-document table{width:100%;table-layout:fixed}
.ca-page-translated .cmplz-document :is(button,input,select),.ca-page-translated #cmplz-document :is(button,input,select){max-width:100%}
@media(max-width:1024px){.ca-page-translated .wp-block-post-content{padding-inline:24px}.ca-page-language-bar{padding-inline:24px}}
@media(max-width:600px){.ca-page-translated .wp-block-post-content{padding-inline:18px}.ca-page-translated .wp-block-post-title{font-size:clamp(27px,7vw,38px);line-height:1.2;overflow-wrap:anywhere}.ca-page-language-bar{justify-content:center;padding:12px 18px}.ca-page-language-bar select{min-height:44px;max-width:100%;font-size:16px}.ca-page-translated .cmplz-document table,.ca-page-translated #cmplz-document table{font-size:14px}.ca-page-translated .cmplz-document :is(th,td),.ca-page-translated #cmplz-document :is(th,td){padding:8px 5px}}
.ca-page-translated .cmplz-document *,.ca-page-translated #cmplz-document *{box-sizing:border-box;min-width:0;max-width:100%;overflow-wrap:anywhere}
.ca-page-translated .wp-block-post-title{max-width:100%;font-size:clamp(28px,3.5vw,46px);line-height:1.2;text-wrap:balance;overflow-wrap:anywhere}
.cmplz-cookiebanner{direction:ltr}
@media(max-width:600px){.cmplz-cookiebanner{min-width:0!important;max-width:calc(100vw - 40px)!important;box-sizing:border-box}.cmplz-cookiebanner .cmplz-buttons{display:flex;flex-wrap:wrap;gap:8px}.cmplz-cookiebanner .cmplz-buttons .cmplz-btn{flex:1 1 120px;min-width:0;min-height:44px;white-space:normal}.cmplz-cookiebanner .cmplz-links{flex-wrap:wrap;gap:8px}.ca-page-translated .wp-block-post-title{font-size:clamp(27px,7vw,38px)}}

/* Keep each standalone page title directly above the centred reading column. */
.ca-page-translated .wp-block-post-title:not(.wp-block-post-template .wp-block-post-title){box-sizing:border-box;width:calc(100% - 48px)!important;max-width:var(--wp--style--global--content-size,720px)!important;margin-inline:auto!important;margin-block:clamp(32px,5vw,64px) 28px!important;padding-inline:0!important;text-align:center!important;align-self:center;overflow-wrap:anywhere;text-wrap:balance}
.ca-page-translated .wp-block-post-content{margin-inline:auto!important;max-width:var(--wp--style--global--content-size,720px)}
.ca-page-language-bar select{width:auto!important;flex:0 1 auto;max-width:100%;box-sizing:border-box}
@media(max-width:600px){.ca-page-translated .wp-block-post-title:not(.wp-block-post-template .wp-block-post-title){width:calc(100% - 36px)!important;margin-block:28px 24px!important;font-size:clamp(26px,7vw,36px)}}

/* Two distinct centred title lines; the project name keeps its identity in every language. */
.ca-page-translated .ca-page-title-name{display:block;font-size:clamp(28px,3.5vw,46px);line-height:1.2;text-wrap:balance}
.ca-page-translated .ca-page-title-project{display:block;margin-top:12px;font-size:clamp(18px,2vw,26px);line-height:1.35;font-weight:500;direction:ltr;unicode-bidi:isolate;text-wrap:balance}
@media(max-width:600px){.ca-page-translated .ca-page-title-name{font-size:clamp(25px,7vw,34px)}.ca-page-translated .ca-page-title-project{font-size:clamp(17px,4.5vw,21px);margin-top:10px}}

/* Match the title's left edge to the reading column at every breakpoint. */
.ca-page-translated .wp-block-post-title:not(.wp-block-post-template .wp-block-post-title){width:100%!important;max-width:var(--wp--style--global--content-size,720px)!important;text-align:left!important;padding-inline:0!important;box-sizing:border-box}
@media(max-width:1024px){.ca-page-translated .wp-block-post-title:not(.wp-block-post-template .wp-block-post-title){padding-inline:24px!important}}
@media(max-width:600px){.ca-page-translated .wp-block-post-title:not(.wp-block-post-template .wp-block-post-title){width:100%!important;padding-inline:18px!important}}

/* Give project and news cards enough room for complete words and align their links. */
:is(.ca-home,.ca-page-translated) .ca-resource-grid{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));align-items:stretch;gap:24px!important}
:is(.ca-home,.ca-page-translated) .ca-resource-column{display:flex!important;width:100%!important;min-width:0;max-width:100%;flex-basis:auto!important}
:is(.ca-home,.ca-page-translated) .ca-resource-card{display:flex!important;flex-direction:column;align-items:center;width:100%;min-width:0;min-height:100%;height:auto;box-sizing:border-box;padding:28px 20px!important;gap:0!important}
:is(.ca-home,.ca-page-translated) .ca-resource-card h2{width:100%;margin:0 0 20px!important;font-size:clamp(22px,2vw,28px)!important;line-height:1.3!important;word-break:normal!important;overflow-wrap:normal!important;hyphens:none!important;text-align:center!important;text-wrap:balance}
:is(.ca-home,.ca-page-translated) .ca-resource-card p{width:100%;margin:0 0 24px!important;text-align:center!important;word-break:normal;overflow-wrap:normal}
:is(.ca-home,.ca-page-translated) .ca-resource-card>.wp-block-buttons{margin-top:auto!important;padding-top:0;justify-content:center;max-width:100%}
@media(max-width:600px){:is(.ca-home,.ca-page-translated) .ca-resource-grid{grid-template-columns:minmax(0,1fr)!important;gap:20px!important}:is(.ca-home,.ca-page-translated) .ca-resource-card{padding:24px 20px!important}:is(.ca-home,.ca-page-translated) .ca-resource-card h2{font-size:24px!important}}
