/*!
Theme Name: Civilsdaily
Author: Nazim Husain
Author URI: https://nazimansari.com
Description: Custom child theme for Twenty Twenty Five
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: civilsdaily
Template: twentytwentyfive
Version: 2.0
*/

/* Fix Popup spacing */
html.pum-open.pum-open-overlay.pum-open-scrollable body>:not([aria-modal=true]){
	padding-right:0px;
	padding-left:0px;
}

.popmake-content .nsl-container-block {
	text-align: center !important;
}

/* Enable scrolling during popup */
/* html.pum-open.pum-open-overlay, html.pum-open.pum-open-overlay.pum-open-fixed .pum-overlay {
overflow: visible;
} */

.entry-meta {
	font-size: 18px;
	line-height: 1.5;
}

/* Swiper Slider */
.wp-swiper .swiper-pagination {
	bottom: -40px;
}

.wp-swiper .swiper-pagination-bullet-active {
	background: var(--wp--preset--color--custom-brand-2);
}

.wp-swiper .swiper-button-next:after,
.wp-swiper .swiper-button-prev:after {
	font-size: 22px;
	background-color: rgba(0, 0, 0, 0.3);
	padding: 6px 4px;
	color: #fff;

}

.wp-swiper .swiper-button-next,
.wp-swiper .swiper-button-prev {
	color: #ffffff00;
}

.wp-swiper .swiper-pagination-bullet {
	width: 10px;
	height: 10px;
}

/* Membersip */
.membership p strong {
	font-weight: 800;
}

.membership p a {
	background: #f6f6f6;
}

/************
* Homepage *
************/

body a:focus {
	outline: none;
}


body a:hover {
	text-decoration: underline;
}

body img {
	width: 100%;
	height: auto;
	display: block;
}

body table {
	width: 100%;
}

/* Hero */

/* Sticky Post */
.sticky-posts .wp-block-post-template {
	display: grid;
	grid-gap: 0 35px;
	grid-template-columns: repeat(2, 1fr);
}

.sticky-posts .wp-block-post {
	margin-top: 0;
}

.sticky-posts .wp-block-post:first-child {
	grid-row: 1 / span 3;
	grid-column: 1 / 2;
}

.sticky-posts .wp-block-post:not(:first-child) {
	grid-column: 2 / 3;
}

.sticky-posts .wp-block-post .wp-block-post-title a {
	font-weight: 400;
}

.sticky-posts .wp-block-post:first-child .wp-block-columns {
	display: block;
}

.sticky-posts .wp-block-post:first-child .wp-block-post-title {
	margin-top: 15px;
}

.sticky-posts .wp-block-post:first-child .wp-block-post-title a {
	font-size: 19px;
}

.sticky-posts .wp-block-post .wp-block-post-featured-image img {
	transition: .3s ease;
}

.sticky-posts .wp-block-post .wp-block-post-featured-image img:hover{
	opacity: .92;
}

/* Categories */
.categories .wp-block-categories-list {
	display: flex;
	grid-gap: 12px;
	flex-wrap: wrap;
	justify-content: center;
	list-style:none;
	padding: 0;
}

.categories .wp-block-categories-list li {
	display: flex;
}

.categories .cat-item a {
	padding: 9px 18px;
	background: var(--wp--preset--color--custom-brand-2);
	font-size: 15px;
	line-height: 1.4;
	color: #fff;
	border-radius: 5px;
	transition: .3s ease-in;
	text-decoration: none;
}

.categories .cat-item a:hover {
	background: var(--wp--preset--color--custom-headline);
}

/* Post Date Wise */
.posts-datewise .user-info {
	font-size: 24px;
	line-height: 1.3;
	font-weight: 500;
	margin-bottom: 30px;
}

.posts-datewise .block {
	margin-bottom: 40px;
}

.posts-datewise .news-block .entry-header {
	padding: 10px 0 10px 15px;
}


.posts-datewise .news-block .date-strip {
	font-size: 48px;
	line-height: 1.4;
	font-weight: 600;
	color: var(--wp--preset--color--custom-headline);
	margin: 0 0 20px;
}

.posts-datewise .story-title,
.posts-datewise .entry-title {
	margin: 0;
}

