/* Carousel Container */
.carousel {
	position: relative;
	overflow: hidden;
	max-width: 100%;
	min-height: 200px;
	border-radius: 10px;
	background: #fff;
}

/* Track for Slides */
.carousel-track {
	display: flex;
	transition: transform 0.6s ease-in-out;
}

/* Individual Slide */
.carousel-slide {
	min-width: 100%;
	min-height: 200px;
	position: relative;
	display: flex;
	align-items: center;
}

.carousel-slide img {
	width: 100%;
	/* height: 100%; */

}

/* Overlay Content */
.carousel-caption {
	position: absolute;
	bottom: 0px;
	background: rgba(0, 0, 0, 0.6);
	color: #fff;
	padding: 20px 48px 20px;
	width: 100%;
	box-sizing: border-box;
	display: none;
	span {
		background: #D5C8FE;
		font-family: "Helvetica Neue";
		font-weight: 500;
		font-size: 14px;
		color: #202020;
		display: inline-block;
		border-radius: 8px;
		padding: 8px 16px;
	}

	h3 {
		font-family: "Helvetica Neue";
		font-weight: 700;
		font-size: 28px;
		color: #fff;
		padding:10px 0 0;
		line-height: 36px;
	}
	p {
		font-family: "Helvetica Neue";
		font-weight: 300;
		font-size: 16px;
		line-height: 26px;
		color: #fff;
	}
}



/* Navigation Buttons */
.carousel-footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	position: relative;
	margin: 25px 0 0;
	.carousel-btn {
		position: relative;
		cursor: pointer;
		z-index: 10;
		/* margin: 10px 0 0; */
		left: auto;
		right: auto;
		border-radius: 13px;
		width: 36px;
		height: 36px;
		padding: 6px;
	}
}



/* Dots */
.carousel-dots {
	
	display: flex;
	gap: 8px;
	margin:15px 0;
	button {
		width: 34px;
		height: 5px;
		border-radius: 4px;
		border: none;
		background: #BEBEC0;
		cursor: pointer;
		transition: width 0.1s linear;
	}
	
	button.active {
		width:68px;
		background: #27282D;
	}
}




.filters {
	display: flex;
	gap: 1rem;
	justify-content: space-between;
	align-items: center;
	.search {
		padding:12px 62px 12px 16px;
		font-family: "Helvetica Neue";
		font-weight: 400;
		font-size: 16px;
		line-height: 21.4px;
		color: #989898;
		border-radius: 12px;
		border: 1.5px solid #DEDEDE;
		width:100%;
		background:#fff url(../../images/search-icon.png) no-repeat 98% center;
	}
}
select {
	padding:12px 62px 12px 16px;
	font-family: "Helvetica Neue";
	font-weight: 400;
	font-size: 16px;
	line-height: 21.4px;
	color: #989898;
	border-radius: 12px;
	border: 1.5px solid #DEDEDE;
}

