/* ==========================================================================
   1. Top Navigation & SmartMenus Theme (Consolidated)
   ========================================================================== */

/* -------------------------------------------------------------------------
   Base & Mobile Layout (Mobile-first, collapsible mode)
   ------------------------------------------------------------------------- */
.sm-simple {
  list-style: none;
  margin: 0;
  padding: 0;
  background: transparent;
}

.sm-simple,
.sm-simple * {
  box-sizing: border-box;
}

.sm-simple a,
.sm-simple a:link,
.sm-simple a:visited,
.sm-simple a:hover,
.sm-simple a:focus,
.sm-simple a:active {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  color: #2c1e10;
  text-decoration: none;
  position: relative;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.sm-simple a:hover,
.sm-simple a:focus {
  background: rgba(255, 255, 255, 0.55);
  color: #6b1d2f;
}

.sm-simple a.disabled {
  color: #8c7660;
  cursor: default;
}

/* Sub-indicator: Clear, solid, high-contrast marker - NO movement */
.sm-simple a .sub-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  margin-left: auto;
  flex: 0 0 14px;
  pointer-events: none;
}

.sm-simple a .sub-arrow::after {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid #241608;
  transform: none !important;
  transition: none !important;
}

.sm-simple li {
  position: relative;
  border-top: 1px solid rgba(80, 50, 15, 0.08);
}

.sm-simple > li:first-child {
  border-top: 0;
}

.sm-simple ul {
  position: static;
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  background: rgba(240, 228, 209, 0.55);
  border-top: 1px solid rgba(80, 50, 15, 0.08);
  border-bottom: 1px solid rgba(80, 50, 15, 0.08);
}

.sm-simple ul a,
.sm-simple ul a:link,
.sm-simple ul a:visited {
  padding: 10px 18px 10px 32px;
  font-size: 13.5px;
  font-weight: 500;
  color: #3b2b1a;
  border-left: 3px solid transparent;
}

.sm-simple ul a:hover,
.sm-simple ul a:focus {
  background: rgba(255, 255, 255, 0.65);
  color: #6b1d2f;
  border-left-color: #c5a059;
}

.sm-simple ul ul a {
  padding-left: 44px;
}