.posts-datewise  .news-block .story-title a {
	font-size: 14px;
	line-height: 1.4;
	font-weight: 600;
	text-transform: uppercase;
	color: var(--wp--preset--color--custom-brand-2);
}

.posts-datewise .block .entry-title a {
	display: block;
	font-size: 22px;
	line-height: 1.4;
	font-weight: 600;
	color: var(--wp--preset--color--custom-headline);
}

.posts-datewise .news-block .entry-title {
	margin: 6px 0 12px;
}

.posts-datewise .entry-meta {
	font-size: 15px;
}

.entry-meta .type-box {
	background: #d4fcce;
	padding: 0px 5px;
	border: 1px solid #93eb86;
}

.posts-datewise .post-block article {
	display: flex;
	grid-gap: 30px;
	margin-top: 30px;
}

.posts-datewise .post-block .media {
	flex: 1;
}

.posts-datewise .post-block .media-img {
	flex: 0 0 28%
}

.posts-datewise .post-block .entry-title a {
	display: block;
	font-size: 24px;
	line-height: 1.4;
	font-weight: 700;
	color: var(--wp--preset--color--custom-headline);
}

.posts-datewise .post-block .entry-content {
	font-size: 18px;
	line-height: 1.6;
	color: #4C4C4C;
	margin-top: 10px;
}

.posts-datewise .post-block .entry-footer {
	font-size: 15px;
	display: flex;
	flex-wrap: wrap;
	grid-gap: 20px;
	align-items: center;
	margin-top: 20px;
}

.posts-datewise .post-block .post-cat {
	display: flex;
	flex-wrap: wrap;
	grid-gap: 10px;
	align-items: center;
}

.posts-datewise .post-block .post-cat a {
	background: var(--wp--preset--color--custom-brand-2);
	color: #fff;
	padding: 8px 12px;
	border-radius: 5px;
	font-size: 14px;
}

.posts-datewise .post-block .post-cat:hover a {
	background: var(--wp--preset--color--custom-brand-2);
}

.posts-datewise .pagination {
	border-top: 2px solid #000;
	padding-top: 30px;
}

.posts-datewise .pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	position: relative;
	gap: 8px;
}

.posts-datewise .pagination .prev.page-numbers,
.posts-datewise .pagination .next.page-numbers {
	position: absolute;
	top: 30px;
}

.posts-datewise .pagination .prev.page-numbers {
	left: 0;
}

.posts-datewise .pagination .next.page-numbers {
	right: 0;
}

.posts-datewise .pagination .page-numbers,
.posts-datewise .pagination span.page-numbers {
	margin: 0 4px;
	font-size: 22px;
	font-weight: 500;
}

.posts-datewise .pagination .page-numbers.current,
.posts-datewise .pagination .page-numbers:hover{
	text-decoration: underline;
}

.posts-datewise .pagination .page-numbers:focus {
	outline-width: 0;
}

/* Social Media */
.social-media .wp-social-link svg {
	width: 60px;
	height: 60px;
}

/*****************
* Archive Pages *
*****************/

.cd-story-title {
	font-size: 18px;
	color: var(--wp--preset--color--custom-brand-2);
	font-weight: 600;
	display: block;
	text-align: center;
	margin: 0;
}


/***************
* Single Story *
****************/

.single-story-news .entry-title,
.single-story-news .entry-meta {
	text-align: center;
}


.single-story-news .news {
	border-bottom: 1px solid #000;
	padding-bottom: 25px;
	margin-bottom: 25px;
}

.single-story-news .news  .entry-footer {
	margin-top: 25px;
	font-size: 16px;
}

.n4s {
	background: #fcefe7;
	border-bottom: 1px solid #000;
	color: #000;
	text-align: left;
	margin: 30px 0;
}

.n4s .heading {
	border-top: 1px solid #000;
	border-bottom: 1px solid #000;
	padding: 1rem;
	font-weight: bold;
}

.n4s .content {
	padding: 1rem;
}

.n4s .content p {
	margin: 0;
}


/*****************
* Category Page *
*****************/
.wp-block-query-pagination-numbers .current {
	border-bottom: 2px solid #000;
}

