/* the-reporter-child sidebar widget styles */

.hp-content-rail__aside .hp-widget {
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: 12px;
	padding: 20px;
	margin-bottom: 20px;
}

.hp-content-rail__aside .hp-widget__heading {
	padding: 0;
	margin-bottom: 16px;
	border: none;
}

.hp-content-rail__aside .hp-widget__title {
	font-size: 16px;
	font-weight: 700;
	color: var(--deep);
	margin: 0;
	padding: 0;
	text-transform: none;
}

/* Trending Widget */
.hp-trending-item {
	display: flex;
	gap: 12px;
	padding: 12px 0;
	border-bottom: 1px solid var(--line);
}

.hp-trending-item:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.hp-trending-item__number {
	font-size: 28px;
	font-weight: 800;
	color: var(--accent);
	line-height: 1;
	min-width: 40px;
}

.hp-trending-item__content {
	flex: 1;
}

.hp-trending-item__category {
	font-size: 11px;
	font-weight: 700;
	color: var(--accent);
	text-transform: uppercase;
	display: inline-block;
	margin-bottom: 4px;
}

.hp-trending-item__title {
	font-size: 14px;
	font-weight: 700;
	color: var(--deep);
	line-height: 1.4;
	display: block;
	text-decoration: none;
}

.hp-trending-item__title:hover {
	color: var(--accent);
}

.hp-trending-item__meta {
	font-size: 11px;
	color: var(--muted);
	margin-top: 4px;
}

/* Weather Widget */
.hp-weather-main {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 4px;
}

.hp-weather-icon {
	font-size: 40px;
}

.hp-weather-temp {
	font-size: 36px;
	font-weight: 700;
	color: var(--deep);
}

.hp-weather-desc {
	font-size: 13px;
	color: var(--muted);
	margin-bottom: 12px;
}

.hp-weather-details {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 8px;
	padding-top: 12px;
	border-top: 1px solid var(--line);
}

.hp-weather-detail {
	text-align: center;
}

.hp-weather-detail span:first-child {
	display: block;
	font-size: 10px;
	color: var(--muted);
	margin-bottom: 2px;
}

.hp-weather-detail span:last-child {
	display: block;
	font-size: 12px;
	font-weight: 600;
	color: var(--deep);
}

/* Categories Widget */
.hp-categories-list {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.hp-categories-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px 12px;
	border-radius: 6px;
	text-decoration: none;
	background: var(--soft);
	transition: background 0.2s;
}

.hp-categories-item:hover {
	background: var(--accent);
}

.hp-categories-item:hover .hp-categories-item__name {
	color: #fff;
}

.hp-categories-item:hover .hp-categories-item__count {
	background: rgba(255,255,255,0.2);
	color: #fff;
}

.hp-categories-item__name {
	font-size: 13px;
	font-weight: 600;
	color: var(--deep);
}

.hp-categories-item__count {
	font-size: 11px;
	font-weight: 700;
	color: var(--muted);
	background: var(--line);
	padding: 2px 8px;
	border-radius: 10px;
}

/* Social Widget */
.hp-sidebar-social {
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: 12px;
	padding: 20px;
	margin-bottom: 20px;
}

.hp-social-list {
	display: flex;
	gap: 8px;
	justify-content: center;
}

.hp-social-link-item {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	background: var(--soft);
	border-radius: 12px;
	color: var(--deep);
	text-decoration: none;
	transition: all 0.2s;
}

.hp-social-link-item:hover {
	background: var(--accent);
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(215, 36, 47, 0.2);
}

.hp-social-link-item .hp-icon {
	width: 20px;
	height: 20px;
}

/* Newsletter Widget */
.hp-newsletter-widget {
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: 12px;
	padding: 20px;
	margin-bottom: 20px;
}

.hp-newsletter-text {
	font-size: 13px;
	color: var(--muted);
	margin: 0 0 12px;
	line-height: 1.5;
}

.hp-newsletter-form__row {
	display: flex;
	gap: 8px;
}

.hp-newsletter-form__row input[type="email"] {
	flex: 1;
	padding: 10px 14px;
	border: 1px solid var(--line);
	border-radius: 8px;
	font-size: 13px;
	background: var(--soft);
	outline: none;
	transition: border-color 0.2s;
}

.hp-newsletter-form__row input[type="email"]:focus {
	border-color: var(--accent);
}

.hp-newsletter-form__row button {
	background: var(--accent);
	color: #fff;
	border: none;
	border-radius: 8px;
	padding: 10px 16px;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
	transition: background 0.2s;
}

.hp-newsletter-form__row button:hover {
	background: var(--deep);
}

@media (max-width: 1024px) {
	.hp-content-rail__aside .hp-widget {
		padding: 16px;
	}

	.hp-weather-details {
		grid-template-columns: 1fr 1fr 1fr;
	}

	.hp-trending-item__number {
		font-size: 24px;
		min-width: 36px;
	}
}
