/* ==========================================================================
   3. Search Page Styling
   ========================================================================== */

.search-page {
  padding: 4px 2px 20px;
}

.search-card {
  background: linear-gradient(180deg, #ffffff 0%, #f6f9fc 100%);
  border: 1px solid rgba(30, 51, 74, 0.15);
  border-radius: 14px;
  padding: 20px 24px;
  margin-bottom: 22px;
  box-shadow: 0 4px 16px rgba(30, 51, 74, 0.05);
}

.search-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 16px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(30, 51, 74, 0.10);
}

.search-header-title h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: #1e334a;
  margin: 0;
  line-height: 1.2;
}

.search-subtitle {
  font-size: 12.5px;
  color: #53697e;
  margin-top: 3px;
  display: block;
}

.search-meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: rgba(52, 104, 148, 0.10);
  border: 1px solid rgba(52, 104, 148, 0.22);
  border-radius: 9999px;
  font-size: 12px;
  color: #1e334a;
}

.search-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px 18px;
  margin-bottom: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.form-label {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #1e334a;
}

.form-control {
  width: 100%;
  height: 38px;
  padding: 6px 12px;
  background: #ffffff;
  border: 1px solid rgba(30, 51, 74, 0.22);
  border-radius: 8px;
  font-family: 'Inter', Arial, sans-serif;
  font-size: 13px;
  color: #1e334a;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  box-sizing: border-box;
}

.form-control:focus {
  border-color: #346894;
  box-shadow: 0 0 0 3px rgba(52, 104, 148, 0.18);
}

/* County Codes Accordion */
.county-accordion {
  margin: 12px 0 16px;
  background: rgba(52, 104, 148, 0.05);
  border: 1px dashed rgba(52, 104, 148, 0.25);
  border-radius: 8px;
  padding: 8px 12px;
}

.county-accordion-summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 700;
  color: #346894;
  cursor: pointer;
  user-select: none;
}

.county-chips-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid rgba(52, 104, 148, 0.15);
}

.county-code-chip {
  display: inline-block;
  padding: 3px 8px;
  background: #ffffff;
  border: 1px solid rgba(30, 51, 74, 0.14);
  border-radius: 5px;
  font-size: 11.5px;
  color: #1e334a;
}

.county-code-chip strong {
  color: #346894;
}

/* Search Form Actions */
.search-form-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}

.search-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 40px;
  padding: 0 20px;
  background: #346894;
  border: 1px solid #1e334a;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  color: #ffffff;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(52, 104, 148, 0.28);
  transition: background 0.15s ease, transform 0.1s ease;
}

.search-btn-primary:hover {
  background: #285478;
}

.search-btn-primary:active {
  transform: scale(0.98);
}

.search-btn-reset {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 38px;
  padding: 0 14px;
  background: rgba(30, 51, 74, 0.06);
  border: 1px solid rgba(30, 51, 74, 0.18);
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: #53697e !important;
  text-decoration: none !important;
  transition: all 0.15s ease;
}

.search-btn-reset:hover {
  background: rgba(30, 51, 74, 0.12);
  color: #1e334a !important;
}

/* Results Bar & Pagination */
.search-results-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 10px 14px;
  background: #ffffff;
  border: 1px solid rgba(30, 51, 74, 0.12);
  border-radius: 10px;
  margin-bottom: 14px;
}

.search-results-bar.footer-bar {
  margin-top: 14px;
  margin-bottom: 0;
}

.search-results-count {
  font-size: 13px;
  color: #1e334a;
}

.search-results-count strong {
  color: #346894;
  font-size: 14px;
}

.pagination,
.search-pagination {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  font-size: 13px;
  line-height: 1;
}

.pagination a,
.pagination strong,
.search-pagination a,
.search-pagination strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  padding: 0 7px;
  border-radius: 6px;
  border: 1px solid rgba(30, 51, 74, 0.18);
  background: #ffffff;
  color: #1e334a !important;
  font-weight: 600;
  text-decoration: none !important;
  transition: all 0.15s ease;
}

.pagination a:hover,
.pagination a:focus,
.search-pagination a:hover,
.search-pagination a:focus {
  background: #346894;
  border-color: #1e334a;
  color: #ffffff !important;
  transform: translateY(-1px);
}

