#item-13{--main-color:#f44336;--mega-hover-color:#f44336;--tag-bg:#f44336}#item-14{--main-color:#2196f3;--mega-hover-color:#2196f3;--tag-bg:#2196f3}#HTML11{--main-color:#03a9f4;--tag-bg:#03a9f4}#HTML14{--main-color:#ff5722;--title-hover-color:#ff5722;--tag-bg:#ff5722;--widget-dash-color:#ff5722}#HTML7{--main-color:#ffc107;--title-hover-color:#ffc107;--tag-bg:#ffc107;--widget-dash-color:#ffc107}#HTML8{--main-color:#03a9f4;--title-hover-color:#03a9f4;--tag-bg:#03a9f4;--widget-dash-color:#03a9f4}#HTML13{--main-color:#e91e63;--title-hover-color:#e91e63;--tag-bg:#e91e63;--widget-dash-color:#e91e63}#HTML15{--main-color:#f50000;--title-hover-color:#f50000;--tag-bg:#f50000;--widget-dash-color:#f50000}#HTML21{--main-color:#8bc34a;--title-hover-color:#8bc34a;--tag-bg:#8bc34a;--widget-dash-color:#8bc34a}#HTML20{--main-color:#ff9800;--title-hover-color:#ff9800;--tag-bg:#ff9800;--widget-dash-color:#ff9800}#HTML10{--main-color:#2196f3;--title-hover-color:#2196f3;--tag-bg:#2196f3;--widget-dash-color:#2196f3}#HTML12{--main-color:#673ab7;--title-hover-color:#673ab7;--tag-bg:#673ab7;--widget-dash-color:#673ab7}#HTML5{--main-color:#ff5722;--title-hover-color:#ff5722;--tag-bg:#ff5722;--widget-dash-color:#ff5722}#HTML16{--main-color:#ff5722;--title-hover-color:#ff5722;--tag-bg:#ff5722;--widget-dash-color:#ff5722}

.theiaStickySidebar:after {content: ""; display: table; clear: both;}

.demo-cta {
	position: fixed;
	top: 195px;
	right: 20px;
	z-index: 999;
	display: flex;
	flex-direction: column;
	gap: 12px;
	width: 66px;
}

.demo-cta-link {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 66px;
	height: 66px;
	border-radius: 2px;
	background: #202024;
	color: #f8f8fb;
	font-size: 14px;
	font-weight: 500;
	line-height: 1;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.16);
	transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

.demo-cta-link svg {
	width: 24px;
	height: 24px;
	margin-bottom: 6px;
	fill: currentColor;
}

.demo-cta-link:hover {
	background: var(--main-color);
	color: #fff;
	transform: translateX(-2px);
}

body.darkmode .demo-cta-link {
	background: #2a2a31;
	color: #f8f8fb;
}

body.darkmode .demo-cta-link:hover {
	background: var(--main-color);
}

@media screen and (max-width: 1100px) {
	.demo-cta {
		right: 12px;
	}
}

@media screen and (max-width: 980px) {
	.demo-cta {
		display: none;
	}
}

/* Event banner: match the same 0 20px padding applied to other wrappers at ≤1123px */
@media only screen and (max-width: 1123px) {
    #events-wrapper .container {
        padding: 0 20px;
    }
}

/* Overlay captions (.entry-info) render on top of the thumbnail. The default
   scrim only reaches rgba(0,0,0,.65), so white text becomes unreadable over
   light/white photos. Strengthen the dark gradient and the text-shadow so the
   title/meta stay legible over ANY image. Applies to every overlay grid. */
.entry-info {
	/* Smooth fade reserved in the top 38px (above the text), then solid 0.55 over
	   the whole caption so the title/meta always get the full darkness. */
	padding-top: 38px;
	background: linear-gradient(to bottom,
		rgba(0, 0, 0, 0) 0,
		rgba(0, 0, 0, 0.55) 38px);
}
.entry-info .entry-title,
.entry-info .entry-title a {
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85);
}
.entry-info .entry-meta,
.entry-info .entry-meta .author-name {
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

/* Footer: categories column narrower so article columns get more room */
#footer-wrapper .footer-widgets {
	grid-template-columns: 180px 1fr 1fr;
}

@media only screen and (max-width: 880px) {
	#footer-wrapper .footer-widgets {
		grid-template-columns: 1fr;
	}
}

/* Featured headlines with a single Hot News article: the theme's item-0 uses height:100%,
   which collapses when the featured-grid sibling is absent — leaving an empty 402px widget.
   Stretch the grid to the widget-content's (responsive) height and give it one full row so
   item-0's height:100% resolves. No fixed heights → follows every existing breakpoint. */
.featured-items.featured-single {
	grid-template-columns: 1fr;
	grid-template-rows: 1fr;
	align-self: stretch;
}

/* Featured headlines with exactly TWO Hot News: the theme's featured-grid holds a single
   200px item, leaving empty space above/below the right column. Make it two equal full-height
   columns. Desktop only (min-width:681px) — below that the theme switches the featured section
   to a single-column, horizontally-scrolling layout that must be left intact. */
@media only screen and (min-width: 681px) {
	.featured-items.featured-double {
		grid-template-rows: 1fr;
		align-self: stretch;
	}
	.featured-items.featured-double .featured-grid {
		grid-template-rows: 1fr;
	}
	.featured-items.featured-double .featured-grid .featured-item {
		height: 100%;
	}
}

/* Featured headlines with exactly THREE Hot News: the theme spans item-1 full-width but leaves
   item-2 in a single column, leaving an empty bottom-right cell (the missing 4th article).
   Make item-2 span full-width too, so the right column becomes two balanced full-width rows.
   Desktop only (min-width:681px) — same reason as featured-double. */
@media only screen and (min-width: 681px) {
	.featured-items.featured-triple .featured-grid .featured-item.item-2 {
		grid-column: 1 / 3;
	}
}

/* Featured headlines with FIVE Hot News: keep the exact 4-article layout (big item-0 left +
   right-column grid), but fill the right column with FOUR equal cards in a 2×2 grid instead of
   the theme's 1-wide + 2. Cancel the full-width span on item-1 so all four cards are the same
   size (two rows of 200px = 402px, matching item-0's height). Desktop only (min-width:681px). */
@media only screen and (min-width: 681px) {
	.featured-items.featured-quint .featured-grid .featured-item.item-1 {
		grid-column: auto;
	}
}
