.dgh-gallery-page {
	width: min(1200px, calc(100% - 2rem));
	margin: 0 auto;
	padding: 2.5rem 0 3rem;
}

.dgh-gallery-section,
.dgh-gallery-container {
	width: 100%;
}

.dgh-gallery-header {
	margin: 0 0 2rem;
}

.dgh-gallery-title {
	margin: 0;
	font-size: clamp(2rem, 4vw, 3rem);
	line-height: 1.1;
	color: #111827;
}

.dgh-gallery-grid,
.dgh-album-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	max-width: 1200px;
	margin: 0 auto;
}

.dgh-album-card {
	background: #ffffff;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.dgh-album-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 14px 30px rgba(15, 23, 42, 0.12);
}

.dgh-album-thumb,
.dgh-album-image {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	background: #eef2f7;
}

.dgh-album-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	aspect-ratio: 4 / 3;
	background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
	color: #6b7280;
	font-weight: 600;
}

.dgh-album-info,
.dgh-album-content {
	padding: 16px;
}

.dgh-album-title {
	margin: 0 0 8px;
	font-size: 18px;
	font-weight: 600;
	color: #1a1a1a;
}

.dgh-album-title a {
	color: inherit;
	text-decoration: none;
}

.dgh-album-meta,
.dgh-album-date,
.dgh-album-company,
.dgh-album-venue {
	font-size: 13px;
	color: #666666;
	line-height: 1.6;
	margin: 0 0 4px;
}

.dgh-album-actions {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 14px;
}

.dgh-btn-view,
.dgh-view-album-button,
.dgh-btn-view:visited,
.dgh-view-album-button:visited {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 130px;
	background: #24448c;
	color: #ffffff !important;
	border: 1px solid #24448c;
	border-radius: 8px;
	padding: 10px 20px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
	transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.dgh-btn-view:hover,
.dgh-btn-view:focus,
.dgh-view-album-button:hover,
.dgh-view-album-button:focus,
.dgh-btn-view:active,
.dgh-view-album-button:active {
	background: #1d3771;
	border-color: #1d3771;
	color: #ffffff !important;
	transform: translateY(-1px);
}
.dgh-share-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	border: 1px solid #d1d5db;
	border-radius: 8px;
	background: #ffffff;
	cursor: pointer;
	transition: background 0.25s ease, border-color 0.25s ease;
}

.dgh-share-button:hover,
.dgh-share-button:focus {
	background: #f8fafc;
	border-color: #9ca3af;
}

.dgh-album-card.is-loading {
	pointer-events: none;
}

.dgh-album-card.is-loading .dgh-album-thumb,
.dgh-album-card.is-loading .dgh-album-image,
.dgh-album-card.is-loading .dgh-album-title,
.dgh-album-card.is-loading .dgh-album-meta,
.dgh-album-card.is-loading .dgh-btn-view,
.dgh-album-card.is-loading .dgh-view-album-button {
	position: relative;
	overflow: hidden;
	color: transparent !important;
	background: #e5e7eb;
	border-color: transparent;
}

.dgh-album-card.is-loading .dgh-album-title {
	height: 20px;
	border-radius: 6px;
	margin-bottom: 10px;
}

.dgh-album-card.is-loading .dgh-album-meta {
	display: block;
	height: 13px;
	border-radius: 4px;
	margin-bottom: 8px;
}

.dgh-album-card.is-loading .dgh-btn-view,
.dgh-album-card.is-loading .dgh-view-album-button {
	height: 36px;
	border-radius: 8px;
}

.dgh-album-card.is-loading .dgh-album-thumb::after,
.dgh-album-card.is-loading .dgh-album-image::after,
.dgh-album-card.is-loading .dgh-album-title::after,
.dgh-album-card.is-loading .dgh-album-meta::after,
.dgh-album-card.is-loading .dgh-btn-view::after,
.dgh-album-card.is-loading .dgh-view-album-button::after {
	content: '';
	position: absolute;
	inset: 0;
	transform: translateX(-100%);
	background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.65) 50%, rgba(255,255,255,0) 100%);
	animation: dgh-skeleton-loading 1.4s infinite;
}

@keyframes dgh-skeleton-loading {
	100% {
		transform: translateX(100%);
	}
}

@media (max-width: 768px) {
	.dgh-gallery-grid,
	.dgh-album-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 480px) {
	.dgh-gallery-grid,
	.dgh-album-grid {
		grid-template-columns: 1fr;
	}
}