.sm-simple ul a img {
  margin-right: 8px;
  vertical-align: middle;
  border-radius: 2px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.sm-simple .menu-globe-icon {
  width: 19px;
  height: 19px;
  vertical-align: middle;
  margin-right: 6px;
}

/* -------------------------------------------------------------------------
   Desktop Layout (min-width: 769px)
   STRICT: All items have IDENTICAL styling, zero width shift, zero movement
   ------------------------------------------------------------------------- */
@media (min-width: 769px) {
  .topmenu-mobile-bar {
    display: none !important;
  }

  #layoutMenu {
    height: 32px !important;
    min-height: 32px !important;
    max-height: 32px !important;
  }

  #topmenu-nav {
    height: 32px;
  }

  #main-menu {
    display: block !important;
    height: 32px;
  }

  .sm-simple {
    display: flex;
    align-items: center;
    width: 100%;
    height: 32px;
  }

  .sm-simple > li {
    float: left;
    height: 32px;
    border-top: 0;
    border-left: 0;
  }

  .sm-simple > li.langglobe {
    margin-left: auto;
  }

  .sm-simple > li > a,
  .sm-simple > li > a:link,
  .sm-simple > li > a:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    padding: 0 12px !important;
    font-size: 13px;
    font-weight: 600;
    line-height: 32px !important;
    white-space: nowrap;
    color: #2c1e10 !important;
    text-decoration: none;
    background: transparent;
    transition: background-color 0.15s ease, color 0.15s ease;
  }

  .sm-simple > li > a:hover,
  .sm-simple > li > a:focus,
  .sm-simple > li > a.highlighted {
    background: rgba(255, 255, 255, 0.35) !important;
    color: #1a1107 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    padding: 0 12px !important;
    height: 32px !important;
    line-height: 32px !important;
    transform: none !important;
  }

  .sm-simple > li > a.has-submenu {
    padding: 0 12px !important;
  }

  .sm-simple > li > a .sub-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 9px;
    height: 9px;
    margin-left: 6px;
    margin-right: 0;
    flex: 0 0 9px;
    position: static;
    border: none;
    background: transparent;
    pointer-events: none;
  }

  .sm-simple > li > a .sub-arrow::after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-left: 4.5px solid transparent;
    border-right: 4.5px solid transparent;
    border-top: 5.5px solid #241608;
    opacity: 0.92;
    transform: none !important;
    transition: none !important;
  }

  .sm-simple > li > a:hover .sub-arrow::after,
  .sm-simple > li > a:focus .sub-arrow::after,
  .sm-simple > li > a.highlighted .sub-arrow::after {
    border-top-color: #1a0f05;
    opacity: 1;
    transform: none !important;
    transition: none !important;
  }

  /* Completely suppress legacy plus (+) / minus signs and any pseudoelement markers */
  .sm-simple a .sub-arrow::before,
  .sm-simple a.has-submenu::before,
  .sm-simple li a .sub-arrow::before {
    content: none !important;
    display: none !important;
  }


  .sm-simple ul {
    position: absolute;
    width: auto !important;
    min-width: 14em;
    max-width: 34em;
    white-space: nowrap;
    background: #ffffff;
    border: 1px solid rgba(80, 50, 15, 0.15);
    border-radius: 8px;
    box-shadow: 0 10px 25px -4px rgba(44, 33, 19, 0.18), 0 4px 8px -2px rgba(44, 33, 19, 0.08);
    padding: 5px 0;
    z-index: 1000;
  }

  .sm-simple ul li {
    float: none;
    border-top: 0;
    height: auto;
  }

  .sm-simple ul a,
  .sm-simple ul a:link,
  .sm-simple ul a:visited {
    display: flex;
    align-items: center;
    padding: 7px  18px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4 !important;
    white-space:  nowrap !important;
    color: #2c1e10;
    border-left: 3px solid transparent;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  }

  .sm-simple ul a:hover,
  .sm-simple ul a:focus,
  .sm-simple ul a:active,
  .sm-simple ul a.highlighted {
    background: #fbf6ec;
    color: #6b1d2f;
    font-size: 13px !important;
    font-weight: 500 !important;
    padding: 7px  18px !important;\n    white-space: nowrap !important;
    border-left-color: #c5a059;
    transform: none !important;
  }

  .sm-simple ul a .sub-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 8px;
    height: 8px;
    margin-left: auto;
    flex: 0 0 8px;
    pointer-events: none;
  }

  .sm-simple ul a .sub-arrow::after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 5px solid #241608;
    transform: none !important;
    transition: none !important;
  }

  .sm-simple > li.langglobe > a {
    padding: 0 10px !important;
  }

  .sm-simple > li.langglobe > a .sub-arrow {
    display: none !important;
  }

  .sm-simple > li.langglobe .lang-menu-text {
    display: none;
  }

  .sm-simple > li.langglobe > ul {
    right: 0 !important;
    left: auto !important;
    min-width: 9.5em;
    width: auto;
  }

  .sm-simple > li.langglobe > ul a {
    white-space: nowrap;
    gap: 8px;
  }
}

/* -------------------------------------------------------------------------
   Mobile Specific Layout (max-width: 768px)
   ------------------------------------------------------------------------- */
