/* ==========Books css========== */
@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400..700&family=Red+Hat+Text:ital,wght@0,300..700;1,300..700&display=swap');

.hp-book {
	--hp-book-dark: #1D3231;
	--hp-book-green: #5DA900;
	--hp-book-text: #566562;
	--hp-book-light: #F4F3EF;
	font-family: "Poppins", Sans-serif;
	color: var(--hp-book-text);
}

/* Coming soon / launched toggling (JS swaps is-soon → is-live) */
.hp-book.is-soon .hp-when-live,
.hp-book.is-live .hp-when-soon {
	display: none !important;
}

.hp-book img {
	max-width: 100%;
	height: auto;
	display: block;
}

.hp-book a {
	text-decoration: none;
}

/* ---------- Shared parts ---------- */
.hp-book .hp-book-badge {
	display: inline-block;
	background: #5DA900;
	color: #fff;
	font-size: 14px;
	font-weight: 500;
	line-height: 1;
	text-transform: uppercase;
	letter-spacing: .02em;
	padding: 7px 22px 7px 12px;
	clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}

.hp-book .hp-book-title {
	color: var(--hp-book-dark);
	font-weight: 300;
	line-height: 1.2;
	margin: 0 0 16px;
}

.hp-book .hp-book-title strong,
.hp-book .hp-book-title b {
	font-weight: 700;
}

.hp-book .hp-book-title a {
	color: inherit;
}

.hp-book .hp-book-desc {
	font-size: 15px;
	line-height: 1.6;
	text-transform: capitalize;
	margin-bottom: 28px;
}

.hp-book .hp-book-desc strong,
.hp-book .hp-book-desc b {
	color: var(--hp-book-dark);
	font-weight: 600;
}

.hp-book .hp-book-script {
	display: block;
	font-family: "Caveat";
	color: var(--hp-book-green);
	font-size: 18px;
	font-weight: 700;
	line-height: 155%; 
	letter-spacing: 1.26px;
	text-transform: capitalize;
	margin-bottom:10px;
}
.book_detail .hp-book .hp-book-script{
	color:#fff;
}
.book_detail .hp-book-inside-cta.hp-when-live .hp-book-script{
	color:#5da900;
}
/* Buttons */
.hp-book .hp-book-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.hp-book-buttons .hp-book-btn:nth-child(2) {
    display: none;
}

.hp-book .hp-book-btn {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	background: #fff;
	border: 1px solid #364948;
	border-radius: 60px;
	padding: 9px 22px 9px 14px;
	color: #1D3231;
	font-size: 18px;
	font-weight: 600;
	line-height: 150%;
	transition: all ease .3s;
	min-width: 178px;
	width: 48.5%;
	justify-content: center;
	font-family: 'Poppins';
	min-height:48px;
	align-items: flex-start;
}

.hp-book .hp-book-btn img {
	width: 28px;
	height: 28px;
	object-fit: contain;
}

.hp-book .hp-book-btn:hover {
	background: #EFF7E6;
	border-color: var(--hp-book-green);
	color: var(--hp-book-dark);
}

/* Timer */
.hp-book .hp-book-timer {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 8px;
	background: #fff;
	padding: 14px 26px;
	max-width: 420px;
}

.hp-book .hp-book-timer-unit {
	display: flex;
	flex-direction: column;
	align-items: center;
	min-width: 50px;
}

.hp-book .hp-book-timer-num {
	color: var(--hp-book-dark);
	font-size: 30px;
	font-weight: 500;
	line-height: 1.2;
}

.hp-book .hp-book-timer-lbl {
	font-size: 12px;
	line-height: 1.4;
	color: #8A9593;
}

.hp-book .hp-book-timer-sep {
	width: 5px;
	color: #E8E8E8;
	font-size: 36px;
	line-height:1;
	align-items:center;
	height:30px;
}

 footer .hp-book .hp-book-timer-sep {
    font-size: 28px;
}
 
/* ---------- [book_section] Home ---------- */
.hp-book--section {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	align-items: center;
	gap: 60px;
	background: var(--hp-book-light);
	padding: 50px 60px;
}

