/* ==========================================================================
   Photo Card Layout 2 — 100% Matched to Reference Image 1
   White Photo (75%) + Crimson Diamond Textured Banner (25%) + Badge (75%)
   ========================================================================== */

.mits-pc-l2 {
	background: #ffffff;
	color: #ffffff;
	position: relative;
	width: 600px;
	height: 600px;
	flex: 0 0 600px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	border-radius: 8px;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
	margin: 0 auto;
}

/* Upper 75% Photo Section */
.mits-pc-l2 .pc2-photo {
	position: relative;
	height: 450px;
	flex: 0 0 450px;
	background: #ffffff;
	overflow: hidden;
}

.mits-pc-l2 .pc2-photo img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.mits-pc-l2 .pc2-shade {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.08) 25%, rgba(0, 0, 0, 0) 45%);
	pointer-events: none;
}

/* Exact Newspaper Masthead on Top-Right */
.mits-pc-l2 .pc2-masthead {
	position: absolute;
	top: 24px;
	right: 28px;
	z-index: 2;
	text-align: right;
}

.mits-pc-l2 .pc2-brand {
	margin: 0;
	color: #000000;
	font-family: 'Hind Siliguri', 'Tiro Bangla', 'Noto Sans Bengali', sans-serif;
	font-weight: 800;
	letter-spacing: -0.015em;
	font-size: 38px;
	line-height: 1.15;
	text-shadow: 0 1px 3px rgba(255, 255, 255, 0.8), 0 0 12px rgba(255, 255, 255, 0.9);
	-webkit-font-smoothing: antialiased;
}

.mits-pc-l2 .pc-masthead-img {
	max-height: 56px;
	max-width: 280px;
	width: auto;
	height: auto;
	object-fit: contain;
	filter: drop-shadow(0 1px 4px rgba(255, 255, 255, 0.9)) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
	display: block;
}

/* Center Overlapping Badge Anchor at exactly 75% (450px) */
.mits-pc-l2 .pc2-badgewrap {
	position: absolute;
	left: 50%;
	top: 450px;
	transform: translate(-50%, -50%);
	z-index: 10;
}

.mits-pc-l2 .pc2-badge {
	width: 108px;
	height: 108px;
	border-radius: 50%;
	background: #ffffff;
	box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.45), 0 4px 10px -2px rgba(0, 0, 0, 0.3);
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	padding: 14%;
}

.mits-pc-l2 .pc2-badge img {
	max-width: 85%;
	max-height: 85%;
	object-fit: contain;
}

.mits-pc-l2 .pc2-badge svg {
	width: 100%;
	height: 100%;
}

/* Lower 25% Crimson Textured Banner with Exact Repeating Diamond/Triangular Pattern */
.mits-pc-l2 .pc2-banner {
	position: relative;
	height: 150px;
	flex: 0 0 150px;
	background-color: #a40003;
	background-image: 
		radial-gradient(circle at 50% 0%, rgba(220, 10, 20, 0.45) 0%, rgba(130, 0, 0, 0.95) 75%, #590002 100%),
		repeating-linear-gradient(60deg, rgba(0, 0, 0, 0.045) 0px, rgba(0, 0, 0, 0.045) 1px, transparent 1px, transparent 18px),
		repeating-linear-gradient(120deg, rgba(0, 0, 0, 0.045) 0px, rgba(0, 0, 0, 0.045) 1px, transparent 1px, transparent 18px),
		repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.02) 0px, rgba(255, 255, 255, 0.02) 1px, transparent 1px, transparent 16px);
	box-shadow: inset 0 6px 12px -3px rgba(0, 0, 0, 0.35);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 46px 28px 16px;
	box-sizing: border-box;
	text-align: center;
}

.mits-pc-l2 .pc2-vignette {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, transparent 45%, rgba(0, 0, 0, 0.4) 100%);
	pointer-events: none;
}

.mits-pc-l2 .pc2-title {
	position: relative;
	margin: 0;
	color: #ffffff;
	font-family: 'Hind Siliguri', 'Tiro Bangla', 'Noto Sans Bengali', sans-serif;
	font-weight: 800;
	font-size: 24px;
	line-height: 1.35;
	letter-spacing: -0.015em;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
	text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
}

/* ==========================================================================
   Standalone Preview Page Styles
   ========================================================================== */
.mits-pc-preview-page {
	margin: 0;
	min-height: 100vh;
	background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
	font-family: 'Noto Sans Bengali', 'Hind Siliguri', sans-serif;
}

.mits-pc-preview {
	max-width: 760px;
	margin: 0 auto;
	padding: 34px 18px 50px;
	text-align: center;
	color: #ffffff;
}

.mits-pc-preview h1 {
	font-size: 28px;
	font-weight: 700;
	margin: 0 0 6px;
}

.mits-pc-preview .mits-pc-postname {
	opacity: 0.85;
	margin: 0 0 16px;
	font-size: 16px;
}

.mits-pc-preview .mits-pc-back {
	display: inline-block;
	color: #ffffff;
	background: rgba(255, 255, 255, 0.15);
	padding: 8px 24px;
	border-radius: 999px;
	text-decoration: none;
	font-weight: 600;
	margin-bottom: 20px;
	transition: background 0.2s;
}

.mits-pc-preview .mits-pc-back:hover {
	background: rgba(255, 255, 255, 0.25);
}

.mits-pc-preview .mits-pc-chips {
	display: flex;
	gap: 12px;
	justify-content: center;
	margin-bottom: 20px;
}

.mits-pc-preview .mits-pc-chips button {
	background: rgba(255, 255, 255, 0.15);
	color: #ffffff;
	border: none;
	padding: 8px 24px;
	border-radius: 999px;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	transition: all 0.2s;
}

.mits-pc-preview .mits-pc-chips button.on {
	background: #ffffff;
	color: #0f172a;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.mits-pc-preview .mits-pc-canvas {
	display: flex;
	justify-content: center;
	padding-bottom: 10px;
}

.mits-pc-preview .mits-pc-loading {
	color: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin-bottom: 16px;
}

.mits-pc-preview .mits-pc-actions {
	margin-top: 24px;
	display: flex;
	gap: 14px;
	justify-content: center;
}