.pagination strong.current-page,
.search-pagination strong.current-page {
  background: #346894 !important;
  border-color: #1e334a !important;
  color: #ffffff !important;
  font-weight: 700;
  box-shadow: 0 1px 3px rgba(30, 51, 74, 0.2);
}

.pagination .pagination-dots,
.search-pagination .pagination-dots {
  color: #53697e;
  font-weight: 700;
  padding: 0 2px;
}

.pagination .page-link-prev,
.pagination .page-link-next {
  min-width: 30px;
  font-size: 14px;
}

/* Results Table */
.searchresult-table-wrap,
.search-table-wrap {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: #ffffff;
  border: 1px solid rgba(30, 51, 74, 0.14);
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(30, 51, 74, 0.04);
  margin: 12px 0 16px;
  box-sizing: border-box;
  display: block;
}

.searchresult-table-wrap::-webkit-scrollbar,
.search-table-wrap::-webkit-scrollbar {
  height: 8px;
}
.searchresult-table-wrap::-webkit-scrollbar-track,
.search-table-wrap::-webkit-scrollbar-track {
  background: #edf3f8;
  border-radius: 4px;
}
.searchresult-table-wrap::-webkit-scrollbar-thumb,
.search-table-wrap::-webkit-scrollbar-thumb {
  background: #9cb8d4;
  border-radius: 4px;
}
.searchresult-table-wrap::-webkit-scrollbar-thumb:hover,
.search-table-wrap::-webkit-scrollbar-thumb:hover {
  background: #346894;
}

.searchresult table,
.search-results-table {
  width: 100%;
  min-width: 0;
  border-collapse: collapse;
  font-size: 11.5px;
  line-height: 1.35;
  text-align: left;
  table-layout: auto;
}

.searchresult table thead tr,
.searchresult table tr.search-table-header,
.search-results-table thead tr,
.search-results-table tr.search-table-header {
  background: #346894 !important;
  color: #ffffff !important;
}

.searchresult table th,
.search-results-table th {
  padding: 6px 4px;
  font-family: 'Inter', sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  white-space: normal;
  word-break: normal;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff !important;
  vertical-align: middle;
  text-align: center;
}

.th-line {
  display: block;
  white-space: nowrap;
}

.searchresult table th:last-child,
.search-results-table th:last-child {
  border-right: none;
}

/* Specific column alignments and compact widths */
.th-type { text-align: center; }
.th-base { text-align: left; }
.th-county { text-align: center; width: 32px; max-width: 36px; }
.th-srv-start { text-align: center; width: 72px; }
.th-number { text-align: center; width: 48px; max-width: 54px; }
.th-area { text-align: left; }
.th-cancel-type { text-align: left; }
.th-name { text-align: left; }
.th-hyphen { text-align: center; width: 40px; max-width: 44px; }
.th-pic { text-align: center; width: 46px; max-width: 48px; }
.th-start { text-align: center; width: 74px; }
.th-end { text-align: center; width: 74px; }
.th-comment { text-align: left; }

.searchresult table tbody tr,
.search-results-table tbody tr {
  border-bottom: 1px solid rgba(30, 51, 74, 0.08);
  transition: background 0.12s ease;
}

.searchresult table tbody tr:nth-child(even),
.search-results-table tbody tr:nth-child(even) {
  background: #f7fafc;
}

.searchresult table tbody tr:nth-child(odd),
.search-results-table tbody tr:nth-child(odd) {
  background: #ffffff;
}

.searchresult table tbody tr:hover,
.search-results-table tbody tr:hover {
  background: rgba(52, 104, 148, 0.08);
}

.searchresult table td,
.search-results-table td {
  padding: 5px 4px;
  vertical-align: middle;
  color: #1e334a;
  border-right: 1px solid rgba(30, 51, 74, 0.06);
  font-size: 11.5px;
  line-height: 1.3;
}