.hp-book--section .hp-book-media {
	display: flex;
	justify-content: center;
}

.hp-book--section .hp-book-media img {
	max-width: 330px;
	width: 100%;
	box-shadow: 0 20px 40px rgba(29, 50, 49, .22);
}

.hp-book--section .hp-book-title {
	font-size: 44px;
}

/* ---------- [book_footer] ---------- */
.hp-book--footer .hp-book-title{
	color:#1D3231;
	font-family: Poppins;
	font-size: 28px;
	font-weight: 500;
	line-height: 128%; 
	letter-spacing: 0.28px;
	text-transform: capitalize;
}
.hp-book--footer {
	position: relative;
	display: flex;
	align-items: stretch;
	gap: 33px;
	padding: 0 24px 14px 14px;
}

.hp-book--footer::before {
	content: "";
	position: absolute;
	top: 30px;
	left: 0;
	right: 0;
	bottom: 0;
	background: var(--hp-book-light);
}

.hp-book--footer > * {
	position: relative;
	z-index: 1;
}

.hp-book--footer .hp-book-media {
	flex: 0 0 167px;
}

.hp-book--footer .hp-book-media img {
	width: 167px;
	height: 250px;
	object-fit: cover;
}

.hp-book--footer .hp-book-body {
	padding-top: 50px;
	align-self: center;
	flex: 1;
	min-width: 0;
}

.hp-book--footer .hp-book-title{
	font-size: 24px;
	font-weight: 500;
	line-height:136%;
	margin-bottom: 16px;
}

.hp-book--footer .hp-book-desc {
	font-size: 14px;
	margin-bottom: 14px;
}

.hp-book--footer .hp-book-timer,
.hp-book--card .hp-book-timer {
	border: 1px solid #DFE2E2;
	border-radius: 4px;
	padding: 12px 20px;
	background: #FFF;
}

.hp-book--footer .hp-book-timer-num {
	color:#364948;
	font-family: Poppins;
	font-size: 20px;
	font-weight: 600;
	line-height: 21px;
	text-transform: capitalize;
}

.hp-book--footer .hp-book-timer-lbl {
	color:#A5ADAD;
	text-align: center;
	font-family: Poppins;
	font-size: 12px;
	font-weight: 400;
	line-height: 120%;
	text-transform: capitalize;
}

.hp-book--footer .hp-book-timer-unit {
	min-width: 40px;
}

/* ---------- [book_hero] Single ---------- */
.hp-book--hero {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 534px);
	column-gap: 80px;
	align-items: start;
}

.hp-book--hero > * {
	position: relative;
	z-index: 1;
}

/* Full-width dark background behind the first row only */
.hp-book--hero .hp-book-hero-bg {
	grid-row: 1;
	grid-column: 1 / -1;
	align-self: stretch;
	z-index: 0;
	background: var(--hp-book-dark);
	box-shadow: 0 0 0 100vmax var(--hp-book-dark);
	clip-path: inset(0 -100vmax);
}

.hp-book--hero .hp-book-body {
	grid-row: 1;
	grid-column: 1;
	padding: 150px 0;
	align-self: center;
}

.hp-book--hero .hp-book-title {
	color: #FFF;
font-family: Poppins;
font-size: 52px;
font-style: normal;
font-weight: 300;
line-height: 120%;
letter-spacing: -0.78px;
text-transform: capitalize;
	margin:20px 0px;
	max-width: 351px;
}

.hp-book--hero .hp-book-desc {
	color:#939D9C;
font-family: Poppins;
font-size: 16px;
font-style: normal;
font-weight: 400;
line-height: 155%; /* 24.8px */
text-transform: capitalize;
	max-width:519px;
	width:100%;
}

.hp-book--hero .hp-book-desc strong,
.hp-book--hero .hp-book-desc b {
	color: #fff;
}

.hp-book--hero .hp-book-body .hp-book-btn {
	border-color: #fff;
}

