#cityUpdatesBtn.hidden,
#cityUpdatesBtnMobile.hidden,
#cityUpdatesBackdrop.hidden{
  display:none !important;
}

.city-updates-trigger{
  white-space:nowrap;
}

.city-updates-count{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:18px;
  height:18px;
  margin-left:7px;
  padding:0 5px;
  border-radius:999px;
  background:#98743c;
  color:#fff;
  font-size:10px;
  font-weight:750;
  line-height:18px;
}

.city-updates-backdrop{
  position:absolute;
  inset:0;
  z-index:1190;
  border:0;
  padding:0;
  background:rgba(14,22,24,.18);
  backdrop-filter:blur(1px);
  -webkit-backdrop-filter:blur(1px);
}

.city-updates-drawer{
  position:absolute;
  z-index:1200;
  top:16px;
  right:16px;
  width:min(430px,34vw);
  max-height:calc(100% - 32px);
  display:flex;
  flex-direction:column;
  overflow:hidden;
  background:#fff;
  border:1px solid #dfe4e5;
  border-radius:15px;
  box-shadow:0 18px 48px rgba(15,25,29,.17);
  transform:translateX(calc(100% + 34px));
  opacity:0;
  pointer-events:none;
  transition:transform .18s ease,opacity .15s ease;
}

.city-updates-drawer.open{
  transform:translateX(0);
  opacity:1;
  pointer-events:auto;
}

.city-updates-head{
  position:relative;
  flex:0 0 auto;
  padding:17px 50px 14px 18px;
  border-bottom:1px solid #e8ecec;
  background:#fff;
}

.city-updates-head h2{
  margin:0;
  color:#283438;
  font-family:Georgia,"Times New Roman",serif;
  font-size:21px;
  font-weight:500;
  letter-spacing:-.15px;
}

.city-updates-close{
  position:absolute;
  top:11px;
  right:12px;
  width:32px;
  height:32px;
  display:grid;
  place-items:center;
  border:1px solid #e0e5e6;
  border-radius:50%;
  background:#fff;
  color:#5b686c;
  font-size:19px;
  line-height:1;
  cursor:pointer;
}

.city-updates-close:hover{
  background:#f6f7f7;
}

.city-updates-list{
  flex:0 1 auto;
  min-height:0;
  max-height:calc(100vh - 190px);
  overflow-y:auto;
  padding:4px 18px 8px;
  -webkit-overflow-scrolling:touch;
}

.city-update-card{
  padding:14px 1px 15px;
  border-bottom:1px solid #e9eded;
}

.city-update-card:last-child{
  border-bottom:0;
}

.city-update-meta{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  margin-bottom:7px;
}

.city-update-type{
  display:inline-flex;
  align-items:center;
  gap:7px;
  color:#746342;
  font-size:9.5px;
  font-weight:750;
  letter-spacing:.65px;
  text-transform:uppercase;
}

.city-update-type::before{
  content:"";
  width:6px;
  height:6px;
  flex:0 0 6px;
  border-radius:50%;
  background:#8b9699;
}

.city-update-card[data-type="heritage_walk"] .city-update-type::before{
  background:#947043;
}

.city-update-card[data-type="exhibition"] .city-update-type::before{
  background:#6d6484;
}

.city-update-card[data-type="closure"] .city-update-type::before{
  background:#a04f43;
}

.city-update-card[data-type="festival"] .city-update-type::before{
  background:#46747d;
}

.city-update-card[data-type="notice"] .city-update-type::before{
  background:#667659;
}

.city-update-date{
  color:#929c9f;
  font-size:10px;
  line-height:1.35;
  text-align:right;
}

.city-update-card h3{
  margin:0 0 5px;
  color:#283438;
  font-family:Georgia,"Times New Roman",serif;
  font-size:15px;
  font-weight:600;
  line-height:1.3;
}

.city-update-card p{
  margin:0 0 10px;
  color:#697579;
  font-size:12px;
  line-height:1.5;
}

.city-update-actions{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:15px;
}

.city-update-actions a,
.city-update-map{
  border:0;
  padding:0;
  background:none;
  color:#6c5432;
  font:inherit;
  font-size:11px;
  font-weight:700;
  text-decoration:none;
  cursor:pointer;
}

.city-update-actions a:hover,
.city-update-map:hover{
  text-decoration:underline;
}

@media (max-width:900px){
  .city-updates-backdrop{
    position:fixed;
    z-index:3990;
    background:rgba(10,17,20,.35);
    backdrop-filter:none;
    -webkit-backdrop-filter:none;
  }

  .city-updates-drawer{
    position:fixed;
    z-index:4000;
    top:auto;
    left:0;
    right:0;
    bottom:0;
    width:100%;
    max-height:78dvh;
    border:0;
    border-top:1px solid #dfe3e4;
    border-radius:18px 18px 0 0;
    padding-bottom:env(safe-area-inset-bottom);
    transform:translateY(105%);
  }

  .city-updates-drawer.open{
    transform:translateY(0);
  }

  .city-updates-head{
    padding:18px 54px 14px 18px;
  }

  .city-updates-head h2{
    font-size:22px;
  }

  .city-updates-list{
    flex:1 1 auto;
    max-height:none;
    padding:4px 18px 12px;
  }

  .city-update-card{
    padding:15px 0 16px;
  }

  .city-update-meta{
    display:block;
  }

  .city-update-date{
    display:block;
    margin-top:5px;
    text-align:left;
  }
}
