/* Hocdii 1.2.0: shared navigation, contact and account presentation. */
body.hocdii-ui-v12 .hocdii-mobile-menu-logo{width:84px!important;height:84px!important;max-width:84px!important;flex:0 0 84px!important;margin:0 auto!important;overflow:hidden;border-radius:20px}
body.hocdii-ui-v12 .hocdii-mobile-menu-logo img{display:block;width:84px!important;height:84px!important;max-width:100%!important;object-fit:contain!important}
body.hocdii-ui-v12 .hocdii-mobile-menu-brand{padding:16px 12px!important}
body.hocdii-ui-v12 .menu-drawer .sub-menu,body.hocdii-ui-v12 .menu-drawer .hocdii-submenu-toggle,body.hocdii-ui-v12 .navi-in>ul>li>.sub-menu{display:none!important}
body.hocdii-ui-v12 .menu-drawer .top-has-sub,body.hocdii-ui-v12 .menu-drawer .has-sub,body.hocdii-ui-v12 .menu-drawer li.menu-item-has-children>a:after,body.hocdii-ui-v12 .navi-in>ul>li.menu-item-has-children>a:after{display:none!important}
body.hocdii-ui-v12 .menu-drawer>ul>li>a{display:flex!important;align-items:center;justify-content:flex-start!important;min-height:46px!important;margin:7px 12px!important;padding:10px 14px!important;border-radius:14px!important;background:#f0f8f6!important;color:#173a4b!important;box-shadow:none!important;border:1px solid #dcece8!important;font-weight:650}
body.hocdii-ui-v12 .menu-drawer>ul>li>a:hover{background:#dff4eb!important;color:#075b74!important}
body.hocdii-ui-v12 .hocdii-contact-widget{width:82px!important;height:96px!important;bottom:180px;right:18px}
body.hocdii-ui-v12 .hocdii-contact-toggle{width:82px!important;height:96px!important;overflow:hidden!important;border-radius:24px!important;border:2px solid #81dac0!important;background:#000!important;box-shadow:0 8px 26px #0e344c35;animation:none!important;cursor:grab}
body.hocdii-ui-v12 .hocdii-contact-toggle:after{display:none!important}
body.hocdii-ui-v12 .hocdii-contact-toggle-icon{inset:0 0 20px!important;background:#000!important;border-radius:22px 22px 0 0!important}
body.hocdii-ui-v12 .hocdii-contact-toggle-icon img{width:100%!important;height:100%!important;object-fit:contain!important;border-radius:0!important}
body.hocdii-ui-v12 .hocdii-cskh-label{position:absolute;bottom:5px;left:0;right:0;line-height:16px;color:#d8fff4;font-size:12px;font-weight:750;letter-spacing:.08em}
body.hocdii-ui-v12 .hocdii-contact-links{max-width:calc(100vw - 28px);top:auto!important;bottom:calc(100% + 14px)!important;right:0!important}
body.hocdii-ui-v12 .hocdii-contact-widget.panel-below .hocdii-contact-links{top:calc(100% + 14px)!important;bottom:auto!important}
body.hocdii-ui-v12 .hocdii-motion-switch{position:absolute;z-index:2;top:-10px;right:-10px;width:32px;height:32px;padding:0!important;border-radius:50%;background:#fff;color:#173a4b;border:1px solid #d2e6e2;font-size:14px;line-height:30px;box-shadow:0 2px 8px #0e344c25;cursor:pointer}
body.hocdii-ui-v12 .hocdii-motion-switch:focus-visible,body.hocdii-ui-v12 button:focus-visible,body.hocdii-ui-v12 a:focus-visible{outline:3px solid #30a6ca;outline-offset:3px}
.hocdii-email-help{position:fixed;bottom:86px;left:50%;transform:translateX(-50%);max-width:calc(100vw - 24px);width:max-content;z-index:100000;display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;background:#173a4b;color:#fff;border-radius:16px;padding:12px 44px 12px 16px;box-shadow:0 8px 30px #102e4933;font-size:14px}
.hocdii-email-help[hidden]{display:none!important}.hocdii-email-help a{color:#b1f5da!important;text-decoration:underline}.hocdii-email-help-close{position:absolute;right:5px;top:5px;width:32px;height:32px;border:0;background:transparent;color:#fff;font-size:24px}
.hocdii-latest-carousel{position:relative;margin-bottom:28px}
body.hocdii-home-v1 #main .hocdii-latest-carousel .hocdii-latest-posts{display:flex!important;flex-wrap:nowrap!important;gap:14px!important;overflow-x:auto!important;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain;padding:5px 0 10px!important;margin:0!important;list-style:none}
.hocdii-latest-posts::-webkit-scrollbar{display:none}
body.hocdii-home-v1 #main .hocdii-latest-carousel .hocdii-latest-posts>li{flex:0 0 calc((100% - 42px)/4)!important;min-width:0!important;scroll-snap-align:start}
.hocdii-latest-controls{display:flex;align-items:center;justify-content:center;gap:16px;margin-top:8px}
.hocdii-latest-controls[hidden]{display:none!important}
.hocdii-latest-controls>button{width:44px;height:44px;border-radius:50%;border:1px solid #d9e9e5;background:#fff;color:#173a4b;font-size:27px;line-height:1;padding:0;cursor:pointer}
.hocdii-latest-controls>button:disabled{opacity:.35;cursor:default}
.hocdii-latest-dots{display:flex;flex-wrap:wrap;justify-content:center;gap:4px}
.hocdii-latest-dots button{width:26px;height:32px;border:0;padding:0;background:transparent;position:relative;cursor:pointer}
.hocdii-latest-dots button:before{content:'';display:block;width:8px;height:8px;border-radius:50%;background:#cadeda;margin:auto}
.hocdii-latest-dots button[aria-current=true]:before{width:18px;border-radius:5px;background:#159eb0}
.hocdii-avatar-wrap{position:relative;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:44px;height:44px;vertical-align:middle;border-radius:50%}
.hocdii-avatar-wrap img{width:100%!important;height:100%!important;border-radius:50%!important;object-fit:cover;border:0!important;margin:0!important}
.hocdii-avatar-wrap.is-vip{box-shadow:0 0 0 3px #e9b848,0 0 0 5px #fff2cd}
.hocdii-avatar-crown{position:absolute;top:-13px;left:50%;transform:translateX(-50%);width:22px;height:17px;fill:#f1c14c;stroke:#9b6c13;stroke-width:1.2;pointer-events:none}
.hocdii-avatar-wrap:not(.is-vip) .hocdii-avatar-crown{display:none}
.hocdii-profile-open{display:block;min-height:42px;margin:8px 0;padding:10px 14px;border:1px solid #cee5df;border-radius:10px;background:#edf8f4;color:#173a4b;font-size:14px;text-align:center;cursor:pointer;width:100%}
.hocdii-profile-dialog{width:420px;max-width:calc(100vw - 28px);max-height:85vh;overflow:auto;border:1px solid #d7e8e4;border-radius:22px;padding:26px;color:#173a4b;box-shadow:0 18px 70px #173a4b40;background:#fff;font-family:inherit}
.hocdii-profile-dialog::backdrop{background:#102f4a80}
.hocdii-profile-dialog h2{font-size:22px;line-height:1.4;margin:0 22px 12px 0;padding:0;border:0;background:none;color:#173a4b}
.hocdii-profile-dialog p,.hocdii-profile-dialog label{font-size:14px;line-height:1.6;display:block}
.hocdii-profile-dialog input[type=file]{margin:12px 0;width:100%;font-size:14px}
.hocdii-profile-close{position:absolute;right:10px;top:8px;width:36px;height:36px;border:0;background:none;font-size:28px;color:#173a4b;cursor:pointer}
.hocdii-profile-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}
.hocdii-profile-actions button{min-height:44px;padding:10px 14px;border-radius:12px;border:1px solid #cce3dc;background:#173a4b;color:#fff;font-size:14px;cursor:pointer}
.hocdii-profile-actions button[value=reset]{background:#edf8f4;color:#173a4b}
@media(max-width:1023px){
 body.hocdii-ui-v12 .mobile-footer-menu-buttons{background:#fff!important;border-top:1px solid #d8eae5!important;padding:5px 8px max(5px,env(safe-area-inset-bottom))!important;box-shadow:0 -4px 20px #173a4b0d}
 body.hocdii-ui-v12 .mobile-footer-menu-buttons .menu-button{min-height:52px!important;color:#173a4b!important;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px}
 body.hocdii-ui-v12 .mobile-footer-menu-buttons .menu-icon{width:36px!important;height:32px!important;display:flex!important;align-items:center;justify-content:center;border-radius:11px!important;background:#eff8f5!important;color:#176d85!important;font-size:0!important;line-height:1!important;overflow:visible!important;margin:0 auto!important}
 body.hocdii-ui-v12 .mobile-footer-menu-buttons .menu-icon:before{display:none!important}
 .hocdii-nav-svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
 body.hocdii-ui-v12 .mobile-footer-menu-buttons .menu-caption{color:#173a4b!important;font-size:10px!important;font-weight:650;line-height:14px}
 body.hocdii-ui-v12 .mobile-footer-menu-buttons .hocdii-nav-active .menu-icon{background:#daf1f5!important;color:#075b74!important}
 .mobile-footer-menu-buttons .hocdii-avatar-wrap{width:27px;height:27px}.mobile-footer-menu-buttons .hocdii-avatar-crown{width:15px;height:12px;top:-9px}
 body.hocdii-home-v1 #main .hocdii-latest-carousel .hocdii-latest-posts>li{flex-basis:calc((100% - 14px)/2)!important}
}
@media(max-width:600px){
 body.hocdii-ui-v12 .hocdii-contact-widget{width:70px!important;height:84px!important;right:14px;bottom:150px}
 body.hocdii-ui-v12 .hocdii-contact-toggle{width:70px!important;height:84px!important;border-radius:21px!important}
 body.hocdii-home-v1 #main .hocdii-latest-carousel .hocdii-latest-posts>li{flex-basis:84%!important}
}
@media(prefers-reduced-motion:reduce){body.hocdii-ui-v12 *,body.hocdii-ui-v12 *:before,body.hocdii-ui-v12 *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

body.hocdii-ui-v12 .hocdii-user-menu>a{display:flex!important;gap:9px;align-items:center!important;overflow:visible!important}
body.hocdii-ui-v12 .hocdii-user-menu>a .hocdii-avatar-wrap{width:26px;height:26px}
body.hocdii-ui-v12 .hocdii-user-menu>a .hocdii-avatar-crown{width:16px;height:12px;top:-9px}
