/* 1.0.15: layout corrections from the supplied EN / KA / FR screenshots. */

/* Compact labels and two columns keep long topic menus within the viewport. */
.ww-header .cr-submenu{width:340px;max-width:calc(100vw - 32px);padding:10px;max-height:calc(100vh - 120px);max-height:min(640px,var(--submenu-room,calc(100dvh - 120px)));transform:translateX(var(--submenu-shift,0px));scrollbar-gutter:stable;overflow-x:hidden}
.ww-header .cr-nav-disclosure[open]>.cr-submenu--wide{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:600px;gap:2px 10px}
.ww-header .cr-submenu li{min-width:0}
.ww-header .cr-submenu a{height:100%;min-height:48px;padding:12px 14px;font-size:14px;line-height:1.5;letter-spacing:0;overflow-wrap:break-word;text-transform:none}
.ww-site.locale-ka .cr-nav-list{gap:8px}
.ww-site.locale-ka .cr-nav-list .cr-nav-link{font-size:13px;letter-spacing:0}
.ww-site.locale-ka .cr-submenu a,.ww-site.locale-ka .cr-mobile-submenu a{font-family:'Noto Sans Georgian',Arial,sans-serif;font-size:14px;line-height:1.6;letter-spacing:0}
.ww-site.locale-ka .cr-mobile-group>summary{font-size:16px;line-height:1.5;letter-spacing:0}
.ww-site.locale-ka .ww-promo .promo-slider__title{letter-spacing:0}
.ww-site.locale-ka .ww-promo .promo-slider__title span:first-of-type{font-weight:400}
.ww-site.locale-ka .heading__title{letter-spacing:0}
.ww-site .ww-mobile-lang a[aria-current=true]{color:#172a33;text-decoration-color:#c79000}

@media(min-width:1280px) and (max-width:1439px){
 .ww-header .header__button{flex-basis:145px;width:145px;margin-left:18px}
 .ww-header .header__top{padding-left:24px}
 .ww-header .cr-nav-list{gap:6px}
 .ww-header .cr-nav-disclosure>summary{min-width:30px}
}
/* One breakpoint for every language; intermediate widths also need a real menu button. */
@media(max-width:1279px){
 .ww-site .ww-header .ww-desktop-nav,.ww-site .ww-header .header__lower,.ww-site .ww-header .header__button{display:none}
 .ww-site .ww-header .header__top{padding:0 20px}
 .ww-site .ww-header-row{min-height:72px;gap:14px}
 .ww-site .ww-mobile-lang{display:flex;margin-left:auto;margin-right:8px}
 .ww-site .ww-mobile-lang a{color:#33444d;font-weight:700}
 .ww-site .ww-mobile-lang a[aria-current=true]{color:#172a33;text-decoration-color:#c79000}
 .ww-site .ww-menu-toggle{display:flex!important;flex:0 0 36px;flex-direction:column;align-items:center;justify-content:center;gap:5px;width:36px;height:44px;border:0;padding:0;background:none}
 .ww-site .ww-menu-toggle span{display:block;width:27px;height:2px;background:#25363e;transition:transform .2s}
 .ww-site .ww-menu-toggle[aria-expanded=true] span:nth-child(1){transform:translateY(7px) rotate(45deg)}
 .ww-site .ww-menu-toggle[aria-expanded=true] span:nth-child(2){opacity:0}
 .ww-site .ww-menu-toggle[aria-expanded=true] span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
 .ww-site .ww-mobile-nav{max-height:calc(100vh - 72px);max-height:calc(100dvh - 72px);overflow:auto}
 .ww-site .cr-breadcrumbs{top:92px}
 .ww-site.view-article .main{padding-top:137px}
}
@media(max-width:479px){
 .ww-site .ww-header .header__top{padding:0 12px}
 .ww-site .ww-header-row{gap:8px}
 .ww-site .ww-header .cr-logo-new{width:150px;height:50px}
 .ww-site .ww-mobile-lang{gap:7px;margin-right:0}
 .ww-site .ww-mobile-lang a{font-size:11px}
}

/* A smaller translated collection fills the row without mislabelling its tiles. */
.ww-site .ww-topic-tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:0}
.ww-site .ww-topic-tiles>div{width:auto;max-width:none;min-width:0;flex:none;padding:0}
.ww-site .ww-topic-tiles .animal-item{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;min-height:166px;margin:0;padding:24px 12px}
.ww-site .ww-topic-tiles .animal-item__title{overflow-wrap:break-word}
@media(min-width:768px){.ww-site .ww-topic-tiles{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(min-width:1200px){.ww-site .ww-topic-tiles{grid-template-columns:repeat(var(--topic-count,6),minmax(0,1fr))}}

/* Explicit layers prevent photos from falling behind opaque template surfaces. */
.ww-site .ww-gallery-grid .gallery-masonry__img{background:#20303a}
.ww-site .ww-gallery-grid .img--bg,.ww-site .ww-main-feature>.img--bg,.ww-site .ww-resource-banner>.img--bg,.ww-site .ww-principle .testimonials__img>.img--bg,.ww-site .ww-actions .action-block img{z-index:0;pointer-events:none}
.ww-site .ww-gallery-grid .gallery-masonry__img::after,.ww-site .ww-main-feature::before,.ww-site .ww-resource-banner::after,.ww-site .ww-actions .action-block::after{z-index:1;pointer-events:none}
.ww-site .ww-gallery-grid .gallery-masonry__description{z-index:2}
.ww-site .ww-main-feature .main-event__inner,.ww-site .ww-resource-banner>.container,.ww-site .ww-actions .action-block__title{position:relative;z-index:2}
.ww-site .ww-principle .testimonials__img::after{z-index:2}

/* Both journal panels grow with their translated text; neither is clipped to its neighbour. */
.ww-site .ww-front-journal{padding:0}
.ww-site .ww-front-journal>.container{padding-top:80px;padding-bottom:80px;margin-bottom:0;min-width:0}
.ww-site .ww-front-journal .ww-journal-list{flex:0 0 100%;max-width:100%;min-width:0}
.ww-site .ww-main-feature{position:relative;top:auto;right:auto;width:auto;height:auto;min-height:0;margin:0;padding:64px 40px;display:flex;align-items:center}
.ww-site .ww-main-feature .main-event__inner{max-width:460px;margin:0 auto}
.ww-site .ww-main-feature .main-event__button{margin-top:32px}
@media(min-width:1200px){
 .ww-site .ww-front-journal{display:grid;grid-template-columns:minmax(0,59fr) minmax(0,41fr)}
 .ww-site .ww-front-journal>.container{width:100%;max-width:none;padding:100px 48px 100px max(24px,calc((100vw - 1170px)/2))}
 .ww-site .ww-front-journal>.container>.row{margin:0}
 .ww-site .ww-front-journal .ww-journal-list{padding:0}
 .ww-site .ww-main-feature{padding:64px clamp(32px,4vw,75px)}
}

/* Equal-height calls to action remove the white gap below longer Georgian copy. */
.ww-site .ww-actions>.row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin:0}
.ww-site .ww-actions>.row>div{display:flex;max-width:none;width:100%;min-width:0;padding:0}
.ww-site .ww-actions .action-block{width:100%;height:100%;min-height:270px;background:#20303a}
.ww-site .ww-actions .action-block::before{display:none}
.ww-site .ww-actions .action-block::after{background:linear-gradient(90deg,rgba(8,23,32,.86),rgba(8,23,32,.58))}
.ww-site .ww-actions .action-block__inner{width:100%;max-width:600px;padding:48px 40px}
.ww-site .ww-actions .action-block__title{margin:0;font-size:clamp(30px,2.7vw,42px);line-height:1.2;letter-spacing:-.02em;overflow-wrap:break-word}
.ww-site .ww-actions .action-block__title span:first-of-type{font-size:.6em;line-height:1.5;font-weight:400}
.ww-site .ww-actions .action-block__title span:nth-of-type(2){font-size:inherit;line-height:inherit;font-weight:700}
.ww-site.locale-ka .ww-actions .action-block__title{font-size:clamp(26px,2.4vw,36px);line-height:1.5;letter-spacing:0}
@media(max-width:991px){.ww-site .ww-actions>.row{grid-template-columns:1fr}.ww-site .ww-actions .action-block{min-height:220px}}
@media(max-width:767px){
 .ww-site .ww-topic-tiles{gap:14px}
 .ww-site .ww-topic-tiles .animal-item{min-height:150px;padding:20px 10px}
 .ww-site .ww-front-journal>.container{padding-top:54px;padding-bottom:54px}
 .ww-site .ww-main-feature{padding:48px 24px}
 .ww-site .ww-actions .action-block__inner{padding:40px 24px}
}

/* Keep the decorative child outline inside the section and in the original
   narrow 169 × 554 right-edge footprint. */
.ww-site .about-front{position:relative;isolation:isolate;overflow:hidden}
.ww-site .about-front::before{z-index:0}
.ww-site .about-front>.container{position:relative;z-index:1}
.ww-site .about-front>.about-front__bg{
 right:0!important;
 top:50%!important;
 width:169px!important;
 height:554px!important;
 max-width:none;
 object-fit:contain;
 z-index:0!important;
 pointer-events:none;
}
@media(prefers-reduced-motion:reduce){.ww-site .ww-menu-toggle span{transition:none}}

/* Compact social sharing buttons: recognizable icons, visible labels and large tap targets. */
.ww-site .cr-share-links{max-width:1170px;margin:24px auto 64px;padding:24px 15px;border-top:1px solid #dfe4e6;display:flex;align-items:center;gap:20px;color:#172a33}
.ww-site .cr-share-title{flex:0 0 auto;margin:0;font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.ww-site .cr-share-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.ww-site .cr-share-button{min-height:42px;padding:9px 14px;border:1px solid #cfd6d9;background:#fff;color:#172a33;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:9px;font:600 12px/1.2 Quicksand,Arial,sans-serif;cursor:pointer;transition:background-color .18s ease,border-color .18s ease,color .18s ease,transform .18s ease}
.ww-site .cr-share-button:hover{border-color:#172a33;background:#172a33;color:#fff;text-decoration:none;transform:translateY(-1px)}
.ww-site .cr-share-button:focus-visible{outline:3px solid #fdd340;outline-offset:3px}
.ww-site .cr-share-icon{width:18px;height:18px;flex:0 0 18px;fill:currentColor}
.ww-site .cr-share-button--copy{border-color:#f0c424;background:#fdd340}
.ww-site .cr-share-button--copy:hover,.ww-site .cr-share-button--copy.is-copied{border-color:#172a33;background:#172a33;color:#fff}
@media(max-width:767px){
 .ww-site .cr-share-links{align-items:flex-start;flex-direction:column;gap:12px;padding:22px;margin-bottom:48px}
 .ww-site .cr-share-actions{width:100%}
 .ww-site .cr-share-button{flex:1 1 calc(50% - 5px);min-width:138px}
}
@media(max-width:359px){.ww-site .cr-share-button{flex-basis:100%}}
@media(prefers-reduced-motion:reduce){.ww-site .cr-share-button{transition:none}}

/* The organisation motto replaces the dated hero-panel line. */
.ww-site .ww-hero-motto,.ww-site .ww-hero-motto-mobile,.ww-site .ww-chairman-motto blockquote{margin:0}
.ww-site .ww-hero-motto p{margin:0;color:#fff;font-family:Quicksand,Arial,sans-serif;font-size:18px;font-weight:600;line-height:1.5;letter-spacing:-.01em}
.ww-site .ww-hero-motto cite{display:block;margin-top:13px;color:#fdd340;font-size:12px;font-style:normal;letter-spacing:.04em}
.ww-site .ww-hero-motto-mobile{display:none}
.ww-site .ww-chairman-motto{background:#fdd340;padding:38px 0 42px}
.ww-site .ww-chairman-motto .eyebrow{display:block;margin-bottom:12px;color:#4d5860}
.ww-site .ww-chairman-motto blockquote{max-width:980px}
.ww-site .ww-chairman-motto blockquote p{margin:0;color:#172a33;font-family:Quicksand,Arial,sans-serif;font-size:clamp(24px,3vw,38px);font-weight:700;line-height:1.35;letter-spacing:-.025em}
.ww-site .ww-chairman-motto cite{display:block;margin-top:14px;color:#4d5860;font-size:13px;font-style:normal;font-weight:700;letter-spacing:.04em;text-transform:uppercase}
.ww-site .ww-footer-bottom{align-items:center}
.ww-site .ww-made-in-georgia{display:inline-flex;align-items:center;gap:5px;color:#b5bfc5;white-space:nowrap}
.ww-site .ww-heart{width:16px;height:16px;fill:#fdd340;filter:drop-shadow(0 0 6px rgba(253,211,64,.2))}
@media(max-width:991px){
 .ww-site .ww-hero-motto-mobile{display:block;max-width:500px;margin-top:20px;padding-left:14px;border-left:2px solid #fdd340;color:#fff}
 .ww-site .ww-hero-motto-mobile p{margin:0;color:#fff;font-family:Quicksand,Arial,sans-serif;font-size:14px;font-weight:600;line-height:1.55}
 .ww-site .ww-hero-motto-mobile cite{display:block;margin-top:7px;color:#fdd340;font-size:11px;font-style:normal}
}
@media(max-width:767px){
 .ww-site .ww-chairman-motto{padding:30px 0 34px}
 .ww-site .ww-chairman-motto blockquote p{font-size:24px;line-height:1.4}
 .ww-site .ww-footer-bottom{align-items:flex-start;flex-direction:column;gap:12px}
}

/* Search-focused homepage introduction: visible, concise and written for people first. */
.ww-site .ww-hero-keyword{display:inline-block;margin-bottom:17px;color:#fdd340;font:700 12px/1.3 Quicksand,Arial,sans-serif;letter-spacing:.12em;text-transform:uppercase}
.ww-site .ww-home-search-intro{padding:34px 0 36px;border-bottom:1px solid #e3e6e7;background:#fff}
.ww-site .ww-home-search-intro .container{display:grid;grid-template-columns:minmax(240px,.72fr) minmax(0,1.6fr);align-items:start;gap:42px}
.ww-site .ww-home-search-intro h2{margin:0;color:#172a33;font-family:Quicksand,Arial,sans-serif;font-size:clamp(24px,2.4vw,34px);font-weight:700;line-height:1.25;letter-spacing:-.025em}
.ww-site .ww-home-search-intro p{max-width:800px;margin:0;color:#4d5860;font-size:16px;line-height:1.75}
.ww-site.locale-ka .ww-home-search-intro h2{letter-spacing:0;line-height:1.45}
@media(max-width:767px){
 .ww-site .ww-hero-keyword{margin-bottom:12px;font-size:10px;letter-spacing:.08em}
 .ww-site .ww-home-search-intro{padding:28px 0 30px}
 .ww-site .ww-home-search-intro .container{grid-template-columns:1fr;gap:12px}
 .ww-site .ww-home-search-intro p{font-size:15px;line-height:1.7}
}

/* 1.0.24: phone layouts, including browsers that block downloaded fonts. */
.ww-site .ww-services{background-size:169px 554px}
@media(max-width:767px){
 .ww-site{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;font-weight:400}
 .ww-site.locale-ka{font-family:"Noto Sans Georgian",system-ui,sans-serif}
 .ww-site h1,.ww-site h2,.ww-site h3,.ww-site .button,.ww-site .ww-hero-motto-mobile p{font-family:inherit}
 .ww-site .ww-services{background-image:none}
 .ww-site .about-front>.about-front__bg{display:none!important}
 .ww-site .ww-promo .align-container{display:block;height:auto!important;min-height:680px;padding:120px 0 112px}
 .ww-site .ww-promo .align-container__item{display:block}
 .ww-site .ww-promo .promo-slider__title span:first-of-type{font-size:clamp(28px,7.4vw,36px);line-height:1.2;font-weight:400}
 .ww-site .ww-promo .promo-slider__title span:nth-of-type(2){font-size:clamp(34px,9vw,44px);line-height:1.15;font-weight:700}
 .ww-site.locale-ka .ww-promo .promo-slider__title span{font-size:clamp(27px,7.4vw,34px);line-height:1.4}
 .ww-site .ww-promo .promo-slider__subtitle{font-size:16px;line-height:1.65;margin-top:24px}
 .ww-site .ww-promo .promo-slider__button{margin-top:16px;min-height:48px}
 .ww-site .ww-promo .promo-pannel{display:none}
 .ww-site .ww-promo .ww-slider-nav{bottom:28px}
 .ww-site .ww-slide-arrow,.ww-site .ww-slide-play{min-width:44px;min-height:44px}
 .ww-site .ww-hero-motto-mobile{margin-top:22px}
 .ww-site .ww-hero-motto-mobile p{font-size:14px;font-weight:400;line-height:1.6}
 .ww-site .focus-grid{grid-template-columns:1fr}
 .ww-site .focus-card{min-height:0;padding:26px 24px 48px}
 .ww-site .focus-card h3{max-width:none;font-size:21px;font-weight:600;line-height:1.4}
 .ww-site .focus-card p{max-width:none;font-size:15px;line-height:1.7;color:#48545c}
 .ww-site .focus-card .focus-icon svg{width:40px;height:40px;margin-bottom:16px}
 .ww-site .ww-services .icon-item{margin-bottom:30px}
 .ww-site .ww-services .icon-item__title{font-weight:600}
 .ww-site .ww-services .app-block{padding:24px}
 .ww-site .ww-services .app-block__icon{position:static;margin-bottom:12px}
 .ww-site .ww-services .app-block__title{font-weight:600}
 .ww-site .ww-front-journal .nearest-item__link{font-weight:600;line-height:1.45}
 .ww-site .ww-footer{padding-top:36px}
 .ww-site .ww-footer .cr-logo-new{width:200px;height:auto}
 .ww-site .ww-footer .footer__details{margin-top:20px;margin-bottom:24px;color:#c6cdd1}
 .ww-site .ww-footer .footer-menu{max-width:none;gap:4px 18px}
 .ww-site .ww-footer .footer-menu__link{display:block;padding:10px 0;line-height:1.5;overflow-wrap:break-word;color:#c6cdd1}
 .ww-site .ww-footer .footer__title{font-weight:600;margin-top:12px}
 .ww-site .ww-footer .ww-policy-menu{grid-template-columns:1fr}
 .ww-site .ww-footer-bottom{color:#c6cdd1}
 .ww-site .ww-mobile-nav{padding:12px 22px max(24px,env(safe-area-inset-bottom));touch-action:pan-y;overscroll-behavior:contain}
 .ww-site .ww-mobile-nav .cr-nav-link,.ww-site .cr-mobile-group>summary{min-height:50px;padding:10px 0;font-size:16px;font-weight:500}
 .ww-site .ww-mobile-bottom{gap:16px;flex-wrap:wrap;padding-top:12px}
 .ww-site .ww-menu-toggle{flex-basis:44px;width:44px;height:44px}
 .ww-site .ww-menu-toggle:focus:not(:focus-visible){outline:none;box-shadow:none}
 .ww-site .ww-menu-toggle:focus-visible{outline:2px solid #bd9000;outline-offset:2px}
}

/* 1.0.25: override inner-page inherited link colours on the header CTA. */
.ww-site .ww-header a.header__button{color:#181919;background:#fdd340;transition:color .2s ease,background-color .2s ease}
.ww-site .ww-header a.header__button:hover,
.ww-site .ww-header a.header__button:focus-visible,
.ww-site .ww-header a.header__button:active{color:#fff;background:#282f34;text-decoration:none}
.ww-site .ww-header a.header__button:focus-visible{outline:3px solid #bd9000;outline-offset:-5px}
@media(prefers-reduced-motion:reduce){.ww-site .ww-header a.header__button{transition:none}}
