/* =========================================
   DR1060 GALLERY – SILICON VALLEY INDIA STYLE
========================================= */
.dr1060gallery {
	padding: 90px 16px;
	background: radial-gradient(circle at 20% 20%, rgba(0, 212, 255, 0.08),
		transparent 40%),
		radial-gradient(circle at 80% 80%, rgba(124, 58, 237, 0.08),
		transparent 40%), linear-gradient(135deg, #020617, #050816);
	color: #fff;
	position: relative;
	font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial;
}

/* =========================================
   HEADER
========================================= */
.dr1060gallery-header {
	text-align: center;
	margin-bottom: 30px;
}

.dr1060gallery-header h2 {
	font-size: clamp(1.8rem, 4vw, 2.6rem);
	font-weight: 800;
	background: linear-gradient(90deg, #00d4ff, #8b5cf6, #ffffff);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.dr1060gallery-header p {
	font-size: 14px;
	color: #cbd5f5;
	margin-top: 8px;
}

/* =========================================
   TOGGLE
========================================= */
.dr1060gallery-toggle {
	margin-top: 16px;
	display: inline-flex;
	gap: 12px;
	flex-wrap: wrap;
	justify-content: center;
	padding: 8px 14px;
	border-radius: 40px;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.12);
}

.dr1060gallery-toggle label {
	font-size: 13px;
	cursor: pointer;
	color: #cbd5f5;
}

.dr1060gallery-toggle input {
	margin-right: 5px;
}

/* =========================================
   GRID (NO OVERFLOW SAFE)
========================================= */
.dr1060gallery-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 18px;
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
}

/* =========================================
   CARD (SAFE – NO SCALE BREAK)
========================================= */
.dr1060gallery-card {
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(10px);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
	transition: transform 0.35s ease, box-shadow 0.35s ease;
	opacity: 0;
	transform: translateY(20px);
}

/* reveal */
.dr1060gallery-card.show {
	opacity: 1;
	transform: translateY(0);
}

/* hover (SAFE – NO horizontal overflow) */
.dr1060gallery-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

/* =========================================
   MEDIA BOX (CRITICAL FIX)
========================================= */
.media-box {
	width: 100%;
	padding: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* =========================================
   MEDIA (NO OVERFLOW EVER)
========================================= */
.dr1060gallery-card img, .dr1060gallery-card video, .dr1060gallery-card iframe
	{
	width: 100%;
	height: auto;
	max-width: 100%;
	max-height: 300px;
	object-fit: contain;
	display: block;
	border-radius: 12px;
}

/* =========================================
   SOCIAL CARD (FIXED WIDTH SAFE)
========================================= */
.dr1060-social-card {
	display: flex;
	gap: 10px;
	width: 100%;
	padding: 14px;
	border-radius: 14px;
	text-decoration: none;
	color: #fff;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.12);
	transition: 0.3s ease;
}

.dr1060-social-card:hover {
	transform: translateY(-4px);
	background: rgba(124, 58, 237, 0.12);
}

.dr1060-social-icon {
	font-size: 20px;
}

.dr1060-social-content {
	flex: 1;
}

.dr1060-social-content h3 {
	font-size: 13px;
	margin: 0;
}

.dr1060-social-content h4 {
	font-size: 11px;
	margin: 2px 0;
	color: #a5b4fc;
}

.dr1060-social-content p {
	font-size: 12px;
	color: #cbd5f5;
	margin-top: 6px;
}

.dr1060-view-btn {
	font-size: 12px;
	color: #00d4ff;
	margin-top: 6px;
	display: inline-block;
}

/* =========================================
   CAPTION
========================================= */
.dr1060gallery-caption {
	padding: 10px;
	font-size: 12px;
	color: #cbd5f5;
	text-align: center;
}

/* =========================================
   LOADING
========================================= */
.dr1060gallery-loading {
	text-align: center;
	color: #94a3b8;
	padding: 30px;
}

/* =========================================
   MOBILE FIXES (IMPORTANT)
========================================= */
@media ( max-width : 768px) {
	.dr1060gallery {
		padding: 70px 12px;
	}
	.dr1060gallery-grid {
		gap: 14px;
	}
	.dr1060gallery-card img, .dr1060gallery-card video, .dr1060gallery-card iframe
		{
		max-height: 220px;
	}
	.dr1060gallery-toggle {
		width: 100%;
	}
}