html{scroll-padding-bottom:90px}html[data-zohour-display=standalone] body{overscroll-behavior-y:none}
@media(display-mode:standalone) and (max-width:900px){body{padding-bottom:calc(82px + env(safe-area-inset-bottom))!important}#zohour-help-widget{bottom:calc(88px + env(safe-area-inset-bottom))!important}.portal .p-header{padding-top:env(safe-area-inset-top)}input,select,textarea{font-size:16px!important}}
@media(max-width:600px){input,select,textarea{font-size:16px}.portal .p-hero h1{font-size:clamp(34px,9vw,48px);line-height:1.5}.portal .p-nav a{min-height:44px;display:flex;align-items:center}.portal .p-branch{max-width:150px}.portal .p-header{gap:8px}.portal .p-branch select{max-width:130px}body>header nav{flex-wrap:wrap}main,section,article{min-width:0}img,video{max-width:100%}}
@font-face{font-family:Cairo;src:url('/cairo-0.woff2') format('woff2');font-weight:400;font-display:swap}@font-face{font-family:Cairo;src:url('/cairo-3.woff2') format('woff2');font-weight:700;font-display:swap}@font-face{font-family:Cairo;src:url('/cairo-4.woff2') format('woff2');font-weight:800;font-display:swap}
body,button,input,select,textarea{font-family:Cairo,Tahoma,Arial,sans-serif!important}html[lang=en] .portal{direction:ltr}html[lang=en] :is(.portal,.zs-page) :is(h1,h2,h3,p,.p-nav button){text-align:start}html[lang=en] .p-hero-shade{transform:scaleX(-1)}html[lang=en] .portal .p-logo{text-align:start}html[lang=en] .portal .p-link svg{transform:rotate(180deg)}
@media(max-width:900px){body{padding-bottom:calc(82px + env(safe-area-inset-bottom))!important}#zohour-help-widget{bottom:calc(88px + env(safe-area-inset-bottom))!important}.portal .p-nav{max-height:70dvh;overflow:auto}.portal .p-header{border-bottom:1px solid var(--z-line);box-shadow:0 4px 16px #10275b08}.portal .p-hero h1{font-size:clamp(36px,7.5vw,52px);line-height:1.4}.portal .p-hero p{font-size:16px;line-height:1.9}.portal p{font-size:16px;line-height:1.85}.portal .p-btn{font-size:16px!important;min-height:50px;border-radius:12px}.portal .p-quick{border-radius:16px}.portal .p-nav button{font-size:16px!important}.portal .p-section-head h2{font-size:28px}.portal .p-section{padding-block:30px}.portal .p-branch{display:flex!important}input,select,textarea{font-size:16px!important}}
@media(max-width:450px){.portal .p-logo strong{font-size:15px!important}.portal .p-logo small{font-size:10px!important}.portal .p-logo img{width:40px!important}.portal .p-branch select{max-width:108px;font-size:13px!important}.portal .p-header{padding-inline:12px!important}.portal .p-branch{padding:3px!important}.portal .p-hero{min-height:560px}.portal .p-hero h1{font-size:36px}.portal .p-hero .p-btn{width:100%;justify-content:center}.portal .p-hero-actions{flex-direction:column;align-items:stretch;gap:10px}.portal .p-quick-grid{grid-template-columns:1fr 1fr!important}.portal .p-quick-title{font-size:15px!important}}

/* Membership dashboard shortcuts use the existing authenticated sections. */
.z-member-dashboard > .panel { scroll-margin-top: 6rem; }
.z-member-actions {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:.75rem;
  margin-block:1rem;
}
.z-member-actions a {
  display:grid;
  place-items:center;
  min-height:3rem;
  padding:.625rem;
  border:1px solid var(--z-line,#cedbf3);
  border-radius:.75rem;
  background:#fff;
  color:var(--z-primary,#1d3b9a);
  text-align:center;
  text-decoration:none;
  font-weight:700;
}
.z-member-actions a:focus-visible { outline:3px solid currentColor; outline-offset:2px; }
.z-member-dashboard .panel:target { outline:2px solid var(--z-primary,#1d3b9a); }
@media(max-width:640px){
  .z-member-actions { grid-template-columns:repeat(2,minmax(0,1fr)); }
}

/* Shared layout for the three content sections in the web app. */
[data-z-app-content] :is(#news,#trip-grid,#catalog-list) {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:clamp(1rem,2vw,1.5rem);
  align-items:start;
}
[data-z-app-content] :is(#news,#trip-grid,#catalog-list) > article {
  min-inline-size:0;
  border-radius:1rem;
  overflow:hidden;
  background:#fff;
  border:1px solid #dde6f1;
  box-shadow:0 5px 20px #172b5510;
  overflow-wrap:anywhere;
}
[data-z-app-content] article :is(h2,h3) {line-height:1.45; font-size:clamp(1.125rem,2vw,1.35rem);}
[data-z-app-content] article summary {min-height:2.75rem; align-content:center; cursor:pointer;}
[data-z-app-content] article :is(a,summary):focus-visible {
  outline:2px solid var(--z-primary,#1d3b9a);
  outline-offset:-2px;
}
[data-z-app-content] article .poster img {object-fit:contain;}
@media(max-width:640px){
  [data-z-app-content] :is(#news,#trip-grid,#catalog-list) {grid-template-columns:minmax(0,1fr);}
}
