
/* Public component scoped styles */

:where(.rf-hospital-v1) .list-image001{
  display: flex;
  gap: 1.33%;
  flex-wrap: wrap;
}
:where(.rf-hospital-v1) .list-image001 .img-item{
  width: 24%;
  margin-bottom: calc(var(--zy-unit) * 0.4);
}
:where(.rf-hospital-v1) .list-image001 .img-item a.img-box{
  display: block;
  width: 100%;
  border: 1px solid #D7D7D7;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
  background-color: #fff;
  padding: 10px;
}
:where(.rf-hospital-v1) .list-image001 .img-item a.img-box .rfh_img .inner-img{
  padding-bottom: 62%;
}
:where(.rf-hospital-v1) .list-image001 .img-item a.img-box:hover .rfh_img .inner-img img{
  transform: scale(1.1);
}
:where(.rf-hospital-v1) .list-image001 .img-item .bottom{
  margin-top: calc(var(--zy-unit) * 0.1);
}
:where(.rf-hospital-v1) .list-image001 .img-item .bottom .tit{
  text-align: center;
  font-size: calc(var(--zy-unit) * 0.18);
  line-height: calc(var(--zy-unit) * 0.27);
  max-height: calc(var(--zy-unit) * 0.27);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  word-wrap: break-word;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  display: -webkit-box;
}

@media (max-width: 960px) {
:where(.rf-hospital-v1) .list-image001{
    display: block;
  }
:where(.rf-hospital-v1) .list-image001 .img-item{
    width: 100% !important;
    margin-right: 0 !important;
    margin-bottom: 20px !important;
  }
}
:where(.rf-hospital-v1) [data-zy-gallery-trigger][hidden]{display:none!important}
:where(.rf-hospital-v1) .zy-gallery-viewer{position:fixed;inset:0;width:100%;height:100%;max-width:none;max-height:none;margin:0;padding:32px 68px;border:0;box-sizing:border-box;background:transparent;color:#fff;overflow:hidden;z-index:2147483000}
:where(.rf-hospital-v1) .zy-gallery-viewer::backdrop{background:rgba(0,0,0,.82)}
:where(.rf-hospital-v1) .zy-gallery-viewer[open]{display:flex;align-items:center;justify-content:center}
:where(.rf-hospital-v1) .zy-gallery-viewer .zy-gallery-stage{display:flex;flex-direction:column;align-items:center;justify-content:center;max-width:100%;max-height:100%;margin:0;gap:10px}
:where(.rf-hospital-v1) .zy-gallery-viewer .zy-gallery-image{display:block;max-width:100%;max-height:calc(100vh - 132px);max-height:calc(100dvh - 132px);width:auto;height:auto;object-fit:contain;border:4px solid #fff;box-sizing:border-box;box-shadow:0 4px 24px #0008;background:#fff}
:where(.rf-hospital-v1) .zy-gallery-viewer .zy-gallery-caption{width:100%;display:flex;justify-content:space-between;gap:20px;color:#fff;font-size:14px;line-height:1.6;text-align:left}
:where(.rf-hospital-v1) .zy-gallery-viewer .zy-gallery-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
:where(.rf-hospital-v1) .zy-gallery-viewer .zy-gallery-count{flex-shrink:0}
:where(.rf-hospital-v1) .zy-gallery-viewer .zy-gallery-status{position:absolute;bottom:12px;left:50%;transform:translateX(-50%);font-size:14px;color:#fff}
:where(.rf-hospital-v1) .zy-gallery-viewer button{position:absolute;display:flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;margin:0;border:1px solid #ffffff60;border-radius:50%;background:#0006;color:#fff;font:32px/1 Arial,sans-serif;cursor:pointer;box-sizing:border-box}
:where(.rf-hospital-v1) .zy-gallery-viewer button:hover{background:#000b}
:where(.rf-hospital-v1) .zy-gallery-viewer button:focus-visible{outline:2px solid #fff;outline-offset:3px}
:where(.rf-hospital-v1) .zy-gallery-viewer .zy-gallery-close{top:12px;right:16px}
:where(.rf-hospital-v1) .zy-gallery-viewer .zy-gallery-prev{left:12px;top:calc(50% - 22px)}
:where(.rf-hospital-v1) .zy-gallery-viewer .zy-gallery-next{right:12px;top:calc(50% - 22px)}
:where(.rf-hospital-v1) .zy-gallery-viewer [hidden]{display:none!important}
@media(max-width:600px){
:where(.rf-hospital-v1) .zy-gallery-viewer{padding:64px 12px 84px}
:where(.rf-hospital-v1) .zy-gallery-viewer .zy-gallery-image{max-height:calc(100vh - 200px);max-height:calc(100dvh - 200px);border-width:3px}
:where(.rf-hospital-v1) .zy-gallery-viewer .zy-gallery-prev,
:where(.rf-hospital-v1) .zy-gallery-viewer .zy-gallery-next{top:auto;bottom:20px}
:where(.rf-hospital-v1) .zy-gallery-viewer .zy-gallery-prev{left:calc(50% - 56px)}
:where(.rf-hospital-v1) .zy-gallery-viewer .zy-gallery-next{right:calc(50% - 56px)}
:where(.rf-hospital-v1) .zy-gallery-viewer .zy-gallery-caption{gap:8px;font-size:12px}
:where(.rf-hospital-v1) .zy-gallery-viewer .zy-gallery-status{bottom:72px}}

/* 对齐老站 .ruifox-list-image001：hover 放大改为 0.5s 平滑过渡（老站 .inner-img img transition .5s） */
:where(.rf-hospital-v1) .list-image001 .img-item a.img-box .rfh_img .inner-img img{transition:transform .5s ease}
