/*
Theme Name: ChaouenLens Blue
Theme URI: https://chaouenlens.com/
Author: ChaouenLens
Description: Photography-first block theme for ChaouenLens, built around Chefchaouen blue, restrained editorial typography, native WordPress navigation and fast responsive layouts.
Version: 1.0.19
Requires at least: 6.6
Requires PHP: 8.0
License: GPL-3.0-or-later
Text Domain: chaouenlens-blue
*/

:root{
  --clb-blue:#248fc8;
  --clb-blue-bright:#56b9e9;
  --clb-blue-deep:#0b5d8d;
  --clb-navy:#092d46;
  --clb-ink:#102b3c;
  --clb-paper:#f7fbfd;
  --clb-white:#ffffff;
  --clb-mist:#e8f4fa;
  --clb-line:#cfe2ec;
  --clb-muted:#5b7484;
  --clb-accent:#d76f4b;
}

html{scroll-behavior:smooth}
body{overflow-wrap:break-word}
.clb-header-inner > *{min-width:0}
a{text-underline-offset:.18em}
img{max-width:100%;height:auto}
.wp-site-blocks{min-height:100vh}
.clb-header{
  position:relative;
  z-index:50;
  border-bottom:1px solid var(--clb-line);
  background:rgba(247,251,253,.94);
  backdrop-filter:blur(14px);
}
.clb-header .wp-block-site-title a{
  color:var(--clb-navy);
  font-weight:800;
  letter-spacing:-.03em;
}
.clb-header .wp-block-navigation-item__content{font-weight:700}
.clb-header .wp-block-navigation-item__content:hover{color:var(--clb-blue-deep)}
.clb-footer{
  border-top:1px solid var(--clb-line);
  background:var(--clb-navy);
  color:#d9eaf2;
}
.clb-footer a{color:#fff}
.clb-footer .wp-block-site-title a{color:#fff}
.clb-footer .wp-block-navigation-item__content{color:#fff}
.clb-page-main{min-height:55vh}
.clb-content :where(a:not(.wp-element-button):not(.wp-block-button__link)){color:var(--clb-blue-deep)}
.clb-content :where(h1,h2,h3,h4){color:var(--clb-ink)}
.clb-content :where(p,li):not(.has-text-color){color:inherit}
.clb-content .has-base-background-color :where(h1,h2,h3,h4){color:var(--clb-ink)}
.clb-content .has-contrast-background-color :where(h1,h2,h3,h4){color:#fff}
.clb-content .has-contrast-background-color :where(p,li){color:#d9eaf2}
.clb-content .wp-block-button__link{font-weight:800}
.clb-content .wp-block-gallery{gap:clamp(6px,1vw,14px)}
.clb-content .wp-block-image img{border-radius:var(--wp--custom--radius-image)}

@media (max-width:781px){
  .clb-header-inner{padding-top:14px!important;padding-bottom:14px!important}
  .clb-footer .wp-block-navigation__container{gap:12px 18px!important}
}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important}
}


/* Keep keyboard location visible on both pale and dark surfaces. */
:where(a,button,input,select,textarea,[tabindex]):focus-visible{
  outline:3px solid var(--clb-blue-deep);
  outline-offset:3px;
  box-shadow:0 0 0 3px var(--clb-white);
}
.clb-content :where(p,li) a:not(.wp-element-button):not(.wp-block-button__link){
  text-decoration:underline;
}
.clb-header :where(.wp-block-navigation__responsive-container-open,.wp-block-navigation__responsive-container-close){
  min-width:44px;
  min-height:44px;
  align-items:center;
  justify-content:center;
}
.clb-content :where(pre,table){max-width:100%;overflow-x:auto}
.clb-content .has-contrast-background-color :where(a:not(.wp-element-button):not(.wp-block-button__link)){
  color:var(--clb-white);
}


/* Scope legacy WPCode overrides to this theme; keep core navigation behavior. */
html body header.wp-block-template-part .clb-header .wp-block-site-logo{
  flex:0 1 auto;
  min-width:0;
}
html body header.wp-block-template-part .clb-header .wp-block-site-logo img{
  display:block;
  width:auto!important;
  max-width:160px!important;
  max-height:56px!important;
  height:auto!important;
  object-fit:contain;
}
html body header.wp-block-template-part .clb-header .wp-block-navigation__responsive-container.is-menu-open{
  position:absolute!important;
  inset:calc(100% + 10px) 0 auto auto!important;
  box-sizing:border-box!important;
  width:min(280px,calc(100vw - 32px))!important;
  min-width:0!important;
  height:auto!important;
  min-height:0!important;
  max-height:70vh!important;
  max-height:70dvh!important;
  padding:12px!important;
  border:1px solid var(--clb-line)!important;
  border-radius:18px!important;
  background:var(--clb-paper)!important;
  color:var(--clb-ink)!important;
  -webkit-backdrop-filter:none!important;
  backdrop-filter:none!important;
  box-shadow:0 12px 32px rgba(9,45,70,.18)!important;
  overflow:auto!important;
}
html body header.wp-block-template-part .clb-header .is-menu-open .wp-block-navigation__responsive-dialog{
  margin-top:0!important;
}
html body header.wp-block-template-part .clb-header .is-menu-open .wp-block-navigation__responsive-container-close{
  position:relative!important;
  top:auto!important;
  right:auto!important;
  display:flex!important;
  box-sizing:border-box!important;
  width:44px!important;
  height:44px!important;
  margin:0 0 4px auto!important;
  background:var(--clb-mist)!important;
  color:var(--clb-navy)!important;
}
html body header.wp-block-template-part .clb-header .is-menu-open .wp-block-navigation__responsive-container-content{
  padding:0!important;
  align-items:stretch!important;
}
html body header.wp-block-template-part .clb-header .is-menu-open .wp-block-navigation__container{
  gap:4px!important;
  font-size:18px!important;
  line-height:1.4!important;
}
html body header.wp-block-template-part .clb-header .is-menu-open .wp-block-navigation-item__content{
  box-sizing:border-box!important;
  width:100%!important;
  min-height:44px!important;
  padding:8px 12px!important;
  font-size:18px!important;
  line-height:1.4!important;
  color:var(--clb-ink)!important;
}
html body header.wp-block-template-part .clb-header .is-menu-open .wp-block-navigation-item__content:hover,
html body header.wp-block-template-part .clb-header .is-menu-open .current-menu-item>.wp-block-navigation-item__content{
  background:var(--clb-mist)!important;
  color:var(--clb-blue-deep)!important;
}
@media (max-width:781px){
  html body header.wp-block-template-part .clb-header .wp-block-site-logo img{
    max-width:145px!important;
    max-height:48px!important;
  }
}

/* Mobile accessibility: keep text links comfortably tappable without changing desktop rhythm. */
@media (max-width: 782px) {
  .wp-block-post-content li > a,
  .wp-block-post-content p > a,
  footer .wp-block-navigation-item__content {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding-block: 8px;
  }
}


/* ChaouenLens menu polish 1.0.5 — mobile-first, compact, accessible. */
.clb-header .wp-block-navigation{
  --cl-menu-radius:18px;
}
.clb-header .wp-block-navigation__container{
  gap:6px 8px;
}
.clb-header .wp-block-navigation-item__content{
  position:relative;
  display:inline-flex;
  align-items:center;
  min-height:42px;
  padding:8px 12px;
  border-radius:999px;
  transition:background-color .18s ease,color .18s ease,transform .18s ease;
}
.clb-header .wp-block-navigation-item__content:hover,
.clb-header .current-menu-item>.wp-block-navigation-item__content{
  background:var(--clb-mist);
  color:var(--clb-blue-deep);
}
.clb-header .wp-block-navigation-item__content:active{
  transform:translateY(1px);
}
.clb-header .wp-block-navigation__responsive-container-open,
.clb-header .wp-block-navigation__responsive-container-close{
  border:1px solid rgba(9,45,70,.12);
  border-radius:16px;
  background:linear-gradient(180deg,rgba(255,255,255,.96),rgba(232,244,250,.92));
  color:var(--clb-navy);
  box-shadow:0 8px 22px rgba(9,45,70,.10);
}
.clb-header .wp-block-navigation__responsive-container-open:hover,
.clb-header .wp-block-navigation__responsive-container-close:hover{
  background:var(--clb-white);
  box-shadow:0 10px 26px rgba(9,45,70,.15);
}
.clb-header .wp-block-navigation__responsive-container-open svg,
.clb-header .wp-block-navigation__responsive-container-close svg{
  width:24px;
  height:24px;
}

@media (max-width:781px){
  .clb-header-inner{
    gap:12px!important;
  }
  .clb-header .wp-block-navigation__responsive-container-open{
    width:50px;
    height:50px;
    padding:0;
  }
  html body header.wp-block-template-part .clb-header .wp-block-navigation__responsive-container.is-menu-open{
    top:calc(100% + 10px)!important;
    right:16px!important;
    left:auto!important;
    width:min(320px,calc(100vw - 32px))!important;
    max-height:min(72dvh,620px)!important;
    padding:10px!important;
    border:1px solid rgba(11,93,141,.16)!important;
    border-radius:24px!important;
    background:rgba(247,251,253,.98)!important;
    -webkit-backdrop-filter:blur(18px)!important;
    backdrop-filter:blur(18px)!important;
    box-shadow:0 24px 60px rgba(9,45,70,.22),0 4px 18px rgba(9,45,70,.10)!important;
    transform-origin:top right;
    animation:cl-menu-in .18s ease-out both;
  }
  html body header.wp-block-template-part .clb-header .is-menu-open .wp-block-navigation__responsive-dialog{
    display:flex;
    flex-direction:column;
    gap:4px;
  }
  html body header.wp-block-template-part .clb-header .is-menu-open .wp-block-navigation__responsive-container-close{
    width:48px!important;
    height:48px!important;
    min-width:48px!important;
    min-height:48px!important;
    margin:0 0 6px auto!important;
  }
  html body header.wp-block-template-part .clb-header .is-menu-open .wp-block-navigation__container{
    width:100%!important;
    gap:4px!important;
  }
  html body header.wp-block-template-part .clb-header .is-menu-open .wp-block-navigation-item{
    width:100%!important;
  }
  html body header.wp-block-template-part .clb-header .is-menu-open .wp-block-navigation-item__content{
    position:relative;
    width:100%!important;
    min-height:52px!important;
    padding:13px 16px!important;
    border:1px solid transparent;
    border-radius:16px!important;
    font-size:17px!important;
    font-weight:750!important;
    letter-spacing:-.01em;
  }
  html body header.wp-block-template-part .clb-header .is-menu-open .wp-block-navigation-item__content::after{
    content:"→";
    margin-left:auto;
    opacity:.45;
    transform:translateX(0);
    transition:transform .18s ease,opacity .18s ease;
  }
  html body header.wp-block-template-part .clb-header .is-menu-open .wp-block-navigation-item__content:hover::after,
  html body header.wp-block-template-part .clb-header .is-menu-open .current-menu-item>.wp-block-navigation-item__content::after{
    opacity:.9;
    transform:translateX(3px);
  }
  html body header.wp-block-template-part .clb-header .is-menu-open .wp-block-navigation-item__content:hover,
  html body header.wp-block-template-part .clb-header .is-menu-open .current-menu-item>.wp-block-navigation-item__content{
    border-color:rgba(11,93,141,.12)!important;
    background:linear-gradient(135deg,var(--clb-white),var(--clb-mist))!important;
    box-shadow:0 6px 18px rgba(9,45,70,.08);
  }
}
@keyframes cl-menu-in{
  from{opacity:0;transform:translateY(-8px) scale(.985)}
  to{opacity:1;transform:translateY(0) scale(1)}
}
@media (prefers-reduced-motion:reduce){
  html body header.wp-block-template-part .clb-header .wp-block-navigation__responsive-container.is-menu-open{
    animation:none!important;
  }
  .clb-header .wp-block-navigation-item__content,
  html body header.wp-block-template-part .clb-header .is-menu-open .wp-block-navigation-item__content::after{
    transition:none!important;
  }
}


/* ChaouenLens mobile menu hotfix 1.0.6 */
@media (max-width:781px){
  html body header.wp-block-template-part .clb-header{
    overflow:visible!important;
  }
  html body header.wp-block-template-part .clb-header .wp-block-navigation{
    position:relative!important;
  }
  html body header.wp-block-template-part .clb-header .wp-block-navigation__responsive-container.is-menu-open{
    position:absolute!important;
    top:calc(100% + 8px)!important;
    right:0!important;
    left:auto!important;
    inset:auto 0 auto auto!important;
    width:min(300px,calc(100vw - 28px))!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    padding:8px!important;
    margin:0!important;
    border:1px solid rgba(11,93,141,.16)!important;
    border-radius:20px!important;
    background:rgba(247,251,253,.98)!important;
    color:var(--clb-ink)!important;
    box-shadow:0 18px 44px rgba(9,45,70,.20)!important;
    overflow:visible!important;
    -webkit-backdrop-filter:blur(14px)!important;
    backdrop-filter:blur(14px)!important;
  }
  html body header.wp-block-template-part .clb-header .is-menu-open .wp-block-navigation__responsive-dialog{
    margin:0!important;
    padding:0!important;
    gap:2px!important;
  }
  html body header.wp-block-template-part .clb-header .is-menu-open .wp-block-navigation__responsive-container-close{
    position:static!important;
    width:44px!important;
    height:44px!important;
    min-width:44px!important;
    min-height:44px!important;
    margin:0 0 4px auto!important;
    border-radius:14px!important;
  }
  html body header.wp-block-template-part .clb-header .is-menu-open .wp-block-navigation__responsive-container-content{
    width:100%!important;
    padding:0!important;
    margin:0!important;
    display:block!important;
  }
  html body header.wp-block-template-part .clb-header .is-menu-open .wp-block-navigation__container{
    width:100%!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    gap:2px!important;
    margin:0!important;
    padding:0!important;
  }
  html body header.wp-block-template-part .clb-header .is-menu-open .wp-block-navigation-item{
    width:100%!important;
    margin:0!important;
    padding:0!important;
  }
  html body header.wp-block-template-part .clb-header .is-menu-open .wp-block-navigation-item__content{
    width:100%!important;
    min-height:48px!important;
    padding:11px 14px!important;
    margin:0!important;
    border-radius:14px!important;
    font-size:16px!important;
    line-height:1.25!important;
    font-weight:750!important;
    justify-content:flex-start!important;
    color:var(--clb-ink)!important;
    background:transparent!important;
    box-shadow:none!important;
  }
  html body header.wp-block-template-part .clb-header .is-menu-open .wp-block-navigation-item__content::after{
    margin-left:auto!important;
    font-size:16px!important;
  }
  html body header.wp-block-template-part .clb-header .is-menu-open .wp-block-navigation-item__content:hover,
  html body header.wp-block-template-part .clb-header .is-menu-open .current-menu-item>.wp-block-navigation-item__content{
    background:var(--clb-mist)!important;
    color:var(--clb-blue-deep)!important;
  }
}


/* ChaouenLens mobile menu anchor fix 1.0.7 */
@media (max-width:781px){
  html body header.wp-block-template-part .clb-header,
  html body header.wp-block-template-part .clb-header .clb-header-inner{
    overflow:visible!important;
  }
  html body header.wp-block-template-part .clb-header .wp-block-navigation{
    position:relative!important;
    overflow:visible!important;
  }
  html body header.wp-block-template-part .clb-header .wp-block-navigation__responsive-container.is-menu-open{
    position:absolute!important;
    top:calc(100% + 10px)!important;
    right:0!important;
    bottom:auto!important;
    left:auto!important;
    inset:auto!important;
    margin:0!important;
    z-index:9999!important;
    width:min(300px,calc(100vw - 28px))!important;
    max-height:calc(100dvh - 140px)!important;
    overflow:auto!important;
  }
}


/* ChaouenLens deterministic mobile menu 1.0.8 */
.clb-header-inner{position:relative}
.cl-mobile-menu{display:none;position:relative}
.cl-mobile-menu summary{
  list-style:none;
  width:50px;
  height:50px;
  display:grid;
  place-items:center;
  cursor:pointer;
  border:1px solid rgba(9,45,70,.14);
  border-radius:16px;
  background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(232,244,250,.94));
  box-shadow:0 8px 22px rgba(9,45,70,.12);
}
.cl-mobile-menu summary::-webkit-details-marker{display:none}
.cl-mobile-menu-icon,.cl-mobile-menu-icon::before,.cl-mobile-menu-icon::after{
  display:block;
  width:22px;
  height:2px;
  border-radius:99px;
  background:var(--clb-navy);
  content:"";
  transition:transform .18s ease,opacity .18s ease;
}
.cl-mobile-menu-icon{position:relative}
.cl-mobile-menu-icon::before{position:absolute;top:-7px;left:0}
.cl-mobile-menu-icon::after{position:absolute;top:7px;left:0}
.cl-mobile-menu[open] .cl-mobile-menu-icon{background:transparent}
.cl-mobile-menu[open] .cl-mobile-menu-icon::before{top:0;transform:rotate(45deg)}
.cl-mobile-menu[open] .cl-mobile-menu-icon::after{top:0;transform:rotate(-45deg)}
.cl-mobile-menu-panel{
  position:absolute;
  top:calc(100% + 10px);
  right:0;
  width:min(290px,calc(100vw - 28px));
  padding:8px;
  border:1px solid rgba(11,93,141,.16);
  border-radius:20px;
  background:rgba(247,251,253,.985);
  box-shadow:0 18px 44px rgba(9,45,70,.20);
  -webkit-backdrop-filter:blur(14px);
  backdrop-filter:blur(14px);
  z-index:9999;
}
.cl-mobile-menu-panel a{
  display:flex;
  align-items:center;
  justify-content:space-between;
  min-height:50px;
  padding:11px 14px;
  border-radius:14px;
  color:var(--clb-ink);
  font-size:16px;
  font-weight:750;
  line-height:1.2;
  text-decoration:none;
}
.cl-mobile-menu-panel a:hover,
.cl-mobile-menu-panel a:focus-visible{
  background:var(--clb-mist);
  color:var(--clb-blue-deep);
}
.cl-mobile-menu-panel a:focus-visible,
.cl-mobile-menu summary:focus-visible{
  outline:3px solid var(--clb-blue);
  outline-offset:3px;
}
@media(max-width:781px){
  .clb-desktop-nav{display:none!important}
  .cl-mobile-menu{display:block}
  .clb-header-actions{margin-left:auto}
}
@media(min-width:782px){
  .cl-mobile-menu{display:none!important}
}
@media(prefers-reduced-motion:reduce){
  .cl-mobile-menu-icon,.cl-mobile-menu-icon::before,.cl-mobile-menu-icon::after{transition:none!important}
}


/* ChaouenLens profile button 1.0.9 */
.cl-profile-button{display:inline-grid;place-items:center;width:50px;height:50px;min-width:50px;min-height:50px;border:1px solid rgba(9,45,70,.14);border-radius:16px;background:linear-gradient(145deg,rgba(16,46,67,.94),rgba(7,23,35,.90));color:#fff;box-shadow:0 8px 22px rgba(9,45,70,.16);text-decoration:none}
.cl-profile-button svg{width:22px;height:22px;fill:currentColor}
.cl-profile-button:hover,.cl-profile-button:focus-visible{color:#fff;transform:translateY(-1px);box-shadow:0 12px 28px rgba(9,45,70,.22)}
.cl-profile-button:focus-visible{outline:3px solid var(--clb-blue);outline-offset:3px}
@media(max-width:781px){.clb-header-actions{gap:8px!important}.cl-profile-button{display:inline-grid}}
@media(min-width:782px){.cl-profile-button{display:none}}
@media(prefers-reduced-motion:reduce){.cl-profile-button{transition:none!important}}


/* ChaouenLens profile auth popup 1.0.10 */
.cl-profile-button{appearance:none;cursor:pointer;padding:0}
.cl-profile-modal{
  position:fixed!important;
  inset:0!important;
  z-index:1000000!important;
  display:none!important;
  place-items:center!important;
  padding:18px!important;
  background:rgba(4,18,28,.62)!important;
  -webkit-backdrop-filter:blur(10px)!important;
  backdrop-filter:blur(10px)!important;
}
.cl-profile-modal.is-open{display:grid!important}
.cl-profile-modal-card{
  position:relative;
  width:min(430px,100%);
  max-height:min(86dvh,760px);
  overflow:auto;
  padding:24px 22px 20px;
  border:1px solid rgba(255,255,255,.65);
  border-radius:26px;
  background:rgba(247,251,253,.985);
  color:var(--clb-ink);
  box-shadow:0 30px 90px rgba(5,30,46,.32);
}
.cl-profile-modal-close{
  position:absolute;
  top:12px;
  right:12px;
  width:42px;
  height:42px;
  border:1px solid rgba(9,45,70,.10);
  border-radius:14px;
  background:var(--clb-mist);
  color:var(--clb-navy);
  font-size:28px;
  line-height:1;
  cursor:pointer;
}
.cl-profile-modal-kicker{
  margin:0 52px 4px 0;
  color:var(--clb-blue-deep);
  font-size:12px;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.cl-profile-modal-card>h2{
  margin:0 52px 18px 0;
  color:var(--clb-navy);
  font-size:28px;
  line-height:1.15;
}
.cl-profile-modal .cl-auth-wrap{
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  background:none!important;
}
.cl-profile-modal .cl-auth-wrap::before,
.cl-profile-modal .cl-auth-wrap::after{display:none!important}
.cl-profile-modal .cl-auth-card{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
.cl-profile-modal .cl-auth-card::before{display:none!important}
.cl-profile-modal .cl-auth-card h1,
.cl-profile-modal .cl-auth-card>p:first-of-type{display:none!important}
.cl-profile-modal .cl-auth-form label{
  display:block!important;
  margin:0 0 12px!important;
  color:var(--clb-ink)!important;
  font-size:13px!important;
  font-weight:700!important;
}
.cl-profile-modal .cl-auth-form input[type=email],
.cl-profile-modal .cl-auth-form input[type=password],
.cl-profile-modal .cl-auth-form input[type=text]{
  width:100%!important;
  min-height:50px!important;
  margin-top:6px!important;
  padding:0 14px!important;
  border:1px solid var(--clb-line)!important;
  border-radius:14px!important;
  background:#fff!important;
  color:var(--clb-ink)!important;
  box-shadow:none!important;
}
.cl-profile-modal .cl-auth-form button,
.cl-profile-modal .cl-auth-form input[type=submit]{
  width:100%!important;
  min-height:50px!important;
  border:0!important;
  border-radius:14px!important;
  background:var(--clb-navy)!important;
  color:#fff!important;
  font-weight:800!important;
  cursor:pointer!important;
}
.cl-profile-modal .cl-social-login{
  margin:16px 0 0!important;
}
.cl-profile-modal .cl-social-login .vcs-btn[data-provider="google"]{
  width:100%!important;
  min-height:50px!important;
  margin:0!important;
  border:1px solid var(--clb-line)!important;
  border-radius:14px!important;
  background:#fff!important;
  color:#202124!important;
  box-shadow:none!important;
}
.cl-profile-create{
  margin:16px 0 0;
  text-align:center;
  color:var(--clb-muted);
  font-size:14px;
}
.cl-profile-create a{font-weight:800;color:var(--clb-blue-deep)}
.cl-profile-modal-open{overflow:hidden}
@media(max-width:600px){
  .cl-profile-modal{align-items:end!important;padding:0!important}
  .cl-profile-modal-card{
    width:100%;
    max-height:88dvh;
    padding:22px 18px max(22px,env(safe-area-inset-bottom));
    border-radius:26px 26px 0 0;
  }
}
@media(prefers-reduced-motion:reduce){
  .cl-profile-modal,.cl-profile-modal-card{transition:none!important;animation:none!important}
}


/* ChaouenLens compact English profile popup 1.0.11 */
.cl-profile-modal{
  align-items:start!important;
  justify-items:end!important;
  padding:82px 16px 16px!important;
  background:rgba(4,18,28,.22)!important;
  -webkit-backdrop-filter:blur(4px)!important;
  backdrop-filter:blur(4px)!important;
}
.cl-profile-modal-card{
  width:min(290px,calc(100vw - 28px))!important;
  max-height:min(72dvh,560px)!important;
  padding:16px 14px 14px!important;
  border-radius:20px!important;
  box-shadow:0 18px 44px rgba(9,45,70,.22)!important;
}
.cl-profile-modal-close{
  top:8px!important;
  right:8px!important;
  width:36px!important;
  height:36px!important;
  border-radius:12px!important;
  font-size:22px!important;
}
.cl-profile-modal-kicker{
  margin:0 42px 2px 0!important;
  font-size:10px!important;
}
.cl-profile-modal-card>h2{
  margin:0 42px 12px 0!important;
  font-size:21px!important;
}
.cl-profile-modal .cl-auth-form label{
  margin:0 0 8px!important;
  font-size:12px!important;
}
.cl-profile-modal .cl-auth-form input[type=email],
.cl-profile-modal .cl-auth-form input[type=password],
.cl-profile-modal .cl-auth-form input[type=text]{
  min-height:44px!important;
  margin-top:5px!important;
  padding:0 12px!important;
  border-radius:12px!important;
  font-size:14px!important;
}
.cl-profile-modal .cl-auth-form button,
.cl-profile-modal .cl-auth-form input[type=submit]{
  min-height:44px!important;
  border-radius:12px!important;
  font-size:14px!important;
}
.cl-profile-modal .cl-social-login{
  margin:12px 0 0!important;
}
.cl-profile-modal .cl-social-login .vcs-btn[data-provider="google"]{
  min-height:44px!important;
  border-radius:12px!important;
  font-size:14px!important;
}
.cl-profile-create{
  margin:12px 0 0!important;
  font-size:12.5px!important;
}
@media(max-width:600px){
  .cl-profile-modal{
    align-items:start!important;
    justify-items:end!important;
    padding:82px 14px 14px!important;
  }
  .cl-profile-modal-card{
    width:min(290px,calc(100vw - 28px))!important;
    max-height:calc(100dvh - 108px)!important;
    padding:16px 14px 14px!important;
    border-radius:20px!important;
  }
}


/* ChaouenLens auth card reset 1.0.12 */
.cl-profile-modal{
  display:none!important;
  inset:0!important;
  padding:92px 14px 14px!important;
  align-items:start!important;
  justify-items:end!important;
  background:rgba(4,18,28,.12)!important;
  -webkit-backdrop-filter:blur(2px)!important;
  backdrop-filter:blur(2px)!important;
}
.cl-profile-modal.is-open{display:grid!important}
.cl-profile-modal-card{
  box-sizing:border-box!important;
  width:290px!important;
  max-width:calc(100vw - 28px)!important;
  max-height:calc(100dvh - 116px)!important;
  min-height:0!important;
  overflow:auto!important;
  padding:14px!important;
  border-radius:20px!important;
  background:#f7fbfd!important;
}
.cl-profile-modal .cl-auth-wrap,
.cl-profile-modal .cl-auth-card{
  box-sizing:border-box!important;
  display:block!important;
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  min-height:0!important;
  height:auto!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  background-image:none!important;
  box-shadow:none!important;
  color:var(--clb-ink)!important;
}
.cl-profile-modal .cl-eyebrow,
.cl-profile-modal .cl-intro,
.cl-profile-modal .cl-auth-card>h1,
.cl-profile-modal .cl-social-divider,
.cl-profile-modal .cl-auth-foot,
.cl-profile-modal .cl-auth-form br{display:none!important}
.cl-profile-modal .cl-social-login,
.cl-profile-modal .wsc-buttons{
  display:block!important;
  width:100%!important;
  min-height:0!important;
  height:auto!important;
  margin:0 0 12px!important;
  padding:0!important;
}
.cl-profile-modal .vcs-btn[data-provider="google"]{
  box-sizing:border-box!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:9px!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  height:44px!important;
  min-height:44px!important;
  margin:0!important;
  padding:0 12px!important;
  border:1px solid #d5e2e9!important;
  border-radius:12px!important;
  background:#fff!important;
  color:#202124!important;
  font:700 13px/1.2 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
  text-decoration:none!important;
  box-shadow:none!important;
  overflow:hidden!important;
}
.cl-profile-modal .vcs-btn[data-provider="google"] .vcs-btn__icon{
  display:grid!important;
  place-items:center!important;
  width:20px!important;
  height:20px!important;
  flex:0 0 20px!important;
}
.cl-profile-modal .vcs-btn[data-provider="google"] svg{
  display:block!important;
  width:20px!important;
  height:20px!important;
}
.cl-profile-modal .vcs-btn__label{
  display:block!important;
  white-space:nowrap!important;
  font-size:13px!important;
}
.cl-profile-modal .cl-auth-form{
  display:grid!important;
  gap:10px!important;
  width:100%!important;
  margin:0!important;
  padding:0!important;
}
.cl-profile-modal .cl-auth-form label{
  display:grid!important;
  gap:5px!important;
  width:100%!important;
  margin:0!important;
  padding:0!important;
  color:var(--clb-ink)!important;
  font-size:12px!important;
  font-weight:750!important;
}
.cl-profile-modal .cl-auth-form input[type=email],
.cl-profile-modal .cl-auth-form input[type=password]{
  box-sizing:border-box!important;
  display:block!important;
  width:100%!important;
  height:42px!important;
  min-height:42px!important;
  margin:0!important;
  padding:0 11px!important;
  border:1px solid #cbdce5!important;
  border-radius:11px!important;
  background:#fff!important;
  color:var(--clb-ink)!important;
  font-size:14px!important;
}
.cl-profile-modal .cl-auth-form .cl-btn{
  width:100%!important;
  height:43px!important;
  min-height:43px!important;
  margin:2px 0 0!important;
  padding:0 12px!important;
  border-radius:11px!important;
  background:var(--clb-navy)!important;
  color:#fff!important;
  font-size:13px!important;
  font-weight:800!important;
}
.cl-profile-modal-kicker{font-size:9px!important;margin:0 38px 1px 0!important}
.cl-profile-modal-card>h2{font-size:20px!important;margin:0 38px 12px 0!important}
.cl-profile-modal-close{width:34px!important;height:34px!important;font-size:20px!important}
.cl-profile-create{margin:11px 0 0!important;font-size:12px!important}
@media(max-width:600px){
  .cl-profile-modal{padding:92px 14px 14px!important;align-items:start!important;justify-items:end!important}
  .cl-profile-modal-card{width:290px!important;max-width:calc(100vw - 28px)!important;max-height:calc(100dvh - 116px)!important;border-radius:20px!important;padding:14px!important}
}


/* ChaouenLens final auth layout 1.0.13 */
#cl-profile-modal{display:none!important;position:fixed!important;inset:0!important;z-index:1000000!important;align-items:start!important;justify-items:end!important;padding:92px 14px 14px!important;background:rgba(4,18,28,.14)!important;-webkit-backdrop-filter:blur(3px)!important;backdrop-filter:blur(3px)!important}
#cl-profile-modal.is-open{display:grid!important}
#cl-profile-modal .cl-profile-modal-card{box-sizing:border-box!important;width:290px!important;max-width:calc(100vw - 28px)!important;max-height:calc(100dvh - 116px)!important;min-height:0!important;overflow:auto!important;padding:14px!important;border:1px solid rgba(11,93,141,.14)!important;border-radius:20px!important;background:#f7fbfd!important;color:var(--clb-ink)!important;box-shadow:0 18px 44px rgba(9,45,70,.22)!important}
#cl-profile-modal .cl-auth-wrap,#cl-profile-modal .cl-auth-card,#cl-profile-modal .cl-auth-form,#cl-profile-modal .cl-social-login,#cl-profile-modal .wsc-buttons{box-sizing:border-box!important;width:100%!important;min-width:0!important;max-width:none!important;min-height:0!important;height:auto!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;background-image:none!important;box-shadow:none!important;color:var(--clb-ink)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
#cl-profile-modal .cl-auth-wrap::before,#cl-profile-modal .cl-auth-wrap::after,#cl-profile-modal .cl-auth-card::before,#cl-profile-modal .cl-auth-card::after{display:none!important;content:none!important}
#cl-profile-modal .cl-eyebrow,#cl-profile-modal .cl-intro,#cl-profile-modal .cl-auth-card>h1,#cl-profile-modal .cl-social-divider,#cl-profile-modal .cl-auth-foot,#cl-profile-modal .cl-auth-form br{display:none!important}
#cl-profile-modal .cl-auth-form{display:grid!important;gap:9px!important}
#cl-profile-modal .cl-auth-form label{display:grid!important;gap:5px!important;margin:0!important;color:var(--clb-ink)!important;font-size:12px!important;font-weight:750!important}
#cl-profile-modal .cl-auth-form input[type=email],#cl-profile-modal .cl-auth-form input[type=password]{width:100%!important;height:42px!important;min-height:42px!important;margin:0!important;padding:0 11px!important;border:1px solid #cbdce5!important;border-radius:11px!important;background:#fff!important;color:var(--clb-ink)!important;font-size:14px!important;box-shadow:none!important}
#cl-profile-modal .cl-auth-form input:focus{border-color:var(--clb-blue)!important;box-shadow:0 0 0 3px rgba(36,143,200,.12)!important;outline:none!important}
#cl-profile-modal .cl-auth-form .cl-btn{width:100%!important;height:43px!important;min-height:43px!important;margin:2px 0 0!important;padding:0 12px!important;border:0!important;border-radius:11px!important;background:var(--clb-navy)!important;color:#fff!important;font-size:13px!important;font-weight:800!important;box-shadow:none!important}
#cl-profile-modal .cl-profile-modal-kicker{font-size:9px!important;margin:0 38px 1px 0!important}
#cl-profile-modal .cl-profile-modal-card>h2{font-size:20px!important;margin:0 38px 12px 0!important;color:var(--clb-navy)!important}
#cl-profile-modal .cl-profile-modal-close{top:8px!important;right:8px!important;width:34px!important;height:34px!important;font-size:20px!important;border-radius:11px!important}
#cl-profile-modal .cl-profile-create{margin:10px 0 0!important;font-size:12px!important;text-align:center!important;color:var(--clb-muted)!important}
#cl-profile-modal .cl-profile-create a{color:var(--clb-blue-deep)!important;font-weight:800!important}
#cl-profile-modal .cl-social-login{margin:10px 0 0!important}
#cl-profile-modal .vcs-btn[data-provider="google"]{display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;width:100%!important;min-width:0!important;max-width:100%!important;height:44px!important;min-height:44px!important;margin:0!important;padding:0 11px!important;border:1px solid #d5e2e9!important;border-radius:11px!important;background:#fff!important;color:#202124!important;font:700 13px/1.2 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;text-decoration:none!important;box-shadow:none!important;overflow:hidden!important}
#cl-profile-modal .vcs-btn[data-provider="google"]::before{display:none!important}
#cl-profile-modal .vcs-btn[data-provider="google"] .vcs-btn__icon{display:grid!important;place-items:center!important;width:20px!important;height:20px!important;min-width:20px!important;min-height:20px!important;margin:0!important}
#cl-profile-modal .vcs-btn[data-provider="google"] .vcs-btn__icon svg{width:20px!important;height:20px!important}
#cl-profile-modal .vcs-btn[data-provider="google"] .vcs-btn__label{position:static!important;display:block!important;width:auto!important;height:auto!important;margin:0!important;padding:0!important;overflow:visible!important;clip:auto!important;white-space:nowrap!important;border:0!important}
#cl-google-mini-modal{display:none!important;position:fixed!important;inset:0!important;z-index:1000001!important;place-items:center!important;padding:18px!important;background:rgba(4,18,28,.42)!important;-webkit-backdrop-filter:blur(7px)!important;backdrop-filter:blur(7px)!important}
#cl-google-mini-modal.is-open{display:grid!important}
#cl-google-mini-modal .cl-google-mini-card{position:relative!important;width:min(290px,calc(100vw - 28px))!important;padding:18px 16px 14px!important;border:1px solid rgba(255,255,255,.72)!important;border-radius:20px!important;background:#f7fbfd!important;color:var(--clb-ink)!important;box-shadow:0 24px 70px rgba(9,45,70,.28)!important;text-align:center!important}
#cl-google-mini-modal .cl-google-mini-close{position:absolute!important;top:8px!important;right:8px!important;width:34px!important;height:34px!important;border:1px solid var(--clb-line)!important;border-radius:11px!important;background:var(--clb-mist)!important;color:var(--clb-navy)!important;font-size:21px!important;line-height:1!important;cursor:pointer!important}
#cl-google-mini-modal .cl-google-mini-badge{width:42px!important;height:42px!important;margin:2px auto 10px!important;display:grid!important;place-items:center!important;border:1px solid var(--clb-line)!important;border-radius:13px!important;background:#fff!important;color:#4285f4!important;font-size:22px!important;font-weight:900!important}
#cl-google-mini-modal h2{margin:0 38px 7px!important;color:var(--clb-navy)!important;font-size:18px!important;line-height:1.2!important}
#cl-google-mini-modal p{margin:0 0 14px!important;color:var(--clb-muted)!important;font-size:12.5px!important;line-height:1.45!important}
#cl-google-mini-modal .cl-google-mini-continue,#cl-google-mini-modal .cl-google-mini-cancel{width:100%!important;min-height:44px!important;border-radius:12px!important;font-size:14px!important;font-weight:800!important;cursor:pointer!important}
#cl-google-mini-modal .cl-google-mini-continue{border:1px solid var(--clb-line)!important;background:#fff!important;color:#202124!important}
#cl-google-mini-modal .cl-google-mini-cancel{margin-top:7px!important;border:0!important;background:transparent!important;color:var(--clb-muted)!important}
@media(max-width:600px){#cl-profile-modal{padding:88px 14px 14px!important}#cl-profile-modal .cl-profile-modal-card{width:290px!important;max-width:calc(100vw - 28px)!important;max-height:calc(100dvh - 108px)!important}}
@media(prefers-reduced-motion:reduce){#cl-profile-modal,#cl-google-mini-modal,#cl-google-mini-modal .cl-google-mini-card{animation:none!important;transition:none!important}}


/* ChaouenLens signed-in profile state 1.0.14 */
.cl-profile-signed-in{
  display:grid;
  gap:12px;
  margin-top:8px;
}
.cl-profile-signed-in-label{
  margin:0;
  padding:12px 14px;
  border:1px solid var(--clb-line);
  border-radius:14px;
  background:var(--clb-mist);
  color:var(--clb-ink);
  font-size:13px;
  line-height:1.45;
  overflow-wrap:anywhere;
}
.cl-profile-signout{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:10px 14px;
  border:1px solid rgba(154,47,47,.22);
  border-radius:12px;
  background:#fff;
  color:#8b2525!important;
  font-size:14px;
  font-weight:800;
  text-decoration:none!important;
}
.cl-profile-signout:hover,
.cl-profile-signout:focus-visible{
  background:#fff2f2;
  color:#711c1c!important;
}
.cl-profile-modal-card:has(.cl-profile-signed-in) .cl-auth-wrap,
.cl-profile-modal-card:has(.cl-profile-signed-in) .cl-profile-create{
  display:none!important;
}
.cl-profile-modal-card:has(.cl-profile-signed-in)>h2{
  font-size:20px!important;
  margin-bottom:10px!important;
}
.cl-profile-modal-card:has(.cl-profile-signed-in)>h2::after{
  content:" account";
}


/* ChaouenLens signed-in Profile state 1.0.14 */
.cl-profile-signed-in{
  display:grid;
  gap:10px;
  margin-top:4px;
}
.cl-profile-signed-in-label{
  margin:0;
  padding:10px 12px;
  border:1px solid var(--clb-line);
  border-radius:12px;
  background:var(--clb-mist);
  color:var(--clb-ink);
  font-size:12.5px;
  line-height:1.4;
  overflow-wrap:anywhere;
}
.cl-profile-signout{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:10px 14px;
  border:1px solid rgba(139,37,37,.18);
  border-radius:12px;
  background:#fff;
  color:#8b2525!important;
  font-size:14px;
  font-weight:800;
  text-decoration:none!important;
}
.cl-profile-signout:hover,
.cl-profile-signout:focus-visible{
  background:#fff2f2;
  color:#711c1c!important;
}
#cl-profile-modal .cl-profile-modal-card:has(.cl-profile-signed-in) .cl-auth-wrap,
#cl-profile-modal .cl-profile-modal-card:has(.cl-profile-signed-in) .cl-profile-create{
  display:none!important;
}
#cl-profile-modal .cl-profile-modal-card:has(.cl-profile-signed-in)>h2{
  margin-bottom:10px!important;
  font-size:20px!important;
}


/* ChaouenLens server-side profile state 1.0.15 */
#cl-profile-modal .cl-profile-account-state,
#cl-profile-modal .cl-profile-guest-state{
  display:block;
  width:100%;
  min-width:0;
}
#cl-profile-modal .cl-profile-account-state>h2,
#cl-profile-modal .cl-profile-guest-state>h2{
  margin:0 38px 12px 0!important;
  color:var(--clb-navy)!important;
  font-size:20px!important;
  line-height:1.2!important;
}
#cl-profile-modal .cl-profile-account-state .cl-profile-signed-in{
  display:grid!important;
  gap:10px!important;
  margin:0!important;
}
#cl-profile-modal .cl-profile-account-state .cl-profile-signout{
  width:100%!important;
  min-height:44px!important;
  box-sizing:border-box!important;
}
#cl-profile-modal .cl-profile-account-state .cl-auth-wrap,
#cl-profile-modal .cl-profile-account-state .cl-profile-create,
#cl-profile-modal .cl-profile-account-state .cl-social-login{
  display:none!important;
}


/* ChaouenLens My Profile action 1.0.15 */
.cl-profile-myprofile{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:10px 14px;
  border:1px solid rgba(11,93,141,.18);
  border-radius:12px;
  background:var(--clb-navy);
  color:#fff!important;
  font-size:14px;
  font-weight:800;
  text-decoration:none!important;
}
.cl-profile-myprofile:hover,
.cl-profile-myprofile:focus-visible{
  background:var(--clb-blue-deep);
  color:#fff!important;
}


/* ChaouenLens account signed-in state 1.0.14 */
.cl-profile-signed-in{
  display:grid;
  gap:12px;
  margin-top:8px;
}
.cl-profile-signed-in-label{
  margin:0;
  padding:12px 14px;
  border:1px solid var(--clb-line);
  border-radius:14px;
  background:var(--clb-mist);
  color:var(--clb-ink);
  font-size:13px;
  line-height:1.45;
  overflow-wrap:anywhere;
}
.cl-profile-signout{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:10px 14px;
  border:1px solid rgba(154,47,47,.22);
  border-radius:12px;
  background:#fff;
  color:#8b2525!important;
  font-size:14px;
  font-weight:800;
  text-decoration:none!important;
}
.cl-profile-signout:hover,
.cl-profile-signout:focus-visible{
  background:#fff2f2;
  color:#711c1c!important;
}
#cl-profile-modal[data-account-ui-ready="1"] .cl-auth-wrap,
#cl-profile-modal[data-account-ui-ready="1"] .cl-profile-create{
  display:none!important;
}
#cl-profile-modal[data-account-ui-ready="1"] .cl-profile-modal-card{
  width:min(290px,calc(100vw - 28px))!important;
}


/* ChaouenLens My Profile signed-in action 1.0.16 */
.cl-profile-account-state .cl-profile-myprofile{
  order:2;
}
.cl-profile-account-state .cl-profile-signout{
  order:3;
}


/* ChaouenLens equal Profile actions 1.0.17 */
.cl-profile-account-state .cl-profile-myprofile,
.cl-profile-account-state .cl-profile-signout{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  box-sizing:border-box!important;
  width:100%!important;
  min-height:44px!important;
  padding:10px 14px!important;
  margin:0!important;
  border-radius:12px!important;
  font-size:14px!important;
  font-weight:800!important;
  line-height:1.2!important;
  text-align:center!important;
  text-decoration:none!important;
}


/* ChaouenLens Profile modal logged-in actions 1.0.19 */
#cl-profile-modal .cl-profile-account-state .cl-profile-myprofile,
#cl-profile-modal .cl-profile-account-state .cl-profile-signout{
  display:flex!important;
  width:100%!important;
  min-height:44px!important;
  margin:0!important;
}
#cl-profile-modal .cl-profile-account-state .cl-profile-myprofile{order:2}
#cl-profile-modal .cl-profile-account-state .cl-profile-signout{order:3}
