/* =========================================================================
   Contact Page Styles (Slate Blue Theme)
   ========================================================================= */
.contact-page {
  padding: 14px 18px 24px;
}

.contact-header-card {
  background: linear-gradient(180deg, #fdfefe 0%, #edf3f8 100%);
  border: 1px solid rgba(44, 57, 66, 0.16);
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 20px;
  box-shadow: 0 4px 14px rgba(44, 57, 66, 0.04);
}

.contact-kicker {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #5d7686;
  margin-bottom: 8px;
}

.contact-main-title {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.65rem;
  font-weight: 700;
  color: #2c3942;
  margin: 0 0 8px;
  line-height: 1.25;
}

.contact-lead {
  font-size: 0.92rem;
  line-height: 1.6;
  color: #3d4f5c;
  margin: 0;
  max-width: 820px;
}

.contact-main-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}

.contact-card {
  background: #ffffff;
  border: 1px solid rgba(44, 57, 66, 0.14);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 14px rgba(44, 57, 66, 0.04);
  display: flex;
  flex-direction: column;
}

.contact-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(44, 57, 66, 0.1);
}

.contact-icon-bubble {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(180deg, #edf3f8 0%, #dae4ea 100%);
  border: 1px solid rgba(44, 57, 66, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #5d7686;
  flex-shrink: 0;
}

.contact-card-title {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #2c3942;
  margin: 0;
}

.contact-card-sub {
  font-size: 0.8rem;
  color: #5d7686;
  font-weight: 600;
}

.contact-desc {
  font-size: 0.88rem;
  line-height: 1.55;
  color: #3d4f5c;
  margin-bottom: 14px;
}

.contact-middle-panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 14px;
}

.contact-email-box {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: #f7fafc;
  border: 1px solid rgba(44, 57, 66, 0.12);
  border-radius: 8px;
}

.contact-info-icon {
  color: #5d7686;
  display: flex;
  align-items: center;
}

.contact-info-content {
  display: flex;
  flex-direction: column;
}

.contact-info-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #6d8291;
}

.contact-email-link {
  font-size: 0.95rem;
  font-weight: 700;
  color: #466070;
  text-decoration: none;
}

.contact-email-link:hover {
  text-decoration: underline;
}

.contact-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 8px;
  background: linear-gradient(180deg, #5d7686 0%, #466070 100%);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(70, 96, 112, 0.25);
  transition: all 0.15s ease;
  border: none;
}

.contact-btn-primary:hover {
  background: linear-gradient(180deg, #6c8697 0%, #526f82 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(70, 96, 112, 0.35);
}

.contact-callout-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 12px;
  background: #f4f7f9;
  border-left: 3px solid #5d7686;
  border-radius: 4px;
  font-size: 0.82rem;
  line-height: 1.45;
  color: #4c5d69;
}

.contact-specs-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}

.contact-spec-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.88rem;
  line-height: 1.45;
}

.contact-spec-item strong {
  color: #2c3942;
  margin-right: 4px;
}

.spec-bullet {
  color: #5d7686;
  font-weight: bold;
}

/* =========================================================================
   Catalogues / Digital Library Page (Slate Blue Theme)
   ========================================================================= */
.catalogues-page {
  padding: 14px 18px 24px;
}

.catalogues-header-card {
  background: linear-gradient(180deg, #fdfefe 0%, #edf3f8 100%);
  border: 1px solid rgba(44, 57, 66, 0.16);
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 22px;
  box-shadow: 0 4px 14px rgba(44, 57, 66, 0.04);
}

.cat-kicker {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #5d7686;
  margin-bottom: 8px;
}

.cat-main-title {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: #2c3942;
  margin: 0 0 8px;
  line-height: 1.25;
}

.cat-lead {
  font-size: 0.92rem;
  line-height: 1.6;
  color: #3d4f5c;
  margin: 0 0 16px;
  max-width: 840px;
}

.cat-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.cat-search-box {
  position: relative;
  flex: 1 1 240px;
  min-width: 200px;
}

.cat-search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #6d8291;
  pointer-events: none;
}

.cat-search-box input {
  width: 100%;
  height: 36px;
  padding: 0 32px 0 36px;
  background: #ffffff;
  border: 1px solid rgba(44, 57, 66, 0.22);
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #2c3942;
  box-sizing: border-box;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.cat-search-box input:focus {
  outline: none;
  border-color: #5d7686;
  box-shadow: 0 0 0 3px rgba(93, 118, 134, 0.18);
}

.cat-search-clear {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  font-size: 18px;
  color: #6d8291;
  cursor: pointer;
  padding: 0 4px;
}

.cat-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cat-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 12px;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid rgba(44, 57, 66, 0.18);
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #2c3942;
  cursor: pointer;
  transition: all 0.15s ease;
}

