#wrapper { width: auto !important; max-width: 1200px; padding: 0 16px; box-sizing: border-box; }
.sg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
           gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.sg-card { margin: 0; min-width: 0; }
.sg-card a.sg-shot { display: block; text-decoration: none; position: relative; }
.sg-card img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; display: block;
               border-radius: 6px; background: #eef2f5; box-shadow: 0 1px 4px rgba(0,0,0,.25); }
.sg-offline { width: 100%; aspect-ratio: 16 / 9; border-radius: 6px; background: #eef2f5;
              border: 1px dashed #c3ced7; display: flex; align-items: center; justify-content: center;
              color: #8b98a4; font-size: .9rem; text-align: center; padding: 1rem; box-sizing: border-box; }
.sg-badge { position: absolute; top: .55rem; right: .55rem; font-size: .72rem; font-weight: 700;
            letter-spacing: .04em; padding: .2rem .5rem; border-radius: 3px; color: #fff;
            background: rgba(20,28,36,.78); text-transform: uppercase; }
.sg-badge.is-live { background: #1d8a4e; }
.sg-badge.is-old  { background: #b3701a; }
.sg-name { margin: .6rem 0 .15rem; font-size: 1.05rem; line-height: 1.3; }
.sg-name .sg-resort { font-weight: 700; }
.sg-name a { text-decoration: none; }
.sg-name a:hover { text-decoration: underline; }
.sg-meta { margin: 0; font-size: .82rem; line-height: 1.45; color: #6b7681; }
html, body { overflow-x: hidden; }
div#search_bar { max-width: none; padding: 4px 8px 5px; }
.cam_flag { margin-right: 4px; }
/* standard banner, run full width with the photo fading out at both ends */
div#headerimage.sg_banner { position: relative; height: 56px; margin: 0; padding: 0; overflow: hidden; }
div.sg_banner::before { content: ''; position: absolute; inset: 0; z-index: -1;
                        background: url(img/header_bg.jpg) no-repeat center 76% / cover;
                        -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
                        mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent); }
div.sg_banner a { display: block; height: 56px; padding-left: 12%; text-align: left; text-decoration: none;
                  font: bold 34px/52px Verdana, Geneva, sans-serif; letter-spacing: .5px; white-space: nowrap;
                  transform: scaleX(1.07); transform-origin: 0 0; }
div.sg_banner span { -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
                     filter: drop-shadow(0 0 1px rgba(0,0,0,.35)) drop-shadow(2px 3px 3px rgba(0,0,0,.65)); }
span.sg_banner_sg { color: #fff; background-image: linear-gradient(#fff 40%, #c9cdd3 95%); }
span.sg_banner_loc { color: #e8cf85; background-image: linear-gradient(#faf3d2 25%, #e3c77c 60%, #b38d3c 100%); margin-left: 5px; }
div#header { position: relative; z-index: 0; }
@media (max-width: 700px) {
  div.sg_banner a { font-size: 22px; padding-left: 12px; }
  div.sg_banner_long a { font-size: 18px; }
}
@media (max-width: 420px) {
  .sg-grid { grid-template-columns: 1fr; gap: 1.1rem; }
}
