.sp-gallery {
--sp-gallery-size: 200px;
margin: 0;
} .sp-gallery--grid {
--sp-gallery-gap: 10px;
display: grid;
gap: var(--sp-gallery-gap);
grid-template-columns: repeat(
auto-fill,
minmax(
max(
var(--sp-gallery-min, 150px),
calc((100% - (var(--sp-gallery-cols, 3) - 1) * var(--sp-gallery-gap)) / var(--sp-gallery-cols, 3))
),
1fr
)
);
} .sp-gallery--slider {
display: flex;
gap: 10px;
overflow-x: auto;
scroll-snap-type: x mandatory;
-webkit-overflow-scrolling: touch;
padding-bottom: 2px;
}
.sp-gallery--slider .sp-gallery__item {
flex: 0 0 var(--sp-gallery-min, 200px);
scroll-snap-align: start;
} .sp-gallery__item {
display: block;
position: relative;
overflow: hidden;
border-radius: 6px;
aspect-ratio: 4 / 3;
cursor: zoom-in;
background: #f1f2f4;
line-height: 0;
} @supports not (aspect-ratio: 1) {
.sp-gallery__item { height: 0; padding-top: 75%; }
.sp-gallery__item > img { position: absolute; inset: 0; }
}
.sp-gallery__item > img {
width: 100%;
height: 100%;
-o-object-fit: cover;
object-fit: cover;
display: block;
transition: transform 0.2s ease;
}
.sp-gallery__item:hover > img {
transform: scale(1.05);
} .sp-gallery__item::after {
content: "";
position: absolute;
top: 50%;
left: 50%;
width: 46px;
height: 46px;
transform: translate(-50%, -50%) scale(0.7);
border-radius: 50%;
background: rgba(17, 24, 39, 0.55) no-repeat center / 22px 22px
url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%23fff%27 stroke-width=%272.2%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Ccircle cx=%2710.5%27 cy=%2710.5%27 r=%276.5%27/%3E%3Cline x1=%2721%27 y1=%2721%27 x2=%2715.4%27 y2=%2715.4%27/%3E%3C/svg%3E");
opacity: 0;
transition: opacity 0.18s ease, transform 0.18s ease;
pointer-events: none;
z-index: 1;
}
.sp-gallery__item:hover::after {
opacity: 1;
transform: translate(-50%, -50%) scale(1);
}
.sp-gallery__item:focus-visible {
outline: 2px solid var(--w2dc-primary, var(--w2dc-primary, #2271b1));
outline-offset: 2px;
} .sp-gallery__item--video .sp-gallery__video-badge {
position: absolute;
top: 50%;
left: 50%;
width: 46px;
height: 46px;
transform: translate(-50%, -50%);
border-radius: 50%;
background: rgba(17, 24, 39, 0.6) no-repeat center / 20px 20px
url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27%23fff%27%3E%3Cpath d=%27M8 5v14l11-7z%27/%3E%3C/svg%3E");
pointer-events: none;
z-index: 1;
transition: transform 0.18s ease;
}
.sp-gallery__item--video:hover .sp-gallery__video-badge {
transform: translate(-50%, -50%) scale(1.08);
} .sp-gallery__item--video::after {
display: none;
} .sp-gallery__caption {
position: absolute;
left: 0;
right: 0;
bottom: 0;
margin: 0;
padding: 14px 8px 6px;
background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0));
color: #fff;
font-size: 12px;
line-height: 1.3;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
pointer-events: none;
}.WIYCW-wrapper{
width: 100%;
max-width: 700px;
overflow: hidden;
box-sizing: border-box;
font-size: 15px; 
}
.WIYCW-text-shadow{
text-shadow: 0 1px 1px rgb(0 0 0 / 80%);
}
.WIYCW-header{
width: 100%;
text-align: center;
font-size: 1em;
padding: 0.6em;
padding-bottom: 0;
font-weight: bold;
}
.WIYCW-footer{
width: 100%;
text-align: center;
font-size: 1em;
padding: 0.5em;
font-size: 0.75em;
}
.WIYCW-wrapper a, .WIYCW-wrapper a:active, .WIYCW-wrapper a:hover, .WIYCW-wrapper a:visited, .WIYCW-wrapper a:focus{
text-decoration: none;
box-shadow: unset;
}
.WIYCW-now-row1{
padding-top: 0.7em;
width: 100%;
align-items: center;
display: flex;
flex-wrap: wrap;
font-size: 1em;
}
.WIYCW-now-row-info{
padding-top: 0.9em;
display: flex;
flex-wrap: wrap;
font-size: 1em;
}
.WIYCW-now-row-info-col{
padding: 0.3em;
font-size: 0.8em;
justify-content: center;
display: flex;
box-sizing: border-box;
flex: 1 0 50%;
align-items: center;
white-space: nowrap;
}
.WIYCW-now-icon{
display: flex;
flex: 1 0 50%;
align-items: center;
text-align: center;
justify-content: center;
}
.WIYCW-now-temp{
display: flex;
flex: 1 0 50%;
line-height: 100%;
align-items: center;
text-align: center;
font-size: 3.5em;
font-weight: bold;
justify-content: center;
}
.WIYCW-forecast-vertical{
padding-top: 0.7em;
}
.WIYCW-forecast-horizontal{
padding-top: 0.4em;
}
.WIYCW-forecast-vertical .WIYCW-forecast-row{
width: 100%;
align-items: center;
display: flex;
flex-direction: row;
justify-content: space-between;
border-top: 1px solid rgba(0, 0, 0, 0.1);
padding: 0.6em 2px;
width: 100%;
font-size: 1em;
}
.WIYCW-forecast-vertical .WIYCW-forecast-row:last-child{
border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.WIYCW-forecast-vertical .WIYCW-col-1 {
justify-content: center;
display: flex;
flex: 1;
align-items: center;
font-size: 0.75em;
}
.WIYCW-forecast-vertical .WIYCW-col-2 {
justify-content: center;
display: flex;
flex: 2;
font-size: 0.75em;
}
.WIYCW-forecast-horizontal {
box-sizing: border-box;
display: flex;
flex-wrap: wrap;
flex-direction: row;
justify-content: center;
margin: 0 0 -1px 0; 
text-align: center;
}
.WIYCW-forecast-horizontal .WIYCW-forecast-row{
font-size: 1em;
box-sizing: border-box;
flex: 0 0 25%;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
justify-content: space-between;
padding: 8px;
border-style: solid;
border-width: 0 1px 0 0;
border-image: linear-gradient(180deg, rgba(2,0,36,0) 0%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0) 100%) 1 100%;
}
.WIYCW-forecast-horizontal .WIYCW-forecast-row:nth-child(4n) {
border: unset;
}
.WIYCW-forecast-horizontal .WIYCW-forecast-row:last-child {
border: unset;
}
.WIYCW-forecast-horizontal .WIYCW-col-1 {
display: flex;
white-space: nowrap;
font-size: 0.75em;
text-align: center;
align-items: center;
margin: 2px 0px;
}
.WIYCW-forecast-horizontal .WIYCW-col-2 {
display: flex;
white-space: nowrap;
font-size: 0.75em;
text-align: center;
align-items: center;
margin: 2px 0px;
}
.WIYCW-forecast-temp{
font-weight: bold;
}
.WIYCW-item-icon{
margin-right: 4px;
width: 11px;
height: 11px;
}
.WIYCW-icon-color-shadow{
filter: drop-shadow(0px 1px 1px rgb(0 0 0 / 80%));
}
.WIYCW-icon-dark{}
.WIYCW-icon-dark-shadow{
filter: drop-shadow(0px 1px 1px rgb(0 0 0 / 80%));
}
.WIYCW-icon-light{
filter: invert(100%);
}
.WIYCW-icon-light-shadow{
filter: invert(100%) drop-shadow(0px 1px 1px rgb(0 0 0 / 80%));
}