/* ==========================================================================
   4. Contact Page Modern Archival Styling
   ========================================================================== */

.contact-page {
	max-width: 1060px;
	padding: 10px 14px 30px;
	line-height: 1.6;
	font-size: 1rem;
	box-sizing: border-box;
}

.contact-header-card,
.intro-header-card,
.catalogues-header-card {
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(250, 243, 232, 0.94) 100%);
	border: 1px solid rgba(141, 116, 64, 0.28);
	border-radius: 18px;
	padding: 24px 28px 20px;
	margin-bottom: 22px;
	box-shadow: 0 10px 24px rgba(36, 29, 17, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.9);
	position: relative;
}

.contact-header-card::before,
.intro-header-card::before,
.catalogues-header-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 40px;
	right: 40px;
	height: 3px;
	background: linear-gradient(90deg, transparent 0%, #b8860b 50%, transparent 100%);
	border-radius: 2px;
}

.contact-kicker,
.intro-kicker {
	display: inline-block;
	font-family: 'Inter', sans-serif;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #996515;
	margin-bottom: 6px;
}

.contact-main-title,
.intro-main-title {
	margin: 0 0 10px !important;
	color: #2c241d !important;
	font-family: 'Lora', Georgia, serif;
	font-size: clamp(1.6rem, 2.5vw, 2.1rem) !important;
	font-weight: 700 !important;
	letter-spacing: -0.01em;
	line-height: 1.25;
	background: transparent !important;
}

.contact-lead,
.intro-lead {
	margin: 0 !important;
	color: #7a5a27;
	font-family: 'Lora', Georgia, serif;
	font-size: 1.12rem;
	line-height: 1.6;
}

.contact-main-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 22px;
	align-items: stretch;
	margin-bottom: 24px;
}

