/* View our town - local photo gallery (Explore Tugela Mouth) */
.views{padding:72px 0;background:#f6f3ee}
.views .sec-head{max-width:640px;margin:0 0 28px}
.views .sec-head .views-eyebrow{margin:0 0 10px;font-size:13px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:#b4612a}
.views .sec-head h2{margin:0 0 12px}
.views .sec-head p{margin:0;color:#4a5559;line-height:1.6}
.views-grid{display:grid;grid-template-columns:repeat(4,1fr);grid-auto-rows:190px;grid-auto-flow:dense;gap:10px;margin:0;padding:0;list-style:none}
.views-grid li{margin:0;position:relative;border-radius:12px;overflow:hidden;background:#d9d3c9}
.views-grid li.v-big{grid-column:span 2;grid-row:span 2}
.views-grid li.v-wide{grid-column:span 2}
.views-grid li.v-tall{grid-row:span 2}
.views-grid button{all:unset;display:block;width:100%;height:100%;cursor:zoom-in;position:relative}
.views-grid button:focus-visible{outline:3px solid #0b4f5c;outline-offset:-3px;border-radius:12px}
.views-grid img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .6s ease}
.views-grid button:hover img{transform:scale(1.035)}
.views-grid .v-cap{position:absolute;left:0;right:0;bottom:0;padding:28px 14px 11px;font-size:14px;line-height:1.3;color:#fff;background:linear-gradient(to top,rgba(0,0,0,.55),rgba(0,0,0,0));pointer-events:none}
.views-grid li.v-more{display:none}
.views-grid.all li.v-more{display:block}
.views-foot{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-top:18px}
.views-more{all:unset;cursor:pointer;padding:11px 20px;border-radius:999px;border:1.5px solid #0b4f5c;color:#0b4f5c;font-weight:600;font-size:15px}
.views-more:hover{background:#0b4f5c;color:#fff}
.views-more:focus-visible{outline:3px solid #b4612a;outline-offset:2px}
.views-credit{margin:0;font-size:14px;color:#5d676a}
.views-credit a{color:#0b4f5c}

/* lightbox */
.vlb{position:fixed;inset:0;z-index:9999;display:none;align-items:center;justify-content:center;background:rgba(12,18,20,.92);padding:56px 64px}
.vlb.open{display:flex}
.vlb figure{margin:0;max-width:100%;max-height:100%;display:flex;flex-direction:column;align-items:center}
.vlb img{max-width:100%;max-height:calc(100vh - 150px);border-radius:8px;display:block}
.vlb figcaption{margin-top:12px;color:#e9ecec;font-size:15px;text-align:center}
.vlb button{all:unset;position:absolute;cursor:pointer;color:#fff;width:46px;height:46px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:rgba(255,255,255,.12);font-size:26px;line-height:1}
.vlb button:hover{background:rgba(255,255,255,.24)}
.vlb button:focus-visible{outline:2px solid #fff}
.vlb .vlb-x{top:14px;right:14px}
.vlb .vlb-p{left:12px;top:50%;margin-top:-23px}
.vlb .vlb-n{right:12px;top:50%;margin-top:-23px}

.views-hint{display:none;margin:10px 0 0;font-size:13px;color:#6a7376}

/* tablet */
@media (max-width:900px){
  .views-grid{grid-template-columns:repeat(3,1fr);grid-auto-rows:170px}
  .views-grid li.v-big{grid-column:span 3}
  .views-grid li.v-wide{grid-column:span 2}
}

/* phone: its own layout - a swipeable strip after a lead photo */
@media (max-width:600px){
  .views{padding:52px 0}
  .views .sec-head{margin-bottom:20px}
  .views-grid{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:10px;margin:0 -18px;padding:0 18px 6px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
  .views-grid::-webkit-scrollbar{display:none}
  .views-grid li,.views-grid li.v-big,.views-grid li.v-wide,.views-grid li.v-tall{flex:0 0 78%;height:240px;scroll-snap-align:start}
  .views-grid li.v-tall{flex-basis:56%}
  .views-grid li:first-child{flex-basis:88%;height:300px}
  .views-hint{display:block}
  .views-grid li.v-more{display:block}
  .views-more{display:none}
  .views-foot{margin-top:6px}
  .vlb{padding:56px 8px 24px}
  .vlb .vlb-p,.vlb .vlb-n{top:auto;bottom:14px;margin-top:0}
  .vlb img{max-height:calc(100vh - 170px)}
}