.hp-book--hero .hp-book-media {
	grid-row: 1;
	grid-column: 2;
	isolation: isolate;
}

.hp-book--hero.has-inside .hp-book-media {
    grid-row: 1 / span 2;
    margin-right: 15px;
}

.hp-book--hero .hp-book-media::before {
	content: "";
	position: absolute;
	top: -20px;
	right: -20px;
	width: 55%;
	height: 45%;
	background: var(--hp-book-green);
	z-index: -1;
}

.hp-book--hero .hp-book-media img {
	width: 100%;
	box-shadow: 0 24px 50px rgba(0, 0, 0, .28);
}

.hp-book--hero .hp-book-inside {
	grid-row: 2;
	grid-column: 1;
	padding: 60px 0;
}

/* ---------- Inside the book ---------- */
.hp-book .hp-book-inside-title {
	color: var(--hp-book-dark);
	font-size: 22px;
	font-weight: 500;
	line-height: 1.3;
	margin: 0 0 14px;
}

.hp-book .hp-book-inside-desc {
	font-size: 16px;
	line-height: 1.6;
	text-transform: capitalize;
}

.hp-book .hp-book-inside-desc p {
	margin: 0 0 14px;
}

.hp-book .hp-book-points {
	list-style: none;
	margin: 18px 0 0;
	padding: 0;
}

.hp-book .hp-book-points li {
	position: relative;
	padding-left: 16px;
	color: var(--hp-book-dark);
	font-size: 15px;
	line-height: 1.8;
}

.hp-book .hp-book-points li::before {
	content: "";
	position: absolute;
	left: 2px;
	top: 12px;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--hp-book-dark);
}

.hp-book .hp-book-inside-cta {
	border-top: 1px solid #EEE;
	margin-top: 28px;
	padding-top: 24px;
}

.hp-book .hp-book-inside-cta .hp-book-timer {
	background: var(--hp-book-light);
}

/* ---------- [book_grid] All books ---------- */
.hp-book-grid {
	display: grid;
	grid-template-columns: repeat(var(--hp-book-cols, 3), minmax(0, 1fr));
	gap: 30px;
}

.hp-book--card {
	display: flex;
	flex-direction: column;
	background: var(--hp-book-light);
	padding: 30px 24px 26px;
}

.hp-book--card .hp-book-media {
	position: relative;
	display: flex;
	justify-content: center;
	margin-bottom: 24px;
}

.hp-book--card .hp-book-media img {
	width: 100%;
	max-width: 220px;
	box-shadow: 0 14px 30px rgba(29, 50, 49, .2);
}

.hp-book--card .hp-book-status {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
	background: var(--hp-book-green);
	color: #fff;
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	padding: 6px 12px;
	line-height: 1;
}

.hp-book--card .hp-book-status.hp-when-soon {
	background: var(--hp-book-dark);
}

.hp-book--card .hp-book-body {
	display: flex;
	flex-direction: column;
	flex: 1;
}

.hp-book--card .hp-book-title {
	font-size: 22px;
	font-weight: 500;
	margin-bottom: 10px;
}

.hp-book--card .hp-book-desc {
	font-size: 14px;
	margin-bottom: 20px;
}

.hp-book--card .hp-book-timer {
	padding: 10px 14px;
}

.hp-book--card .hp-book-timer-num {
	font-size: 20px;
}

.hp-book--card .hp-book-timer-unit {
	min-width: 38px;
}

.hp-book--card .hp-book-more {
	margin-top: auto;
	padding-top: 20px;
	color: var(--hp-book-green);
	font-size: 15px;
	font-weight: 600;
}

