:root {
  --navy: #1B2A4A;
  --navy-dark: #111D35;
  --gold: #C8971A;
  --gold-light: #D4A94D;
  --gold-pale: #FDF8EC;
  --cream: #F9F6F0;
  --white: #FFFFFF;
  --charcoal: #2C2C2C;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--charcoal);
  font-family: 'Inter', sans-serif;
}

.font-ethiopic { font-family: 'Noto Serif Ethiopic', serif; }
.font-display { font-family: 'Playfair Display', serif; }

.gold-divider {
  height: 2px;
  max-width: 200px;
  margin: 0 auto;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.section-heading-am {
  color: var(--navy);
  font-family: 'Noto Serif Ethiopic', serif;
  font-weight: 700;
}
.section-heading-en {
  color: var(--gold);
  font-family: 'Playfair Display', serif;
  font-weight: 600;
}

.styled-table th {
  background: var(--navy);
  color: var(--gold);
  font-weight: 600;
  line-height: 1.35;
  overflow-wrap: anywhere;
  vertical-align: middle;
  white-space: normal;
}
.styled-table tr:nth-child(even) { background: var(--gold-pale); }
.styled-table tr:nth-child(odd) { background: var(--white); }

.directory-table {
  border-collapse: separate;
  border-spacing: 0;
}
.directory-table thead tr:first-child th {
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.directory-table thead tr:nth-child(2) th {
  background: #F9F6F0;
  color: var(--charcoal);
  border-bottom: 1px solid rgba(27, 42, 74, 0.12);
}
.directory-table thead tr:nth-child(2) .form-input {
  min-width: 0;
  background: var(--white);
  font-size: 0.8rem;
}
.directory-table tbody td {
  border-bottom: 1px solid rgba(27, 42, 74, 0.08);
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.church-directory-table {
  min-width: 1740px;
  table-layout: fixed;
}
.church-directory-table th:nth-child(1) { width: 125px; }
.church-directory-table th:nth-child(2) { width: 170px; }
.church-directory-table th:nth-child(3) { width: 250px; }
.church-directory-table th:nth-child(4) { width: 130px; }
.church-directory-table th:nth-child(5) { width: 165px; }
.church-directory-table th:nth-child(6) { width: 125px; }
.church-directory-table th:nth-child(7) { width: 190px; }
.church-directory-table th:nth-child(8) { width: 190px; }
.church-directory-table th:nth-child(9) { width: 145px; }
.church-directory-table th:nth-child(10) { width: 200px; }
.church-directory-table th:nth-child(11) { width: 100px; }

.form-input {
  width: 100%;
  padding: 0.65rem 0.9rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: white;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200, 151, 26, 0.15);
}
.search-field .form-input {
  padding-left: 2.75rem;
}

.directory-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid rgba(200, 151, 26, 0.25);
  box-shadow: 0 5px 24px rgba(17, 29, 53, 0.09);
}
.directory-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--navy);
  text-decoration: none;
}
.directory-brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(200, 151, 26, 0.5);
  border-radius: 50%;
  box-shadow: inset 0 0 0 4px rgba(200, 151, 26, 0.08);
}
.directory-brand-mark img {
  width: auto;
  height: 74%;
}
.directory-brand-name {
  color: var(--navy);
  font-family: 'Playfair Display', serif;
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.2;
}
.directory-brand-name small {
  display: block;
  margin-top: 0.22rem;
  color: #75664e;
  font-family: 'Inter', sans-serif;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.directory-nav-link {
  color: var(--navy);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
}
.directory-nav-link:hover,
.directory-nav-link[aria-current="page"] {
  color: #956a08;
}

@media (max-width: 767px) {
  .directory-brand-name { font-size: 0.82rem; }
  .directory-brand-name small { font-size: 0.56rem; }
}
