/* ============================================================
   LaPolice-DesLauriers Genealogy — site.css
   Hand-coded. No frameworks. No libraries.
   ============================================================ */

/* --- Reset & Base ----------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: Georgia, 'Times New Roman', serif;
  background: #faf7f1;
  color: #332e32;
  font-size: 16px;
  line-height: 1.65;
  padding-top: 52px;
}

img { max-width: 100%; display: block; }

a { color: #67405c; }
a:hover { text-decoration: underline; color: #754660; }

h1, h2, h3, h4, h5 {
  font-family: Georgia, serif;
  line-height: 1.3;
  color: #382b3b;
}

ul { list-style: none; }


/* --- Navigation ------------------------------------------- */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 52px;
  background: #382b3b;
  z-index: 9999;
  border-bottom: 2px solid #a48b61;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.2rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand img { height: 34px; }

.nav-links {
  display: flex;
  align-items: center;
  height: 100%;
}

.nav-links > li {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.nav-links > li > a {
  color: #d4c9b0;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  height: 100%;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: color 0.15s, background 0.15s;
}

.nav-links > li > a:hover,
.nav-links > li > a.active {
  background: #514055;
  color: #f0e8d0;
  text-decoration: none;
}

/* Dropdown */
.has-dropdown > a::after {
  content: ' ▾';
  font-size: 0.7rem;
  opacity: 0.7;
}

.dropdown {
  display: none;
  position: absolute;
  top: 52px;
  right: 0;
  background: #382b3b;
  min-width: 260px;
  border-top: 2px solid #a48b61;
  border-bottom: 2px solid #a48b61;
  z-index: 1001;
}

.dropdown li a {
  color: #c8bda0;
  display: block;
  padding: 0.45rem 1.1rem;
  font-size: 0.84rem;
  border-bottom: 1px solid rgba(139,105,20,0.15);
}

.dropdown li a:hover {
  background: #514055;
  color: #f0e8d0;
  text-decoration: none;
}

.has-dropdown:hover .dropdown { display: block; }

/* Mobile toggle */
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid #a48b61;
  color: #d4c9b0;
  width: 36px;
  height: 28px;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: #d4c9b0;
}


/* --- Shared Container ------------------------------------- */
.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.2rem;
}


/* --- Branch Portraits ------------------------------------- */
.branches {
  background: #f0ebe3;
  border-top: 3px solid #a48b61;
  border-bottom: 3px solid #a48b61;
  padding: 1.4rem 0;
}

.branch-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.branch-item { text-align: center; }

.branch-item img {
  margin: 0 auto;
  max-width: 155px;
  border: 2px solid #d4c7b4;
  filter: sepia(15%);
}

.branch-item h5 {
  margin-top: 0.55rem;
  font-size: 0.82rem;
  line-height: 1.4;
  color: #3a2810;
}

.branch-item h5 a {
  color: #67405c;
  text-decoration: underline;
}

/* --- Shield Section --------------------------------- */

.shields-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 12px;
}

.shield-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 4px;
  margin: 0;
  padding: 0;
  min-height: 0;
}

.shield-item img {
  display: block;
  width: auto;
  height: 110px;
  max-width: 100%;
  object-fit: contain;
  margin: 0;
  padding: 0;
}

.shield-item p {
  margin: 0;
  padding: 0;
  line-height: 1.2;
}


/* --- Main Content Section --------------------------------- */

.main-section {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2.5rem;
  padding: 2rem 0 2.5rem;
}