@media (max-width: 768px) {
  #layoutMenu {
    position: relative;
    height: auto !important;
    min-height: 42px !important;
    background: linear-gradient(180deg, #f0dfb8 0%, #d8b875 100%);
    border-bottom: 1px solid rgba(80, 50, 15, 0.2);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), 0 2px 4px rgba(0, 0, 0, 0.04);
    z-index: 1000;
  }

  .topmenu-mobile-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 42px;
    padding: 0 10px;
    box-sizing: border-box;
  }

  .main-menu-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 32px;
    padding: 0 11px;
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(80, 50, 15, 0.22);
    border-radius: 6px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #2c1e10;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: background 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
  }

  .main-menu-btn:active {
    transform: scale(0.97);
  }

  .main-menu-btn:hover {
    background: rgba(255, 255, 255, 0.6);
  }

  .main-menu-btn-icon {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 15px;
    height: 12px;
  }

  .main-menu-btn-icon .bar {
    display: block;
    width: 100%;
    height: 2px;
    background: #2c1e10;
    border-radius: 1px;
    transition: transform 0.25s ease, opacity 0.2s ease;
  }

  #layoutMenu.menu-open .main-menu-btn-icon .bar-1 {
    transform: translateY(5px) rotate(45deg);
  }

  #layoutMenu.menu-open .main-menu-btn-icon .bar-2 {
    opacity: 0;
  }

  #layoutMenu.menu-open .main-menu-btn-icon .bar-3 {
    transform: translateY(-5px) rotate(-45deg);
  }

  .mobile-quick-lang {
    display: inline-flex;
    align-items: center;
    gap: 4px;
  }

  .mobile-quick-lang .m-lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 3px 6px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.35);
    border: 1px solid rgba(80, 50, 15, 0.18);
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 700;
    color: #2c1e10;
    text-decoration: none;
    transition: all 0.15s ease;
  }

  .mobile-quick-lang .m-lang-btn:hover {
    background: rgba(255, 255, 255, 0.6);
  }

  .mobile-quick-lang .m-lang-btn.is-active {
    background: #6b1d2f;
    border-color: #6b1d2f;
    color: #ffffff;
    box-shadow: 0 1px 3px rgba(107, 29, 47, 0.3);
  }

  .mobile-quick-lang .m-lang-btn img {
    border-radius: 1px;
  }

  #main-menu {
    display: none;
    position: absolute;
    top: 42px;
    left: 0;
    right: 0;
    width: 100%;
    background: linear-gradient(180deg, #fdfbf7 0%, #f6ede0 100%);
    border-bottom: 3px solid #c5a059;
    box-shadow: 0 16px 32px rgba(44, 33, 19, 0.22);
    z-index: 9999;
    max-height: 80vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 12px;
  }

  #main-menu.is-open {
    display: block;
  }

  .sm-simple a {
    padding: 12px 18px;
    font-size: 14px;
  }

  .sm-simple > li {
    float: none;
    width: 100%;
    border-top: 1px solid rgba(80, 50, 15, 0.08);
  }

  .sm-simple > li:first-child {
    border-top: 0;
  }

  .sm-simple > li.langglobe {
    display: none !important;
  }

  .sm-simple .lang-menu-text {
    display: inline;
  }
}

/* ==========================================================================
   2. Core Site Layout & Styles
   ========================================================================== */

:root {
	--page-bg: #f3efe7;
	--page-shell-bg: #fffdf9;
	--nav-bg: #e9d7ab;
	--nav-bg-strong: #d0ae68;
	--nav-text: #2f2318;
	--content-text: #2c241d;
	--link: #8e6741;
	--border-soft: rgba(41, 38, 23, 0.18);
	--panel-bg: #f8f3ec;
	--shadow-soft: 0 12px 30px rgba(0, 0, 0, 0.08);
	--card-border: 1px solid rgba(47, 35, 24, 0.14);
	--card-radius: 12px;
	--card-shadow: 0 2px 10px rgba(31, 22, 15, 0.08);
	--card-shadow-hover: 0 6px 16px rgba(31, 22, 15, 0.13);
	--card-transition: box-shadow 0.3s ease;
	--grid-gap: 15px;
	--grid-row-gap: 40px;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

@font-face {
  font-family: MainTitle;
  src: url('../fonts/PlayfairDisplay-Bold.ttf');
}

@font-face {
    font-family: 'stamp_symbolsregular';
    src: url('../fonts/stampsymbols-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

#specfont {
	font-family: stamp_symbolsregular;
	font-size: 11px;
	display: inline-block;
	font-style: normal;
}

body {
	margin: 0;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 13px;
	line-height: 1.5;
	background: linear-gradient(180deg, #f0e8dc 0%, #f8f4ee 100%);
	color: var(--content-text);
}

@media (max-width: 768px) {
	body {
		overflow-x: hidden;
	}
}

/* Headings use Lora (elegant serif for historical context) */
h3, h4 {
	font-family: 'Lora', Georgia, 'Times New Roman', serif;
	font-weight: 700;
	line-height: 1.3;
}

/* h2 uses modern sans-serif */
h2 {
	font-family: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-weight: 600;
	line-height: 1.4;
}

#container {
	width: 96%;
	max-width: 1720px;
	margin: 14px auto;
	background: var(--page-shell-bg);
	box-shadow: var(--shadow-soft);
	border-radius: 16px;
	overflow: hidden;
}

/* top menu begins */
#layoutMenu {
	position: relative;
	height: 32px;
	background: linear-gradient(180deg, #f0dfb8 0%, #d8b875 100%);
	border-bottom: 1px solid rgba(80, 50, 15, 0.2);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), 0 2px 4px rgba(0, 0, 0, 0.04);
	z-index: 100;
}

#layoutMenu nav {
	height: 100%;
}
/* top menu ends */

