.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%));
}


/* ---- 2.0.0 ---- */

.WIYCW-design-card .WIYCW-forecast-rain,
.WIYCW-design-card .WIYCW-forecast-wind{
	display: flex;
	align-items: center;
	white-space: nowrap;
}

.WIYCW-message{
	padding: 1em 0.8em;
	font-size: 0.85em;
	text-align: center;
	opacity: 0.85;
}

.WIYCW-message-admin{
	margin-top: 0.7em;
	padding: 0.6em 0.8em;
	border: 1px dashed currentColor;
	border-radius: 8px;
	font-size: 0.9em;
	text-align: left;
}

.WIYCW-message-who{
	opacity: 0.7;
}

.WIYCW-footer:empty{
	display: none;
}

/* ---- The card design: a sky that tells the weather, the facts and the days on white ---- */

.WIYCW-design-card{
	max-width: 440px;
	border: 0 !important;
	border-radius: 16px;
	background: #fff !important;
	color: #1f2d3a !important;
	box-shadow: 0 1px 2px rgba(16, 42, 67, 0.08), 0 8px 24px rgba(16, 42, 67, 0.12);
	font-family: inherit;
	line-height: 1.35;
	text-align: left;
}

.WIYCW-design-card *,
.WIYCW-design-card *::before,
.WIYCW-design-card *::after{
	box-sizing: border-box;
}

.WIYCW-design-card img{
	display: block;
	max-width: none;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	background: none;
}

.WIYCW-design-card .WIYCW-content{
	min-height: 11em;
}