.td-type {
  text-align: center;
  white-space: normal;
  word-break: normal;
  max-width: 85px;
}
.td-county {
  text-align: center;
  width: 32px;
  max-width: 36px;
  padding: 5px 2px !important;
}
.td-srv-start {
  text-align: center;
  white-space: nowrap;
  font-size: 11px;
}
.td-number {
  text-align: center;
  width: 48px;
  max-width: 54px;
  padding: 5px 2px !important;
}
.td-hyphen {
  text-align: center;
  width: 40px;
  max-width: 44px;
  padding: 5px 2px !important;
}
.td-thumb {
  text-align: center;
  width: 46px;
  max-width: 48px;
  padding: 4px 2px !important;
}
.td-thumb img,
.searchresult td.td-thumb img,
.searchresult td img {
  width: 38px !important;
  height: 38px !important;
  object-fit: contain !important;
}
.td-start {
  text-align: center;
  white-space: nowrap;
  font-size: 11px;
}
.td-end {
  text-align: center;
  white-space: nowrap;
  font-size: 11px;
}
.td-base-name, .td-area, .td-cancel-type, .td-name, .td-comment {
  text-align: left;
  word-break: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}

.searchresult table td:last-child,
.search-results-table td:last-child {
  border-right: none;
}

.td-strong {
  font-weight: 700;
}

.td-mono {
  font-family: monospace;
  font-weight: bold;
  font-size: 13px;
  color: #1e334a;
}

.badge-type {
  display: inline-block;
  padding: 2px 7px;
  background: rgba(52, 104, 148, 0.12);
  border: 1px solid rgba(52, 104, 148, 0.25);
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 700;
  color: #285478;
  white-space: nowrap;
}

.badge-county {
  display: inline-block;
  padding: 2px 6px;
  background: rgba(30, 51, 74, 0.08);
  border-radius: 4px;
  font-weight: 700;
  font-size: 11px;
}

.badge-inuse {
  display: inline-block;
  padding: 2px 7px;
  background: #e6f6ec;
  border: 1px solid #99d8b1;
  color: #1e6b37;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.td-thumb {
  text-align: center;
  padding: 4px 6px !important;
}

.td-thumb img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  background: #ffffff;
  border: 1px solid rgba(30, 51, 74, 0.16);
  border-radius: 6px;
  padding: 2px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.td-thumb a:hover img {
  transform: scale(1.15);
  border-color: #346894;
}

/* Empty State */
.search-empty-state {
  text-align: center;
  padding: 40px 20px;
  background: #ffffff;
  border: 1px dashed rgba(30, 51, 74, 0.22);
  border-radius: 12px;
}

.search-empty-state .empty-icon {
  color: #53697e;
  margin-bottom: 12px;
}

.search-empty-state h3 {
  font-size: 1.2rem;
  color: #1e334a;
  margin-bottom: 6px;
}

.search-empty-state p {
  font-size: 13px;
  color: #53697e;
  margin-bottom: 16px;
}

/* ==========================================================================
   5. Intro Page Styling
   ========================================================================== */

.intro-page {
  padding: 4px 2px 24px;
}

.intro-header-card {
  background: linear-gradient(180deg, #ffffff 0%, #f6f9fc 100%);
  border: 1px solid rgba(30, 51, 74, 0.15);
  border-radius: 14px;
  padding: 22px 26px;
  margin-bottom: 20px;
  box-shadow: 0 4px 16px rgba(30, 51, 74, 0.05);
}

.intro-kicker {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #346894;
  display: block;
  margin-bottom: 4px;
}

.intro-main-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.85rem;
  font-weight: 700;
  color: #1e334a;
  margin: 0;
  line-height: 1.2;
}

.intro-lead {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #415568;
  margin-top: 8px;
}

.intro-main-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
  margin-bottom: 22px;
}

.intro-card {
  background: #ffffff;
  border: 1px solid rgba(30, 51, 74, 0.14);
  border-radius: 12px;
  padding: 20px 22px;
  box-shadow: 0 4px 14px rgba(30, 51, 74, 0.04);
}

.intro-card-header {
  margin-bottom: 12px;
}

.intro-card-badge {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #346894;
  display: block;
  margin-bottom: 3px;
}

.intro-card-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.35rem;
  color: #1e334a;
  margin: 0;
}

.intro-card-body p {
  margin-bottom: 12px;
  line-height: 1.6;
  color: #2b3a4a;
}

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