.cat-chip:hover {
  background: #f0f4f7;
  border-color: #5d7686;
}

.cat-chip.is-active {
  background: #5d7686;
  border-color: #466070;
  color: #ffffff;
}

.cat-chip .chip-count {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 10px;
  background: rgba(44, 57, 66, 0.1);
}

.cat-chip.is-active .chip-count {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.cat-section {
  margin-bottom: 26px;
}

.cat-section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(44, 57, 66, 0.14);
}

.cat-section-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: linear-gradient(180deg, #edf3f8 0%, #dae4ea 100%);
  border: 1px solid rgba(44, 57, 66, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #5d7686;
  flex-shrink: 0;
}

.cat-section-title {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.22rem;
  font-weight: 700;
  color: #2c3942;
  margin: 0 0 2px;
}

.cat-section-sub {
  font-size: 0.82rem;
  color: #5d7686;
}

.cat-grid {
  display: grid;
  gap: 16px;
}

.cat-grid-3 {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.cat-grid-4 {
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
}

.cat-card {
  background: #ffffff;
  border: 1px solid rgba(44, 57, 66, 0.14);
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 4px 12px rgba(44, 57, 66, 0.04);
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.cat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(44, 57, 66, 0.10);
  border-color: #5d7686;
}

.cat-card-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.cat-badge {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: 4px;
  background: #edf3f8;
  color: #466070;
  border: 1px solid rgba(70, 96, 112, 0.2);
}

.badge-pdf {
  background: #edf3f8;
  color: #466070;
}

.badge-ebook {
  background: #eef2f5;
  color: #3b5262;
}

.badge-museum {
  background: #e9eff4;
  color: #344c5c;
}

.cat-meta-date, .cat-meta-domain {
  font-size: 11px;
  color: #6d8291;
}

.cat-card-body {
  flex: 1 1 auto;
  margin-bottom: 12px;
}

.cat-card-title {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #2c3942;
  margin: 0 0 4px;
  line-height: 1.35;
}

.cat-card-author {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: #5d7686;
  margin-bottom: 6px;
}

.cat-card-desc {
  font-size: 0.85rem;
  line-height: 1.5;
  color: #4c5d69;
  margin: 0;
}

.cat-card-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
}

.cat-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 32px;
  padding: 0 12px;
  border-radius: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.15s ease;
  box-sizing: border-box;
}

.cat-btn-primary {
  flex: 1 1 auto;
  background: linear-gradient(180deg, #5d7686 0%, #466070 100%);
  color: #ffffff !important;
  box-shadow: 0 2px 5px rgba(70, 96, 112, 0.22);
}

.cat-btn-primary:hover {
  background: linear-gradient(180deg, #6c8697 0%, #526f82 100%);
  box-shadow: 0 4px 8px rgba(70, 96, 112, 0.3);
}

.cat-btn-primary.full-width {
  width: 100%;
}

.cat-btn-secondary {
  width: 32px;
  padding: 0;
  background: #f4f7f9;
  border: 1px solid rgba(44, 57, 66, 0.18);
  color: #466070 !important;
}

.cat-btn-secondary:hover {
  background: #edf3f8;
  border-color: #5d7686;
}

.cat-empty-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 36px 20px;
  text-align: center;
  color: #6d8291;
  background: #ffffff;
  border: 1px dashed rgba(44, 57, 66, 0.2);
  border-radius: 12px;
  gap: 12px;
}

/* Intro Page Styles */
.intro-page {
  padding: 14px 18px 24px;
}

.intro-header-card {
  background: linear-gradient(180deg, #fdfefe 0%, #edf3f8 100%);
  border: 1px solid rgba(44, 57, 66, 0.16);
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 20px;
  box-shadow: 0 4px 14px rgba(44, 57, 66, 0.04);
}

.intro-kicker {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #5d7686;
  margin-bottom: 8px;
}

.intro-main-title {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.65rem;
  font-weight: 700;
  color: #2c3942;
  margin: 0;
  line-height: 1.25;
}

.intro-card {
  background: #ffffff;
  border: 1px solid rgba(44, 57, 66, 0.14);
  border-radius: 12px;
  padding: 22px 26px;
  box-shadow: 0 4px 14px rgba(44, 57, 66, 0.04);
  line-height: 1.7;
  font-size: 0.95rem;
  color: #2c3942;
}

.intro-card p {
  margin-bottom: 14px;
}

.intro-card p:last-child {
  margin-bottom: 0;
}