/*****************
* Texonomy*
*****************/
.custom-texonomy .feeds .entry-title{
	font-size: 1.5rem;
	line-height: 1.3;
	margin: 0;
}

.custom-texonomy .feeds .entry-title br{
	display: none;
}

.custom-texonomy .feeds .numbered-sub-topics{
	width: 100%;
	float: left;
	position: relative;
	margin-top: 15px;
}

.custom-texonomy .feeds .number{
	float: left;
	background: #f9dbcb;
	text-align: center;
	border-radius: 50%;
	color: #d56329;
	font-weight: 700;
	font-size: 18px;
	width: 30px;
	padding: 5px;
	height: 30px;
}

.custom-texonomy .feeds .story-item{
	width: 80%;
	float: left;
	padding-left: 1.5rem;
}

.custom-texonomy .feeds .story-item h3{
	margin: 0;
}

/****************
* MEDIA QUERIES *
*****************/

@media (max-width: 767px) {

	/* Global */

	.entry-meta {
		font-size: 16px;
	}

	/* Sweiper Slider */
	.wp-swiper .swiper-pagination {
		bottom: -30px;
	}

	.wp-swiper .swiper-pagination-bullet {
		width: 8px;
		height: 8px;
	}

	/* Sticky Post */
	.sticky-posts .wp-block-post-template {
		display: block;
	}

	.sticky-posts .wp-block-post:first-child {
		margin-bottom: 30px;
	}

	.sticky-posts .wp-block-post .wp-block-post-title a {
		font-size: 15px;
	}

	.sticky-posts .wp-block-post:first-child .wp-block-post-title a {
		font-size: 17px;
	}

	/* Categories */
	.categories .wp-block-categories-list {
		grid-gap: 10px;
	}

	.categories .cat-item a {
		padding: 10px 15px;
		font-size: 14px;
	}

	/* Post Date Wise */
	.posts-datewise .user-info {
		font-size: 20px;
		margin-bottom: 20px;
	}

	.posts-datewise .block {
		margin-bottom: 25px;
	}

	.posts-datewise .news-block .entry-header {
		padding: 5px 0 5px 10px;
		border-width: 5px !important;
	}

	.posts-datewise .news-block .date-strip {
		font-size: 28px;
		margin: 0 0 15px;
	}

	.posts-datewise  .news-block .story-title a {
		font-size: 13px;
	}

	.posts-datewise .block .entry-title a {
		font-size: 18px;
	}

	.posts-datewise .entry-meta {
		font-size: 13px;
	}

	.posts-datewise .post-block article {
		display: flex;
		grid-gap: 20px;
		margin-top: 30px;
	}

	.posts-datewise .post-block .entry-title a {
		font-size: 18px;
	}

	.posts-datewise .post-block .entry-content {
		display: none;
	}

	.posts-datewise .post-block .entry-footer {
		font-size: 14px;
		grid-gap: 10px;
	}

	.posts-datewise .post-block .post-cat {
		grid-gap: 8px;
	}

	.posts-datewise .post-block .post-cat a {
		padding: 6px 10px;
		font-size: 13px;
	}

	.posts-datewise .pagination {
		padding-top: 25px;
	}

	.posts-datewise .pagination .prev.page-numbers,
	.posts-datewise .pagination .next.page-numbers {
		top: 25px;
	}

	.posts-datewise .pagination .page-numbers,
	.posts-datewise .pagination span.page-numbers {
		font-size: 18px;
	}

	/* Social Media */
	.social-media .wp-social-link svg {
		width: 45px;
		height: 45px;
	}

	.custom-texonomy .feeds .entry-title {
		font-size: 19px;
	}

}

@media (max-width: 600px) {

	.category  .wp-block-post-excerpt__excerpt {
		display: none;
	}

}

@media (max-width: 480px) {

	/* Categories */
	.categories .wp-block-categories-list li a {
		width : 100%;
		text-align: center;
	}

	.categories .wp-block-categories-list li {
		flex: 0 0 calc(50% - 5px);
	}

	/* Texonomy */
	.custom-texonomy .feeds .story-item{
		padding-left: 0.5rem;
	}

}