.intro-feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.intro-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.feat-icon {
  font-size: 20px;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}

.feat-text strong {
  display: block;
  font-size: 13px;
  color: #1e334a;
}

.feat-text span {
  font-size: 12px;
  color: #53697e;
  line-height: 1.4;
  display: block;
  margin-top: 2px;
}

/* Service Intervals Table Card */
.intro-table-card {
  background: #ffffff;
  border: 1px solid rgba(30, 51, 74, 0.14);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(30, 51, 74, 0.05);
}

.intro-table-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 22px;
  background: linear-gradient(180deg, #fdfefe 0%, #edf3f8 100%);
  border-bottom: 1px solid rgba(30, 51, 74, 0.12);
}

.table-kicker {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: #346894;
  letter-spacing: 0.06em;
  display: block;
}

.table-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25rem;
  color: #1e334a;
  margin: 2px 0 0;
}

.table-search-link {
  font-size: 12.5px;
  font-weight: 700;
  color: #346894 !important;
  text-decoration: none !important;
}

.intro-table-wrap {
  overflow-x: auto;
}

.intro-service-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.intro-service-table thead tr {
  background: #346894;
  color: #ffffff;
}

.intro-service-table th {
  padding: 10px 14px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.intro-service-table th:last-child {
  border-right: none;
}

.intro-service-table tbody tr {
  border-bottom: 1px solid rgba(30, 51, 74, 0.08);
  transition: background 0.12s ease;
}

.intro-service-table tbody tr:nth-child(even) {
  background: #f7fafc;
}

.intro-service-table tbody tr:hover {
  background: rgba(52, 104, 148, 0.08);
}

.intro-service-table td {
  padding: 10px 14px;
  border-right: 1px solid rgba(30, 51, 74, 0.06);
  color: #1e334a;
}

.intro-service-table td:last-child {
  border-right: none;
}

.interval-chip {
  display: inline-block;
  padding: 3px 8px;
  background: rgba(52, 104, 148, 0.12);
  border: 1px solid rgba(52, 104, 148, 0.28);
  border-radius: 6px;
  font-weight: 700;
  font-size: 12px;
  color: #1e334a;
}

.td-sub {
  font-size: 11.5px;
  color: #53697e;
}

.badge-yes {
  display: inline-block;
  padding: 2px 7px;
  background: #e6f6ec;
  border: 1px solid #99d8b1;
  color: #1e6b37;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 700;
}

.badge-no {
  display: inline-block;
  padding: 2px 7px;
  background: #fce8e8;
  border: 1px solid #f5b0b0;
  color: #b32626;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 700;
}

/* ==========================================================================
   6. Downloads Page Styling
   ========================================================================== */

.downloads-page {
  padding: 4px 2px 24px;
}

.downloads-header-card {
  background: linear-gradient(180deg, #ffffff 0%, #f6f9fc 100%);
  border: 1px solid rgba(30, 51, 74, 0.15);
  border-radius: 14px;
  padding: 22px 26px;
  margin-bottom: 22px;
  box-shadow: 0 4px 16px rgba(30, 51, 74, 0.05);
}

.downloads-kicker {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  color: #346894;
  letter-spacing: 0.08em;
  display: block;
}

.downloads-main-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.85rem;
  color: #1e334a;
  margin: 4px 0 6px;
}

.downloads-lead {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #415568;
}

.downloads-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
}

.download-card {
  background: #ffffff;
  border: 1px solid rgba(30, 51, 74, 0.14);
  border-radius: 12px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 14px rgba(30, 51, 74, 0.04);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.download-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(30, 51, 74, 0.10);
  border-color: #346894;
}

.download-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.download-badge {
  font-size: 11px;
  font-weight: 700;
  background: rgba(52, 104, 148, 0.12);
  border: 1px solid rgba(52, 104, 148, 0.28);
  border-radius: 9999px;
  padding: 2px 8px;
  color: #346894;
}

.download-size {
  font-size: 11.5px;
  color: #53697e;
  font-weight: 600;
}

.download-card-body {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  flex: 1 1 auto;
  margin-bottom: 14px;
}

.download-icon-box {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  background: rgba(52, 104, 148, 0.10);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #346894;
}