/* header begins*/
#layoutHeader {
	background: url(../images/header.jpg) no-repeat left;
	position: relative;
	width: 100%;
	height: 116px;
	border-bottom: 1px solid var(--border-soft);
}

.maintitle {
	text-shadow: 2px 0 0 #fff, -2px 0 0 #fff, 0 2px 0 #fff, 0 -2px 0 #fff, 1px 1px #fff, -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff;
	color: #333;
	opacity: 1;
	font: min(max(21px, 3vw), 60px) 'MainTitle';
	position: absolute;
	bottom: 1px;
	right: 10px;
	white-space: nowrap;
}

.maintitle br {
	display: none;
}
/* header ends*/

/*central wrapper begins*/
#layoutCenterBody {
	display: flex;
	align-items: flex-start;
	gap: 6px;
	margin: 10px 5px 0 10px;
	padding-bottom: 18px;
}

#layoutNavigation {
    width: 200px;
    border: 1px solid var(--border-soft);
    background: linear-gradient(180deg, #f9f4ec 0%, #f1e7d8 100%);
    float: none;
    flex: 0 0 200px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.5);
    border-radius: 12px;
    overflow: hidden;
}

#layoutBodyContent {
	margin-left: 0;
	margin-right: 0;
	flex: 1 1 auto;
	min-width: 0;
	max-width: none;
	width: 100%;
	padding: 16px 20px;
	background: linear-gradient(180deg, rgba(248,243,236,0.95), rgba(255,255,255,0.8));
	border: 1px solid rgba(54, 44, 34, 0.12);
	border-radius: 12px;
	box-shadow: 0 8px 20px rgba(41, 38, 23, 0.04);
}

#layoutBodyContent[class],
#layoutBodyContent[class*="-page"],
#layoutBodyContent.news-page,
#layoutBodyContent.intro-page,
#layoutBodyContent.contact-page,
#layoutBodyContent.catalogues-page,
#layoutBodyContent.search-page,
#layoutBodyContent.details-page,
#layoutBodyContent.stats-page,
#layoutBodyContent.faq-page,
#layoutBodyContent.donators-page,
#layoutBodyContent.history-page,
#layoutBodyContent.join-page,
#layoutBodyContent.join,
#layoutBodyContent.intro,
#layoutBodyContent.intro-redesign,
#layoutBodyContent.reviews-page,
#layoutBodyContent.awards-page,
#layoutBodyContent.nano-album-page,
#layoutBodyContent.videos-page,
#layoutBodyContent.pdetails-page,
#layoutBodyContent.cinderellas-page,
#layoutBodyContent.links-page,
#layoutBodyContent.commem-page,
#layoutBodyContent.prnd-page,
#layoutBodyContent.mono-page,
#layoutBodyContent.upu-page,
#layoutBodyContent.cancels-page,
#layoutBodyContent.type-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;
}

#layoutBodyContent > :first-child {
	margin-top: 0;
}

#layoutBodyContent a:link, #layoutBodyContent a:visited {
    color: var(--link);
    text-decoration: none;
}

#layoutBodyContent h1 {
    color: var(--content-text);
    font-weight: bold;
    font-size: 24px;
    margin-bottom: 14px;
}

#layoutBodyContent h2 {
	color: var(--content-text);
}

#layoutBodyContent p {
    margin-top: 5px;
	color: var(--content-text);
}

.clearer {
    clear: both;
    height: 0;
    line-height: 0;
    font-size: 0;
}

#layoutFooter {
	clear: both;
    height: 34px;
    background: linear-gradient(180deg, #e9d7ab 0%, #d0ae68 100%);
    border-top: 1px solid rgba(41, 38, 23, 0.25);
    overflow: hidden;
}

#layoutFooter .siteinfoLegal {
    float: right;
    padding: 6px;
}

#layoutNavigation .navTitle {
    background: linear-gradient(180deg, #e9d7ab 0%, #d0ae68 100%);
    color: var(--nav-text);
    font-weight: bold;
    padding: 6px 8px;
    letter-spacing: 0.02em;
    margin: 0 !important;
}

#layoutNavigation1 {
	padding: 0;
}

