.weather-widget-wrapper {
	--orange-light: #eeaf30;
	--orange: #fe9b0c;
	--gray: #a3a7aa;
	
	cursor: pointer;
	position: relative;
	background-color: var(--orange-light);
}

.weather-widget-wrapper .weather-container {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.5rem;
	font-family: 'Barlow Condensed', sans-serif;
	font-weight: 600;
	padding: 1rem;
	font-size: 20px;
	margin: 0 auto;
}

.weather-widget-wrapper .top-section {
	display: grid;
	gap: 0.5rem;
	grid-template-columns: 1fr 1fr;
	text-align: center;
	text-transform: uppercase;
	background-color: #fff;
	padding: 1rem 3rem;
}

.weather-widget-wrapper .top-section .title {
	grid-column: span 2;
}

.weather-widget-wrapper .top-section .weather-icon { 
	grid-row: 2 / span 2;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 70px;	
}

.weather-widget-wrapper .top-section .weather-icon .wi {
	position: relative;
	top: 12px;
}

.weather-widget-wrapper .top-section .cond { grid-column-start: 2; }

.weather-widget-wrapper .top-section .temp { font-size: 32px; }

.weather-widget-wrapper .weather-icon { color: var(--orange-light); }


.weather-widget-wrapper .forecast-list {
	display: flex;
	align-items: stretch;
	justify-content: space-evenly;
	font-size: 20px;
	gap: 1px;
}

.weather-widget-wrapper .forecast-list .item {
	flex: 1;
	text-align: center;
	background-color: #fff;
	display: flex;
	flex-direction: column;
	padding: 0.5rem 4px;
}

.weather-widget-wrapper .forecast-list .item .weather-icon {
	margin: 10px 0;
	flex: 1 0 auto;
	font-size: 30px;
}

.weather-widget-wrapper .forecast-list .item .temp-wrapper .low {
	color: var(--gray);
}

@media (min-width: 769px) {
	.weather-widget-wrapper .weather-container {
		grid-template-columns: auto 1fr;
	}
	
	.weather-widget-wrapper .top-section .weather-icon {
		grid-row: span 1;
		font-size: 40px;
	}
	
	.weather-widget-wrapper .top-section .weather-icon .wi {
		position: relative;
		top: 5px;
	}
	/* for rainy, etc. days, the icon extends lower so it should align to the top */
	.weather-widget-wrapper .weather-icon .wi:not(.wi-day-cloudy),
	.weather-widget-wrapper .weather-icon .wi:not(.wi-day-sunny) {
		top: 0;
	}
	
	.weather-widget-wrapper .top-section .cond {
		grid-column-start: 1;
		grid-column: span 2;
	}
	
	.weather-widget-wrapper .forecast-list .item {
		justify-content: stretch;
		padding: 1rem 4px;
	}
	
	.weather-widget-wrapper .forecast-list .item .temp-wrapper {
		display: flex;
		flex-direction: row;
		justify-content: center;
	}
	
	.weather-widget-wrapper .forecast-list .item .temp-wrapper .high,
	.weather-widget-wrapper .forecast-list .item .temp-wrapper .low {
		padding: 2px 4px;
	}
	
	.weather-widget-wrapper .forecast-list .item .temp-wrapper .high::after {
		color: var(--gray);
		position: relative;
		content: "|";
		font-weight: normal;
		margin-left: 2px;
		display: inline;
	}
}

@media (min-width: 1025px) {
	.weather-widget-wrapper .weather-container {
		width: 75%;
		min-width: 720px;
	}
}

.weather-link-wrapper .weather-button {
	background-color: transparent;
	color: var(--orange-light);
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 10px;
	position: relative;
	z-index: 15;
}

.weather-link-wrapper.weather-nav > a.weather-link-class {
	padding: 10px;
}