@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

* {
	padding: 0px;
	margin: 0px;
	box-sizing: border-box;
}

body {
	line-height: 1.15;
	position: relative;
	overflow: auto;
	font-family: 'Inter';
	background-color: #f9f9f9; /* added */;
}

.wrapper {
    min-width: 18rem;
}

.faq_header {
	background: #161616;
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	position: sticky;
	top: 0px;
	z-index: 99;
	height: 9vh;
}

.faq_header .logo {
	width: 20%;
	text-align: center;
}

.menu {
	width: 65%;
	transition: 0.2s all linear;
}

.menu ul {
	list-style: none;
	width: 100%;
	display: flex;
	justify-content: space-evenly;
	align-items: center;
}

.menu ul li a {
	text-decoration: none;
	color: #eeeeee;
	font-size: 16px;
}

.menu_opener {
	text-align: right;
	display: none;
}

.menu_opener i, .menu_close i {
	font-size: 24px;
	color: #eeeeee;
	margin-right: 28px;
	cursor: pointer;
}

.menu_close {
	text-align: right;
	display: none;
}

.banner {
    max-height: 35px;
    margin-left: 15px;
}

.article_wrapper {
	background: #f9f9f9;
	min-height: 80vh; /* added */;
}

.article_wrapper .main_heading {
	position: relative;
	text-align: center;
	color: ghostwhite;
	font-size: 40px;
	height: 316px;
	display: flex;
	justify-content: center;
	align-items: center;
	background: black;
	z-index: 1;
}

.article_wrapper .main_heading h1 {
	font-size: 35px;
}

.article_wrapper .main_heading img {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	object-fit: cover;
	width: 100%;
	z-index: -1;
	object-position: center 50%;
	height: 100%;
}

.all_article_categories {
	width: 90%;
	margin: 0px auto;
	padding-top: 6%;
	padding-bottom: 10%;
	margin-top: 15px;
}

.all_article {
	width: 90%;
	margin: 0px auto;
	padding-bottom: 10%;
}

.all_article_categories .secondary_heading,
.all_article .secondary_heading {
	color: rgba(0, 0, 0, 0.7);
}

.articles {
	margin-top: 5%;
	display: flex;
	justify-content: flex-start;
	align-items: center;
	flex-wrap: wrap;
	gap: 5%;
}

.article {
	text-decoration: none;
	color: rgba(0, 0, 0, 0.7);
	width: 30%;
	padding: 30px;
	border-radius: 8px;
	border: 1px solid #dddddd;
	background: white;
	margin-bottom: 30px;
	transition: 0.2s all ease;
}

.article:hover {
	border-color: #0693e3;
	box-shadow: inset 0px 1px 2px rgba(22, 22, 22, 0.16);
}

.article h3 {
	margin-bottom: 15px;
	font-weight: 800;
}

.back_links {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	gap: 2%;
	margin-left: 5%;
	padding: 5% 0px;
}

.main_home a {
	text-decoration: none;
	color: black;
}

.current_link, .current_article {
	color: #afafaf;
	cursor: default;
}

.current_link a {
	text-decoration: none;
	color: #afafaf;
}

.category_name {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	padding: 0px 0px 3% 0px;
	border-bottom: 1px solid #dddddd;
	margin-bottom: 3%;
}

.category_name p {
	color: #afafaf;
}

.all_article .articles {
	margin-top: 5%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 0%;
}

.all_article .articles .read_article {
	text-decoration: none;
	color: rgba(0, 0, 0, 0.7);
	width: 48%;
	padding: 24px;
	border-radius: 8px;
	border: 1px solid #dddddd;
	background: white;
	margin-bottom: 30px;
	transition: 0.2s all ease;
	overflow: hidden;
}

.all_article .articles .read_article h3 {
	margin-bottom: 4px;
	font-size: 17px;
}

.all_article .articles .read_article:hover {
	border-color: #0693e3;
	box-shadow: inset 0px 1px 2px rgba(22, 22, 22, 0.16);
}

.article_short_des {
	height: 90px;
	overflow: hidden;
	position: relative;
}

/* 
.article_short_des p {
	line-height: 1.3em;
	margin:0;
}
*/

.truncate {
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	line-clamp: 3;
	-webkit-box-orient: vertical;
	line-height: 1.3em;
	margin: 0;
	margin-top: 5px;
}

/* ARTICLE PAGE CSS */
.current_article_container {
	width: 80%;
	margin: 0% auto 5% auto;
	/* box-shadow: 0px 2px 4px rgba(22, 22, 22, 0.16); */
	border-radius: 8px;
	padding: 40px 0px;
}