#layoutNavigation ul.topnav,
#layoutNavigation ul.topnav ul,
#layoutNavigation dl.table-display {
	margin: 0 !important;
	padding: 0 !important;
}

#layoutNavigation ul.topnav li {
	margin: 0;
	padding: 0;
}

#layoutNavigation .topnav li:last-child a {
	border-bottom: none;
}

#layoutNavigation a {
	display: block;
	background: transparent;
	border-bottom: 1px solid rgba(98, 76, 51, 0.18);
	margin: 0;
    color: #3d2f22;
    text-decoration: none;
	padding: 5px 10px;
	line-height: 1.45;
}

#layoutNavigation a:hover {
    color: #2a1f17;
	background: rgba(116, 89, 55, 0.06);
}

#layoutNavigation .active a {
	color: #2a1f17;
	font-weight: bold;
	background: rgba(116, 89, 55, 0.1);
}


#layoutNavigation .topnav ul {
	display: none;
	padding-left: 10px !important;
}

#layoutNavigation .topnav span {
	float: right;
}

.centered-max-860 {
	margin: auto;
	max-width: 860px;
}

.centered-block {
	margin: auto;
}

.text-justify {
	text-align: justify;
}

#layoutFooter .siteinfoLegal .footer-license-icon {
	height: 22px !important;
	margin-left: 3px;
}

#layoutFooter .siteinfoLegal .footer-license-icon.last {
	margin-right: 3px;
}
/* ==========================================================================
   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;
}

/* ==========================================================================
   6. Fancybox Archival & Document Reader Customizations
   ========================================================================== */

.fancybox__container {
	--fancybox-zIndex: 99999;
	z-index: 99999;
	--fancybox-bg: #ffffff;
	--fancybox-color: #2c241d;
	--fancybox-accent-color: #b8860b;
	--fancybox-content-color: #334155;
	--fancybox-content-bg: transparent;
	--fancybox-thumbs-width: 76px;
	--fancybox-thumbs-ratio: 1;
	--carousel-button-svg-filter: none;
	display: flex;
	flex-direction: row;
}

.fancybox__leftCol {
	flex: 1 1 auto;
	width: 100%;
	min-height: 1px;
	height: 100%;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	position: relative;
	background: #ffffff;
	box-sizing: border-box;
}

.fancybox__slide .fancybox__content,
.fancybox__slide.has-image .fancybox__content,
.fancybox__slide.has-image .fancybox__content img,
.fancybox__image {
	border: none !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	outline: none !important;
	background: transparent !important;
}

/* Desktop Centered Navigation Arrows */
.fancybox__leftCol .carousel__button.is-prev,
.fancybox__leftCol .carousel__button.is-next {
	top: 50% !important;
	transform: translateY(-50%) !important;
	width: 48px !important;
	height: 48px !important;
	border-radius: 50% !important;
	background: rgba(255, 255, 255, 0.94) !important;
	border: 1px solid rgba(141, 116, 64, 0.3) !important;
	color: #2c1e10 !important;
	box-shadow: 0 4px 14px rgba(36, 29, 17, 0.14) !important;
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	cursor: pointer;
	z-index: 10;
	transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.fancybox__leftCol .carousel__button.is-prev {
	left: 20px !important;
}

.fancybox__leftCol .carousel__button.is-next {
	right: 20px !important;
}

.fancybox__leftCol .carousel__button.is-prev:hover,
.fancybox__leftCol .carousel__button.is-next:hover {
	background: linear-gradient(135deg, #6b1d2f 0%, #85223a 100%) !important;
	border-color: #6b1d2f !important;
	color: #ffffff !important;
	transform: translateY(-50%) scale(1.08) !important;
	box-shadow: 0 6px 18px rgba(107, 29, 47, 0.35) !important;
}

.fancybox__toolbar {
	background: rgba(255, 255, 255, 0.94) !important;
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border-bottom: 1px solid rgba(141, 116, 64, 0.2);
	padding: 6px 14px;
	text-shadow: none;
}

.fancybox__toolbar .carousel__button {
	color: #2c1e10 !important;
}

/* Mobile: Move navigation arrows to bottom of section so they don't cover the picture */
@media screen and (max-width: 860px) {
	.fancybox__leftCol .carousel__button.is-prev,
	.fancybox__leftCol .carousel__button.is-next {
		top: auto !important;
		bottom: 14px !important;
		transform: none !important;
		width: 42px !important;
		height: 42px !important;
	}

	.fancybox__leftCol .carousel__button.is-prev {
		left: 14px !important;
	}

	.fancybox__leftCol .carousel__button.is-next {
		right: 14px !important;
	}

	.fancybox__leftCol .carousel__button.is-prev:hover,
	.fancybox__leftCol .carousel__button.is-next:hover {
		transform: scale(1.08) !important;
	}
}

.fancybox__slide.has-iframe {
	padding: 12px 16px !important;
}

.fancybox__content.is-type-iframe,
.fancybox__slide.has-iframe .fancybox__content,
.fancybox__slide .fancybox__iframe,
.fancybox__iframe {
	width: 94vw !important;
	height: 92vh !important;
	max-width: 1440px !important;
	max-height: 94vh !important;
	border-radius: 8px !important;
	border: 1px solid rgba(141, 116, 64, 0.3) !important;
	box-shadow: 0 16px 48px rgba(0, 0, 0, 0.28) !important;
	background: #ffffff !important;
}

/* ==========================================================================
   7. Floating Scroll-to-Top Button
   ========================================================================== */

#back-to-top-btn {
	position: fixed;
	bottom: 25px;
	right: 25px;
	width: 46px;
	height: 46px;
	background: #80602e;
	color: #ffffff;
	border: none;
	border-radius: 50%;
	cursor: pointer;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
	display: none;
	align-items: center;
	justify-content: center;
	z-index: 999;
	transition: transform 0.2s ease, background-color 0.2s ease, opacity 0.2s ease;
}

#back-to-top-btn:hover {
	background: #5d4421;
	transform: translateY(-3px);
}