.contact-card {
	background: linear-gradient(180deg, #ffffff 0%, #faf5eb 100%);
	border: 1px solid rgba(141, 116, 64, 0.25);
	border-radius: 16px;
	padding: 22px 24px;
	box-shadow: 0 8px 20px rgba(36, 29, 17, 0.05);
	display: flex;
	flex-direction: column;
	height: 100%;
	box-sizing: border-box;
}

.contact-card-header {
	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-header-text {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-width: 0;
}

.contact-icon-bubble {
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: linear-gradient(135deg, #6b1d2f 0%, #85223a 100%);
	color: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 44px;
	box-shadow: 0 4px 10px rgba(107, 29, 47, 0.25);
}

.contact-icon-bubble.bubble-gold {
	background: linear-gradient(135deg, #b8860b 0%, #d4af37 100%);
	box-shadow: 0 4px 10px rgba(184, 134, 11, 0.25);
}

.contact-card-title {
	margin: 0 !important;
	font-family: 'Lora', Georgia, serif;
	font-size: 1.25rem;
	font-weight: 700;
	color: #2c241d;
	line-height: 1.25;
}

.contact-card-sub {
	display: block;
	font-family: 'Inter', sans-serif;
	font-size: 0.82rem;
	color: #7a5a27;
	margin-top: 3px;
	line-height: 1.3;
}

.contact-desc {
	color: #4a3e33;
	font-size: 0.94rem;
	line-height: 1.55;
	margin-bottom: 16px !important;
	min-height: 48px;
}

.contact-middle-panel {
	margin-bottom: 16px;
	flex: 1 0 auto;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.contact-email-box {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 16px;
	background: rgba(255, 255, 255, 0.9);
	border: 1px solid rgba(141, 116, 64, 0.2);
	border-radius: 10px;
	margin-bottom: 12px;
}

.contact-info-icon {
	color: #8a6428;
	flex: 0 0 20px;
}

.contact-info-content {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.contact-info-label {
	font-family: 'Inter', sans-serif;
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #8c7355;
	margin-bottom: 2px;
}

.contact-info-value {
	font-family: 'Inter', sans-serif;
	font-size: 1.05rem;
	font-weight: 700;
	color: #6b1d2f !important;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	word-break: break-all;
	transition: color 0.15s ease;
}

.contact-info-value:hover {
	color: #8e273f !important;
	text-decoration: underline !important;
}

.contact-btn-primary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: auto; max-width: max-content; align-self: flex-start;
	padding: 11px 20px;
	background: linear-gradient(135deg, #6b1d2f 0%, #85223a 100%);
	color: #ffffff !important;
	border-radius: 10px;
	font-family: 'Inter', sans-serif;
	font-size: 0.95rem;
	font-weight: 600;
	text-decoration: none !important;
	box-shadow: 0 4px 12px rgba(107, 29, 47, 0.25);
	transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.contact-btn-primary:hover {
	background: linear-gradient(135deg, #7c2237 0%, #982843 100%);
	color: #ffffff !important;
	transform: translateY(-1px);
	box-shadow: 0 6px 16px rgba(107, 29, 47, 0.35);
}

.contact-specs-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px 14px;
	background: rgba(255, 255, 255, 0.9);
	border: 1px solid rgba(141, 116, 64, 0.2);
	border-radius: 10px;
	padding: 12px 14px;
}

.contact-spec-item {
	display: flex;
	align-items: flex-start;
	gap: 6px;
	font-size: 0.85rem;
	color: #3d3227;
	line-height: 1.4;
}

.spec-bullet {
	color: #b8860b;
	font-weight: bold;
	font-size: 0.95rem;
	line-height: 1.25;
	flex: 0 0 14px;
}

.contact-callout-note {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-size: 0.83rem;
	color: #735932;
	background: rgba(184, 134, 11, 0.08);
	border: 1px solid rgba(184, 134, 11, 0.18);
	border-radius: 8px;
	padding: 10px 12px;
	line-height: 1.45;
	margin-top: auto;
	min-height: 52px;
	box-sizing: border-box;
}

.contact-callout-note svg {
	flex: 0 0 16px;
	margin-top: 2px;
	color: #b8860b;
}

.contact-webmaster-box {
	margin-top: 22px;
	padding: 16px 20px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 241, 230, 0.9) 100%);
	border: 1px solid rgba(141, 116, 64, 0.24);
	border-left: 4px solid #b8860b;
	border-radius: 12px;
	box-shadow: 0 4px 14px rgba(36, 29, 17, 0.04);
}

.contact-webmaster-header {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	margin-bottom: 8px;
}

.contact-webmaster-icon {
	color: #996515;
	flex-shrink: 0;
}

.contact-webmaster-name {
	font-family: 'Lora', Georgia, serif;
	font-size: 1.05rem;
	font-weight: 700;
	color: #2c241d;
}

.contact-webmaster-role {
	font-family: 'Inter', sans-serif;
	font-size: 0.82rem;
	font-weight: 600;
	color: #8c6820;
	background: rgba(141, 116, 64, 0.1);
	padding: 2px 8px;
	border-radius: 6px;
}

.contact-webmaster-desc {
	margin: 0 0 10px !important;
	font-size: 0.92rem;
	line-height: 1.6;
	color: #4a3c31;
}

.contact-webmaster-email {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: 'Inter', sans-serif;
	font-size: 0.92rem;
	font-weight: 600;
	color: #80602e !important;
	text-decoration: none;
	padding: 6px 14px;
	background: rgba(255, 255, 255, 0.85);
	border: 1px solid rgba(141, 116, 64, 0.28);
	border-radius: 8px;
	transition: all 0.2s ease;
}

.contact-webmaster-email:hover {
	background: #80602e;
	color: #ffffff !important;
	border-color: #80602e;
	box-shadow: 0 3px 8px rgba(128, 96, 46, 0.25);
	transform: translateY(-1px);
}

.contact-faq-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);
}

.contact-section-title {
	margin: 0 0 18px;
	color: #382414;
	font-family: 'Lora', Georgia, serif;
	font-size: 1.35rem;
	font-weight: 700;
	position: relative;
	padding-bottom: 8px;
	border-bottom: 1px solid rgba(141, 116, 64, 0.2);
}

.contact-faq-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
}

.contact-faq-item {
	background: #ffffff;
	border: 1px solid rgba(141, 116, 64, 0.16);
	border-radius: 12px;
	padding: 16px 18px;
	display: flex;
	flex-direction: column;
}

.contact-faq-icon {
	width: 36px;
	height: 36px;
	border-radius: 8px;
	background: rgba(184, 134, 11, 0.1);
	color: #996515;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 10px;
}

.contact-faq-item h3 {
	margin: 0 0 8px;
	color: #2c241d;
	font-family: 'Lora', Georgia, serif;
	font-size: 1.05rem;
	font-weight: 700;
	line-height: 1.35;
}

.contact-faq-item p {
	margin: 0;
	color: #5c4e40;
	font-size: 0.9rem;
	line-height: 1.55;
}

/* ==========================================================================
   5. Further Catalogues Page Modern Archival Styling
   ========================================================================== */

.catalogues-page {
	max-width: 100%;
	padding: 8px 12px 36px;
	box-sizing: border-box;
}

.catalogues-header-card {
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(250, 243, 232, 0.95) 100%);
	border: 1px solid rgba(141, 116, 64, 0.28);
	border-radius: 18px;
	padding: 24px 28px 22px;
	margin-bottom: 24px;
	box-shadow: 0 10px 24px rgba(36, 29, 17, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.9);
	position: relative;
}

.catalogues-header-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 40px;
	right: 40px;
	height: 3px;
	background: linear-gradient(90deg, transparent 0%, #b8860b 50%, transparent 100%);
	border-radius: 2px;
}

.cat-kicker {
	display: inline-block;
	font-family: 'Inter', sans-serif;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #996515;
	margin-bottom: 6px;
}

.cat-main-title {
	margin: 0 0 10px;
	color: #2c241d;
	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;
}

.cat-lead {
	margin: 0 0 20px !important;
	color: #7a5a27;
	font-family: 'Lora', Georgia, serif;
	font-size: 1.08rem;
	line-height: 1.6;
}

.cat-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding-top: 14px;
	border-top: 1px solid rgba(141, 116, 64, 0.2);
}

