/* ==========================================================================
   Unified Page Container & Archival Card Styles
   ========================================================================== */

.contact-page,
.donators-page,
.faq-page,
.news-page,
.history-page,
.join-page,
.reviews-page,
.awards-page,
.nano-album-page,
.videos-page,
.pdetails-page,
.cinderellas-page,
.links-page,
.commem-page,
.prnd-page,
.mono-page,
.upu-page,
.intro-page,
.intro,
.intro-redesign,
.catalogues-page,
.search-page,
.details-page,
.stats-page,
.cancels-page,
.type-page,
#layoutBodyContent[class],
#layoutBodyContent[class*="-page"] {
	width: 100%;
	max-width: 1680px;
	margin: 0 auto;
	padding: 8px 12px 32px !important;
	box-sizing: border-box;
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
}

.archival-section-card {
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(248, 241, 230, 0.92) 100%);
	border: 1px solid rgba(141, 116, 64, 0.24);
	border-radius: 16px;
	padding: 22px 26px;
	margin-bottom: 24px;
	box-shadow: 0 6px 18px rgba(36, 29, 17, 0.05);
}

.cat-section-head {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin-bottom: 18px;
	padding-bottom: 12px;
	border-bottom: 1px solid rgba(141, 116, 64, 0.2);
}

.cat-section-head h2 {
	margin: 0 !important;
	color: #2c241d !important;
	font-family: 'Lora', Georgia, serif;
	font-size: 1.32rem;
	font-weight: 700;
	line-height: 1.25;
}

.cinderellas-download-section {
	margin-top: 20px;
}

.contact-header-card h1 {
	margin: 0 0 10px !important;
	color: #2c241d !important;
	font-family: 'Lora', Georgia, serif;
	font-size: clamp(1.6rem, 2.5vw, 2.1rem);
	font-weight: 700;
	letter-spacing: -0.01em;
	line-height: 1.25;
	background: transparent !important;
}

.contact-card-head {
	display: flex;
	align-items: center;
	gap: 14px;
	min-height: 52px;
	margin-bottom: 14px;
	padding-bottom: 14px;
	border-bottom: 1px solid rgba(141, 116, 64, 0.18);
}

.contact-card-head h2 {
	margin: 0 !important;
	font-family: 'Lora', Georgia, serif;
	font-size: 1.25rem;
	font-weight: 700;
	color: #2c241d;
	line-height: 1.25;
}

.contact-card-head .contact-card-sub {
	margin: 3px 0 0 !important;
	font-family: 'Inter', sans-serif;
	font-size: 0.82rem;
	color: #7a5a27;
	line-height: 1.3;
}

.contact-card-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 10px;
	background: linear-gradient(135deg, #6b1d2f 0%, #85223a 100%);
	color: #ffffff;
	font-family: 'Inter', sans-serif;
	font-size: 0.88rem;
	font-weight: 700;
	flex: 0 0 38px;
	box-shadow: 0 4px 10px rgba(107, 29, 47, 0.22);
}

.contact-card-desc {
	color: #4a3e33 !important;
	font-size: 0.95rem !important;
	line-height: 1.6 !important;
	margin: 0 0 14px !important;
}

.contact-email-box {
	flex-wrap: wrap;
}

.contact-email-label {
	display: block;
	width: 100%;
	font-family: 'Inter', sans-serif;
	font-size: 0.74rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #8c7355;
	margin-bottom: 4px;
}

.contact-response-note {
	font-size: 0.88rem !important;
	color: #6b5a45 !important;
	background: rgba(184, 134, 11, 0.08);
	border: 1px solid rgba(184, 134, 11, 0.2);
	border-radius: 8px;
	padding: 10px 14px;
	margin: 8px 0 0 !important;
	line-height: 1.5 !important;
}