select.minimal {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-appearance: none;
	-moz-appearance: none;
	background-image:
	linear-gradient(45deg, transparent 50%, #000 50%),
	linear-gradient(135deg, #000 50%, transparent 50%);
	background-position:
	calc(100% - 20px) calc(1em + 2px),
	calc(100% - 15px) calc(1em + 2px),
	calc(100% - 2.5em) 0.5em;
	background-size:
	5px 5px,
	5px 5px,
	1px 1.5em;
	background-repeat: no-repeat;
}

select.minimal:focus {
	background-image:
	linear-gradient(45deg, #000 50%, transparent 50%),
	linear-gradient(135deg, transparent 50%, #000 50%);
	background-position:
	calc(100% - 15px) 1em,
	calc(100% - 20px) 1em,
	calc(100% - 2.5em) 0.5em;
	background-size:
	5px 5px,
	5px 5px,
	1px 1.5em;
	background-repeat: no-repeat;
	/*   border-color: green; */
	outline: 0;
}


select:-moz-focusring {
	color: transparent;
	text-shadow: 0 0 0 #000;
}

/* Blog Cards Grid Layout */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); /* Responsive columns */
  
  margin: 40px auto;
  gap: 1.5rem;
  /* padding: 1rem; */
}

/* Ensure maximum 3 columns */
@media (min-width: 1024px) {
  .grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Tablets - 2 columns */
@media (min-width: 640px) and (max-width: 1023px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile - 1 column */
@media (max-width: 639px) {
  .grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 800px) {
  .filters {
	input {
		box-sizing: border-box;
	}
	
	flex-direction: column;
	div {
		box-sizing: border-box;
		width: 100%;
	}
	select {
		box-sizing: border-box;
		width:49.5%;
	}
  }
}

/* Blog Card Styling */
.blog-card {
  border: 1px solid #ddd;
  border-radius: 24px;
  overflow: hidden;
  background: #F6F6F7;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: transform 0.2s ease;
  .blog-card-authorSec {
	font-family: "Helvetica Neue";
	font-weight: 400;
	font-size: 16px;
	line-height: 21.4px;
	color: #737171;
	margin:15px 0;
  }
  .authorName {
	font-family: "Helvetica Neue";
	font-weight: 400;
	font-size: 16px;
	line-height: 21.4px;
	color: #737171;
	display:none;
  }
  .read-time {
	font-family: "Helvetica Neue";
	font-weight: 400;
	font-size: 16px;
	line-height: 21.4px;
	color: #737171;
	display: inline;
	width: 90px;
	margin:0;
  }

  .blog-card-meta {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin: 10px 0 15px;
  }

  h3 {
	margin-bottom:15px;
	a {
		font-family: "IBM Plex Mono";
		font-weight: 700;
		font-size: 24px;
		line-height: 36px;
		color: #202020;
		text-decoration: none;
		&:hover {
			text-decoration: underline;
		}
	}

  }
}
.blog-card:hover {
  transform: translateY(-5px);
}
.blog-card img {
  width: 100%;
  height: 400px;
  /* object-fit: cover; */
}
.blog-card-content {
  padding: 24px;
  p {
	display:none;
  }
}



.pagination {
	display: flex;
	justify-content: center;
	padding: 1rem;
	gap: 5px;
}

.pagination button, .pagination a {
	font-family: "Helvetica Neue";
	color: black;
	padding: 12px 16px;
	text-decoration: none;
	transition: background-color .3s;
	border: 1px solid #ddd;
	font-size: 14px;
	cursor: pointer;
	border-radius: 12px;
}

.pagination button:disabled, .pagination a.active {
  background-color: #420cb2;
  color: white;
  border: 1px solid #420cb2;
}




.blog-detail img {
	width: 100%;
	border-radius: 24px;
}
.section-card {
	background:#F7F7F7;
	padding:60px 32px 30px;
	h1.title {
		font-family: "IBM Plex Mono";
		font-weight: 700;
		font-size: 52px;
		text-transform: capitalize;
		line-height: 50px;
		color: #000000;
		margin-bottom: 15px;
		text-align: center;
	}
	p.subtitle {
		font-family: "Helvetica Neue";
		font-weight: 300;
		font-size: 20px;
		line-height: 28px;
		text-align: center;
		color: #737171;
		margin-bottom:38px;
	}
}

.author-date-sec {
	margin:20px 0 60px;
}

.all-blogs-title {
	font-family: "IBM Plex Mono";
	font-weight: 700;
	font-size: 40px;
	vertical-align: middle;
	text-transform: capitalize;
	padding:60px 0;
}

.blog-detail {
	padding:0 20px;
	h1 {
		font-family: "IBM Plex Mono";
		font-weight: 700;
		font-size: 40px;
		text-transform: capitalize;
		line-height: 50px;
		color: #000000;
		margin-bottom: 15px;
	}
	
	strong {
		font-weight: 600;
	}
	p {
		font-family: "Helvetica Neue";
		font-weight: 300;
		font-style: Regular;
		font-size: 18px;
		leading-trim: NONE;
		line-height: 24px;
		letter-spacing: 0%;
		color: #494949;
		margin:0 0 24px 0;
	}
	ul {
		margin:0 0 0 20px;
		li {
			list-style-type: disc;
			font-family: "Helvetica Neue";
			font-weight: 300;
			font-style: Regular;
			font-size: 18px;
			leading-trim: NONE;
			line-height: 24px;
			letter-spacing: 0%;
			color: #494949;
			margin:20px 0;
		}
	}

	ol {
		margin:0 0 0 20px;
		li {
			list-style-type: disc;
			font-family: "Helvetica Neue";
			font-weight: 300;
			font-style: Regular;
			font-size: 18px;
			line-height: 24px;
			leading-trim: NONE;
			letter-spacing: 0%;
			color: #494949;
			margin:20px 0;
		}
	}
	table {
		margin-bottom: 25px;
		td {
			padding:10px;
			font-family: "Helvetica Neue";
			font-weight: 300;
			leading-trim: NONE;
			font-size: 18px;
			line-height: 24px;
			border: 1px solid #000;
			color: #494949;
		}
	}
	a {
		color: #6E27FF;
		text-decoration: none;
		&:hover {
			text-decoration: underline;
		}
	}
}

.tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	width: calc(100% - 90px);
}

.tag {
        background: #D5C8FE;
        font-family: "Helvetica Neue";
        font-weight: 500;
        font-size: 13px;
        color: #202020;
        display: inline-block;
        border-radius: 8px;
        padding: 8px 10px;
	
	}
	.read-time {
		font-family: "Helvetica Neue";
		font-weight: 300;
		font-style: Regular;
		font-size: 16px;
		padding:10px 0;
		margin:10px 0 20px;
		display: flex;
		gap:10px;
		align-items: center;
	}
	.authorName {
		font-family: "Helvetica Neue";
		font-weight: 600;
		font-size: 16px;
		color: #494949;
		display: none;
	}
	.blogDate {
		font-family: "Helvetica Neue";
		font-weight: 500;
		font-size: 14px;
		color: #8590AC;
		display: inline-block;
		margin-left: 5px;
	}

.author-card {
	/* display: flex; */
	display:none;
	gap: 30px;
	padding: 34px;
	background: #fff;
	border-radius: 24px;
	margin-top: 60px;

	box-shadow: 0px 4px 22px 0px #8C8C8C33;
	h3 {
		font-family: "Helvetica Neue";
		font-weight: 700;
		font-style: Bold;
		font-size: 18px;
		color: #202020;
	}
	.author-info {
		display: flex;
		justify-content: space-between;
		align-items: center;
		font-family: "Helvetica Neue";
		font-weight: 300;
		font-size: 18px;
		line-height: 26.7px;
		color: #494949;
		margin:15px 0 0;
		.author-bio {
			width: calc(100% - 100px);
		}
		.author-social {
			/* display: flex; */
			display:none;
			gap: 10px;
			align-items: center;
		}
	}
}

.author-card img {
	width: 110px;
	height: 110px;
	border-radius: 16px;
	background:#575757;
}

.author-social a .fa-x-twitter:hover { color: #1da1f2; }
.author-social a .fa-linkedin:hover { color: #0077b5; }
.author-social a .fa-instagram:hover { color: #e1306c; }
.author-social a .fa-facebook:hover { color: #1877f2; }

@media only screen and (max-width: 550px) {
	.section-card {
    		h1.title {
			font-size: 36px;
		}
	}

	.carousel-footer {
		flex-direction: column;
	}
}

@media only screen and (max-width: 500px) {
	.filters {
		select {
			margin-bottom:15px;
			width:100%;
		}
	}
}

.emoji {
     width: 15px !important;
}



.blog-content {
	margin:0 0 0;
	.box-content {
		background:none;
		p, li {
			line-height: 36px;
			color: #474747;
			margin:0px;
		}

		h3 {
			text-align: left;
			font-weight: 500;
			color: #474747;
			font-size: 24px;
            	margin: 24px 0;
			line-height: 34px;
		}

		h4 {
			text-align: left;
			font-weight: 500;
			color: #474747;
			font-size: 20px;
            	margin: 20px 0;
			line-height: 30px;
		}

		strong {
			font-weight: 500;
		}

		ul {
			font-family: 'Helvetica Neue', sans-serif;
			font-weight: 300;
			font-size: 20px;
			color: #737171;
			padding: 10px 0;
			list-style: disc;
            	margin: 0 24px;
			li {
				line-height: 36px;
				font-size: 20px;
			}
		}

		ol {
			font-family: 'Helvetica Neue', sans-serif;
			font-weight: 300;
			font-size: 20px;
			color: #737171;
			padding: 10px 0;
			list-style: decimal;
            	margin: 0 0;
			list-style-position: inside;
			li {
				list-style: decimal;
				list-style-position: inside;
				line-height: 36px;
				font-weight: 600;
				font-size: 20px;
				strong {
					font-size: 20px;
				}
				ul {
					margin-left:32px;
					li {
						list-style: disc;
						font-weight: 300;
						font-size: 20px;
					}
				}
			}

		}

		table {
			margin-bottom: 25px;
			width: 100%;
			td {
				padding:10px;
				font-family: "Helvetica Neue";
				font-weight: 300;
				leading-trim: NONE;
				font-size: 18px;
				line-height: 24px;
				border: 1px solid #000;
				color: #494949;
			}
			thead {
				td {
					background:rgba(0, 0, 0, 0.1)
				}
			}
		}

		.normaltext {
			font-weight: 300!important;
			* {
				font-weight: 300!important;
			}
		}
	}

}