.cat-search-box {
	position: relative;
	width: 100%;
	max-width: 440px;
	height: 40px;
	flex: 0 1 440px;
}

.cat-search-icon {
	position: absolute;
	left: 12px;
	top: 50%;
	transform: translateY(-50%);
	width: 16px;
	height: 16px;
	color: #996515;
	pointer-events: none;
	display: flex;
	align-items: center;
	justify-content: center;
}

.cat-search-box input {
	width: 100%;
	height: 40px;
	padding: 0 34px 0 34px;
	background: #ffffff;
	border: 1px solid rgba(141, 116, 64, 0.3);
	border-radius: 10px;
	font-family: 'Inter', sans-serif;
	font-size: 0.92rem;
	color: #2c241d;
	outline: none;
	box-sizing: border-box;
	transition: all 0.2s ease;
}

.cat-search-box input:focus {
	border-color: #b8860b;
	box-shadow: 0 0 0 3px rgba(184, 134, 11, 0.18);
}

.cat-search-clear {
	position: absolute;
	right: 10px;
	top: 50%;
	transform: translateY(-50%);
	background: none;
	border: none;
	font-size: 18px;
	color: #996515;
	cursor: pointer;
	padding: 0 4px;
	line-height: 1;
}

.cat-filter-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
}

.cat-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 36px;
	padding: 0 14px;
	background: rgba(255, 255, 255, 0.85);
	border: 1px solid rgba(141, 116, 64, 0.28);
	border-radius: 9999px;
	font-family: 'Inter', sans-serif;
	font-size: 0.84rem;
	font-weight: 600;
	color: #4a3e33;
	cursor: pointer;
	transition: all 0.15s ease;
}

.cat-chip:hover {
	background: #ffffff;
	border-color: #b8860b;
	color: #2c241d;
}