.hp-book--card .hp-book-more:hover {
	color: #375D08;
}
.footer_book{

}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.hp-book--section {
		gap: 40px;
		padding: 40px;
	}

	.hp-book--section .hp-book-title {
		font-size: 36px;
	}

	.hp-book--hero {
		column-gap: 40px;
		grid-template-columns: minmax(0, 1fr) minmax(0, 320px);
	}

	.hp-book--hero .hp-book-title {
		font-size: 38px;
	}

	.hp-book-grid {
		grid-template-columns: repeat(min(var(--hp-book-cols, 3), 2), minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	
	.book_detail .hp-book .hp-book-inside-desc p{
		font-size:16px;
	}
	.book_detail .hp-book .hp-book-points li{
		font-size:16px;
		font-weight:600;
	}
	.book_detail .hp-book .hp-book-inside-title{
		font-size:24px;
		margin-bottom:16px;
	}
	.hp-book .hp-book-buttons {
		flex-wrap:nowrap;
	}
	
	.hp-book--footer .hp-book-media img {
		width: 159px;
		height: 239px;
	}


	.hp-book .hp-book-timer-num {
		font-size: 20px;
	}

	.hp-book .hp-book-timer-unit {
		min-width: 36px;
	}

	.hp-book .hp-book-btn {
		font-size: 14px;
		padding: 7px 16px 7px 10px;
		min-width: auto;
		min-height: 48px;
	}

	/* Section */
	.hp-book--section {
		grid-template-columns: 1fr;
		gap: 30px;
		padding: 30px 20px;
		text-align: center;
	}

	.hp-book--section .hp-book-media img {
		max-width: 220px;
	}

	.hp-book--section .hp-book-title {
		font-size: 28px;
	}

	.hp-book--section .hp-book-timer,
	.hp-book--section .hp-book-buttons {
		margin: 0 auto;
		justify-content: center;
	}

	.hp-book--section .hp-book-timer {
		justify-content: space-between;
	}

	/* Footer */
	.hp-book--footer {
		flex-direction: column;
		align-items: center;
		text-align: center;
		gap: 0;
		padding: 0 20px 20px;
	}

	.hp-book--footer::before {
		top: 110px;
	}

	.hp-book--footer .hp-book-media {
		flex: none;
	}

	.hp-book--footer .hp-book-body {
		padding-top: 16px;
		width: 100%;
	}

	.hp-book--footer .hp-book-title {
		font-size: 24px;
	}
	.hp-book .hp-book-script{
		font-size:16px;
		letter-spacing: 1.12px;
	}

	.hp-book--footer .hp-book-timer,
	.hp-book--footer .hp-book-buttons {
		margin: 0 auto;
		justify-content: center;
	}

	.hp-book--footer .hp-book-timer {
		justify-content: space-between;
	}

	/* Hero */
	.hp-book--hero {
		grid-template-columns: 1fr;
	}

	.hp-book--hero .hp-book-hero-bg {
		grid-row: 1;
	}

	.hp-book--hero .hp-book-body {
		padding: 106px 0 33px;
	}
	    .book_detail .hp-book--hero .hp-book-body {
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
	.hp-book--hero .hp-book-title {
		font-size: 32px;
		text-align: center;
		margin:12px 0px;
	}
	.hp-book--hero .hp-book-desc{
		font-size:14px;
		text-align:center;
		margin-bottom:32px;
	}
	.hp-book--hero .hp-book-media,
	.hp-book--hero.has-inside .hp-book-media {
		position: relative;
		top: -1px;
		grid-row: 2;
		grid-column: 1;
		margin: 0 auto;
		max-width: 340px;
		width: calc(100% - 20px);
	}

	/* Dark background continues behind the top half of the cover */
	.hp-book--hero .hp-book-media::after {
		content: "";
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		height: 50%;
		background: var(--hp-book-dark);
		box-shadow: 0 0 0 100vmax var(--hp-book-dark);
		clip-path: inset(0 -100vmax);
		z-index: -2;
	}

	.hp-book--hero .hp-book-media::before {
		top: -12px;
		right: -12px;
	}

	.hp-book--hero .hp-book-inside {
		grid-row: 3;
		padding: 40px 0;
	}

	.hp-book .hp-book-inside-desc {
		font-size: 14px;
	}

	.hp-book .hp-book-points li {
		font-size: 13px;
		font-weight: 500;
	}

	/* Grid */
	.hp-book-grid {
		grid-template-columns: 1fr;
	}
}