.current_article_reading {
	width: 60%;
	margin: 0px auto;
}

.publish_date {
	display: block;
	font-size: 14px;
	font-weight: 400;
	color: #6a6a6a;
	line-height: 20px;
	margin-top: 8px;
}

.current_article_heading h1 {
	font-style: normal;
	font-weight: 600;
	font-size: 44px;
	line-height: 48px;
	font-feature-settings: 'pnum' on, 'lnum' on, 'kern' off;
	margin-block-end: 24px;
	margin-block-start: 0;
}

.full_article {
	margin: 15px auto 30px auto;
}

.full_article p {
	font-size: 13px;
	line-height: 2; /* 18px */
	word-break: normal;
	overflow-wrap: break-word;
	padding-top: 4px;
	color: #183247;
	font-style: normal;
	font-variant-ligatures: normal;
	font-variant-caps: normal;
	font-weight: 400;
}

.useful {
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-top: 1px solid #d1d1d1;
	padding: 25px 0px;
}

.decide {
	display: flex;
	justify-content: space-between;
	align-items: center;
	/* 
	gap: 5%;
	width: 20%; 
	*/;
}

.yes, .no {
	padding: 6px 16px;
	transition: 0.2s all linear;
	cursor: pointer;
	border: none;
	outline: none;
	border-radius: 5px;
	white-space: nowrap; /* added */;
}

.yes:hover, .no:hover {
	background-color: #0693e329;
	color: #0693E3;
}

.useful p {
	color: #6a6a6a;
}

.copyright {
	padding-top: 6vh;
	color: white;
	text-align: center;
}

footer {
	height: 15vh;
	background: #161616;
	position: absolute; /* added */
	width: 100%; /* added */;
    min-width: 100%; /* added */
}

.current_article_heading h2 {
    font-size: 36px;
    font-weight: 600;
}

@media (max-width:1024px) {
	.article {
		width: 40%;
	}

	.menu ul li a {
		font-size: 13px;
	}
}

@media (max-width:820px) {
	.article {
		width: 45%;
	}

	.menu ul li a {
		font-size: 12px;
	}
}

@media (max-width:769px) {
	.article h3 {
		font-size: 17px;
	}

	.article p {
		font-size: 13px;
	}

	.menu_opener {
		display: block;
	}

	.menu {
		position: fixed;
		left: -300%;
		top: 9vh;
		/* height: 100vh; */
		background: #161616;
		z-index: 9;
		width: 100%;
		height: 100%;

	}

	.menu ul {
		flex-direction: column;
	}

	.menu ul li {
		margin: 1rem auto;
	}

	.menu ul li a {
		font-size: 18px;
	}

	.all_article .articles .read_article {
		width: 100%;
	}
}

@media (max-width:580px) {
    .banner {
        max-height: 30px;
    }

	.article {
		width: 100%;
	}

	.category_name h1 {
		font-size: 22px;
	}

	.current_article_reading {
		width: 80%;
		margin: 0px auto;
	}

	#article_name {
		display: none;
	}
}

@media (max-width: 480px) {
    .banner {
        margin-left: 0px;
    }
    
	.article_wrapper .main_heading h1 {
		font-size: 24px;
	}

	.menu ul li {
		margin: 1rem 0px;
		width: 85%;
	}

	.article_wrapper .main_heading,
	.all_article .secondary_heading,
	.all_article_categories .secondary_heading {
		font-size: 20px;
	}

	.faq_header .logo {
		width: 36%;
	}

	.article_wrapper .main_heading {
		height: 200px;
	}

	.menu {
		top: 6vh;
	}

	.faq_header {
		height: 6vh;
	}

	.back_links {
		gap: 4.5%;
	}

	.current_article_container {
		width: 90%;
		box-shadow: none;
		border-radius: 0px;
		border: none;
		padding: 40px 0px 0px 0px; /* added */;
	}

	.all_article {
		padding-bottom: 0%;
	}

	.article_short_des {
		height: auto;
	}

	.truncate {
		overflow: hidden;
		text-overflow: ellipsis;
		display: -webkit-box;
		-webkit-line-clamp: 6;
		line-clamp: 6;
		-webkit-box-orient: vertical;
	}

	.all_article .articles .read_article {
		padding: 24px;
	}

	.all_article_categories {
		padding-bottom: 0%;
	}

	.current_article_heading h1 {
		font-size: 28px;
	}

	.current_article_reading {
		width: 100%;
		margin: 0px auto;
	}
}

@media (max-width: 390px) {
	.faq_header .logo {
		width: 50%;
	}

	.faq_header {
		height: 9vh;
	}

	.menu {
		top: 9vh;
	}
}