.fancybox__rightCol dt {
	font-weight: 700;
	color: #2c241d;
	margin-top: 8px;
}

.fancybox__rightCol dl,
.fancybox__rightCol dd {
	font-size: 0.92rem;
	color: #4a3c31;
	line-height: 1.5;
}

/* ==========================================================================
   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(auto-fill, minmax(230px, 1fr));
	gap: 18px;
}

.modern-sheet-gallery figure[hidden] {
	display: none !important;
}

.modern-sheet-gallery .sheet-card {
	margin: 0 !important;
	background: #ffffff;
	border: 1px solid rgba(141, 116, 64, 0.24);
	border-radius: 14px;
	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;
	background: #fdfaf3;
	padding: 12px;
	aspect-ratio: 1 / 1;
	overflow: hidden;
}

.modern-sheet-gallery .sheet-card img {
	width: 100% !important;
	max-width: 100% !important;
	height: 100% !important;
	margin: 0 !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: 10px 14px;
	background: linear-gradient(180deg, #faf5eb 0%, #f3ead8 100%);
	border-top: 1px solid rgba(141, 116, 64, 0.16);
	display: flex;
	flex-direction: column;
	gap: 3px;
	text-align: center;
	flex: 1 1 auto;
	justify-content: center;
}

.sheet-card-title {
	font-family: 'Inter', sans-serif;
	font-size: 0.88rem;
	font-weight: 700;
	color: #2c241d;
	line-height: 1.35;
}

.sheet-card-year {
	font-family: 'Inter', sans-serif;
	font-size: 0.75rem;
	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-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;
}

.pdetails-card-ext:hover {
	background: #6b1d2f;
	border-color: #6b1d2f;
	color: #ffffff !important;
}

/* 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);
}

/* ==========================================================================
   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;
    }
}
/* ==========================================================================
   Responsive Layout Adjustments (Unified Shell & All Pages)
   ========================================================================== */

@media (max-width: 1200px) {
	.cat-grid.cat-grid-4 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
	.awards-modern-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 960px) {
	.cat-grid,
	.cat-grid.cat-grid-4,
	.nordfrim-shipping-grid,
	.donators-grid,
	.links-catalog-grid,
	.pair-stats-grid,
	.pair-stats-grid.pair-stats-grid-4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.cat-toolbar {
		flex-direction: column;
		align-items: stretch;
		gap: 12px;
	}
	.cat-search-box {
		width: 100%;
		max-width: 100%;
		height: 40px;
		flex: 0 0 40px;
	}
}

