/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* Global Variables */
:root {
	--main: #EEE3CB; /* Main color */
	--navbar-brand: #967E76; /* Brand color */
	--navbar-link: rgba(0, 0, 0, 0.9); /* Navbar link color */
	
	--nav-menu-fontsize: 1rem; /* Nav menu font size */
	--nav-menu-fontweight: bold; /* Nav menu font weight */
	
	--cat-title-size: 1.8rem; /* Category title size */
	--cat-title-weight: bold; /* Category title weight */
	--cat-title-color-news: #DC3545; /* Category title color section news */
	--cat-title-color-regional: #D63384; /* Category title color section regional */
	--cat-title-color-world: #2D61C6; /* Category title color section world */
	--cat-title-color-cultedu: #395C94; /* Category title color section cultedu */
	--cat-title-color-opinion: #395C94; /* Category title color section opinion */
	--cat-title-color-interview: #C18D45; /* Category title color section interview */
	--cat-title-color-podcast: #C18D45; /* Category title color section podcast */
	--cat-title-color-politics: #DC3545; /* Category title color section politics */
	--cat-title-color-religion: #198754; /* Category title color section religion */
	--cat-title-color-sport: #198754; /* Category title color section sport */
	--cat-title-color-health: #20C997; /* Category title color section health */
	--cat-title-color-science: #2D61C6; /* Category title color section science */
	--cat-title-color-tech: #898990; /* Category title color section tech */
	--cat-title-color-blackchronicle: #000; /* Category title color section blackchronicle */
	--cat-title-color-video: #DC3545; /* Category title color section video */
	--cat-title-color-tv: #DC3545; /* Category title color section tv */
	
	--post-title-size: 1.8rem; /* Post title size */
	--post-title-weight: bold; /* Post title weight */
}

/* Body Settings */
body {
	font-family: 'Poppins', sans-serif; /* Font */
	overflow-x: hidden; /* Prevents horizontal scroll */
	padding-top: 3.875rem; /* Match the navbar height */
}

/* Navbar */
.navbar {
	background-color: var(--main);
	border-bottom: 1px solid var(--navbar-brand);
}

/* Navbar Brand */
.navbar-brand,
.navbar-brand a {
	color: var(--navbar-brand) !important;
	font-size: 2rem !important;
	font-weight: bold !important;
	position: absolute;
	left: 50%;
	transform: translatex(-50%);
	text-decoration: none;
	white-space: nowrap;
}

/* Navbar Toggler */
.navbar-toggler {
	border: none;
	outline: none;
	padding: 8px 0px 8px 10px;
	margin-left: auto;
}

.navbar-toggler:focus {
	box-shadow: none;
}

.navbar-toggler-icon {
	background-image: none !important;
}

.navbar-toggler span {
	width: 30px;
	height: 3px;
	background-color: var(--navbar-brand);
	display: block;
	margin: 5px 0;
	transition: 0.3s;
}

/* Animate Navbar Toggler */
.navbar-toggler.active span:nth-child(1) {
	transform: translateY(8px) rotate(45deg);
}

.navbar-toggler.active span:nth-child(2) {
	opacity: 0;
}

.navbar-toggler.active span:nth-child(3) {
	transform: translateY(-8px) rotate(-45deg);
}

/* Offcanvas */
.offcanvas.offcanvas-end {
	top: 3.875rem;
	background-color: var(--main);
	border-left: none;
}

@media (min-width: 992px) {
	.offcanvas.offcanvas-end {
		width: 340px;  /* Width on large screen */
	}
}

.offcanvas-backdrop {
	top: 3.875rem;
}

/* Offcanvas Additional Settings */
.form-control,
.form-control:focus {
	background-color: var(--main);
	border: 1px solid var(--navbar-brand);
	box-shadow: none;
	color: var(--navbar-brand);
	outline: none;
}

.hr-divider {
	height: 1px;
	background-color: var(--navbar-brand);
	color: var(--navbar-brand);
	border: none;
	opacity: 1;
}

/* Main Menu */
.main-menu {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	justify-content: center;
}