.download-title {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #1e334a;
  margin: 0 0 4px;
  line-height: 1.35;
}

.download-desc {
  font-size: 12px;
  color: #53697e;
  line-height: 1.45;
  margin: 0;
}

.download-card-actions {
  display: flex;
  align-items: center;
}

.download-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  height: 36px;
  background: linear-gradient(180deg, #346894 0%, #285478 100%);
  border: 1px solid #1e334a;
  border-radius: 7px;
  font-size: 12.5px;
  font-weight: 700;
  color: #ffffff !important;
  text-decoration: none !important;
  transition: all 0.15s ease;
}

.download-btn-primary:hover {
  background: #1e334a;
}

/* ==========================================================================
   7. Contact Page Styling
   ========================================================================== */

.contact-page {
  padding: 4px 2px 24px;
}

.contact-header-card {
  background: linear-gradient(180deg, #ffffff 0%, #f6f9fc 100%);
  border: 1px solid rgba(30, 51, 74, 0.15);
  border-radius: 14px;
  padding: 22px 26px;
  margin-bottom: 22px;
  box-shadow: 0 4px 16px rgba(30, 51, 74, 0.05);
}

.contact-kicker {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  color: #346894;
  letter-spacing: 0.08em;
  display: block;
}

.contact-main-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.85rem;
  color: #1e334a;
  margin: 4px 0 6px;
}

.contact-lead {
  font-size: 1.05rem;
  color: #415568;
}

.contact-main-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 20px;
}

.contact-card {
  background: #ffffff;
  border: 1px solid rgba(30, 51, 74, 0.14);
  border-radius: 12px;
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 14px rgba(30, 51, 74, 0.04);
}

.contact-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.contact-icon-bubble {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(52, 104, 148, 0.10);
  border: 1px solid rgba(52, 104, 148, 0.22);
  color: #346894;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-card-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.35rem;
  color: #1e334a;
  margin: 0;
}

.contact-card-sub {
  font-size: 12px;
  color: #53697e;
  font-weight: 600;
}

.contact-desc {
  font-size: 13px;
  line-height: 1.55;
  color: #2b3a4a;
  margin-bottom: 14px;
}

.contact-middle-panel {
  margin-bottom: 14px;
}

.contact-email-box {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: #f7fafc;
  border: 1px solid rgba(30, 51, 74, 0.10);
  border-radius: 8px;
  margin-bottom: 12px;
}

.contact-info-icon {
  color: #346894;
}

.contact-info-label {
  display: block;
  font-size: 11px;
  color: #53697e;
  font-weight: 600;
}

.contact-email-link {
  font-size: 14px;
  font-weight: 700;
  color: #346894 !important;
  text-decoration: none !important;
}

.contact-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  height: 38px;
  background: #346894;
  border: 1px solid #1e334a;
  border-radius: 8px;
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none !important;
  transition: background 0.15s ease;
}

.contact-btn-primary:hover {
  background: #285478;
}

.contact-specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 12px;
  padding: 10px 12px;
  background: #f7fafc;
  border: 1px solid rgba(30, 51, 74, 0.10);
  border-radius: 8px;
}

.contact-spec-item {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 12px;
  color: #1e334a;
}

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

.contact-callout-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 12px;
  background: rgba(52, 104, 148, 0.08);
  border: 1px solid rgba(52, 104, 148, 0.22);
  border-radius: 8px;
  font-size: 12px;
  color: #1e334a;
  line-height: 1.45;
}

.contact-callout-note svg {
  flex-shrink: 0;
  margin-top: 1px;
  color: #346894;
}

/* ==========================================================================
   8. Catalogues Page Styling
   ========================================================================== */

.catalogues-page {
  padding: 4px 2px 24px;
}

.cat-header-card {
  background: linear-gradient(180deg, #ffffff 0%, #f6f9fc 100%);
  border: 1px solid rgba(30, 51, 74, 0.15);
  border-radius: 14px;
  padding: 22px 26px;
  margin-bottom: 22px;
  box-shadow: 0 4px 16px rgba(30, 51, 74, 0.05);
}

.cat-kicker {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  color: #346894;
  letter-spacing: 0.08em;
  display: block;
}

.cat-main-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.85rem;
  color: #1e334a;
  margin: 4px 0 6px;
}