.contact-checklist {
	list-style: none;
	margin: 0 0 12px;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.contact-checklist li {
	position: relative;
	padding: 10px 14px 10px 36px;
	background: rgba(255, 255, 255, 0.88);
	border: 1px solid rgba(141, 116, 64, 0.18);
	border-radius: 10px;
	font-size: 0.92rem;
	line-height: 1.5;
	color: #3d3227;
}

.contact-checklist li::before {
	content: '✓';
	position: absolute;
	left: 12px;
	top: 10px;
	color: #6b1d2f;
	font-weight: 700;
	font-size: 1rem;
}

.contact-checklist li strong {
	display: block;
	color: #2c241d;
	margin-bottom: 2px;
}

.contact-address-value {
	font-family: 'Inter', sans-serif;
	font-size: 0.98rem;
	font-weight: 600;
	color: #2c241d;
	line-height: 1.4;
}

/* News Notice Banner */
.news-notice-banner {
	display: flex;
	align-items: center;
	gap: 16px;
	background: linear-gradient(135deg, #fffdf7 0%, #f6ebd4 100%);
	border: 1px solid rgba(184, 134, 11, 0.35);
	border-left: 5px solid #6b1d2f;
	border-radius: 14px;
	padding: 14px 20px;
	margin-bottom: 24px;
	box-shadow: 0 4px 14px rgba(36, 29, 17, 0.05);
}

.news-notice-icon {
	font-size: 1.4rem;
	flex: 0 0 auto;
}

.news-notice-content {
	flex: 1 1 auto;
	font-size: 0.95rem;
	color: #2c241d;
	line-height: 1.55;
}

.news-notice-btn {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	padding: 8px 16px;
	border-radius: 999px;
	background: linear-gradient(135deg, #6b1d2f 0%, #85223a 100%);
	color: #ffffff !important;
	font-family: 'Inter', sans-serif;
	font-size: 0.82rem;
	font-weight: 700;
	text-decoration: none !important;
	white-space: nowrap;
}

.news-notice-btn:hover {
	filter: brightness(1.08);
	color: #ffffff !important;
}

.news-archive-feature {
	margin-top: 8px;
}

/* Nordfrim Featured Promo Card */
.nordfrim-promo-card {
	background: linear-gradient(180deg, #ffffff 0%, #faf4e6 100%);
	border: 1px solid rgba(184, 134, 11, 0.38);
	border-radius: 18px;
	padding: 24px 28px;
	margin-bottom: 26px;
	box-shadow: 0 10px 26px rgba(36, 29, 17, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.95);
	position: relative;
	overflow: hidden;
}

.nordfrim-promo-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	width: 5px;
	background: linear-gradient(180deg, #6b1d2f 0%, #b8860b 100%);
}

.nordfrim-promo-header {
	display: flex;
	align-items: center;
	gap: 22px;
	padding-bottom: 18px;
	margin-bottom: 18px;
	border-bottom: 1px solid rgba(141, 116, 64, 0.2);
}

.nordfrim-logo-box {
	display: flex;
	align-items: center;
	justify-content: center;
	background: #ffffff;
	border: 1px solid rgba(141, 116, 64, 0.25);
	border-radius: 12px;
	padding: 12px 18px;
	flex: 0 0 auto;
	box-shadow: 0 4px 12px rgba(36, 29, 17, 0.05);
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.nordfrim-logo-box:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(36, 29, 17, 0.1);
}

.nordfrim-logo-box img {
	display: block;
	max-width: 179px;
	height: auto;
}

.nordfrim-header-text {
	flex: 1 1 auto;
	min-width: 0;
}

.nordfrim-badge-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-bottom: 8px;
}

.nordfrim-discount-badge {
	display: inline-flex;
	align-items: center;
	padding: 4px 12px;
	border-radius: 999px;
	background: linear-gradient(135deg, #6b1d2f 0%, #8e243d 100%);
	color: #ffffff;
	font-family: 'Inter', sans-serif;
	font-size: 0.76rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.nordfrim-code-badge {
	display: inline-flex;
	align-items: center;
	padding: 4px 12px;
	border-radius: 999px;
	background: rgba(184, 134, 11, 0.14);
	border: 1px solid rgba(184, 134, 11, 0.35);
	color: #6e4e10;
	font-family: 'Inter', sans-serif;
	font-size: 0.76rem;
	font-weight: 700;
}

.nordfrim-title {
	margin: 0 !important;
	font-family: 'Lora', Georgia, serif;
	font-size: clamp(1.2rem, 2vw, 1.45rem);
	font-weight: 700;
	line-height: 1.3;
}

.nordfrim-title a {
	color: #2c241d !important;
	text-decoration: none;
}

.nordfrim-title a:hover {
	color: #6b1d2f !important;
}

.nordfrim-highlight-text {
	font-size: 1rem !important;
	color: #2c241d !important;
	margin: 0 0 10px !important;
	line-height: 1.6;
}

.nordfrim-inline-link {
	font-weight: 700;
	color: #6b1d2f !important;
	text-decoration: underline !important;
	word-break: break-all;
}

.nordfrim-desc-text {
	font-size: 0.96rem !important;
	color: #4a3e33 !important;
	margin: 0 0 16px !important;
	line-height: 1.65;
}

.nordfrim-shipping-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
	margin-bottom: 18px;
}

.nordfrim-ship-pill {
	background: rgba(255, 255, 255, 0.92);
	border: 1px solid rgba(141, 116, 64, 0.24);
	border-radius: 12px;
	padding: 10px 14px;
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.nordfrim-ship-pill.is-free {
	background: linear-gradient(180deg, #f3faf5 0%, #e5f5ea 100%);
	border-color: rgba(22, 115, 58, 0.3);
}

.nordfrim-ship-pill .ship-label {
	font-family: 'Inter', sans-serif;
	font-size: 0.74rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #7d684d;
}

.nordfrim-ship-pill .ship-val {
	font-family: 'Inter', sans-serif;
	font-size: 0.94rem;
	font-weight: 700;
	color: #2c241d;
}

.nordfrim-ship-pill.is-free .ship-val {
	color: #145e32;
}

.nordfrim-actions {
	display: flex;
	justify-content: flex-start;
}

.nordfrim-cta-btn {
	width: auto !important;
	padding: 11px 24px !important;
}

/* Donators Grid Section */
.donators-section {
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(248, 241, 230, 0.9) 100%);
	border: 1px solid rgba(141, 116, 64, 0.24);
	border-radius: 16px;
	padding: 22px 26px;
	box-shadow: 0 6px 18px rgba(36, 29, 17, 0.04);
}

.donators-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
}

.donator-card {
	margin: 0;
	background: #ffffff;
	border: 1px solid rgba(141, 116, 64, 0.22);
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 4px 12px rgba(36, 29, 17, 0.05);
	display: flex;
	flex-direction: column;
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.donator-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(36, 29, 17, 0.1);
}

.donator-logo-wrap {
	aspect-ratio: 16 / 10;
	background: #fdfaf3;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 14px;
	border-bottom: 1px solid rgba(141, 116, 64, 0.14);
}

.donator-logo-wrap img {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
}

.donator-card figcaption {
	padding: 10px 12px;
	text-align: center;
	font-family: 'Inter', sans-serif;
	font-size: 0.95rem;
	font-weight: 700;
	color: #2c241d;
	background: linear-gradient(180deg, #faf5eb 0%, #f3ead8 100%);
}

.donator-card-body {
	padding: 16px 18px 18px;
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	background: linear-gradient(180deg, #ffffff 0%, #faf5eb 100%);
}

.donator-badge {
	display: inline-block;
	align-self: flex-start;
	padding: 3px 10px;
	border-radius: 999px;
	background: rgba(184, 134, 11, 0.12);
	border: 1px solid rgba(184, 134, 11, 0.28);
	color: #7a5813;
	font-family: 'Inter', sans-serif;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	margin-bottom: 8px;
}

.donator-title {
	margin: 0 0 8px !important;
	font-family: 'Lora', Georgia, serif;
	font-size: 1.15rem;
	font-weight: 700;
	line-height: 1.3;
}

.donator-title a {
	color: #2c241d !important;
	text-decoration: none;
}

.donator-title a:hover {
	color: #6b1d2f !important;
}

.donator-desc {
	margin: 0 0 14px !important;
	font-size: 0.88rem !important;
	color: #4f4336 !important;
	line-height: 1.55 !important;
	flex: 1 1 auto;
}

.donator-footer {
	margin-top: auto;
	padding-top: 12px;
	border-top: 1px solid rgba(141, 116, 64, 0.16);
}

.donator-link-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	width: 100%;
	padding: 8px 12px;
	border-radius: 8px;
	background: rgba(107, 29, 47, 0.08);
	border: 1px solid rgba(107, 29, 47, 0.2);
	color: #6b1d2f !important;
	font-family: 'Inter', sans-serif;
	font-size: 0.82rem;
	font-weight: 700;
	text-decoration: none !important;
	transition: background 0.15s ease, color 0.15s ease;
}

.donator-link-btn:hover {
	background: linear-gradient(135deg, #6b1d2f 0%, #85223a 100%);
	color: #ffffff !important;
}

/* Modern FAQ & Collapsible Accordion List (FAQ, History, Reviews) */
.faq-modern-list {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin-bottom: 24px;
}

.faq-modern-card {
	background: linear-gradient(180deg, #ffffff 0%, #faf5eb 100%);
	border: 1px solid rgba(141, 116, 64, 0.26);
	border-radius: 14px;
	box-shadow: 0 6px 16px rgba(36, 29, 17, 0.05);
	overflow: hidden;
}

.faq-modern-summary {
	list-style: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 16px 20px;
	background: linear-gradient(180deg, rgba(250, 243, 230, 0.65) 0%, rgba(242, 230, 207, 0.5) 100%);
	user-select: none;
	transition: background 0.15s ease;
}

.faq-modern-summary::-webkit-details-marker {
	display: none;
}

.faq-modern-summary:hover {
	background: rgba(235, 218, 184, 0.65);
}

.faq-q-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 10px;
	background: linear-gradient(135deg, #6b1d2f 0%, #85223a 100%);
	color: #ffffff;
	font-family: 'Inter', sans-serif;
	font-size: 0.82rem;
	font-weight: 700;
	flex: 0 0 34px;
	box-shadow: 0 3px 8px rgba(107, 29, 47, 0.2);
}

.faq-q-text {
	flex: 1 1 auto;
	font-family: 'Lora', Georgia, serif;
	font-size: 1.12rem;
	font-weight: 700;
	color: #2c241d;
	line-height: 1.35;
}

.faq-q-chevron {
	font-size: 1.1rem;
	color: #8a6428;
	transition: transform 0.2s ease;
}

.faq-modern-card[open] .faq-q-chevron {
	transform: rotate(180deg);
}

.faq-modern-body {
	padding: 16px 22px 18px 68px;
	border-top: 1px solid rgba(141, 116, 64, 0.16);
	background: #ffffff;
}

.faq-modern-body p {
	margin: 0 !important;
	font-size: 0.98rem !important;
	color: #3d3227 !important;
	line-height: 1.7;
}

.faq-modern-body.collapsible-rich-body {
	padding: 20px 26px;
}

.faq-modern-body.collapsible-rich-body p {
	margin: 0 0 12px !important;
	text-align: justify;
}

.faq-modern-body.collapsible-rich-body p:last-child {
	margin-bottom: 0 !important;
}

.faq-modern-body.collapsible-rich-body ul,
.faq-modern-body.collapsible-rich-body ol {
	margin: 10px 0 14px 22px;
	color: #3d3227;
	line-height: 1.7;
}

.faq-modern-body a {
	font-weight: 700;
	color: #6b1d2f !important;
	text-decoration: underline !important;
}

.faq-contact-banner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 240, 225, 0.94) 100%);
	border: 1px solid rgba(184, 134, 11, 0.3);
	border-radius: 14px;
	padding: 18px 24px;
	box-shadow: 0 6px 16px rgba(36, 29, 17, 0.05);
}

.faq-contact-banner-text {
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.faq-contact-banner-text strong {
	font-family: 'Lora', Georgia, serif;
	font-size: 1.1rem;
	color: #2c241d;
}

.faq-contact-banner-text span {
	font-size: 0.92rem;
	color: #5c4e40;
}

.faq-contact-btn {
	width: auto !important;
	padding: 10px 22px !important;
	flex: 0 0 auto;
}

/* Join Page Document Buttons & Notes */
.join-doc-links {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 14px 0 18px;
}

.join-doc-btn {
	width: auto !important;
	flex: 1 1 auto;
	min-width: 170px;
	padding: 10px 16px !important;
}

.join-extra-note {
	margin-top: 16px;
	padding-top: 14px;
	border-top: 1px solid rgba(141, 116, 64, 0.18);
}

.join-extra-note p {
	margin: 6px 0 !important;
	font-size: 0.92rem !important;
	color: #4f4336 !important;
}

.join-extra-note a {
	font-weight: 700;
	color: #6b1d2f !important;
	text-decoration: underline !important;
}

/* Awards Chronological Card Grid */
.awards-modern-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}

.award-modern-card {
	display: flex;
	align-items: center;
	gap: 14px;
	background: #ffffff;
	border: 1px solid rgba(141, 116, 64, 0.24);
	border-radius: 12px;
	padding: 14px 16px;
	box-shadow: 0 3px 10px rgba(36, 29, 17, 0.04);
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.award-modern-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(36, 29, 17, 0.09);
}

.award-modern-card.is-unao {
	background: rgba(250, 245, 235, 0.65);
	border-style: dashed;
	opacity: 0.82;
}

.award-year-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 6px 12px;
	border-radius: 10px;
	background: linear-gradient(135deg, #6b1d2f 0%, #85223a 100%);
	color: #ffffff;
	font-family: 'Inter', sans-serif;
	font-size: 0.88rem;
	font-weight: 700;
	flex: 0 0 auto;
}

.award-modern-card.is-unao .award-year-badge {
	background: #9e8c70;
}

.award-winner-info {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.award-winner-name {
	font-family: 'Lora', Georgia, serif;
	font-size: 1.02rem;
	font-weight: 700;
	color: #2c241d;
	line-height: 1.3;
}

.award-modern-card.is-unao .award-winner-name {
	font-family: 'Inter', sans-serif;
	font-size: 0.88rem;
	font-weight: 500;
	font-style: italic;
	color: #6e5f4d;
}

.award-winner-tag {
	font-family: 'Inter', sans-serif;
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #8a6428;
}

/* Modern Links Directory Grid */
.links-catalog-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}

.links-category-card {
	background: linear-gradient(180deg, #ffffff 0%, #faf5eb 100%);
	border: 1px solid rgba(141, 116, 64, 0.25);
	border-radius: 16px;
	padding: 20px 24px;
	box-shadow: 0 6px 18px rgba(36, 29, 17, 0.05);
}

.links-category-head {
	display: flex;
	align-items: center;
	gap: 12px;
	padding-bottom: 12px;
	margin-bottom: 14px;
	border-bottom: 1px solid rgba(141, 116, 64, 0.18);
}

.links-category-head h2 {
	margin: 0 !important;
	font-family: 'Lora', Georgia, serif;
	font-size: 1.2rem;
	font-weight: 700;
	color: #2c241d;
}

.links-subcat-title {
	margin: 14px 0 8px !important;
	font-family: 'Inter', sans-serif;
	font-size: 0.82rem !important;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #7d5a2b !important;
}

.links-category-card .links-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.links-category-card .links-list li {
	position: relative;
	padding-left: 16px;
	font-size: 0.94rem;
	line-height: 1.5;
	color: #3d3227;
}

.links-category-card .links-list li::before {
	content: '▸';
	position: absolute;
	left: 0;
	color: #8a6428;
	font-weight: 700;
}

.links-category-card .links-list a {
	font-weight: 600;
	color: #2c241d !important;
	text-decoration: none;
	border-bottom: 1px solid rgba(141, 116, 64, 0.3);
	transition: color 0.15s ease, border-color 0.15s ease;
}

.links-category-card .links-list a:hover {
	color: #6b1d2f !important;
	border-bottom-color: #6b1d2f;
}

/* Commemorative Sheets & Personalized Stamps Modern Grid */
.modern-sheet-gallery {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	gap: 16px;
	align-items: stretch;
}

.modern-sheet-gallery figure[hidden] {
	display: none !important;
}

.modern-sheet-gallery .sheet-card {
	width: 100% !important;
	max-width: 100%;
	margin: 0 !important;
	background: #ffffff;
	border: 1px solid rgba(141, 116, 64, 0.24);
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 14px rgba(36, 29, 17, 0.05);
	display: flex;
	flex-direction: column;
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.modern-sheet-gallery .sheet-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 22px rgba(36, 29, 17, 0.1);
}

.modern-sheet-gallery .sheet-card a {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 220px;
	width: 100%;
	padding: 6px;
	box-sizing: border-box;
	background: #fdfaf3;
	overflow: hidden;
}

.modern-sheet-gallery .sheet-card img {
	width: 100% !important;
	height: 100% !important;
	max-width: 100% !important;
	max-height: 100% !important;
	margin: 0 !important;
	display: block !important;
	object-fit: contain !important;
	transition: transform 0.25s ease;
}

.modern-sheet-gallery .sheet-card:hover img {
	transform: scale(1.03);
}

.modern-sheet-gallery .sheet-card figcaption {
	padding: 8px 10px;
	background: linear-gradient(180deg, #faf5eb 0%, #f3ead8 100%);
	border-top: 1px solid rgba(141, 116, 64, 0.16);
	display: flex;
	flex-direction: column;
	gap: 2px;
	text-align: center;
	flex: 1 1 auto;
	justify-content: center;
	min-height: 54px;
	box-sizing: border-box;
}

.sheet-card-title {
	font-family: 'Inter', sans-serif;
	font-size: 0.82rem;
	font-weight: 700;
	color: #2c241d;
	line-height: 1.35;
}

.sheet-card-year {
	font-family: 'Inter', sans-serif;
	font-size: 0.72rem;
	font-weight: 600;
	color: #7d5a2b;
}

/* Block Pair Finders (Mono & UPU) KPI Stat Cards & Alerts */
.pair-stats-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	margin-bottom: 22px;
}

.pair-stats-grid.pair-stats-grid-4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pair-stat-card {
	background: linear-gradient(180deg, #ffffff 0%, #faf5eb 100%);
	border: 1px solid rgba(141, 116, 64, 0.26);
	border-radius: 14px;
	padding: 16px 20px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 4px;
	box-shadow: 0 4px 14px rgba(36, 29, 17, 0.05);
}

.pair-stat-card.is-highlight {
	background: linear-gradient(180deg, #fdf8ec 0%, #f5e6c8 100%);
	border-color: rgba(107, 29, 47, 0.35);
}

.pair-stat-value {
	font-family: 'Lora', Georgia, serif;
	font-size: 1.65rem;
	font-weight: 700;
	color: #2c241d;
	line-height: 1.15;
}

.pair-stat-card.is-highlight .pair-stat-value {
	color: #6b1d2f;
}

.pair-stat-label {
	font-family: 'Inter', sans-serif;
	font-size: 0.82rem;
	font-weight: 600;
	color: #635341;
}

.pair-alert {
	border-radius: 14px;
	padding: 16px 22px;
	margin-bottom: 20px;
	font-size: 0.98rem;
	line-height: 1.6;
	text-align: center;
}

.pair-alert-info {
	background: #fdf8ec;
	border: 1px solid rgba(184, 134, 11, 0.35);
	color: #4a3c2c;
}

.pair-alert-success {
	background: #eef9f2;
	border: 1px solid rgba(22, 115, 58, 0.35);
	color: #14532d;
}

.pair-alert-warn {
	background: #fef2f2;
	border: 1px solid rgba(185, 28, 28, 0.35);
	color: #7f1d1d;
}

.form-checkbox-row {
	display: flex !important;
	align-items: flex-start;
	gap: 10px;
	margin: 14px 0 !important;
}

.form-checkbox-row input[type="checkbox"] {
	margin-top: 3px;
}

.form-checkbox-row label {
	position: static !important;
	float: none !important;
	margin: 0 !important;
	height: auto !important;
	padding: 0 !important;
	color: #3d3227 !important;
	font-size: 0.9rem !important;
	line-height: 1.45 !important;
	overflow: visible !important;
}

/* ==========================================================================
   Modernized Drive Archive Explorer (IBK Bemutatók & Periodikák)
   ========================================================================== */

.pdetails-decade-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 16px;
	padding-top: 14px;
	border-top: 1px solid rgba(141, 116, 64, 0.2);
}

.pdetails-decade-pill {
	display: inline-flex;
	align-items: center;
	padding: 6px 14px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.9);
	border: 1px solid rgba(141, 116, 64, 0.28);
	color: #3d3227 !important;
	font-family: 'Inter', sans-serif;
	font-size: 0.82rem;
	font-weight: 600;
	text-decoration: none !important;
	transition: all 0.15s ease;
}

.pdetails-decade-pill:hover {
	background: #f5ebd7;
	border-color: rgba(107, 29, 47, 0.35);
	color: #6b1d2f !important;
	transform: translateY(-1px);
}

.pdetails-decade-pill.is-active {
	background: linear-gradient(135deg, #6b1d2f 0%, #85223a 100%);
	border-color: #6b1d2f;
	color: #ffffff !important;
	box-shadow: 0 3px 10px rgba(107, 29, 47, 0.22);
}

.pdetails-toolbar-card {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	background: linear-gradient(180deg, #ffffff 0%, #faf5eb 100%);
	border: 1px solid rgba(141, 116, 64, 0.26);
	border-radius: 14px;
	padding: 12px 18px;
	margin-bottom: 18px;
	box-shadow: 0 4px 14px rgba(36, 29, 17, 0.05);
}

.pdetails-search-wrap {
	position: relative;
	flex: 1 1 340px;
	max-width: 520px;
	display: flex;
	align-items: center;
}

.pdetails-search-icon {
	position: absolute;
	left: 13px;
	color: #8a6428;
	pointer-events: none;
}

.pdetails-search-input {
	width: 100%;
	height: 38px;
	padding: 0 34px 0 38px;
	border: 1px solid rgba(141, 116, 64, 0.3);
	border-radius: 999px;
	background: #ffffff;
	font-family: 'Inter', sans-serif;
	font-size: 0.88rem;
	color: #2c241d;
	outline: none;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.pdetails-search-input:focus {
	border-color: #6b1d2f;
	box-shadow: 0 0 0 3px rgba(107, 29, 47, 0.12);
}

.pdetails-search-clear {
	position: absolute;
	right: 10px;
	width: 22px;
	height: 22px;
	border: none;
	border-radius: 50%;
	background: rgba(141, 116, 64, 0.16);
	color: #4a3c31;
	font-size: 1rem;
	line-height: 1;
	cursor: pointer;
	padding: 0;
}

.pdetails-search-clear:hover {
	background: rgba(107, 29, 47, 0.2);
	color: #6b1d2f;
}

.pdetails-toolbar-actions {
	display: flex;
	align-items: center;
	gap: 12px;
	flex: 0 0 auto;
}

.pdetails-folder-count-badge {
	display: inline-flex;
	align-items: center;
	padding: 5px 12px;
	border-radius: 999px;
	background: rgba(184, 134, 11, 0.12);
	border: 1px solid rgba(184, 134, 11, 0.28);
	color: #6e4e10;
	font-family: 'Inter', sans-serif;
	font-size: 0.78rem;
	font-weight: 700;
}

.pdetails-refresh-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	border: 1px solid rgba(141, 116, 64, 0.32);
	background: #ffffff;
	color: #3d3227;
	border-radius: 999px;
	padding: 7px 14px;
	font-family: 'Inter', sans-serif;
	font-size: 0.82rem;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.pdetails-refresh-btn:hover {
	background: #f5ebd7;
	border-color: rgba(107, 29, 47, 0.35);
	color: #6b1d2f;
}

.pdetails-toggle-all {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	border: 1px solid rgba(107, 29, 47, 0.24);
	background: linear-gradient(135deg, #6b1d2f 0%, #85223a 100%);
	color: #ffffff;
	border-radius: 999px;
	padding: 8px 16px;
	font-family: 'Inter', sans-serif;
	font-size: 0.84rem;
	font-weight: 700;
	cursor: pointer;
	box-shadow: 0 3px 10px rgba(107, 29, 47, 0.2);
	transition: transform 0.15s ease, filter 0.15s ease;
}

.pdetails-toggle-all:hover {
	filter: brightness(1.08);
	transform: translateY(-1px);
}

.pdetails-folders-list {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.pdetails-folder {
	border: 1px solid rgba(141, 116, 64, 0.26);
	border-radius: 16px;
	background: linear-gradient(180deg, #ffffff 0%, #faf5eb 100%);
	box-shadow: 0 6px 16px rgba(36, 29, 17, 0.05);
	overflow: hidden;
	transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.pdetails-folder.is-open {
	border-color: rgba(184, 134, 11, 0.42);
	box-shadow: 0 10px 24px rgba(36, 29, 17, 0.08);
}

.pdetails-toggle {
	width: 100%;
	border: none;
	text-align: left;
	cursor: pointer;
	background: linear-gradient(180deg, rgba(250, 243, 230, 0.65) 0%, rgba(242, 230, 207, 0.5) 100%);
	color: #2c241d;
	padding: 15px 20px;
	display: flex;
	align-items: center;
	gap: 14px;
	transition: background 0.15s ease;
}

.pdetails-toggle:hover {
	background: rgba(235, 218, 184, 0.7);
}

.pdetails-toggle[aria-expanded="true"] {
	background: linear-gradient(180deg, #f6ead4 0%, #ecdab8 100%);
	border-bottom: 1px solid rgba(141, 116, 64, 0.22);
}

.pdetails-folder-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 10px;
	background: rgba(184, 134, 11, 0.14);
	border: 1px solid rgba(184, 134, 11, 0.28);
	color: #8a6428;
	flex: 0 0 36px;
	transition: background 0.15s ease, color 0.15s ease;
}

.pdetails-toggle[aria-expanded="true"] .pdetails-folder-icon {
	background: linear-gradient(135deg, #6b1d2f 0%, #85223a 100%);
	border-color: #6b1d2f;
	color: #ffffff;
}

.pdetails-folder-title {
	flex: 1 1 auto;
	font-family: 'Lora', Georgia, serif;
	font-size: 1.12rem;
	font-weight: 700;
	color: #2c241d;
	line-height: 1.3;
}

.pdetails-folder-meta {
	display: none;
	padding: 3px 10px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.88);
	border: 1px solid rgba(141, 116, 64, 0.25);
	font-family: 'Inter', sans-serif;
	font-size: 0.75rem;
	font-weight: 700;
	color: #6b5335;
}

.pdetails-folder-meta.is-visible {
	display: inline-flex;
}

.pdetails-folder-chevron {
	font-size: 1.1rem;
	color: #8a6428;
	transition: transform 0.22s ease;
}

.pdetails-toggle[aria-expanded="true"] .pdetails-folder-chevron {
	transform: rotate(180deg);
	color: #6b1d2f;
}

.pdetails-content {
	padding: 20px 22px 24px;
	background: #ffffff;
}

.pdetails-loading,
.pdetails-empty,
.pdetails-error {
	margin: 6px 0;
	color: #4a3c31;
	font-size: 0.95rem;
}

.pdetails-error {
	color: #8a1f1f;
	font-weight: 600;
}

.pdetails-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(195px, 1fr));
	gap: 18px;
}

.pdetails-card {
	margin: 0;
	border: 1px solid rgba(141, 116, 64, 0.24);
	border-radius: 14px;
	overflow: hidden;
	background: #ffffff;
	box-shadow: 0 4px 14px rgba(36, 29, 17, 0.05);
	display: flex;
	flex-direction: column;
	transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.pdetails-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 22px rgba(36, 29, 17, 0.11);
	border-color: rgba(107, 29, 47, 0.35);
}

.pdetails-cover-link {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(180deg, #f9f5ec 0%, #efe6d5 100%);
	aspect-ratio: 3 / 4;
	padding: 12px;
	overflow: hidden;
	text-decoration: none !important;
}

.pdetails-pdf-badge {
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 2;
	padding: 3px 8px;
	border-radius: 6px;
	background: rgba(107, 29, 47, 0.9);
	color: #ffffff;
	font-family: 'Inter', sans-serif;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.pdetails-cover-link img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
	border-radius: 4px;
	filter: drop-shadow(0 4px 8px rgba(36, 29, 17, 0.12));
	transition: transform 0.25s ease;
}

.pdetails-cover-link img.is-fallback {
	object-fit: cover;
	opacity: 0.85;
}

.pdetails-card:hover .pdetails-cover-link img {
	transform: scale(1.03);
}

.pdetails-cover-overlay {
	position: absolute;
	inset: 0;
	background: rgba(36, 25, 16, 0.38);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity 0.2s ease;
}

.pdetails-card:hover .pdetails-cover-overlay {
	opacity: 1;
}

.pdetails-overlay-pill {
	padding: 8px 16px;
	border-radius: 999px;
	background: linear-gradient(135deg, #6b1d2f 0%, #85223a 100%);
	color: #ffffff;
	font-family: 'Inter', sans-serif;
	font-size: 0.82rem;
	font-weight: 700;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.pdetails-card-caption {
	padding: 11px 12px;
	background: linear-gradient(180deg, #ffffff 0%, #faf5eb 100%);
	border-top: 1px solid rgba(141, 116, 64, 0.16);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	flex: 1 1 auto;
}

.pdetails-card-title-link {
	font-family: 'Inter', sans-serif;
	font-size: 0.86rem;
	font-weight: 700;
	color: #2c241d !important;
	line-height: 1.35;
	text-decoration: none !important;
	flex: 1 1 auto;
	min-width: 0;
	word-break: break-word;
}

.pdetails-card-title-link:hover {
	color: #6b1d2f !important;
}

.pdetails-card-actions {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	flex: 0 0 auto;
}

.pdetails-card-action-btn,
.pdetails-card-ext {
	flex: 0 0 28px;
	width: 28px;
	height: 28px;
	border-radius: 8px;
	background: rgba(141, 116, 64, 0.12);
	border: 1px solid rgba(141, 116, 64, 0.24);
	color: #5c4934 !important;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 0.85rem;
	font-weight: 700;
	text-decoration: none !important;
	transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.pdetails-card-action-btn svg {
	width: 14px;
	height: 14px;
	stroke: currentColor;
	display: block;
}

.pdetails-card-action-btn:hover,
.pdetails-card-ext:hover {
	background: #6b1d2f;
	border-color: #6b1d2f;
	color: #ffffff !important;
	transform: translateY(-1px);
}

.pdetails-card-action-btn.pdetails-card-dl:hover {
	background: #80602e;
	border-color: #80602e;
}

/* Skeleton Loader Shimmer */
@keyframes pdetailsShimmer {
	0% { background-position: -200% 0; }
	100% { background-position: 200% 0; }
}

.pdetails-skeleton-card {
	aspect-ratio: 3 / 4.6;
	border-radius: 14px;
	background: linear-gradient(90deg, #f3ede0 25%, #faf6ee 50%, #f3ede0 75%);
	background-size: 200% 100%;
	animation: pdetailsShimmer 1.4s infinite linear;
	border: 1px solid rgba(141, 116, 64, 0.18);
}