@media (max-width: 900px) {
	.contact-faq-grid,
	.contact-main-grid,
	.contact-specs-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 768px) {
	body {
		overflow-x: hidden;
	}

	#container {
		width: 100%;
		max-width: 100%;
		border-radius: 0;
		box-shadow: none;
		margin: 0;
	}

	#layoutHeader {
		height: 10vh;
		min-height: 90px;
		max-height: 120px;
		background-position: center left;
		background-size: cover;
	}

	.maintitle {
		right: 12px;
		bottom: 8px;
		left: auto;
		max-width: calc(100% - 24px);
		width: auto;
		text-align: right;
		font-size: clamp(14px, 4.2vw, 22px);
		white-space: normal;
		line-height: 1.15;
		word-break: break-word;
	}

	#layoutCenterBody {
		display: block;
		margin: 8px 10px 0;
	}

	#layoutNavigation {
		width: 100%;
		margin: 0 0 12px;
		float: none;
		box-sizing: border-box;
		flex: none;
	}

	#layoutNavigation .navTitle {
		cursor: pointer;
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 8px 12px;
		user-select: none;
	}

	#layoutNavigation .navTitle::after {
		content: "▾";
		font-size: 14px;
		transition: transform 0.2s ease;
	}

	#layoutNavigation.is-collapsed .navTitle::after {
		transform: rotate(-90deg);
	}

	#layoutBodyContent {
		margin-top: 0;
		width: 100%;
		padding: 12px;
		float: none;
		flex: none;
	}

	.award-list {
		columns: 1;
		width: 100%;
	}

	.nordfrim-promo-header,
	.news-notice-banner {
		flex-direction: column;
		align-items: flex-start;
		gap: 14px;
	}

	.nordfrim-promo-card,
	.donators-section,
	.archival-section-card,
	.contact-header-card {
		padding: 16px 18px;
	}

	.nordfrim-cta-btn,
	.faq-contact-btn,
	.news-notice-btn {
		width: 100% !important;
		justify-content: center;
	}

	.faq-modern-body,
	.faq-modern-body.collapsible-rich-body {
		padding: 14px 16px;
	}

	.faq-contact-banner,
	.pdetails-toolbar-card {
		flex-direction: column;
		align-items: stretch;
	}

	.pdetails-search-wrap {
		max-width: 100%;
		flex: 1 1 auto;
	}

	.pdetails-toolbar-actions {
		justify-content: space-between;
	}
}

@media (max-width: 640px) {
	.cat-grid,
	.cat-grid.cat-grid-4,
	.nordfrim-shipping-grid,
	.donators-grid,
	.awards-modern-grid,
	.links-catalog-grid,
	.pair-stats-grid,
	.pair-stats-grid.pair-stats-grid-4 {
		grid-template-columns: 1fr;
	}
}
/* Language changer: strictly hide sub-arrow under ALL conditions */
.sm-simple a.no-sub-arrow .sub-arrow,
.sm-simple a.no-sub-arrow .sub-arrow::before,
.sm-simple a.no-sub-arrow .sub-arrow::after,
a.no-sub-arrow .sub-arrow,
a.no-sub-arrow .sub-arrow::before,
a.no-sub-arrow .sub-arrow::after,
.sm-simple li.langglobe a .sub-arrow,
.sm-simple li.langglobe a .sub-arrow::before,
.sm-simple li.langglobe a .sub-arrow::after,
.sm-simple > li.langglobe > a .sub-arrow,
.sm-simple > li.langglobe > a .sub-arrow::before,
.sm-simple > li.langglobe > a .sub-arrow::after,
.sm-simple li.mi-8 a .sub-arrow,
.sm-simple li.mi-8 a .sub-arrow::before,
.sm-simple li.mi-8 a .sub-arrow::after,
.sm-simple > li.mi-8 > a .sub-arrow,
.sm-simple > li.mi-8 > a .sub-arrow::before,
.sm-simple > li.mi-8 > a .sub-arrow::after,
.sm-simple li:has(img[src*="lng.png"]) a .sub-arrow,
.sm-simple li:has(img[src*="lng.png"]) a .sub-arrow::before,
.sm-simple li:has(img[src*="lng.png"]) a .sub-arrow::after,
.langglobe a .sub-arrow,
.langglobe a .sub-arrow::before,
.langglobe a .sub-arrow::after,
.langglobe .sub-arrow,
.mi-8 a .sub-arrow,
.mi-8 a .sub-arrow::before,
.mi-8 a .sub-arrow::after,
.mi-8 .sub-arrow {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  content: none !important;
  pointer-events: none !important;
}
