/* ==========================================================================
   The Aslan Lounge: fixes and mobile polish. Loaded last on every page.
   Keep this file when updating the site; it protects the rules below.
   ========================================================================== */

/* spam trap: never visible */
.aslan-hp{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important}

/* minimum text size: 13px for every label and link */
.related__label,.related__links a{font-size:13px!important}
.mhdr__res,.sbar__res,.hhdr__res{font-size:13px!important}
.ftr .sign + p,.ftr .sign ~ p{font-size:13px!important}

/* phone header: logo keeps its shape */
.mhdr__logo{display:block;flex:none;line-height:0}
.mhdr__logo img{width:82px!important;height:auto!important;max-height:72px;object-fit:contain}

@media (max-width:980px){
  /* featured event: poster on top at full width, words below */
  .ev__in{grid-template-columns:1fr!important;gap:48px!important}
  .ev__media{width:100%;justify-content:center}
  .ev__frame{width:min(100%,440px)!important;height:auto}
  .ev__in>div:last-child{min-height:0!important}
}
@media (max-width:700px){
  html{-webkit-text-size-adjust:100%}
  body{overflow-x:hidden}
  img{max-width:100%}
  .wrap{padding-left:20px!important;padding-right:20px!important}

  /* phone header: tidy height, comfortable tap targets */
  .mhdr{min-height:64px;padding:8px 16px!important;align-items:center}
  .mhdr__res{display:inline-flex;align-items:center;min-height:44px;padding:0 16px!important}
  .mhdr__menu{width:48px!important;height:48px!important}

  /* featured event */
  .ev{padding:64px 0!important}
  .ev__side{display:none}
  .ev__frame::before{left:-10px!important;top:-10px!important;right:22%!important;bottom:-10px!important}
  .ev__frame::after{left:28%!important;top:10px!important;right:-10px!important;bottom:-12px!important}
  .ev h2{font-size:clamp(40px,12vw,56px)!important;overflow-wrap:anywhere}
  .ev__date{font-size:clamp(22px,6.4vw,30px)!important}
  .ev p.lede{font-size:16px!important;letter-spacing:.02em!important}
  .ev__acts{gap:16px 24px!important}
  .ev__acts .btn{width:100%;justify-content:center}

  /* buttons and links: full-width primary actions, 44px tap targets */
  .btn,.btn2{min-height:52px}
  .tl{min-height:44px}
  .gbtn{max-width:100%}
  .acts{gap:14px 22px!important}

  /* forms: 16px inputs stop iPhone zooming in */
  input,select,textarea{font-size:16px!important}
  .form2{grid-template-columns:1fr!important}
  .form2__end{flex-direction:column;align-items:stretch!important}
  .form2__end .btn2{justify-content:center}

  /* footer newsletter: email field and button stay on one line */
  .ftr .sign{flex-wrap:nowrap}
  .ftr .sign input{min-width:0}

  /* section headings never overflow */
  h1,h2,h3{overflow-wrap:break-word;hyphens:manual}

  /* related links bar */
  .related__in{flex-wrap:wrap;gap:10px 18px}
  .related__links{flex-wrap:wrap;gap:6px 18px}
  .related__links a{min-height:44px;display:inline-flex;align-items:center}
}
@media (max-width:380px){
  .mhdr__res{padding:0 12px!important;letter-spacing:.06em!important}
  .gbtn span{font-size:16px!important}
}

