/**
 * Blog Posts Tabs — front-end styles.
 */

.bpt-block {
	--bpt-ink: #1a1a1a;
	--bpt-muted: #6b7280;
	--bpt-line: #e5e7eb;
	--bpt-accent: #1a1a1a;
	--bpt-radius: 12px;
	background: #ffffff;
	color: var(--bpt-ink);
	font-family: inherit;
}

/* ---------- Header: title + tabs ---------- */

.bpt-header {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 32px;
}

.bpt-title {
	font-size: 24px;
	font-weight: 700;
	line-height: 1.2;
	margin: 0;
	white-space: nowrap;
}

.bpt-tabs-scroll {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}
.bpt-tabs-scroll::-webkit-scrollbar {
	display: none;
}

.bpt-tabs {
	display: flex;
	align-items: center;
	gap: 32px;
}

.bpt-tab {
	appearance: none;
	background: none;
	border: none;
	cursor: pointer;
	font-size: 16px;
	line-height: 1.4;
	white-space: nowrap;
	padding: 6px 0 12px;
	position: relative;
	font-family:"Work Sans";
  	color:#191919;
  	font-weight: 400;
    outline: none;
	transition: color 0.15s ease;
}


.bpt-tab::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 1px;
	background: var(--bpt-accent);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.15s ease;
}

.bpt-tab.is-active::after {
	transform: scaleX(1);
}

/* ---------- Content layout ---------- */

.bpt-content-area {
	position: relative;
	min-height: 120px;
	transition: opacity 0.15s ease;
}

.bpt-content-area.is-loading {
	opacity: 0.45;
	pointer-events: none;
}

.bpt-content-area.is-loading::after {
	content: "";
	position: absolute;
	top: 40px;
	left: 50%;
	width: 32px;
	height: 32px;
	margin-left: -16px;
	border: 3px solid var(--bpt-line);
	border-top-color: var(--bpt-accent);
	border-radius: 50%;
	animation: bpt-spin 0.7s linear infinite;
}

@keyframes bpt-spin {
	to {
		transform: rotate( 360deg );
	}
}

.bpt-content-grid {
	display: grid;
	grid-template-columns: 1.3fr 1fr;
	gap: 40px;
	align-items: start;
}

.bpt-large-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 32px 28px;
}

.bpt-small-list {
	display: flex;
	flex-direction: column;
	gap: 24px;
	    position: sticky;
    top: 95px;
}

/* ---------- Cards ---------- */

.bpt-card {
	display: block;
}

.bpt-card__image-link {
	display: block;
}

.bpt-card__image,
.bpt-card__image.bpt-card__image--placeholder {
	width: 100%;
	border-radius:5px;
	display: block;
	object-fit: cover;
	background: #e9ebee;
}

.bpt-card--large .bpt-card__image {
/* 	aspect-ratio: 4 / 3; */
/* 	height:auto; */
	margin-bottom: 10px;
}

.bpt-card__title {
	margin: 0 0 ;
	font-size: 18px !important;
	font-weight: 700;
	line-height: 1.35;
}

.bpt-card__title a {
	font-size: 18px !important;
	
	color: var(--bpt-ink);
	text-decoration: none;
}

.bpt-card__title a:hover {
	text-decoration: underline;
}

.bpt-card__date {
	margin: 0 0 4px !important;
	font-size: 13px;
	color: var(--bpt-muted);
}

.bpt-card--small .bpt-card__date {
	margin: 8px 0 0;
	order: 3;
}

.bpt-card__excerpt {
	margin: 0 0 10px;
	font-size: 14px;
	line-height: 1.55;
	color: #4b5563;
}

.bpt-card__cat {
	margin: 0;
	font-size: 13px;
	color: var(--bpt-muted);
}

/* Small (list) cards */

.bpt-card--small {
	display: flex;
	gap: 9px;
	align-items: flex-start;
}

.bpt-card--small .bpt-card__image-link {
	flex: 0 0 96px;
}

.bpt-card--small .bpt-card__image {
	width: 130px;
	height: 115px;
	aspect-ratio: 1 / 1;
}

.bpt-card--small .bpt-card__body {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.bpt-card--small .bpt-card__title,
.bpt-card--small .bpt-card__title  a{
	font-size: 16px !important;
}

.bpt-card--small .bpt-card__excerpt {
	font-size: 13px;
}

/* ---------- Empty state ---------- */

.bpt-empty {
	color: var(--bpt-muted);
	font-size: 15px;
	padding: 32px 0;
	text-align: center;
}

/* ---------- Pagination ---------- */

.bpt-pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	flex-wrap: wrap;
	margin-top: 40px;
	grid-column: 1 / -1;
}

.bpt-pagination__list {
	display: flex;
	align-items: center;
	gap: 4px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.bpt-pagination__btn,
.bpt-pagination__page {
	appearance: none;
	cursor: pointer;
	background: #fff;
	border: 1px solid var(--bpt-line);
	border-radius: 6px;
	color: var(--bpt-ink);
	font-size: 14px;
	line-height: 1;
	padding: 9px 14px;
	transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.bpt-pagination__page {
	padding: 9px 13px;
	min-width: 38px;
}

.bpt-pagination__btn:hover:not(:disabled),
.bpt-pagination__page:hover {
	border-color: var(--bpt-ink);
}

.bpt-pagination__page.is-active {
	background: var(--bpt-accent);
	border-color: var(--bpt-accent);
	color: #fff;
	font-weight: 600;
}

.bpt-pagination__btn:disabled {
	opacity: 0.4;
	cursor: not-allowed;
}

/* ---------- Responsive ---------- */

@media (max-width: 780px) and (min-width: 575px) {
     .absd-reserve-heading-20 ,
	 .bpt-card__title,  .bpt-card__title a{
        font-size: 16px !important;
    }
}
@media (max-width: 1024px) {
	.bpt-content-grid {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.bpt-large-grid {
		gap: 24px 20px;
	}
}
@media (max-width: 575px) {
	.bpt-card__title, .bpt-card__title a{
        font-size: 15px !important;
    }
}
@media (max-width: 640px) {
	.bpt-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
	}

	.bpt-tabs-scroll {
		width: 100%;
		overflow-x: auto;
	}

	.bpt-tabs {
		gap: 24px;
	}

	.bpt-large-grid {
		grid-template-columns: 1fr;
	}

	.bpt-pagination {
		gap: 6px;
	}

	.bpt-pagination__list {
		flex-wrap: wrap;
		justify-content: center;
	}
}

@media (max-width:479px) {
	.bpt-card--small .bpt-card__image {
		width:100%;
		height: auto;
	}
	.bpt-header {
		gap:0px;
	}
}

@media (max-width:375px) {
	.bpt-card--small .bpt-card__image-link {
			flex: 0 0 60px;
		}
}

@media (prefers-reduced-motion: reduce) {
	.bpt-tab::after,
	.bpt-pagination__btn,
	.bpt-pagination__page,
	.bpt-content-area {
		transition: none;
	}
	.bpt-content-area.is-loading::after {
		animation: none;
	}
}