.WIYCW-skycard{
	color: #fff;
	background-color: #00abe9;
	background-image: linear-gradient(0deg, var(--wiycw-sky-lo, #66cbf3), var(--wiycw-sky-hi, #00abe9) 45%, var(--wiycw-sky-top, var(--wiycw-sky-hi, #00abe9)));
	overflow: hidden;
}

/* the night darkens the sky; a clear one is navy, a covered one slate */
.WIYCW-skycard.WIYCW-is-night{
	background-image: linear-gradient(0deg, var(--wiycw-sky-lo, #2c5c8d), var(--wiycw-sky-hi, #163e6c) 45%, var(--wiycw-sky-top, #0d2849));
}

.WIYCW-card-head{
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75em;
	padding: 0.9em 1em 0;
}

.WIYCW-card-title{
	min-width: 0;
	overflow: hidden;
	font-size: 1.05em;
	font-weight: 700;
	text-overflow: ellipsis;
	white-space: nowrap;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.WIYCW-units{
	display: flex;
	flex-shrink: 0;
	padding: 2px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.22);
}

.WIYCW-wrapper.WIYCW-design-card .WIYCW-units button.WIYCW-units-btn{
	width: auto;
	min-width: 2.4em;
	height: auto;
	min-height: 0;
	margin: 0;
	letter-spacing: normal;
	text-decoration: none;
	text-shadow: none;
	padding: 0.2em 0.55em;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: #fff;
	font: inherit;
	font-size: 0.8em;
	font-weight: 600;
	line-height: 1.4;
	cursor: pointer;
	box-shadow: none;
	text-transform: none;
}

.WIYCW-wrapper.WIYCW-design-card .WIYCW-units button.WIYCW-units-btn[aria-pressed="true"]{
	background: #fff;
	color: #004f78;
}

.WIYCW-wrapper.WIYCW-design-card .WIYCW-units button.WIYCW-units-btn:focus-visible{
	outline: 2px solid #fff;
	outline-offset: 2px;
}

.WIYCW-card-body{
	padding: 0.4em 1em 1.1em;
}

.WIYCW-card-main{
	display: flex;
	align-items: center;
	gap: 0.6em;
}

.WIYCW-design-card .WIYCW-card-icon{
	flex-shrink: 0;
	filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.22));
}

.WIYCW-card-temp{
	font-size: 3.6em;
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.02em;
	text-shadow: 0 2px 6px rgba(0, 0, 0, 0.22);
}

.WIYCW-card-desc{
	margin-top: 0.35em;
	font-size: 0.95em;
	font-weight: 600;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.WIYCW-card-range{
	margin-top: 0.15em;
	font-size: 0.85em;
	opacity: 0.95;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.WIYCW-card-facts{
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(7.5em, 1fr));
	gap: 0.6em 0.5em;
	padding: 0.85em 1em;
	border-bottom: 1px solid #edf1f5;
}

.WIYCW-fact{
	display: flex;
	align-items: center;
	gap: 0.5em;
	min-width: 0;
}

.WIYCW-design-card .WIYCW-fact-icon{
	flex-shrink: 0;
	opacity: 0.6;
}

.WIYCW-fact-text{
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.WIYCW-fact-label{
	color: #62748a;
	font-size: 0.7em;
	line-height: 1.2;
}

.WIYCW-fact-value{
	font-size: 0.85em;
	font-weight: 600;
}

.WIYCW-card-hours{
	/* as many hours as fit, sharing the width; the rest are not shown (no scroll bar) */
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(3.3em, 1fr));
	grid-template-rows: auto;
	grid-auto-rows: 0;
	padding: 0.7em 0.6em;
	border-bottom: 1px solid #edf1f5;
	overflow: hidden;
}

.WIYCW-hour{
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.2em;
	min-height: 0;
	overflow: hidden;
}

.WIYCW-hour-time{
	padding-top: 0.2em;
	color: #62748a;
	font-size: 0.72em;
	white-space: nowrap;
}

.WIYCW-hour-temp{
	font-size: 0.9em;
	font-weight: 700;
}

.WIYCW-hour-pop{
	min-height: 1.2em;
	padding-bottom: 0.2em;
	color: #6b7b8e;
	font-size: 0.7em;
}

.WIYCW-hour-pop.is-wet,
.WIYCW-day-pop.is-wet{
	color: #0077b6;
	font-weight: 600;
}

.WIYCW-card-days{
	padding: 0.3em 1em 0.5em;
}

.WIYCW-day{
	display: flex;
	align-items: center;
	gap: 0.5em;
	min-height: 2.6em;
	border-bottom: 1px solid #f1f4f7;
}

.WIYCW-day:last-child{
	border-bottom: 0;
}

.WIYCW-day-name{
	flex: 0 0 4.6em;
	overflow: hidden;
	font-size: 0.85em;
	font-weight: 600;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.WIYCW-day-wet{
	display: flex;
	flex: 0 0 3.2em;
	flex-direction: column;
	color: #6b7b8e;
	font-size: 0.7em;
	line-height: 1.25;
	white-space: nowrap;
}

.WIYCW-day-min,
.WIYCW-day-max{
	flex: 0 0 2.2em;
	font-size: 0.85em;
	white-space: nowrap;
}

.WIYCW-day-min{
	color: #62748a;
	text-align: right;
}

.WIYCW-day-max{
	font-weight: 700;
}

.WIYCW-day-track{
	position: relative;
	flex: 1 1 2.5em;
	min-width: 2em;
	height: 6px;
	border-radius: 999px;
	background: #edf1f5;
	overflow: hidden;
}

.WIYCW-day-bar{
	position: absolute;
	top: 0;
	bottom: 0;
	min-width: 6px;
	border-radius: 999px;
	background: linear-gradient(90deg, #38b6e8, #ffb224);
}

.WIYCW-day-wind{
	flex: 0 0 auto;
	color: #62748a;
	font-size: 0.72em;
	white-space: nowrap;
}

.WIYCW-card-updated{
	padding: 0 1em 0.6em;
	color: #8a99ab;
	font-size: 0.7em;
	text-align: right;
}

.WIYCW-design-card .WIYCW-message{
	padding: 2.5em 1em;
	color: #62748a;
}

.WIYCW-design-card .WIYCW-footer{
	padding: 0.6em 1em 0.8em;
	border-top: 1px solid #edf1f5;
	font-size: 0.78em;
	text-align: center;
}

.WIYCW-design-card .WIYCW-footer,
.WIYCW-design-card .WIYCW-footer a,
.WIYCW-design-card .WIYCW-footer a:visited{
	color: #006aa6 !important;
}

.WIYCW-design-card .WIYCW-footer a:hover{
	text-decoration: underline;
}

/* the box of the card before its data arrives */
.WIYCW-card-waiting{
	height: 11em;
	border-radius: 16px 16px 0 0;
	background: linear-gradient(0deg, #66cbf3, #00abe9 45%);
}

/* two shortcodes one after the other do not touch when one of them is a sky card (each comes in its own box, with
   or without a script in between); two classic ones stay as they always were */
.WIYCW-shortcode + .WIYCW-shortcode > .WIYCW-design-card,
.WIYCW-shortcode + script + .WIYCW-shortcode > .WIYCW-design-card,
.wp-block-wiycw-weather + .wp-block-wiycw-weather > .WIYCW-shortcode > .WIYCW-design-card{
	margin-top: 1.25em;
}

/* apart: a browser without :has() drops a whole rule that names it */
.WIYCW-shortcode:has(> .WIYCW-design-card) + .WIYCW-shortcode > .WIYCW-wrapper,
.WIYCW-shortcode:has(> .WIYCW-design-card) + script + .WIYCW-shortcode > .WIYCW-wrapper{
	margin-top: 1.25em;
}

/* the card measures itself: what follows depends on its own width, not on the window */
.WIYCW-design-card{
	container-type: inline-size;
	/* a container has no width of its own: inside a parent that takes the width of its content (flex, grid, a table
	   cell) it would measure nothing. This is also the least the parent can shrink it to, so it is the narrowest the
	   card looks right, not its full width */
	contain-intrinsic-inline-size: 20em;
}

/* the days measure themselves too: in the horizontal card they have a column, not the whole card */
.WIYCW-card-days{
	container: wiycwdays / inline-size;
}

/* a browser with containers but without that width: better no container than a card of no width */
@supports not (contain-intrinsic-inline-size: 1px){
	.WIYCW-design-card,
	.WIYCW-card-days{
		container-type: normal;
	}
}

/* a narrow sidebar: the days give up, in this order, the wind, the bar and the rain, and the figures stay */
@container wiycwdays (max-width: 21em){
	.WIYCW-day-wind{
		display: none;
	}
}

@container wiycwdays (max-width: 16.5em){
	.WIYCW-day-track{
		display: none;
	}

	.WIYCW-day-name{
		flex: 1 1 2.5em;
		min-width: 2.5em;
	}
}

@container wiycwdays (max-width: 13em){
	.WIYCW-day-wet{
		display: none;
	}
}

@container (max-width: 18.5em){
	.WIYCW-card-main{
		flex-wrap: wrap;
	}
}

/* the horizontal card: with room, the sky on the left and the facts, the hours and the days on the right; without it
   (a sidebar, a phone) it stacks like the vertical one */
.WIYCW-design-card[data-layout="horizontal"]{
	max-width: 780px;
}

@container (min-width: 540px){
	.WIYCW-design-card[data-layout="horizontal"] .WIYCW-content{
		display: grid;
		grid-template-columns: minmax(230px, 40%) minmax(0, 1fr);
		grid-auto-rows: min-content;
		align-content: start;
	}

	.WIYCW-design-card[data-layout="horizontal"] .WIYCW-content > *{
		grid-column: 2;
	}

	.WIYCW-design-card[data-layout="horizontal"] .WIYCW-skycard{
		grid-column: 1;
		grid-row: 1 / span 6;
		grid-template-rows: auto 1fr;
		min-height: 100%;
	}

	.WIYCW-design-card[data-layout="horizontal"] .WIYCW-card-body{
		display: flex;
		flex-direction: column;
		justify-content: center;
		padding-bottom: 1.6em;
	}

	.WIYCW-design-card[data-layout="horizontal"] .WIYCW-card-main{
		flex-wrap: wrap;
	}

	.WIYCW-design-card[data-layout="horizontal"] .WIYCW-card-temp{
		font-size: 4em;
	}

	.WIYCW-design-card[data-layout="horizontal"] .WIYCW-card-waiting{
		grid-column: 1 / -1;
	}

	.WIYCW-design-card[data-layout="horizontal"] .WIYCW-message{
		grid-column: 1 / -1;
	}
}
