/*
==============================================
	ALL ADVERTISE Classes
	3 Blocks:
	.ads, .ads_logo, ads_header
================================================
*/

/*
==============================================
	1. Main ADVERTISES within the content of pages
 	   Might content Images, Titles and Texts, with links
	Places: 
	- Top and Bottom of the aside column
 	- Within Text (for superior version)
 I================================================
*/
.ads {
	padding: 0;
	text-align: center;
}

.ads h5 {
	font-size: 0.8em;
	margin: 0;
	padding: 5px;
	text-align: right;
}

.ads .item,
.ads .common {
	border: 1px solid #e9e9e9;
	background: #fff;
	border-radius: 5px;
	margin: 0;
	margin: 2rem 0;
}

.ads ul,
.ads .common {
	margin: 1px 0;
}

.ads .item:first-of-type {
	margin-top: 0;
}

.ads h3 {
	margin: 0;
	padding: 0.5rem;
}

.ads img {
	display: block;
	width: 100%;
	height: auto;
	margin: 0 auto;
}

.ads ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ads .text {
	font-size: 0.95em !important;
	line-height: 1.4;
	padding: 0 4%
}

.ads>ul>li>a {
	position: relative;
	padding: 0 0 0 0.8em;
}

.ads>ul>li>a::before {
	content: "\2219";
	position: absolute;
	left: 0;
	top: 0.1em;
}

.ads ul li div {
	text-align: center;
}

.ads ul li div a {
	padding: 0;
}


/*
==============================================
	2. Logo ads
	Advertises on the right (left) of the site logo
	- Either an image or a Header with text, never both
================================================
*/

.ads_logo {
	padding: 0 1%;
	text-align: right;
	color: rgba(255, 255, 255, 0.9);
	display: none;
}

.ads_logo img {
	display: block;
	height: 2.5rem;
	width: auto;
	margin: 0.2rem 0 0.2rem auto;
}

.ads_logo h3,
.ads_logo h3 a {
	line-height: 100%;
	font-size: 1.25rem;
	margin: 0.4em 0;
	padding: 0;
	color: rgba(255, 255, 255, 0.8);
}

.ads_logo h3 a:hover {
	color: rgba(255, 255, 255, 1);
}

.ads_logo div,
.ads_logo p {
	font-size: 0.9em;
	text-align: right;
	line-height: 1.25;
	padding: 0;
	margin: 0;
}

@media only screen and (min-width: 768px) {

	.ads_logo {
		display: block
	}
}

/*
==============================================
	3. Header ads
	Advertises on the top of page, above the content
	of the First Page
	- basicaly, one or two big images
================================================
*/
.ads_header {
	margin: 0 0 4rem 0 !important;
}

/* Expands advertising card(s) to the width of window
*/
.ads_header .flex_cards {
	padding: 0;
	margin: 2px;
	gap: 0.5rem;
}

.ads_header .flex_cards figure {
	flex: 1;
	border: 0 solid var(--grey-tint-80);
	margin-bottom: 0;
}
