.sf-range-gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:2px;background:#fff;border-radius:3px;overflow:hidden}
.sf-range-tile{position:relative;background:#000;color:#fff;display:flex;flex-direction:column}
.sf-gallery-main{display:flex;flex:1;flex-direction:column;color:#fff}
.sf-gallery-scene{position:relative;height:390px;overflow:hidden;background:#000}
.sf-gallery-scene>img{height:100%;width:100%;object-fit:cover;transition:transform 1s cubic-bezier(.22,1,.36,1)}
.sf-gallery-scene:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,#0004 0%,transparent 35%,#000c 100%);pointer-events:none}
.sf-gallery-main:hover img{transform:scale(1.06)}
.sf-gallery-tag{position:absolute;top:22px;left:26px;z-index:1;font-size:9px;font-weight:550;letter-spacing:.03em;background:#000a;padding:7px 11px}
.sf-gallery-title{position:absolute;z-index:1;left:28px;right:28px;bottom:25px}
.sf-gallery-title h3{font-size:25px;line-height:1.15;margin:0 0 10px;letter-spacing:-.04em}
.sf-gallery-title>span{font-size:8px;color:#fff9;font-weight:400}
.sf-gallery-description{padding:26px 28px 0;flex:1;display:flex;flex-direction:column}
.sf-gallery-description>p{font-size:12px;line-height:1.8;color:#ccc;font-weight:400;min-height:65px;max-width:370px}
.sf-gallery-description dl{font-size:10px;line-height:1.8;margin:24px 0;flex:1}
.sf-gallery-description dl>div{display:grid;grid-template-columns:85px 1fr;gap:12px;padding:9px 0;border-top:1px solid #fff2}
.sf-gallery-description dt{color:#888;font-weight:400;font-size:9px}.sf-gallery-description dd{margin:0;color:#ddd;font-weight:500}
.sf-gallery-actions{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:0 28px 27px}
.sf-gallery-inspect,.sf-gallery-add{border:0;background:none;color:#fff;font-size:10px;font-weight:650;padding:6px 0;cursor:pointer;display:flex;gap:12px;align-items:center}
.sf-gallery-inspect span{font-size:15px;color:#fc0}.sf-gallery-add{color:#fc0;border-bottom:1px solid #fc05}.sf-gallery-add:hover{border-color:#fc0}
.sf-range-tile:after{content:"";position:absolute;inset:auto 0 0;height:3px;background:#fc0;transform:scaleX(0);transform-origin:left;transition:transform .5s var(--sf-ease)}.sf-range-tile:hover:after,.sf-range-tile:focus-within:after{transform:scaleX(1)}
.sf-gallery-caption{display:flex;justify-content:space-between;align-items:center;gap:30px;padding-top:23px}.sf-gallery-caption>p{font-size:10px;font-weight:400;color:#555}.sf-gallery-caption .sf-link{font-size:11px}
@media(max-width:1300px){.sf-gallery-scene{height:340px}.sf-gallery-title h3{font-size:23px}.sf-gallery-description{padding:23px 23px 0}.sf-gallery-title{left:23px;right:23px}.sf-gallery-tag{left:23px}.sf-gallery-actions{padding-inline:23px}.sf-gallery-description dl>div{grid-template-columns:70px 1fr;gap:8px}}
@media(max-width:1000px){.sf-gallery-title h3{font-size:21px}.sf-gallery-title{left:20px;right:20px;bottom:20px}.sf-gallery-tag{left:20px;top:20px;font-size:8px}.sf-gallery-description{padding:22px 20px 0}.sf-gallery-description>p{font-size:11px;min-height:83px}.sf-gallery-description dl>div{display:block}.sf-gallery-description dd{margin-top:3px}.sf-gallery-actions{padding:0 20px 25px;gap:15px;align-items:flex-start;flex-direction:column}.sf-gallery-scene{height:320px}}
@media(max-width:700px){.sf-range-gallery{grid-template-columns:1fr;gap:25px;background:#fff}.sf-gallery-scene{height:350px}.sf-gallery-title h3{font-size:26px;white-space:nowrap}.sf-gallery-title{left:24px;right:24px;bottom:24px}.sf-gallery-tag{left:24px;top:24px;font-size:9px}.sf-gallery-description{padding:23px 24px 0}.sf-gallery-description>p{font-size:12px;min-height:0}.sf-gallery-description dl{margin:20px 0}.sf-gallery-description dl>div{display:grid;grid-template-columns:85px 1fr;gap:12px}.sf-gallery-description dd{margin:0}.sf-gallery-actions{padding:0 24px 25px;flex-direction:row;align-items:center;gap:20px}.sf-gallery-caption{display:block;padding-top:20px}.sf-gallery-caption>p{font-size:9px}.sf-gallery-caption .sf-link{margin-top:13px}}
@media(max-width:360px){.sf-gallery-title h3{font-size:23px}.sf-gallery-title{left:20px;right:20px}.sf-gallery-description{padding-inline:20px}.sf-gallery-actions{padding-inline:20px}.sf-gallery-scene{height:315px}}
@media(prefers-reduced-motion:reduce){.sf-gallery-main:hover img{transform:none}.sf-range-gallery *{transition:none!important}}

@media(min-width:701px) and (max-width:850px){.sf-gallery-title{left:16px;right:16px}.sf-gallery-title h3{font-size:18px;white-space:nowrap}}

@media (max-width: 850px) {
  .sf-gallery-title h3 {
    white-space: normal;
    overflow-wrap: anywhere;
  }
}