.main-menu > li {
	position: relative;
	margin: 0 10px;
}

.main-menu > li > a {
	display: inline-block;
	padding: 10px 15px;
	text-decoration: none;
	color: var(--navbar-brand);
	font-size: var(--nav-menu-fontsize);
	font-weight: var(--nav-menu-fontweight);
	transition: all 0.3s ease-in-out;
}

.main-menu > li > a:hover {
	text-decoration: underline;
}

/* Nav Menu */
.nav-menu {
	list-style: none;
	padding: 0;
	margin: 0;
}

.nav-menu > li {
	position: relative;
	margin: 0;
}

.nav-menu > li > a {
	display: flex;
	justify-content: flex-end;
	padding: 10px 15px;
	text-decoration: none;
	color: var(--navbar-brand);
	font-size: var(--nav-menu-fontsize);
	font-weight: var(--nav-menu-fontweight);
	transition: all 0.3s ease-in-out;
	border-bottom: 1px solid var(--navbar-brand);
}

.nav-menu > li > a:hover {
	text-decoration: underline;
}

/* Slick Slider */
.slick-slider .card {
    height: 300px; /* Fixed height */
    padding: 0; /* Padding inside the cards */
	box-sizing: border-box;
	border: none;
	margin: 0;
	
	@media (min-width: 992px) {
		margin: 0 1px 0 1px;  /* Margin between cards on large screen */
	}
}

.slick-slider .card-img-top {
	width: 100%;
	min-width: 100%;
    height: 200px; /* Fixed height for the image */
	min-height: 200px;
	object-fit: cover; /* Ensure the image covers the space without distorting */
}

.slick-slider .card-body {
    height: calc(100% - 200px); /* Ensures body fills the remaining space */
	overflow: hidden;
	padding-top: 10px;
	padding-left: 0;
	padding-right: 0;
}

.slick-slider .card-title {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2; /* Number of lines */
	overflow: hidden;
	font-size: .875rem;
	font-weight: bold;
	
	@media (min-width: 992px) {
		font-size: 1.3rem;
	}
}

.slick-slider .card-title h5:link {
	color: inherit;
	text-decoration: none;
	transition: all 0.3s ease-in-out;
}

.slick-slider .card-title h5:visited {
	color: inherit;
	text-decoration: none;
}

.slick-slider .card-title h5:hover {
	text-decoration: underline;
	text-decoration-thickness: 2px;
	color: var(--navbar-brand);
}

.slick-slider .card-link {
  opacity: 0;
  overflow: hidden;
  height: 0;
  width: 0;
  display: block;
}

.slick-slider .card-category,
.slick-slider .card-category a {
	text-decoration: none;
	float: left;
	padding-left: 0;
	font-size: .875em;
	font-weight: normal;
}

.slick-slider .archive-time,
.slick-slider .archive-time span {
	text-decoration: none;
	padding: 0;
	font-size: .875em;
}

/* Sections Settings */
/* sqPortal Very Important Post */
.sqportal_very_important_post {
	margin-top: 1rem;
	margin-bottom: 1rem;
}

.sqportal_very_important_post_title {
	font-size: var(--cat-title-size);
	font-weight: var(--cat-title-weight);
}

.sqportal_very_important_post .card {
	height: 300px;
}

.sqportal_very_important_post .card-img-top {
	width: 100%;
	min-width: 100%;
    height: 200px;
	min-height: 200px;
    object-fit: cover;
	object-position: center;
}

.sqportal_very_important_post .card a {
	text-decoration: none;
	color: inherit;
}

.sqportal_very_important_post .card a .card-title {
	font-size: .875rem;
	font-weight: bold;
	transition: all 0.3s ease-in-out;
	
	@media (min-width: 992px) {
		font-size: 1.3rem;
	}
}

.sqportal_very_important_post .card a:hover .card-title {
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-decoration-color: var(--navbar-brand);
}

.sqportal_very_important_post .card-body {
	padding-left: 0;
	padding-right: 0;
}

/* sqPortal Ads */
.sqportal_ads {
	margin-top: 1rem;
	margin-bottom: 1rem;
}

