@import url('https://fonts.googleapis.com/css2?family=Domine:wght@400..700&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

:root {
	--brand-primary-color: #DC4814;
	--brand-muted-color: #dda48e;
	--main-bg-color: #fff;
	--main-text-color: #333;
	--muted-text-color: #888;
	--alternative-bg-color: var(--brand-primary-color);
	--alternative-text-color: #fff;
	--navbar-bg-color: var(--alternative-bg-color);
	--navbar-text-color: var(--alternative-text-color);
}

html, body {
	color: var(--main-text-color);
	font-family: "Domine", "Times New Roman", serif;
	font-size: 16px;
}

body {
	background-color: var(--main-bg-color);
	margin: 0;
	padding: 0;
}

.container {
	max-width: 1024px !important;
}

.text-uppercase {
	text-transform: uppercase;
}

.text-sans, a {
	font-family: "Montserrat", Arial, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
	font-weight: bold;
}

a {
	color: var(--brand-primary-color);
	text-decoration: none;
}

a, a:active, a.active {
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

.thin-bottom-border {
	border-bottom: solid 1px var(--brand-muted-color);
}

.thick-bottom-border {
	border-bottom: solid 3px var(--brand-muted-color);
	padding-top: 1rem;
	margin-top: 1rem;
	padding-bottom: 1rem;
	margin-bottom: 1rem;
}

.portrait img {
	border: solid 5px var(--brand-muted-color);
	border-radius: 50%;
}

.portrait-large img {
	border-width: 15px;
	max-width: 200px;
}

/*
	NAVBAR
 */

.navbar {
	font-family: "Montserrat", Arial, sans-serif;
	background-color: var(--navbar-bg-color);
	color: var(--navbar-text-color);
	padding: 0;
	z-index: 999999;
}

.navbar .container-fluid {
	background-image: url('/img/rays.svg');
	background-repeat: no-repeat;
	background-size: contain;
	background-position: left center;
}

/* brand */

.navbar .navbar-brand {
	font-size: 1.2rem;
	margin-top: 5px;
	margin-bottom: 5px;
	animation-name: sunset;
	animation-duration: 1s;
}

.navbar .navbar-brand:hover {
	animation-name: sunrise;
	animation-direction: alternate;
	animation-iteration-count: infinite;
}

@keyframes sunrise {
	from {
		text-shadow: -2px -2px 1px var(--navbar-bg-color), 2px 2px 1px var(--navbar-bg-color);
	}
	to {
		text-shadow: -1px -1px 5px white, 1px 1px 5px white;
	}
}

@keyframes sunset {
	from {
		text-shadow: -1px -1px 5px white, 1px 1px 5px white;
	}
	to {
		text-shadow: -2px -2px 1px var(--navbar-bg-color), 2px 2px 1px var(--navbar-bg-color);
	}
}

/* nav links */

.navbar a {
	font-size: 0.85rem;
}

.navbar a,
.navbar a:hover,
.nav-link:focus, .navbar-brand:focus,
.navbar a:active, .navbar a.active, .navbar-nav .nav-link.active {
	color: var(--navbar-text-color);
	text-decoration: none;
}

.navbar-nav .nav-link.active {
	font-weight: bold;
}

.navbar .nav-item a:hover {
	color: var(--navbar-text-color);
	text-decoration: underline;
}

/* categories bar */

.popular-categories-bar {
	margin-left: auto;
	margin-right: auto;
	display: flex;
	overflow: hidden;
}

.popular-categories-bar li {
	text-wrap: nowrap;
	line-height: 1rem;
	max-height: 1rem;
	margin: 0;
	padding: 0;
}

.popular-categories-bar li a {
	margin: 0;
	padding: 0;
}

/*
	MAIN
 */

main.container {
	padding: 0;
	margin-top: 12rem;
	box-shadow: 0 0 4px var(--muted-text-color) inset;
	background-color: var(--main-bg-color);
	border-radius: 5px;
}

main .content {
	padding: 1rem 2.5rem 1rem 2.5rem;
}

section h2 {
	font-size: 0.8rem;
	color: var(--muted-text-color);
	font-family: "Montserrat", Arial, sans-serif;
	font-weight: normal;
}

/* breadcrumbs */

.breadcrumbs {
	font-family: "Montserrat", Arial, sans-serif;
	color: var(--muted-text-color);
	font-size: 0.8rem;
	line-height: 1rem;
	overflow: hidden;
	max-height: 1rem;
}

.breadcrumbs a {
	color: var(--brand-primary-color);
	font-weight: bold;
	text-decoration: none;
	text-wrap: nowrap;
}

.breadcrumbs a:hover {
	text-decoration: underline;
}

.breadcrumbs .bread-crumb:last-child {
	max-height: 1rem;
	overflow: hidden;
}

@supports (-webkit-line-clamp: 1) {

	.breadcrumbs .bread-crumb:last-child {
		max-height: none;
		display: -webkit-box;
		-webkit-line-clamp: 1;
		-webkit-box-orient: vertical;
	}

}

/*
	CATEGORIES
 */

.popular-category {
	padding-top: 1rem;
	padding-bottom: 1rem;
	border-bottom: solid 1px var(--brand-muted-color);
}

.popular-category:last-child {
	border-bottom: none;
}

.popular-category .category-title h2 {
	font-size: 1.75rem;
	padding-bottom: 1rem;
}

/*
	ARTICLES
 */

.article-title a,
.article-title a:hover,
.article-title a:active {
	color: var(--main-text-color);
	text-decoration: none;
}

.article-title a:hover,
.article-title a:active {
	text-decoration: underline;
}

.article-image img {
	max-width: 100%;
	height: auto;
	border-radius: 5px;
}

/* thumb */

.article-thumb {
	padding-bottom: 10px;
	border-bottom: solid 1px var(--brand-muted-color);
}

.article-thumb:last-child {
	border-bottom: none;
}

.article-thumb h3 {
	margin: 0;
	font-size: 1rem;
	line-height: 1.3rem;
}

.article-thumb .article-title {
	overflow: hidden;
	max-height: 3.9rem;
}

@supports (-webkit-line-clamp: 3) {

	.article-thumb .article-title {
		max-height: none;
		display: -webkit-box;
		-webkit-line-clamp: 3;
		-webkit-box-orient: vertical;
	}

}

/* preview */

.article-preview {
	border-bottom: solid 1px var(--brand-muted-color);
	padding-bottom: 1rem;
}

.article-preview:last-child {
	border-bottom: none;
}

.article-preview .article-image {
	margin-bottom: 0.2rem;
}

.article-preview .article-title h3 {
	font-size: 1.2rem;
	line-height: 1.7rem;
	margin: 0;
}

.article-preview .article-perex {
	overflow: hidden;
	font-size: 1rem;
	line-height: 1.5rem;
	max-height: 4.5rem;
}

@supports (-webkit-line-clamp: 3) {

	.article-preview .article-perex {
		max-height: none;
		display: -webkit-box;
		-webkit-line-clamp: 3;
		-webkit-box-orient: vertical;
	}

}

/* popular */

.article-popular h3 {
	font-size: 1rem;
}

/* featured */

.article-featured .article-title h3 {
	margin: 0;
}

.article-featured .article-perex {
	font-size: 1.2rem;
}

/* detail */

.article-detail .article-title h1 {
	margin: 0;
}

.article-detail .article-content {
	padding-top: 0.5rem;
	font-size: 1.2rem;
	line-height: 2.3rem;
}

.article-image.with-info {
	display: inline-block;
	position: relative;
}

.article-image .image-info {
	display: flex;
	justify-content: end;
	position: absolute;
	margin: 1rem;
	bottom: 0;
	left: 0;
	right: 0;
	text-align: right;
	padding: 0;
	color: #eee;
	font-size: 0.75rem;
	border-bottom-left-radius: 5px;
	border-bottom-right-radius: 5px;
}

.article-image .image-info .image-info-label {
	cursor: pointer;
	text-align: center;
	font-weight: bold;
	background-color: rgba(0, 0, 0, 0.75);
	width: 1.5rem;
	height: 1.5rem;
	line-height: 1.5rem;
	border-radius: 50%;
}

.article-image .image-info .image-info-content {
	display: none;
	font-family: "Montserrat", Arial, sans-serif;
	background-color: rgba(0, 0, 0, 0.75);
	padding: 0.5rem;
	border-radius: 10px;
}

.article-image .image-info .image-info-content a {
	font-weight: bold;
}

.article-image .image-info .image-info-content .image-info-close {
	cursor: pointer;
	font-weight: bold;
	text-align: left;
}

/*
	EMBEDDED
 */

.embedded-video {
	position: relative;
	width: 100%;
	padding-top: 56.25%
}

.embedded-video iframe {
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	width: 100%;
	height: 100%;
}


/*
	BADGES
 */

.article-badges {
	flex-wrap: wrap;
}

.published-badge, .category-badge {
	font-size: 0.8rem;
	font-family: "Montserrat", Arial, sans-serif;
	text-wrap: nowrap;
}

.published-badge {
	color: var(--main-text-color);
}

.category-badge {
	color: var(--brand-primary-color);
	font-weight: bold;
	padding: 1px 0.5rem 1px 0.5rem;
	border: solid 1px var(--brand-muted-color);
	border-radius: 5px;
}

.category-badge:hover {
	border: solid 1px var(--alternative-bg-color);
	background-color: var(--alternative-bg-color);
	color: var(--alternative-text-color);

}

.article-badges a:hover {
	text-decoration: none;
}

/*
	BANNERS
 */

.banner {
	max-width: 100%;
}

.banner .banner-label {
	font-size: 0.65rem;
	line-height: 1rem;
	color: var(--muted-text-color);
}

.banner .banner-content {
	text-align: center;
}

.banner img {
	max-width: 100%;
	height: auto;
}

/* fullscreen */

.banner.banner-type-fullscreen {
	position: fixed;
	z-index: -99999;
	width: 100%;
}

.banner.banner-type-fullscreen .banner-label {
	position: fixed;
	text-align: right;
	bottom: 1rem;
	right: 1rem;
	padding: 0.5rem;
	background-color: rgba(0, 0, 0, 0.5);
	border-radius: 10px;
	color: #eee;
	font-family: "Montserrat", Arial, sans-serif;
	font-size: 0.75rem;
}

.banner.banner-type-fullscreen img {
	width: 100%;
	height: auto;
}

/* vertical */

.banner.banner-type-vertical {
	padding-bottom: 1rem;
}

/* content */

.banner.banner-type-content {
	margin-bottom: 1.5rem;
}

/*
	FOOTER
 */

footer {
	background-color: var(--alternative-bg-color);
	color: var(--brand-muted-color);
	font-family: "Montserrat", Arial, sans-serif;
	font-size: 0.85rem;
}

footer a {
	color: var(--navbar-text-color);
	text-decoration: none;
}

footer a:hover,
footer a:focus,
footer a:active, footer a.active {
	color: var(--navbar-text-color);
	text-decoration: underline;
}

/*
	COOKIES CONSENT
 */

#cookies_consent_bar {
	display: none;
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	width: 100%;
	margin: auto;
	background-color: var(--main-bg-color);
	box-shadow: 0 0 8px 0 var(--main-text-color);
	z-index: 9999999;
}

#cookies_consent_info_accepted,
#cookies_consent_info_rejected {
	display: none;
}
