/* CS Post Cards - Styles */

.cs-pc-wrapper {
	max-width: 1200px;
	margin: 0 auto;
	padding: 20px 0;
}

/* Tabs */
.cs-pc-tabs {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 30px;
	border-bottom: 1px solid #e2e2e2;
	margin-bottom: 40px;
	padding-bottom: 0;
}

.cs-pc-tab {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.5px;
	color: #10243e;
	text-decoration: none;
	text-transform: uppercase;
	padding: 12px 8px;
	border-bottom: 3px solid transparent;
	transition: all 0.2s ease;
}

.cs-pc-tab:hover {
	color: #1d4ed8;
}

.cs-pc-tab.active {
	border-bottom-color: #1d4ed8;
	background: #ffffff;
	box-shadow: 0 -1px 0 0 #e2e2e2, 1px 0 0 0 #e2e2e2, -1px 0 0 0 #e2e2e2;
}

/* Grid */
.cs-pc-grid {
	display: grid;
	gap: 30px;
	min-height: 200px;
	transition: opacity 0.15s ease;
}

.cs-pc-grid.cs-pc-loading {
	opacity: 0.4;
	pointer-events: none;
}

.cs-pc-empty {
	grid-column: 1 / -1;
	text-align: center;
	color: #667085;
	padding: 40px 0;
}

@media (max-width: 900px) {
	.cs-pc-grid {
		grid-template-columns: 1fr !important;
	}
}

/* Card */
.cs-pc-card {
	position: relative;
	border-radius: 4px;
	overflow: hidden;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.cs-pc-image {
	position: relative;
	width: 100%;
	min-height: 620px;
	background-size: cover;
	background-position: center;
	display: flex;
	align-items: flex-end;
}

/* Dark overlay box */
.cs-pc-overlay {
	width: 100%;
	background: #10243e;
	color: #ffffff;
	padding: 24px 26px 30px;
	box-sizing: border-box;
}

.cs-pc-meta {
	display: flex;
	gap: 20px;
	font-size: 12px;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	color: #b7c2d0;
	margin-bottom: 14px;
}

.cs-pc-meta-item {
	display: flex;
	align-items: center;
	gap: 6px;
}

.cs-pc-meta-item .dashicons {
	font-size: 15px;
	width: 15px;
	height: 15px;
}

.cs-pc-title {
	font-size: 28px;
	line-height: 1.2;
	font-weight: 700;
	margin: 0 0 14px;
	color: #ffffff;
}

.cs-pc-excerpt {
	font-size: 14px;
	line-height: 1.6;
	color: #d7dde5;
	margin: 0 0 20px;
}

.cs-pc-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #1d4ed8;
	color: #ffffff !important;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.5px;
	text-decoration: none;
	padding: 12px 22px;
	border-radius: 30px;
	transition: background 0.2s ease;
}

.cs-pc-btn:hover {
	background: #163fb0;
	color: #ffffff !important;
}

.cs-pc-arrow {
	font-size: 14px;
}

/* ==========================================================
   SINGLE POST PAGE
   ========================================================== */

.cs-sp-wrapper {
	max-width: 1200px;
	margin: 0 auto;
	padding: 50px 20px 70px;
}

.cs-sp-header {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-end;
	gap: 16px;
	margin-bottom: 24px;
}

.cs-sp-title {
	font-size: 40px;
	line-height: 1.2;
	font-weight: 700;
	color: #10243e;
	margin: 0;
	max-width: 700px;
}

.cs-sp-meta {
	display: flex;
	gap: 20px;
	font-size: 13px;
	color: #6b7280;
	white-space: nowrap;
}

.cs-sp-meta-item {
	display: flex;
	align-items: center;
	gap: 6px;
}

.cs-sp-meta-item .dashicons {
	font-size: 16px;
	width: 16px;
	height: 16px;
}

.cs-sp-hero {
	width: 100%;
	border-radius: 4px;
	overflow: hidden;
	margin-bottom: 16px;
}

.cs-sp-hero img {
	width: 100%;
	height: 500px;
	display: block;
}

.cs-sp-gallery {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	margin-bottom: 40px;
}

.cs-sp-gallery-item {
	border-radius: 4px;
	overflow: hidden;
}

.cs-sp-gallery-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.cs-sp-content {
	max-width: 900px;
	font-size: 16px;
	line-height: 1.8;
	color: #10243e;
	margin-bottom: 30px;
}

.cs-sp-content p {
	margin: 0 0 12px;
}

.cs-sp-tagbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 16px;
	border-top: 1px solid #e2e2e2;
	padding-top: 20px;
	margin-bottom: 60px;
}

.cs-sp-tag {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.5px;
	color: #10243e;
	text-transform: uppercase;
}

.cs-sp-share {
	display: flex;
	gap: 14px;
}

.cs-sp-share-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	color: #10243e;
	text-decoration: none;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0;
}

.cs-sp-share-btn .dashicons {
	font-size: 18px;
	width: 18px;
	height: 18px;
}

.cs-sp-share-btn:hover {
	color: #1d4ed8;
}

.cs-sp-recent-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 20px;
}

.cs-sp-recent-header h2 {
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0.5px;
	color: #10243e;
	margin: 0;
}

.cs-sp-see-all {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #1d4ed8;
	color: #ffffff !important;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.5px;
	text-decoration: none;
	padding: 10px 20px;
	border-radius: 30px;
}

.cs-sp-see-all:hover {
	background: #163fb0;
}

.cs-sp-recent-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}

.cs-pc-meta-item .dashicons,
.cs-sp-meta-item .dashicons,
.cs-sp-share-btn .dashicons {
    font-family: dashicons !important;
    font-size: 16px !important;
    font-style: normal !important;
    font-weight: normal !important;
    line-height: 1 !important;
    display: inline-block !important;
    width: 16px !important;
    height: 16px !important;
    text-align: center !important;
    speak: never;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

@media (max-width: 900px) {
	.cs-sp-gallery,
	.cs-sp-recent-grid {
		grid-template-columns: 1fr;
	}

	.cs-sp-title {
		font-size: 28px;
	}
}

.cs-sp-recent-card {
	position: relative;
	display: block;
	min-height: 260px;
	background-size: cover;
	background-position: center;
	border-radius: 4px;
	overflow: hidden;
	text-decoration: none;
}

.cs-sp-recent-card::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(16, 36, 62, 0) 40%, rgba(16, 36, 62, 0.85) 100%);
}

.cs-sp-recent-title {
	position: absolute;
	left: 18px;
	right: 18px;
	bottom: 16px;
	color: #ffffff;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
}