/* Left: content */
.hist-img { margin-bottom: 1rem; border: 1px solid #d4c7b4; }

.ancestor-heading {
  font-size: 1.35rem;
  margin: 0.2rem 0 0.8rem;
}

.ancestor-heading .count { color: #67405c; }

.ancestor-subhead {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: #3a2810;
}

/* Ancestor list */
.ancestor-list { margin-bottom: 1rem; }

.ancestor-list li {
  padding: 0.22rem 0;
  border-bottom: 1px dotted #d4c7b4;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.ancestor-list li a {
  text-decoration: underline;
  color: #67405c;
}

.badge {
  display: inline-block;
  background: #382b3b;
  color: #fff;
  font-size: 0.75rem;
  font-weight: bold;
  padding: 1px 6px;
  border-radius: 2px;
  flex-shrink: 0;
}

.nowp { max-width: 110px; margin-top: 1.2rem; }

/* Right: sidebar */
.sidebar {}

.shields-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  margin-bottom: 1.2rem;
}

.shield-item { text-align: center; }

.shield-item img {
  margin: 0 auto;
  max-width: 110px;
  border-radius: 3px;
}

.shield-item p {
  font-size: 0.78rem;
  margin-top: 0.2rem;
  color: #67405c;
  font-weight: bold;
}

.sidebar-info {
  background: #f0ebe3;
  border: 1px solid #d4c7b4;
  border-left: 4px solid #a48b61;
  padding: 1rem 1.1rem;
  font-size: 0.9rem;
  line-height: 1.65;
}

.sidebar-info p { margin-bottom: 0.6rem; }
.sidebar-info p:last-child { margin-bottom: 0; }
.sidebar-info strong { color: #382b3b; }


/* --- Footer ----------------------------------------------- */
footer {
  background: #382b3b;
  color: #8a9fb5;
  text-align: center;
  padding: 0.9rem 1rem;
  font-size: 0.83rem;
  border-top: 2px solid #a48b61;
}

footer a { color: #c8bda0; }


/* ============================================================
   SEARCH PAGE
   ============================================================ */

.search-header {
  padding: 1.6rem 0 0.8rem;
  border-bottom: 2px solid #a48b61;
  margin-bottom: 0.8rem;
}

.search-header h2 { font-size: 1.4rem; }
.search-header h2 .count { color: #67405c; }

/* Alpha nav */
.alpha-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15rem;
  padding: 0.75rem 0 0.75rem 0.1rem;
}

.alpha-nav a {
  color: #754660;
  font-weight: bold;
  padding: 0.15rem 0.4rem;
  font-size: 1rem;
  text-decoration: none;
  background: #e8e0d0;
  border: 1px solid #d4c7b4;
  border-radius: 2px;
  transition: background 0.12s, color 0.12s;
}

.alpha-nav a:hover {
  background: #382b3b;
  color: #f0e8d0;
  text-decoration: none;
}

.alpha-dot {
  color: #a48b61;
  font-size: 0.45rem;
  line-height: 1;
  vertical-align: middle;
  padding: 0 0.1rem;
}

/* Card grid */
.card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
  padding: 1rem 0 2.5rem;
  align-items: start;
}

/* Search card */
.scard {
  background: #f0ebe3;
  border: 1px solid #d4c7b4;
  border-top: 3px solid #a48b61;
  border-radius: 3px;
  padding: 1rem 1.1rem;
}

.scard h4 {
  font-size: 0.98rem;
  color: #382b3b;
  margin-bottom: 0.25rem;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid #d4c7b4;
}

.scard .date-range {
  font-size: 0.83rem;
  color: #6b5535;
  font-style: italic;
  margin-bottom: 0.45rem;
}

.scard p {
  font-size: 0.88rem;
  color: #3a2810;
  margin-bottom: 0.25rem;
}

.result-link {
  color: #67405c;
  font-weight: bold;
  text-decoration: underline;
}

/* Collapsible search */
.search-toggle {
  display: inline-block;
  margin-top: 0.6rem;
  background: none;
  border: 1px solid #a48b61;
  color: #67405c;
  padding: 0.25rem 0.65rem;
  font-family: Georgia, serif;
  font-size: 0.82rem;
  cursor: pointer;
  transition: background 0.15s;
}

.search-toggle:hover { background: #e0d8c8; }
.search-toggle::before { content: '▶ '; font-size: 0.65rem; }
.search-toggle.open::before { content: '▼ '; }

.card-search-form {
  display: none;
  margin-top: 0.6rem;
  display: none;
}

.card-search-form.open { display: flex; gap: 0.4rem; align-items: center; }

.card-search-form input[type="text"] {
  flex: 1;
  padding: 0.3rem 0.5rem;
  border: 1px solid #d4c7b4;
  background: #fdf8ef;
  font-family: Georgia, serif;
  font-size: 0.88rem;
  color: #332e32;
}

.card-search-form input[type="submit"] {
  padding: 0.3rem 0.8rem;
  background: #382b3b;
  color: #d4c9b0;
  border: none;
  font-family: Georgia, serif;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.15s;
}

.card-search-form input[type="submit"]:hover { background: #514055; }


/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 800px) {
  .nav-toggle { display: flex; }

  .nav-links {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    height: auto;
    position: absolute;
    top: 52px;
    left: 0; right: 0;
    background: #382b3b;
    border-bottom: 2px solid #a48b61;
    z-index: 999;
  }

  .nav-links.open { display: flex; }

  .nav-links > li {
    width: 100%;
    height: auto;
  }

  .nav-links > li > a {
    width: 100%;
    padding: 0.65rem 1.2rem;
    height: auto;
    border-bottom: 1px solid rgba(139,105,20,0.2);
  }

  .dropdown {
    position: static;
    border-top: none;
    border-bottom: none;
  }

  .has-dropdown:hover .dropdown { display: none; }
  .has-dropdown.open .dropdown { display: block; }

  .branch-grid { grid-template-columns: repeat(2, 1fr); }
  .main-section { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: 1fr; }
  .shields-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 480px) {
  .branch-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .alpha-nav { font-size: 0.85rem; }
}


/* ============================================================
   RESULT TABLES — shared across list/search/detail pages
   ============================================================ */

/* Page heading area */
.page-head {
  padding: 1.2rem 0 0.5rem;
  border-bottom: 2px solid #a48b61;
  margin-bottom: 1rem;
}

.page-head h3, .page-head h4 {
  color: #382b3b;
}

.page-head .count { color: #67405c; }

.page-head .sub {
  font-size: 0.9rem;
  color: #6b5535;
  font-style: italic;
  margin-top: 0.2rem;
}

.page-head p {
  font-size: 0.85rem;
  color: #6b5535;
  margin-top: 0.2rem;
}

/* Keyword highlight in search results */
.kw-highlight {
  background: #fff3b0;
  border: 1px solid #d4c7b4;
  padding: 1px 6px;
  font-weight: bold;
  color: #332e32;
}

/* Overflow wrapper for wide tables on small screens */
.table-wrap { overflow-x: auto; margin-bottom: 2rem; }

/* Result table */
.rtable {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #a48b61;
  font-size: 0.88rem;
  background: #fff;
}

/* Header row */
.rtable thead tr {
  background: #382b3b;
  color: #e8dfc8;
}

.rtable thead th {
  padding: 8px 12px;
  font-family: Verdana, Geneva, sans-serif;
  font-size: 0.8rem;
  font-weight: bold;
  text-align: left;
  white-space: nowrap;
  border-right: 1px solid rgba(139,105,20,0.3);
}

.rtable thead th:last-child { border-right: none; }

/* Sortable header links */
.rtable thead th a {
  color: #e8dfc8;
  text-decoration: underline;
  font-family: Verdana, Geneva, sans-serif;
  font-size: 0.8rem;
}

.rtable thead th a:hover { color: #f0e8d0; text-decoration: none; }

/* Body rows — alternating */
.rtable tbody tr:nth-child(odd)  { background: #ffffff; }
.rtable tbody tr:nth-child(even) { background: #f0ece2; }
.rtable tbody tr:hover           { background: #e8dfc8; }

.rtable tbody td {
  padding: 6px 10px;
  border-right: 1px solid #ddd5c0;
  border-bottom: 1px solid #ddd5c0;
  vertical-align: top;
  color: #332e32;
  font-size: 0.87rem;
}

.rtable tbody td:last-child { border-right: none; }

/* Detail link inside table */
a.detail {
  color: #3a1a6e;
  text-decoration: underline;
}

a.detail:hover  { color: #8b1a1a; }
a.detail:visited { color: #5a3a8e; }

/* Generation badge in Acadie table */
.gen-label {
  font-size: 0.8rem;
  color: #4a3010;
  font-style: italic;
}


/* ============================================================
   DETAIL PAGE (detail_individual.cfm)
   ============================================================ */

.detail-wrap {
  max-width: 820px;
  margin: 0 auto;
  padding: 1.2rem 1rem 2rem;
}

/* Header with flanking images */
.detail-header {
  display: grid;
  grid-template-columns: 120px 1fr 120px;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem 0 0.6rem;
  border-bottom: 2px solid #a48b61;
  margin-bottom: 0.8rem;
}

.detail-header img {
  max-width: 120px;
  border: 1px solid #d4c7b4;
  filter: sepia(20%);
}

.detail-header h3 {
  text-align: center;
  color: #8b1a1a;
  font-size: 1.4rem;
}

/* Back-to links bar */
.back-bar {
  font-size: 0.88rem;
  padding: 0.5rem 0 0.8rem;
  border-bottom: 1px solid #d4c7b4;
  margin-bottom: 1rem;
  color: #3a2810;
}

.back-bar strong { margin-right: 0.4rem; }

.back-bar a {
  color: #3a1a6e;
  text-decoration: underline;
}

.back-bar a:hover { color: #8b1a1a; }

.pipe {
  color: #a48b61;
  font-weight: bold;
  padding: 0 0.4rem;
}

/* Individual/spouse data table */
.dtable {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #a48b61;
  margin-bottom: 1.4rem;
}

.dtable tr:nth-child(odd)  { background: #f8f4ec; }
.dtable tr:nth-child(even) { background: #ffffff; }

.dtable th {
  width: 160px;
  padding: 8px 10px 8px 14px;
  font-family: Verdana, Geneva, sans-serif;
  font-size: 0.82rem;
  font-weight: bold;
  background: #382b3b;
  color: #e8dfc8;
  text-align: left;
  border-bottom: 1px solid rgba(139,105,20,0.3);
  vertical-align: top;
}

.dtable td {
  padding: 7px 10px;
  font-size: 0.9rem;
  color: #332e32;
  border-bottom: 1px solid #ddd5c0;
}

.section-divider {
  text-align: center;
  padding: 0.8rem 0 0.5rem;
  color: #a48b61;
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-top: 1px solid #d4c7b4;
  margin-top: 0.4rem;
}

.section-divider h3 {
  font-size: 1rem;
  color: #382b3b;
  display: inline;
  letter-spacing: 0.1em;
}


/* ============================================================
   ALPHA NAV on list pages
   ============================================================ */

.alpha-nav-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15rem;
  padding: 0.75rem 0;
  margin-bottom: 0.5rem;
}

.alpha-nav-list a {
  color: #754660;
  font-weight: bold;
  padding: 0.15rem 0.4rem;
  font-size: 1rem;
  text-decoration: none;
  background: #e8e0d0;
  border: 1px solid #d4c7b4;
  border-radius: 2px;
  transition: background 0.12s, color 0.12s;
}

.alpha-nav-list a:hover,
.alpha-nav-list a.current {
  background: #382b3b;
  color: #f0e8d0;
  text-decoration: none;
}

.alpha-nav-list .alpha-dot {
  color: #a48b61;
  font-size: 0.45rem;
  vertical-align: middle;
}


/* Home refresh: static photographs, native menu, no JavaScript. */
body { padding-top:0; font-size:17px; }
.site-nav { position:relative; height:auto; min-height:90px; box-shadow:none; border-bottom:1px solid #d4c7b4; }
.nav-inner { min-height:90px; gap:2rem; }
.nav-brand { color:#fff9ee; font-size:1.85rem; text-decoration:none; line-height:1.1; padding:1rem 0; }
.nav-brand:hover { color:#fff9ee; text-decoration:none; }
.nav-brand span { color:#d7bf93; }
.nav-brand small { display:block; font:0.68rem/1.7 Verdana,sans-serif; color:#e0d6db; letter-spacing:0.04em; }
.nav-links { height:auto; gap:.4rem; }
.nav-links > li > a, .nav-pages summary { padding:.8rem; color:#fff9ee; font:0.8rem/1.5 Verdana,sans-serif; cursor:pointer; }
.nav-pages { position:relative; }
.nav-pages .dropdown { top:100%; width:290px; max-width:85vw; max-height:70vh; overflow:auto; }
.nav-pages[open] .dropdown { display:block; }
.nav-toggle { display:none; }
.skip-link { position:absolute; left:1rem; top:-100px; z-index:10000; background:white; padding:.7rem; }
.skip-link:focus { top:1rem; }
a:focus-visible, summary:focus-visible { outline:3px solid #a48b61; outline-offset:5px; }
.intro { display:grid; grid-template-columns:1fr 300px; gap:5rem; padding-top:4rem; padding-bottom:3.5rem; align-items:center; }
.eyebrow { font:0.7rem/1.6 Verdana,sans-serif; letter-spacing:.12em; text-transform:uppercase; color:#67405c; margin-bottom:1rem; }
h1 { font-size:clamp(2.5rem,5vw,4rem); font-weight:normal; line-height:1.08; letter-spacing:-.035em; margin-bottom:1.3rem; }
.intro-copy { max-width:610px; font-size:1.15rem; color:#5e565c; }
.intro-actions { display:flex; gap:1.5rem; align-items:center; flex-wrap:wrap; margin-top:1.8rem; font-size:.95rem; }
.button { display:inline-block; padding:.75rem 1.2rem; background:#67405c; color:#fff; text-decoration:none; }
.button:hover { background:#382b3b; color:#fff; }
.tree-note { border-top:3px solid #a48b61; border-bottom:1px solid #d4c7b4; padding:1.5rem 0; }
.tree-note .eyebrow { margin-bottom:0; }
.tree-total { font-size:3.6rem; line-height:1.4; color:#382b3b; }
.tree-note > a { display:inline-block; margin-top:1.2rem; font-size:.93rem; }
.family-album { padding-bottom:2.5rem; }
.section-heading { display:flex; justify-content:space-between; gap:1rem; align-items:baseline; margin-bottom:1.2rem; }
.section-heading h2 { font-size:1.35rem; font-weight:normal; }
.section-heading p { font-size:.85rem; color:#645b61; }
.album-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:1.1rem; }
.album-grid figure { min-width:0; }
.album-grid a { display:flex; align-items:center; justify-content:center; height:180px; background:#302b2e; padding:5px; }
.album-grid img { width:100%; height:100%; object-fit:contain; }
figcaption { font-size:.85rem; color:#645b61; padding:.55rem 0; }
.branches { border-width:1px; padding:2rem 0; }
.branch-item { display:grid; grid-template-columns:70px 1fr; align-items:center; gap:.8rem; text-align:left; }
.branch-item img { width:70px; height:90px; object-fit:cover; border:0; filter:none; }
.branch-item h5 { margin:0; font-size:.88rem; font-weight:normal; }
.main-section { grid-template-columns:minmax(0,1.7fr) minmax(0,1fr); gap:3.5rem; padding:3rem 0; }
.content-left > h2 { font-size:1.8rem; font-weight:normal; margin-bottom:1rem; }
.ancestor-heading { font-size:1.05rem; font-weight:normal; }
.ancestor-list li { display:block; padding:.65rem 0; font-size:1rem; border-bottom:1px solid #d4c7b4; }
.badge { float:right; margin-left:.5rem; }
.history-figure { margin-bottom:1.6rem; }
.history-figure img { width:100%; }
.shields-grid img { max-width:75px; }
.sidebar-info { margin-top:1.5rem; }
footer { color:#e0d6db; padding:1.8rem 1rem; }
@media(max-width:800px) {
 .nav-inner { flex-wrap:wrap; gap:0; padding-bottom:.5rem; }
 .nav-links { display:flex; position:static; flex-direction:row; flex-wrap:wrap; width:100%; border:0; }
 .nav-links > li { width:auto; }
 .nav-links > li > a { width:auto; border:0; padding:.65rem .8rem; }
 .nav-pages .dropdown { position:absolute; right:auto; left:0; top:100%; }
 .intro { grid-template-columns:1fr; gap:2rem; padding-top:2.5rem; }
 .tree-note { max-width:100%; }
 .tree-total { font-size:2.7rem; }
 .album-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .section-heading { display:block; }
 .main-section { grid-template-columns:1fr; gap:2rem; }
 .branch-grid { gap:1.3rem; }
}
@media(max-width:480px) {
 .branch-item { grid-template-columns:50px 1fr; gap:.5rem; }
 .branch-item img { width:50px; height:70px; }
 .album-grid a { height:145px; }
 .branch-item h5 { font-size:.78rem; }
}

/* Article text retained from the original Vikingness page. */
.detail-wrap p { margin:1rem 0; }
.detail-wrap .bold { font-weight:bold; }
.detail-wrap .em { font-style:italic; }
.detail-wrap h2 { margin-top:1.5rem; }

/* Restored research pages use the same stylesheet and native navigation. */
.restored-page { padding-top:2rem; padding-bottom:3rem; overflow-x:auto; }
.restored-page h1, .restored-page h2, .restored-page h3, .restored-page h4 { margin:.8rem 0; }
.restored-page p { margin:.8rem 0; }
.restored-page ul { list-style:disc; padding-left:1.4rem; }
.restored-page img { height:auto; margin:1rem auto; }
.restored-page table { width:100%; border-collapse:collapse; margin:1rem 0 1.8rem; font-size:.9rem; }
.restored-page td, .restored-page th { padding:.6rem .7rem; border:1px solid #d4c7b4; vertical-align:top; }
.restored-page tr:nth-child(even) { background:#f0ebe3; }
.restored-page .trdynamic, .restored-page .midnight-blue { background:#382b3b; color:#fff9ee; }
.restored-page .trdynamic a { color:#fff9ee; }
.restored-page table.header, .restored-page table.header td { border:0; }
.restored-page .highlight { background:#f1e3be; color:#382b3b; padding:.1rem .3rem; }
.restored-page .underline { text-decoration:underline; }
.surname-search { margin-top:.9rem; }
.surname-search summary { color:#67405c; cursor:pointer; font-size:.9rem; }
.surname-search .card-search-form { display:flex; flex-wrap:wrap; align-items:center; gap:.5rem; }
.surname-search input[type=text] { min-width:0; width:100%; }
.surname-search input[type=submit] { padding:.55rem 1rem; cursor:pointer; }
@media(max-width:600px) {
 .restored-page table { font-size:.82rem; }
 .restored-page td, .restored-page th { padding:.4rem; }
}

.about-page { padding-top:2.5rem; padding-bottom:3rem; }
.about-page .content-grid { display:grid; grid-template-columns:1.5fr 1fr; gap:3rem; }
.about-page p { margin:1rem 0; }
.about-page .text-bold { font-weight:bold; }
.about-page .no-wp { max-width:110px; }
@media(max-width:800px) { .about-page .content-grid { grid-template-columns:1fr; } }