/* sqPortal Latest Posts Slider */
.sqportal_latest_posts_slider {
	margin-top: 1rem;
	margin-bottom: 1rem;
}

/* sqPortal Posts By Category */
.sqportal_posts_by_category {
	margin-top: 1rem;
	margin-bottom: 1rem;
}

.sqportal_posts_by_category_title a {
	font-size: var(--cat-title-size);
	font-weight: var(--cat-title-weight);
	text-decoration: none;
}

.sqportal_posts_by_category .card {
	height: 300px;
}

.sqportal_posts_by_category a {
	display: block;
	text-decoration: none;
	color: inherit;
}

.sqportal_posts_by_category a .card {
	min-height: 100%; /* Ensure all cards are the same height */
	display: flex;
	flex-direction: column;
	transition: all 0.3s ease-in-out;
}

.sqportal_posts_by_category a:hover .card-title {
	text-decoration: underline;
	text-decoration-thickness: 2px;
}

.sqportal_posts_by_category .card-img-top {
	width: 100%; /* Ensure the image stretches to the card width */
	min-width: 100%;
    height: 200px; /* Fixed height for all images */
	min-height: 200px;
    object-fit: cover; /* Crop the image to fit the dimensions */
	object-position: center;
	display: block;
	
	@media (min-width: 992px) {
	}
    
}

.sqportal_posts_by_category .card-body {
	flex-grow: 1; /* Make the body take up available space */
    display: flex;
    flex-direction: column;
	padding-left: 0;
	padding-right: 0;
}

.sqportal_posts_by_category .card-title {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2; /* Number of lines */
	overflow: hidden;
	font-size: .875rem;
	font-weight: bold;
	
	@media (min-width: 992px) {
		font-size: 1.3rem;
	}
}

.sqportal_posts_by_category .card-link {
	opacity: 0;
	overflow: hidden;
	height: 0;
	width: 0;
	display: block;
}

.sqportal_posts_by_category .card-img-media {
	width: 92px;
	min-width: 92px;
    height: 92px;
	min-height: 92px;
    object-fit: cover;
}

.sqportal_posts_by_category .media-title {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3; /* Number of lines */
	overflow: hidden;
	font-size: .875rem;
	font-weight: bold;
	
	@media (min-width: 992px) {
		font-size: 1.3rem;
		-webkit-line-clamp: 2; /* Number of lines */
	}
}

.sqportal_posts_by_category .media-body {
	flex-grow: 1; /* Make the body take up available space */
    display: flex;
    flex-direction: column;
	padding-left: 0;
}

.sqportal_posts_by_category .media-link {
	flex-grow: 1; /* Make the body take up available space */
    display: flex;
    flex-direction: column;
	padding-left: 0;
}

/* Tag colors for each category */
.cat-lajme { color: var(--cat-title-color-news); }
.cat-rajonale { color: var(--cat-title-color-regional); }
.cat-bote { color: var(--cat-title-color-world); }
.cat-kultura-arsimi { color: var(--cat-title-color-cultedu); }
.cat-opinion { color: var(--cat-title-color-opinion); }
.cat-intervista { color: var(--cat-title-color-interview); }
.cat-podcast { color: var(--cat-title-color-podcast); }
.cat-politika { color: var(--cat-title-color-politics); }
.cat-religjioni { color: var(--cat-title-color-religion); }
.cat-sport { color: var(--cat-title-color-sport); }
.cat-shendetesi { color: var(--cat-title-color-health); }
.cat-shkenca { color: var(--cat-title-color-science); }
.cat-teknologji { color: var(--cat-title-color-tech); }
.cat-kronikaezeze { color: var(--cat-title-color-blackchronicle); }
.cat-video { color: var(--cat-title-color-video); }
.cat-tv { color: var(--cat-title-color-tv); }

/* Section: lastposts */
.lastposts .cat-title {
	color: var(--navbar-brand);
	font-size: var(--cat-title-size);
	font-weight: var(--cat-title-weight);
}

/* Section: post */
.post {
    margin-top: 1rem;
	margin-bottom: 1rem;
}