/* venue hire terms: plain reading column with the brand headings */
.legal:not(:has(.legal__toc)){display:block;max-width:46em}
.legal:not(:has(.legal__toc)) h2{margin:clamp(36px,3vw,52px) 0 12px;font:400 clamp(21px,1.6vw,28px)/1.25 Cinzel,serif;letter-spacing:.03em;color:var(--txt-d,#2A221A)}
.legal:not(:has(.legal__toc)) h2:first-child{margin-top:0}
.legal:not(:has(.legal__toc)) p,.legal:not(:has(.legal__toc)) li{margin:0 0 14px;font:400 16px/1.8 Jost,sans-serif;color:var(--mut-d,#5A5246)}

/* email addresses: lower case, never split mid-word */
a[href^="mailto:"]{text-transform:none!important;letter-spacing:.02em!important;overflow-wrap:anywhere;word-break:normal!important}
.blk a[href^="mailto:"]{font:500 15px/1.4 Jost,sans-serif!important}

@media (max-width:700px){
  /* gold pill buttons: one line, full width */
  .gbtn{width:100%;justify-content:center;padding:0 18px!important;gap:12px!important}
  .gbtn span{white-space:nowrap;font-size:17px!important;letter-spacing:.1em!important}
  .gbtn__ic{width:26px!important;height:26px!important}
  .btn2{width:100%;justify-content:center;line-height:1.3;text-align:center;padding-top:10px!important;padding-bottom:10px!important;height:auto!important}

  /* menu tabs: wrap onto two lines instead of hiding off-screen */
  .mtabs{flex-wrap:wrap!important;justify-content:center!important;overflow:visible!important;gap:2px 18px!important}

  /* back-to-top: smaller and tucked into the corner */
  .back-top{min-width:40px!important;width:40px;height:40px!important;padding:0!important;right:12px!important;bottom:max(14px,env(safe-area-inset-bottom))!important;opacity:.85}
}

/* remaining small labels: gallery, private-hire form, 404 */
.gallery-intro small,.galc__k{font-size:13px!important}
.hire-form-card li span,.hire-form-card .eyebrow,.hire-form__section-label,.hire-field label,.hire-form__submit span,.hire-form__submit{font-size:13px!important}
.hire-field label small{font-size:13px!important}
.hire-form__foot,.hire-form__foot a{font-size:13px!important;line-height:1.6}
.box .k,.links a{font-size:13px!important}
.links a{min-height:44px;display:inline-flex;align-items:center}
.hire-enquiry__perks li>span{font-size:13px!important}
.hire-form__foot p{font-size:13px!important;line-height:1.6}

/* ---------- phone hero: full-width photographs, titles set into the sky ---------- */
@media (max-width:700px){
  .mpanel{position:relative!important;display:flex!important;flex-direction:column;align-items:center;height:auto!important;
    aspect-ratio:880/1349;background-size:cover!important;background-repeat:no-repeat!important;background-position:50% 100%!important;overflow:hidden}
  .mpanel--day{background-image:url(m-hero-day.webp)!important;background-color:#F4EADA!important}
  .mpanel--night{aspect-ratio:880/1142;background-image:url(m-hero-night.webp)!important;background-color:#0B1311!important}
  .mpanel::before{content:"";position:absolute;inset:0;z-index:0;pointer-events:none}
  .mpanel--day::before{background:linear-gradient(180deg,rgba(244,234,218,.96) 0%,rgba(244,234,218,.82) 22%,rgba(244,234,218,0) 46%),linear-gradient(0deg,rgba(11,19,17,.28) 0%,rgba(11,19,17,0) 18%)}
  .mpanel--night::before{background:linear-gradient(180deg,rgba(11,19,17,.97) 0%,rgba(11,19,17,.85) 28%,rgba(11,19,17,0) 56%),linear-gradient(0deg,rgba(11,19,17,.55) 0%,rgba(11,19,17,0) 22%)}
  .mpanel svg{position:relative!important;z-index:1;left:auto!important;top:auto!important;width:calc(100% - 56px)!important;margin:30px auto 0;display:block}
  .mpanel--night svg{width:calc(100% - 40px)!important;margin-top:18px}
  .mtag{position:relative!important;z-index:1;top:auto!important;left:auto!important;right:auto!important;margin:12px 16px 0!important;text-align:center}
  /* hairline seams between day, the lion and night */
  .mlion{border-top:1px solid rgba(207,171,108,.55);border-bottom:1px solid rgba(207,171,108,.55)}
}