.cat-chip.is-active {
	background: linear-gradient(135deg, #6b1d2f 0%, #85223a 100%);
	border-color: #6b1d2f;
	color: #ffffff;
	box-shadow: 0 3px 8px rgba(107, 29, 47, 0.28);
}

.chip-count {
	font-size: 0.75rem;
	font-weight: 700;
	padding: 1px 6px;
	border-radius: 10px;
	background: rgba(0, 0, 0, 0.08);
}

.cat-chip.is-active .chip-count {
	background: rgba(255, 255, 255, 0.25);
	color: #ffffff;
}

.cat-results-bar {
	padding: 8px 14px;
	margin-bottom: 16px;
	background: rgba(184, 134, 11, 0.1);
	border: 1px solid rgba(184, 134, 11, 0.25);
	border-radius: 8px;
	font-family: 'Inter', sans-serif;
	font-size: 0.86rem;
	font-weight: 600;
	color: #7a5a27;
}

.cat-section {
	margin-bottom: 32px;
}

.cat-section-header {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 16px;
	padding-bottom: 10px;
	border-bottom: 2px solid rgba(141, 116, 64, 0.22);
}

.cat-section-icon {
	width: 40px;
	height: 40px;
	border-radius: 10px;
	background: linear-gradient(135deg, #6b1d2f 0%, #85223a 100%);
	color: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 40px;
	box-shadow: 0 4px 10px rgba(107, 29, 47, 0.22);
}

.cat-section-icon.icon-gold {
	background: linear-gradient(135deg, #b8860b 0%, #d4af37 100%);
	box-shadow: 0 4px 10px rgba(184, 134, 11, 0.25);
}

.cat-section-icon.icon-wine {
	background: linear-gradient(135deg, #442a18 0%, #613e24 100%);
	box-shadow: 0 4px 10px rgba(68, 42, 24, 0.22);
}

.cat-section-title {
	margin: 0 !important;
	font-family: 'Lora', Georgia, serif;
	font-size: 1.35rem;
	font-weight: 700;
	color: #2c241d;
	line-height: 1.25;
}

.cat-section-sub {
	display: block;
	font-family: 'Inter', sans-serif;
	font-size: 0.84rem;
	color: #7a5a27;
	margin-top: 2px;
}

.cat-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

.cat-grid.cat-grid-4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cat-card {
	background: linear-gradient(180deg, #ffffff 0%, #faf5ea 100%);
	border: 1px solid rgba(141, 116, 64, 0.25);
	border-radius: 14px;
	padding: 20px 22px;
	box-shadow: 0 6px 18px rgba(36, 29, 17, 0.05);
	display: flex;
	flex-direction: column;
	height: 100%;
	box-sizing: border-box;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.cat-card:hover {
	transform: translateY(-3px);
	border-color: rgba(184, 134, 11, 0.6);
	box-shadow: 0 12px 28px rgba(36, 29, 17, 0.12);
}

.cat-card-topbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-bottom: 12px;
}

.cat-badge {
	display: inline-block;
	font-family: 'Inter', sans-serif;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	padding: 3px 9px;
	border-radius: 6px;
	line-height: 1.2;
}

.badge-pdf {
	background: rgba(107, 29, 47, 0.1);
	border: 1px solid rgba(107, 29, 47, 0.25);
	color: #6b1d2f;
}

.badge-ebook {
	background: rgba(184, 134, 11, 0.12);
	border: 1px solid rgba(184, 134, 11, 0.3);
	color: #996515;
}

.badge-museum {
	background: rgba(44, 33, 19, 0.08);
	border: 1px solid rgba(44, 33, 19, 0.2);
	color: #3b2817;
}

.cat-meta-date,
.cat-meta-domain {
	font-family: 'Inter', sans-serif;
	font-size: 0.78rem;
	font-weight: 600;
	color: #8c7148;
}

.cat-card-title {
	margin: 0 0 6px !important;
	font-family: 'Lora', Georgia, serif;
	font-size: 1.15rem;
	font-weight: 700;
	color: #2c241d;
	line-height: 1.35;
}

.cat-card-author {
	font-family: 'Inter', sans-serif;
	font-size: 0.82rem;
	font-weight: 600;
	color: #7a5a27;
	margin-bottom: 10px;
}

.cat-card-desc {
	margin: 0 0 16px !important;
	color: #4a3e33;
	font-size: 0.92rem;
	line-height: 1.55;
	flex: 1 1 auto;
}

.cat-card-actions {
	display: flex;
	gap: 8px;
	margin-top: auto;
	padding-top: 14px;
	border-top: 1px solid rgba(141, 116, 64, 0.16);
}

.cat-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	height: 38px;
	padding: 0 16px;
	border-radius: 8px;
	font-family: 'Inter', sans-serif;
	font-size: 0.86rem;
	font-weight: 600;
	text-decoration: none !important;
	transition: all 0.15s ease;
	cursor: pointer;
	box-sizing: border-box;
}

.cat-btn.full-width {
	width: 100%;
}

.cat-btn-primary {
	flex: 1;
	background: linear-gradient(135deg, #6b1d2f 0%, #85223a 100%);
	color: #ffffff !important;
	border: none;
	box-shadow: 0 3px 8px rgba(107, 29, 47, 0.22);
}

.cat-btn-primary:hover {
	background: linear-gradient(135deg, #7c2237 0%, #982843 100%);
	box-shadow: 0 6px 14px rgba(107, 29, 47, 0.35);
	transform: translateY(-1px);
}

.cat-btn-secondary {
	background: rgba(255, 255, 255, 0.9);
	border: 1px solid rgba(141, 116, 64, 0.3);
	color: #4a3e33 !important;
	padding: 0 12px;
}

.cat-btn-secondary:hover {
	background: #ffffff;
	border-color: #b8860b;
	color: #2c241d !important;
	transform: translateY(-1px);
}

.cat-empty-card {
	background: #ffffff;
	border: 2px dashed rgba(141, 116, 64, 0.3);
	border-radius: 14px;
	padding: 40px 20px;
	text-align: center;
	color: #8c7355;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	margin: 20px 0;
}

.cat-empty-card svg {
	color: #b8860b;
	opacity: 0.7;
}

.cat-empty-card p {
	margin: 0;
	font-size: 1rem;
	font-weight: 600;
}

/* ==========================================================================
   Page-Specific Base Styles (Forms, Pdetails, Link Status Badges, Mono, UPU, NanoAlbum)
   ========================================================================== */

#awards {
  display: flex;
  justify-content: center; /* Centers the entire #awards container */
}

.award-list {
  columns: 2;
  column-gap: 10px;
  list-style-type: none;
  padding-left: 0;
  width: 60%;
}

.award-list li {
  margin-bottom: 5px; /* Adds spacing between list items */
}

		
.form-style-9{
    max-width: 450px;
    background: #fffdf8;
    opacity: 1;
    padding: 10px 20px 20px 20px;
    margin: 20px auto;
    box-shadow: 0 8px 24px rgba(37, 31, 20, 0.14);
    border-radius: 10px;
    border: 1px solid #c8b996;
    position:relative;
}
.form-style-9 ul{
    padding:0;
    margin:0;
    list-style:none;
}
.form-style-9 ul li{
    display: block;
    margin-bottom: 10px;
    min-height: 35px;
}
.form-style-9 ul li  .field-style{
    box-sizing: border-box;
    padding: 8px;
    outline: none;
    border: 1px solid #d2c5a9;
    transition: none;

}.form-style-9 ul li  .field-style:focus{
    box-shadow: none;
    border:1px solid #aa8c50;
}
.form-style-9 ul li .field-split{
    width: 49%;
}

.form-style-9 ul li input.align-left{
    float:left;
}
.form-style-9 ul li input.align-right{
    float:right;
}
.form-style-9 ul li textarea{
    width: 100%;
    height: 100px;
}
.form-style-9 ul li input[type="button"],
.form-style-9 ul li input[type="submit"] {
    background: linear-gradient(180deg, #e9d7ab 0%, #d0ae68 100%);
    border: 1px solid rgba(41, 38, 23, 0.25);
    display: inline-block;
    cursor: pointer;
    color: #1f1a17;
    padding: 8px 18px;
    text-decoration: none;
    font: 12px Arial, Helvetica, sans-serif;
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-transform: none;
}
.form-style-9 ul li input[type="button"]:hover,
.form-style-9 ul li input[type="submit"]:hover {
    background: linear-gradient(180deg, #dfc58a 0%, #caa45f 100%);
    color: #1f1a17;
}
.form-style-9 li > label{
    display: block;
    float: left;
    margin-top: -19px;
    background: inherit;
    position: absolute;
    height: 14px;
    padding: 2px 5px 2px 5px;
    color: #B9B9B9;
    overflow: hidden;
    font-family: Arial, Helvetica, sans-serif;
    
}	

form.form-style-9::before {
  content: '';
  margin: -35px;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  filter: blur(20px);
  z-index: -1;
}

.dictionary { cursor: pointer; }

.emulated-flex-gap > * {
  margin: 15px 0 0 15px;
}

.gallery2{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.gallery2 img { 
  width: 100%; 
  max-width: 250px;
  height: 250px;
  cursor: pointer;
  object-fit: scale-down;
  flex: 0 0 calc(25% - 10px);
  margin: 2px;
}

.gallery2 figcaption {
	padding: 5px;
	background: #f2e6cf;
	color: #2f2618;
	text-align: center;
}

.collapsible {
    background: linear-gradient(180deg, #f5ebd9 0%, #e9d7ab 100%);
    color: #1f1a17;
    cursor: pointer;
    padding: 10px;
    width: 100%;
    border: 1px solid rgba(41, 38, 23, 0.2);
    border-radius: 8px;
    text-align: left;
    outline: none;
    transition: none;
	font-size: 1em;
}

.collapsible:hover {
    background: linear-gradient(180deg, #ead7a9 0%, #d7b570 100%);
    color: #1f1a17;
}

.content {
    padding: 0 10px;
    display: none;
    overflow: hidden;
}

.content p {
    color: #373127;
    padding: 5px;
    border-radius: 4px;
    margin: 5px 0;
}

.history-page {
    --history-ink: #2d2a24;
    --history-accent: #7a6330;
    --history-soft: #f4efdf;
    --history-line: #ded6bf;
}

.history-hero {
    background: #f5ebd9;
    border: 1px solid var(--history-line);
    border-radius: 14px;
    padding: 1rem 1.1rem;
    margin-bottom: 1rem;
    box-shadow: none;
}

.history-page h1 {
    margin: 0;
    color: #1f1d18;
    letter-spacing: 0.03em;
}

.history-subtitle {
    margin: 0.2rem 0 0;
    color: #4f4736;
    font-size: 1rem;
    font-style: italic;
}

.history-page .collapsible {
    background: #f2e6cf;
    color: var(--history-ink);
    border: 1px solid var(--history-line);
    border-radius: 10px;
    margin: 0.55rem 0;
    padding: 0.8rem 1rem;
    font-size: 1.02rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    position: relative;
}

.history-page .collapsible:hover {
    background: #ead8b3;
}

.history-page .collapsible::after {
    content: '+';
    position: absolute;
    right: 0.9rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--history-accent);
    font-size: 1.05rem;
}

.history-page .content {
    background: #fffdf7;
    border: 1px solid var(--history-line);
    border-top: none;
    border-radius: 0 0 10px 10px;
    margin-top: -0.55rem;
    margin-bottom: 0.8rem;
    padding: 0.9rem 1rem;
    color: #2f2b20;
    line-height: 1.7;
}

.history-page .content p,
.history-page .content li {
    color: #302d25;
    font-size: 0.98rem;
}

.history-page .content ul,
.history-page .content ol {
    margin: 0.6rem 0 0.9rem 1.1rem;
}

.history-page .content li {
    margin: 0.24rem 0;
}

@media screen and (max-width: 400px) {
    .history-hero {
        padding: 0.7rem 0.75rem;
    }

    .history-subtitle {
        font-size: 0.92rem;
    }

    .history-page .collapsible {
        font-size: 0.94rem;
        padding-right: 2rem;
    }

    .history-page .content {
        padding: 0.7rem 0.75rem;
    }
}

.join-page {
    --join-ink: #2d2a24;
    --join-accent: #745f2f;
    --join-soft: #f4ecda;
    --join-line: #ddd3b7;
}

.join-hero {
    background: #f5ebd9;
    border: 1px solid var(--join-line);
    border-radius: 14px;
    padding: 1rem 1.1rem;
    margin-bottom: 1rem;
    box-shadow: none;
}

.join-page h1 {
    margin: 0;
    color: #1f1d17;
    letter-spacing: 0.03em;
}

.join-subtitle {
    margin: 0.2rem 0 0;
    color: #514a39;
    font-style: italic;
}

.join-card {
    background: #fffdf7;
    border: 1px solid var(--join-line);
    border-radius: 12px;
    padding: 1rem 1.05rem;
    margin-bottom: 0.85rem;
    box-shadow: 0 3px 12px rgba(35, 30, 20, 0.06);
}

.join-card h2 {
    margin: 0 0 0.45rem;
    color: var(--join-ink);
    font-size: 1.1rem;
}

.join-card p {
    color: #312d23;
    margin: 0.45rem 0;
    line-height: 1.72;
}

.join-doc-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0.7rem 0;
}

.join-doc-links a {
    display: inline-block;
    background: #dcc69b;
    border: 1px solid #b79e72;
    color: #2f2618 !important;
    border-radius: 999px;
    padding: 0.4rem 0.8rem;
    font-weight: 600;
}

.join-doc-links a:hover {
    background: #cfb88d;
    font-weight: 600 !important;
}

.join-address {
    background: var(--join-soft);
    border-left: 4px solid var(--join-accent);
    padding: 0.55rem 0.7rem;
    border-radius: 6px;
}

@media screen and (max-width: 400px) {
    .join-hero,
    .join-card {
        padding: 0.75rem 0.8rem;
    }

    .join-card h2 {
        font-size: 1.02rem;
    }

    .join-doc-links {
        gap: 7px;
    }

    .join-doc-links a {
        font-size: 0.88rem;
        padding: 0.33rem 0.6rem;
    }
}


.link-status {
    display: inline-block;
    margin-left: 0.45rem;
    padding: 0.1rem 0.45rem;
    border-radius: 999px;
    font-size: 0.77rem;
    font-weight: 700;
    line-height: 1.35;
    vertical-align: middle;
}

.link-status-ok {
    color: #125833;
    background: #dcf3e6;
    border: 1px solid #a9d9bf;
}

.link-status-dead {
    color: #7b1818;
    background: #f8dfdf;
    border: 1px solid #e8b5b5;
}

.link-status-warn {
    color: #684f00;
    background: #f7edc8;
    border: 1px solid #e7d79a;
}

@media screen and (max-width: 400px) {
    .contact-hero,
    .faq-hero,
    .links-hero {
        padding: 0.75rem 0.8rem;
    }

    .contact-card,
    .faq-item summary,
    .faq-item p,
    .links-catalog > h2,
    .links-catalog > ul {
        padding-left: 0.7rem;
        padding-right: 0.7rem;
    }
}

.mono-page,
.upu-page {
    --mono-ink: #2d2a23;
    --mono-accent: #7a6230;
    --mono-soft: #f3ebd8;
    --mono-line: #ddd2b4;
}

.mono-hero,
.upu-hero {
    background: #f5ebd9;
    border: 1px solid var(--mono-line);
    border-radius: 14px;
    padding: 1rem 1.1rem;
    margin-bottom: 0.9rem;
    box-shadow: none;
}

.mono-page h1,
.upu-page h1 {
    margin: 0;
    color: #1f1d18;
    letter-spacing: 0.03em;
}

.mono-hero p,
.upu-hero h2 {
    margin: 0.45rem 0 0;
    color: #352f25;
    font-size: 1.02rem;
    font-family: "Trebuchet MS", "Segoe UI", "Helvetica Neue", sans-serif;
    font-weight: normal;
    line-height: 1.72;
}

.mono-page p[align='center'],
.upu-page p[align='center'] {
    background: #fffdf7;
    border: 1px solid var(--mono-line);
    border-radius: 10px;
    padding: 0.55rem 0.75rem;
    margin: 0.6rem auto;
    max-width: 760px;
    box-shadow: 0 2px 10px rgba(36, 31, 22, 0.05);
}

.mono-page .monografia,
.upu-page .upu {
    background: #f7f1e3;
    border: 1px solid var(--mono-line);
    border-radius: 14px;
    height: auto;
    min-height: 0;
    padding: 0.9rem;
    margin-top: 0.8rem;
}

.mono-page .monografia::after {
    content: none;
}

.mono-page .form-style-9,
.upu-page .form-style-9 {
    background: #fffefb;
    opacity: 1;
    border: 1px solid #c6b993;
    box-shadow: 0 8px 24px rgba(41, 38, 23, 0.12);
    max-width: 620px;
}

.mono-page .form-style-9 .form-intro,
.upu-page .form-style-9 .form-intro {
    border: 1px solid #d6c9aa;
    border-radius: 10px;
    padding: 0.8rem;
    margin-bottom: 0.8rem;
    background: rgba(255, 252, 244, 0.78);
    color: #2f2a20;
}

.mono-page .form-style-9 ul li .field-style,
.upu-page .form-style-9 ul li .field-style {
    border: 1px solid #d3c7a9;
}

.nano-album-page .nano-album-wrap {
    margin: auto;
}

.nano-album-page #ngy2p .nGY2GThumbnail,
.nano-album-page #ngy2p .nGY2GThumbnailSub {
    overflow: visible !important;
}

.nano-album-page #ngy2p .nGY2GThumbnailLabel {
    position: absolute !important;
    top: 100% !important;
    bottom: auto !important;
    left: 0 !important;
    right: 0 !important;
    background: transparent !important;
    padding: 8px 4px 0 !important;
    text-align: center;
    min-height: 0 !important;
}

.nano-album-page #ngy2p .nGY2GThumbnailAlbumTitle {
    display: block !important;
    margin: 0 !important;
    color: #3f3629 !important;
    text-shadow: none !important;
    white-space: normal !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
}

.nano-album-page #ngy2p .nGY2GThumbnailImageTitle {
    display: none !important;
}

.nano-album-page #ngy2p .nGY2GThumbnailDescription {
    display: none !important;
}

.mono-page .form-style-9 ul li .field-style:focus,
.upu-page .form-style-9 ul li .field-style:focus {
    box-shadow: 0 0 0 3px rgba(156, 131, 66, 0.18);
    border-color: #9c8342;
}

.mono-page .form-style-9 ul li input[type="submit"],
.upu-page .form-style-9 ul li input[type="submit"] {
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    border-radius: 999px;
    padding: 0.55rem 1rem;
    border: 1px solid #b79e72;
    background: #dcc69b;
    color: #2f2618;
}

.mono-page .form-style-9 ul li input[type="submit"]:hover,
.upu-page .form-style-9 ul li input[type="submit"]:hover {
    background: #cfb88d;
}

@media screen and (max-width: 400px) {
    .mono-hero,
    .upu-hero {
        padding: 0.75rem 0.8rem;
    }

    .mono-page .monografia,
    .upu-page .upu {
        padding: 0.65rem;
    }

    .mono-page .form-style-9,
    .upu-page .form-style-9 {
        padding: 10px 12px 14px;
    }

    .mono-page .form-style-9 .form-intro,
    .upu-page .form-style-9 .form-intro {
        padding: 0.65rem;
    }
}