/* Remove background and padding from breadcrumb */
.post .breadcrumb {
    background-color: transparent;
    padding: 0;
    margin: 0;
    justify-content: center; /* Center the breadcrumb */
}

/* Change the separator */
.post .breadcrumb-item + .breadcrumb-item::before {
    content: ">"; /* Replace this with your desired separator */
    color: #6c757d; /* Separator color */
    margin-right: 5px;
    margin-left: 5px;
}

/* Remove underline for links and style */
.post .breadcrumb-item a {
    text-decoration: none;
	color: rgba(0, 0, 0, 0.5);
    /*color: #007bff; /* Bootstrap primary color */
}

.post .breadcrumb-item a:hover {
    text-decoration: none;
}

.post .card-title {
	font-size: var(--post-title-size);
	font-weight: var(--post-title-weight);
	margin-top: 1rem;
	margin-bottom: 1rem;
}

.post .card-share:link,
.post .card-share:visited,
.post .card-share:hover {
	text-decoration: none;
	color: var(--bs-secondary-color);
}

.post .card-share i {
	color: var(--bs-secondary-color);
	cursor: pointer;
}

.post .card-share-icon::before {
	font-size: 1.5rem;
	color: var(--navbar-brand);
}

.post .card-text {
	margin-top: .5rem;
}

.post .card-text p:first-child {
	font-weight: bold;
}

.post .wp-block-image img {
	display: flex;
	width: 100%;
	height: auto;
	border-radius: var(--bs-border-radius);
}

.post .wp-block-image :where(figcaption) {
	font-size: .8rem;
	font-style: italic;
	font-weight: bold;
}

/* Section: category-wrap */
/* Category Title */
.category-wrap .cat-title {
	font-size: var(--cat-title-size);
	font-weight: var(--cat-title-weight);
	color: var(--navbar-brand);
	margin-top: 1rem;
	margin-bottom: 1rem;
}

/* Category Card */
.category-wrap .card-body {
	padding-top: 0;
	padding-bottom: 0;
}

.category-wrap .card-title {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2; /* Number of lines */
	overflow: hidden;
	font-size: .875rem;
	font-weight: bold;
}

@media (min-width: 992px) {
	.category-wrap .card-title {
		font-size: 1.3rem;  /* Card title font size on large screen */
	}
}

.category-wrap .card-title a:link {
	color: inherit;
	text-decoration: none;
	transition: all 0.3s ease-in-out;
}

.category-wrap .card-title a:visited {
	color: inherit;
	text-decoration: none;
}

.category-wrap .card-title a:hover {
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-decoration-color: var(--navbar-brand);
}

.category-wrap .card-link {
  opacity: 0;
  overflow: hidden;
  height: 0;
  width: 0;
  display: block;
}

.category-wrap .archive-time,
.category-wrap .archive-time span {
	text-decoration: none;
	padding: 0;
	font-size: .875em;
}

/* Category Widget */
.category-wrap .widget {
	list-style-type: none;
}

.category-wrap .widget-title {
	font-size: 2.5rem;
}

/* Section: page-wrap-lp */
.page-wrap-lp .page-title {
	font-size: var(--cat-title-size);
	font-weight: var(--cat-title-weight);
	color: var(--navbar-brand);
	margin-top: 1rem;
	margin-bottom: 1rem;
}

.page-wrap-lp .card-body {
	padding-top: 0;
	padding-bottom: 0;
}

.page-wrap-lp .card-title {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3; /* Number of lines */
	overflow: hidden;
	font-size: .875rem;
	font-weight: bold;
}

@media (min-width: 992px) {
	.page-wrap-lp .card-title {
		font-size: 1.3rem;  /* Card title font size on large screen */
		-webkit-line-clamp: 2; /* Number of lines */
	}
}

.page-wrap-lp .card-title a:link {
	color: inherit;
	text-decoration: none;
	transition: all 0.3s ease-in-out;
}

.page-wrap-lp .card-title a:visited {
	color: inherit;
	text-decoration: none;
}