.cat-lead {
  font-size: 1.05rem;
  color: #415568;
  line-height: 1.6;
}

.cat-search-card {
  background: #ffffff;
  border: 1px solid rgba(30, 51, 74, 0.14);
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 22px;
  box-shadow: 0 4px 14px rgba(30, 51, 74, 0.04);
}

.cat-search-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

.cat-search-icon {
  position: absolute;
  left: 12px;
  color: #53697e;
  pointer-events: none;
}

#catalogueSearchInput {
  width: 100%;
  height: 42px;
  padding: 0 40px 0 40px;
  border: 1px solid rgba(30, 51, 74, 0.22);
  border-radius: 8px;
  font-size: 13.5px;
  outline: none;
  transition: all 0.15s ease;
}

#catalogueSearchInput:focus {
  border-color: #346894;
  box-shadow: 0 0 0 3px rgba(52, 104, 148, 0.18);
}

.cat-search-clear {
  position: absolute;
  right: 10px;
  background: transparent;
  border: none;
  font-size: 20px;
  color: #53697e;
  cursor: pointer;
  display: none;
}

.cat-search-clear.is-visible {
  display: block;
}

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

.cat-chip {
  padding: 6px 14px;
  border-radius: 9999px;
  border: 1px solid rgba(30, 51, 74, 0.18);
  background: #f7fafc;
  color: #1e334a;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.cat-chip:hover {
  background: rgba(52, 104, 148, 0.12);
}

.cat-chip.is-active {
  background: #346894;
  border-color: #1e334a;
  color: #ffffff;
}

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

.cat-section-header {
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(30, 51, 74, 0.12);
}

.cat-section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.4rem;
  color: #1e334a;
  margin: 0;
}

.cat-section-sub {
  font-size: 12px;
  color: #53697e;
  margin-top: 2px;
  display: block;
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
}

.cat-card {
  background: #ffffff;
  border: 1px solid rgba(30, 51, 74, 0.14);
  border-radius: 12px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 14px rgba(30, 51, 74, 0.04);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.cat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(30, 51, 74, 0.10);
  border-color: #346894;
}

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

.cat-badge {
  font-size: 10.5px;
  font-weight: 700;
  background: rgba(52, 104, 148, 0.10);
  border: 1px solid rgba(52, 104, 148, 0.25);
  border-radius: 9999px;
  padding: 2px 8px;
  color: #346894;
}

.cat-updated {
  font-size: 11px;
  color: #53697e;
}

.cat-card-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.15rem;
  color: #1e334a;
  margin: 0 0 3px;
  line-height: 1.35;
}

.cat-card-author {
  font-size: 12px;
  color: #346894;
  font-weight: 700;
  display: block;
  margin-bottom: 8px;
}

.cat-card-desc {
  font-size: 12px;
  color: #53697e;
  line-height: 1.5;
  margin-bottom: 14px;
  flex: 1 1 auto;
}

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

.cat-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: 1 1 auto;
  height: 36px;
  background: #346894;
  border: 1px solid #1e334a;
  border-radius: 7px;
  font-size: 12.5px;
  font-weight: 700;
  color: #ffffff !important;
  text-decoration: none !important;
  transition: background 0.15s ease;
}

.cat-btn-primary:hover {
  background: #285478;
}

.cat-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(30, 51, 74, 0.20);
  border-radius: 7px;
  background: #ffffff;
  color: #346894 !important;
  text-decoration: none !important;
  transition: all 0.15s ease;
}

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

.cat-card.is-hidden,
.cat-section.is-hidden {
  display: none !important;
}

.cat-empty-state {
  display: none;
  text-align: center;
  padding: 40px 20px;
  background: #ffffff;
  border: 1px dashed rgba(30, 51, 74, 0.20);
  border-radius: 12px;
}

.cat-empty-state.is-visible {
  display: block !important;
}

.cat-results-counter {
  display: none;
  padding: 8px 14px;
  background: #edf3f8;
  border-radius: 6px;
  font-size: 12.5px;
  font-weight: 700;
  color: #346894;
  margin-bottom: 14px;
}

.cat-results-counter.is-visible {
  display: block !important;
}