.page-wrap-lp .card-title a:hover {
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-decoration-color: var(--navbar-brand);
}

.page-wrap-lp .card-link {
  opacity: 0;
  overflow: hidden;
  height: 0;
  width: 0;
  display: block;
}

.page-wrap-lp .card-category,
.page-wrap-lp .card-category a {
	text-decoration: none;
	padding: 0;
	font-size: .875em;
}

.page-wrap-lp .archive-time,
.page-wrap-lp .archive-time span {
	text-decoration: none;
	padding: 0;
	font-size: .875em;
}

/* Custom Pagination */
.custom-pagination {
    text-align: center;
    margin: 20px 0;
    font-size: 1rem;
	font-weight: bold;
}

.custom-pagination a, .custom-pagination span {
    display: inline-block;
    padding: 6px 10px;
    margin: 2px;
    text-decoration: none;
    border-radius: var(--bs-border-radius);
    color: var(--navbar-brand);
	transition: all 0.3s ease-in-out;
}

.custom-pagination a:hover {
    background: var(--navbar-brand);
    color: var(--main);
}

.custom-pagination .current {
    background: var(--navbar-brand);
    color: var(--main);
    font-weight: bold;
}

.custom-pagination .dots {
    padding: 6px 10px;
    color: var(--navbar-brand);
	border: none;
}

.custom-pagination .prev-page, .custom-pagination .next-page {
	background: inherit;
    font-weight: bold;
}

.custom-pagination .prev-page:hover, .custom-pagination .next-page:hover {
    background: var(--navbar-brand);
    color: var(--main);
}

/* Footer Wrap */
.footer-wrap {
	background-color: var(--main);
	border-top: 1px solid var(--navbar-brand);
	position: relative;
    overflow: hidden;
}

.footer-wrap .navbar-brand-footer,
.footer-wrap .navbar-brand-footer a {
	color: var(--navbar-brand) !important;
	font-size: 2rem !important;
	font-weight: bold !important;
	text-decoration: none;
	white-space: nowrap;
}

.footer-wrap .footer-title {
	color: #2d3436;
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.footer-wrap .footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #967E76, transparent);
}

.footer-wrap .contact-info {
    list-style: none;
    padding: 0;
}

.footer-wrap .contact-info li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-wrap .contact-info i {
    color: var(--navbar-brand);
    width: 20px;
}

.footer-wrap .social-links {
    display: flex;
	justify-content: center;
    gap: 15px;
}

.footer-wrap .social-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--main);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2d3436;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.footer-wrap .social-icon:hover {
    color: var(--navbar-brand);
}

.footer-wrap .quick-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 0;
    list-style: none;
}

@media (max-width: 768px) {
    .footer-wrap .quick-links {
        grid-template-columns: 1fr;
    }
}

.footer-wrap .quick-links a {
    color: #2d3436;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.footer-wrap .quick-links a:hover {
    color: var(--navbar-brand);
    text-decoration: underline;
}

.footer-wrap .newsletter-input {
    border: 1px solid var(--navbar-brand);
    padding: 0.8rem;
    border-radius: 10px;
}

.footer-wrap .btn-subscribe {
	color: var(--main);
    background: var(--navbar-brand);
    border: 1px solid var(--navbar-brand);
    padding: 0.8rem 2rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.footer-wrap .btn-subscribe:hover {
	color: var(--main);
    background: var(--navbar-brand);
}

.footer-wrap .footer-bottom {
	border-top: 1px solid var(--navbar-brand);
}

.footer-wrap .footer-bottom p {
	margin: 0;
}

.footer-wrap .footer-bottom a {
    color: #2d3436;
    text-decoration: none;
	transition: all 0.3s ease;
}

.footer-wrap .footer-bottom a:hover {
    text-decoration: underline;
	color: var(--navbar-brand);
}

.footer-wrap #scrollToTopBtn {
	background-color: var(--navbar-brand);
    z-index: 1000;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: none;
    transition: opacity 0.3s, visibility 0.3s, ease-in-out;
}

.footer-wrap #scrollToTopBtn i {
	color: var(--main);
}