
.ohr-wrap,
.ohr-wrap * {
  box-sizing: border-box;
}

.ohr-wrap {
  max-width: var(--ohr-width,1240px);
  margin: 0 auto;
  padding: clamp(18px, 3vw, 30px);
  color: var(--ohr-text,#1A1110);
  font-family: inherit;
}

.ohr-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0,1fr) 230px;
  gap: 28px;
  align-items: center;
  min-height: 190px;
  padding: clamp(22px, 3.2vw, 40px);
  overflow: hidden;
  border-radius: 24px;
  background:
    linear-gradient(90deg, rgba(95,0,0,.98), rgba(139,0,0,.86), rgba(27,15,10,.70)),
    radial-gradient(circle at right, rgba(199,155,59,.30), transparent 28%);
  color: #fff;
  box-shadow: 0 24px 60px rgba(139,0,0,.18);
}

.ohr-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 38%, rgba(255,255,255,.11), transparent 25%),
    repeating-linear-gradient(45deg, rgba(255,255,255,.045) 0 1px, transparent 1px 14px);
  pointer-events: none;
}

.ohr-hero-content,
.ohr-hero-seal {
  position: relative;
  z-index: 2;
}

.ohr-eyebrow {
  margin: 0 0 8px !important;
  color: var(--ohr-gold,#C79B3B) !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  text-transform: uppercase;
  letter-spacing: .18em;
}

.ohr-hero h1 {
  margin: 0;
  color: #fff !important;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4.2vw, 58px) !important;
  line-height: .95;
  letter-spacing: -.035em;
}

.ohr-hero h2 {
  margin: 12px 0 12px;
  color: var(--ohr-gold,#C79B3B) !important;
  font-size: clamp(18px, 1.8vw, 24px) !important;
  line-height: 1.15;
}

.ohr-hero p {
  max-width: 780px;
  margin: 0;
  color: rgba(255,255,255,.92);
  font-size: 16px;
  line-height: 1.6;
}

.ohr-hero-seal {
  display: grid;
  place-items: center;
  gap: 12px;
  text-align: center;
  color: var(--ohr-gold,#C79B3B);
}

.ohr-hero-seal svg {
  width: 96px;
  height: 96px;
  padding: 18px;
  border: 3px solid currentColor;
  border-radius: 50%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.8;
}

.ohr-hero-seal span {
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
  text-transform: uppercase;
}

.ohr-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 18px;
  margin: 22px 0;
}

.ohr-stat-grid article {
  display: grid;
  grid-template-columns: 56px auto;
  align-items: center;
  column-gap: 16px;
  min-height: 112px;
  padding: 18px;
  background: var(--ohr-card,#fff);
  border: 1px solid #eee4da;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(0,0,0,.045);
}

.ohr-stat-icon {
  grid-row: span 3;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--ohr-red,#8B0000);
  color: #fff;
}

.ohr-stat-icon svg,
.ohr-section-head svg,
.ohr-clan-symbol svg,
.ohr-chief-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ohr-stat-grid strong {
  display: block;
  color: var(--ohr-red,#8B0000);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  line-height: .9;
}

.ohr-stat-grid b {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  line-height: 1.05;
}

.ohr-stat-grid em {
  color: var(--ohr-muted,#6B625F);
  font-style: normal;
  font-size: 13px;
}

.ohr-section {
  margin: 22px 0;
  padding: clamp(16px, 2vw, 22px);
  background: #fff;
  border: 1px solid #eee4da;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(0,0,0,.045);
}

.ohr-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.ohr-section-head-tight {
  margin-bottom: 12px;
}

.ohr-section-head h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 !important;
  color: var(--ohr-red-dark,#5F0000) !important;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(22px, 2vw, 30px) !important;
  line-height: 1.1;
}

.ohr-section-head h2 span {
  color: var(--ohr-gold,#C79B3B);
}

.ohr-section-head a {
  color: var(--ohr-red,#8B0000);
  font-weight: 800;
  text-decoration: none;
}

.ohr-clan-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0,1fr));
  gap: 14px;
}

.ohr-clan-card {
  text-align: center;
  padding: 18px 12px;
  border: 1px solid #eee4da;
  border-radius: 14px;
  background: #fff;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.ohr-clan-card:hover {
  transform: translateY(-3px);
  border-color: rgba(139,0,0,.25);
  box-shadow: 0 16px 30px rgba(139,0,0,.10);
}

.ohr-clan-symbol {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin: 0 auto 10px;
  color: var(--ohr-red,#8B0000);
  border: 2px solid rgba(139,0,0,.15);
  border-radius: 50%;
  background: #fff8ef;
}

.ohr-clan-symbol-large {
  width: 96px;
  height: 96px;
  margin: 0;
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.22);
  color: var(--ohr-gold,#C79B3B);
}

.ohr-clan-symbol-large svg {
  width: 54px;
  height: 54px;
}

.ohr-clan-card h3 {
  margin: 0 0 6px !important;
  color: var(--ohr-text,#1A1110);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px !important;
  line-height: 1.05;
}

.ohr-clan-card p {
  min-height: 18px;
  margin: 0 0 8px;
  color: var(--ohr-muted,#6B625F);
  font-size: 12px;
}

.ohr-clan-count {
  color: var(--ohr-muted,#6B625F);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 12px;
}

.ohr-clan-count span {
  color: var(--ohr-red,#8B0000);
  font-weight: 900;
}

.ohr-btn,
.ohr-view-toggle button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  background: var(--ohr-red,#8B0000);
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 850;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease;
}

.ohr-btn:hover,
.ohr-view-toggle button.is-active {
  background: var(--ohr-red-dark,#5F0000);
}

.ohr-btn-small {
  min-height: 34px;
  padding: 8px 14px;
  font-size: 12px;
}

.ohr-main-grid {
  display: grid;
  grid-template-columns: minmax(0,1fr) 360px;
  gap: 20px;
}

.ohr-filters {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 14px;
}

.ohr-filters label {
  display: grid;
  gap: 5px;
  color: var(--ohr-muted,#6B625F);
  font-size: 12px;
  font-weight: 850;
}

.ohr-filters input,
.ohr-filters select {
  width: 100%;
  min-height: 42px;
  border: 1px solid #ded3c8;
  border-radius: 8px;
  background: #fff;
  padding: 8px 12px;
  color: var(--ohr-text,#1A1110);
}

.ohr-view-toggle {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.ohr-view-toggle button {
  min-height: 34px;
  padding: 8px 12px;
  background: #f4ece5;
  color: var(--ohr-red,#8B0000) !important;
  font-size: 12px;
}

.ohr-village-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 14px;
}

.ohr-village-card {
  overflow: hidden;
  border: 1px solid #eee4da;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(0,0,0,.035);
}

.ohr-village-image {
  display: grid;
  place-items: center;
  height: 112px;
  color: rgba(255,255,255,.75);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 54px;
  font-weight: 900;
  background-size: cover !important;
  background-position: center !important;
}

.ohr-village-body {
  padding: 13px;
}

.ohr-village-body h3 {
  margin: 0 0 7px !important;
  color: var(--ohr-text,#1A1110);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px !important;
}

.ohr-village-body p {
  margin: 3px 0;
  font-size: 13px;
  color: var(--ohr-muted,#6B625F);
}

.ohr-village-foot {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
  align-items: center;
  font-size: 12px;
}

.ohr-status {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
  background: #f4ece5;
  color: var(--ohr-red,#8B0000);
}

.ohr-status-confirmed {
  background: #e8f6ee;
  color: #14773d;
}

.ohr-status-needs_review {
  background: #fff5df;
  color: #8a5a00;
}

.ohr-status-unverified {
  background: #f3f4f6;
  color: #4b5563;
}

.ohr-status-historical {
  background: #eef2ff;
  color: #3730a3;
}

.ohr-table-wrap {
  overflow-x: auto;
  border: 1px solid #eee4da;
  border-radius: 12px;
}

.ohr-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  min-width: 780px;
}

.ohr-table th {
  background: var(--ohr-red-dark,#5F0000);
  color: var(--ohr-table-head-text,#fff) !important;
  text-align: left;
  font-size: 12px;
  padding: 11px 12px;
}

.ohr-table td {
  border-top: 1px solid #eee4da;
  padding: 11px 12px;
  color: var(--ohr-text,#1A1110);
  font-size: 13px;
  vertical-align: top;
}

.ohr-chief-list {
  display: grid;
  gap: 9px;
}

.ohr-chief-list article {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 11px;
  align-items: center;
  padding: 12px;
  border: 1px solid #eee4da;
  border-radius: 12px;
  background: #fff;
}

.ohr-chief-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #fff;
  background: var(--ohr-red,#8B0000);
}

.ohr-chief-icon svg {
  width: 22px;
  height: 22px;
}

.ohr-chief-list h3 {
  margin: 0 0 2px !important;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--ohr-red-dark,#5F0000);
  font-size: 16px !important;
}

.ohr-chief-list p,
.ohr-chief-list em {
  display: block;
  margin: 0;
  color: var(--ohr-muted,#6B625F);
  font-size: 12px;
  font-style: normal;
  line-height: 1.35;
}

.ohr-notice {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: center;
  margin: 22px 0 0;
  padding: 18px;
  border-radius: 16px;
  background: linear-gradient(90deg, #fff8ef, #fff);
  border: 1px solid #eddcc8;
}

.ohr-notice span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 2px solid var(--ohr-gold,#C79B3B);
  color: var(--ohr-gold,#C79B3B);
  border-radius: 50%;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 900;
}

.ohr-notice p {
  margin: 0;
  color: var(--ohr-muted,#6B625F);
  line-height: 1.5;
}

.ohr-clan-profile-hero {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  align-items: center;
  margin-bottom: 22px;
  padding: clamp(24px, 4vw, 42px);
  border-radius: 22px;
  color: #fff;
  background: linear-gradient(135deg, var(--ohr-red-dark,#5F0000), var(--ohr-red,#8B0000));
}

.ohr-clan-profile-hero h1 {
  margin: 0 0 8px;
  color: #fff !important;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4vw, 58px) !important;
}

.ohr-clan-profile-hero p {
  max-width: 780px;
  color: rgba(255,255,255,.88);
  margin: 0 0 10px;
}

/* Admin */
.ohr-admin-wrap .ohr-admin-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 14px;
  margin: 18px 0;
}

.ohr-admin-card,
.ohr-admin-panel {
  background: #fff;
  border: 1px solid #dcdcde;
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 6px 18px rgba(0,0,0,.04);
}

.ohr-admin-card strong {
  display: block;
  color: var(--ohr-red,#8B0000);
  font-size: 34px;
  line-height: 1;
}

.ohr-admin-card span {
  color: #50575e;
  font-weight: 800;
}

.ohr-admin-table input,
.ohr-admin-table select,
.ohr-admin-table textarea {
  width: 100%;
  min-width: 130px;
}

.ohr-scroll-panel {
  overflow-x: auto;
}

@media (max-width: 1100px) {
  .ohr-stat-grid,
  .ohr-admin-wrap .ohr-admin-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .ohr-clan-grid {
    grid-template-columns: repeat(3,minmax(0,1fr));
  }
  .ohr-main-grid {
    grid-template-columns: 1fr;
  }
  .ohr-village-cards {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}

@media (max-width: 720px) {
  .ohr-wrap {
    padding: 14px;
  }
  .ohr-hero,
  .ohr-clan-profile-hero {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .ohr-hero-seal {
    display: none;
  }
  .ohr-stat-grid,
  .ohr-clan-grid,
  .ohr-village-cards,
  .ohr-filters,
  .ohr-admin-wrap .ohr-admin-grid {
    grid-template-columns: 1fr;
  }
  .ohr-section-head {
    align-items: flex-start;
    flex-direction: column;
  }
}


/* V1.1: harden table header label color against theme overrides */
.ohr-wrap .ohr-table thead th,
.ohr-wrap table.ohr-table thead tr th,
.entry-content .ohr-wrap .ohr-table thead th {
  color: var(--ohr-table-head-text,#fff) !important;
  font-weight: 900 !important;
}


/* V1.3: classification workflow + shorter hero */
.ohr-classification-alert {
  display: grid;
  gap: 4px;
  margin: 16px 0 0;
  padding: 14px 16px;
  border: 1px solid rgba(199,155,59,.42);
  border-left: 5px solid var(--ohr-gold,#C79B3B);
  border-radius: 12px;
  background: #fff8ef;
  color: var(--ohr-text,#1A1110);
}

.ohr-classification-alert strong {
  color: var(--ohr-red-dark,#5F0000);
  font-weight: 900;
}

.ohr-classification-alert span {
  color: var(--ohr-muted,#6B625F);
}

.ohr-classification-alert-soft {
  margin-bottom: 16px;
}

.ohr-bulk-classify-form {
  display: flex;
  align-items: end;
  flex-wrap: wrap;
  gap: 12px;
}

.ohr-bulk-classify-form label {
  display: grid;
  gap: 5px;
  color: #50575e;
  font-weight: 700;
}

.ohr-bulk-classify-form select {
  min-width: 220px;
}


/* V1.4: compact registry hero override */
.ohr-wrap .ohr-hero {
  min-height: 0 !important;
  max-height: var(--ohr-hero-max,280px) !important;
  height: auto !important;
  padding: clamp(18px, 2.4vw, 30px) clamp(22px, 3.2vw, 42px) !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  overflow: hidden !important;
}

.ohr-wrap .ohr-hero.ohr-hero-compact {
  min-height: 210px !important;
}

.ohr-wrap .ohr-hero.ohr-hero-standard {
  min-height: 260px !important;
}

.ohr-wrap .ohr-hero-content {
  max-width: 820px !important;
  justify-self: start !important;
  text-align: left !important;
}

.ohr-wrap .ohr-hero h1 {
  font-size: clamp(30px, 3vw, 46px) !important;
  line-height: .98 !important;
  max-width: 760px !important;
}

.ohr-wrap .ohr-hero h2 {
  font-size: clamp(17px, 1.45vw, 22px) !important;
  line-height: 1.15 !important;
  max-width: 760px !important;
  margin: 8px 0 8px !important;
}

.ohr-wrap .ohr-hero p {
  font-size: 15px !important;
  line-height: 1.45 !important;
  max-width: 760px !important;
}

.ohr-wrap .ohr-hero-seal {
  width: 110px !important;
  max-width: 110px !important;
}

.ohr-wrap .ohr-hero-seal svg {
  width: 78px !important;
  height: 78px !important;
  padding: 12px !important;
}

.ohr-wrap .ohr-hero-seal span {
  font-size: 10px !important;
  line-height: 1.2 !important;
}

@media (max-width: 860px) {
  .ohr-wrap .ohr-hero {
    grid-template-columns: 1fr !important;
    max-height: none !important;
  }
  .ohr-wrap .ohr-hero-seal {
    display: none !important;
  }
}

@media (max-width: 720px) {
  .ohr-wrap .ohr-hero {
    min-height: 0 !important;
    padding: 20px !important;
  }
  .ohr-wrap .ohr-hero h1 {
    font-size: 32px !important;
  }
}


/* V1.5: engineered inline hero with icon aligned top-left */
.ohr-wrap .ohr-hero {
  grid-template-columns: 1fr !important;
  align-items: center !important;
}

.ohr-wrap .ohr-hero-content {
  width: 100% !important;
  max-width: 980px !important;
}

.ohr-wrap .ohr-hero-topline {
  display: flex !important;
  align-items: flex-start !important;
  gap: 18px !important;
  margin-bottom: 10px !important;
}

.ohr-wrap .ohr-hero-mark {
  flex: 0 0 74px !important;
  width: 74px !important;
  height: 74px !important;
  display: grid !important;
  place-items: center !important;
  border-radius: 20px !important;
  border: 2px solid rgba(199,155,59,.65) !important;
  background: rgba(255,255,255,.08) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.10), 0 10px 24px rgba(0,0,0,.12) !important;
  color: var(--ohr-gold,#C79B3B) !important;
  backdrop-filter: blur(4px);
}

.ohr-wrap .ohr-hero-mark svg {
  width: 38px !important;
  height: 38px !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 2.6 !important;
}

.ohr-wrap .ohr-hero-headings {
  min-width: 0 !important;
}

.ohr-wrap .ohr-hero .ohr-eyebrow {
  margin: 0 0 6px !important;
}

.ohr-wrap .ohr-hero h1 {
  margin: 0 !important;
}

.ohr-wrap .ohr-hero h2 {
  margin: 6px 0 10px 92px !important;
}

.ohr-wrap .ohr-hero p:not(.ohr-eyebrow) {
  margin-left: 92px !important;
}

.ohr-wrap .ohr-hero-seal {
  display: none !important;
}

@media (max-width: 720px) {
  .ohr-wrap .ohr-hero-topline {
    gap: 12px !important;
  }

  .ohr-wrap .ohr-hero-mark {
    flex-basis: 56px !important;
    width: 56px !important;
    height: 56px !important;
    border-radius: 16px !important;
  }

  .ohr-wrap .ohr-hero-mark svg {
    width: 28px !important;
    height: 28px !important;
  }

  .ohr-wrap .ohr-hero h2,
  .ohr-wrap .ohr-hero p:not(.ohr-eyebrow) {
    margin-left: 0 !important;
  }
}


/* V1.9: hardened explorer filtering */
.ohr-wrap .ohr-is-hidden {
  display: none !important;
}

.ohr-filter-summary {
  margin: -4px 0 14px;
  color: var(--ohr-muted,#6B625F);
  font-size: 13px;
  font-weight: 750;
}


/* V2.2: Traditional Leadership Directory */
.ohr-snapshot-intro,
.ohr-directory-intro {
  margin: 0 0 14px;
  color: var(--ohr-muted,#6B625F);
  line-height: 1.5;
  font-size: 14px;
}

.ohr-btn-full {
  width: 100%;
  min-height: 42px;
  margin-top: 14px;
  padding: 10px 14px;
  text-align: center;
}

.ohr-leadership-controls {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 12px;
  margin: 16px 0 10px;
}

.ohr-leadership-controls label {
  display: grid;
  gap: 5px;
  color: var(--ohr-muted,#6B625F);
  font-size: 12px;
  font-weight: 850;
}

.ohr-leadership-controls input,
.ohr-leadership-controls select {
  width: 100%;
  min-height: 42px;
  border: 1px solid #ded3c8;
  border-radius: 8px;
  background: #fff;
  padding: 8px 12px;
  color: var(--ohr-text,#1A1110);
}

.ohr-leadership-groups {
  display: grid;
  gap: 18px;
  margin-top: 16px;
}

.ohr-leadership-group {
  border: 1px solid #eee4da;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
}

.ohr-leadership-group-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  background: linear-gradient(90deg, var(--ohr-red-dark,#5F0000), var(--ohr-red,#8B0000));
  color: #fff;
}

.ohr-leadership-group-head h3 {
  margin: 0 !important;
  color: #fff !important;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px !important;
}

.ohr-leadership-group-head span {
  color: rgba(255,255,255,.86);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.ohr-leadership-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 14px;
  padding: 14px;
}

.ohr-authority-card {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 13px;
  align-items: start;
  padding: 14px;
  border: 1px solid #eee4da;
  border-radius: 14px;
  background: #fffaf5;
}

.ohr-authority-avatar {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  color: #fff;
  background: var(--ohr-red,#8B0000);
}

.ohr-authority-avatar svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ohr-authority-body h4 {
  margin: 0 0 4px !important;
  color: var(--ohr-red-dark,#5F0000);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px !important;
  line-height: 1.1;
}

.ohr-authority-body p {
  margin: 0 0 8px;
  color: var(--ohr-muted,#6B625F);
  font-size: 13px;
  font-weight: 800;
}

.ohr-authority-meta {
  display: grid;
  gap: 3px;
  color: var(--ohr-muted,#6B625F);
  font-size: 12px;
  line-height: 1.35;
}

@media (max-width: 980px) {
  .ohr-leadership-controls {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
  .ohr-leadership-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .ohr-leadership-controls {
    grid-template-columns: 1fr;
  }
  .ohr-authority-card {
    grid-template-columns: 1fr;
  }
}


/* V2.3: Clan identity profiles */
.ohr-clan-card .ohr-clan-dialect {
  min-height: auto;
  margin: 0 0 8px;
  color: var(--ohr-muted,#6B625F);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .02em;
}

.ohr-clan-card .ohr-clan-motto {
  min-height: 42px;
  margin: 0 0 12px;
  color: #9A5B16;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 14px;
  line-height: 1.35;
}

.ohr-clan-profile-identity {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin: 8px 0 12px;
}

.ohr-clan-profile-identity span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  color: rgba(255,255,255,.92);
  font-weight: 850;
  font-size: 13px;
}

.ohr-clan-profile-identity em {
  color: var(--ohr-gold,#C79B3B);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(18px, 2vw, 25px);
  line-height: 1.2;
}


/* V2.4: Explorer diagnostics + hard hiding */
.ohr-wrap .ohr-is-hidden {
  display: none !important;
}

.ohr-filter-debug {
  margin: -6px 0 12px;
  padding: 8px 10px;
  border: 1px dashed #c79b3b;
  border-radius: 8px;
  background: #fff8ef;
  color: #5f0000;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11px;
  line-height: 1.4;
}


/* V2.5: Data Health + Clan Profile Upgrade */
.ohr-health-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:14px 0}.ohr-health-grid div{padding:16px;border:1px solid #dcdcde;border-radius:12px;background:#fff}.ohr-health-grid strong{display:block;color:var(--ohr-red,#8B0000);font-size:30px;line-height:1}.ohr-health-grid span{display:block;margin-top:7px;color:#50575e;font-weight:800}.ohr-health-grid em{display:block;margin-top:5px;color:#646970;font-style:normal;font-size:12px}.ohr-health-grid-small{grid-template-columns:repeat(5,minmax(0,1fr))}.ohr-health-bars{display:grid;gap:10px}.ohr-health-bar-row{display:grid;grid-template-columns:190px 1fr 48px;align-items:center;gap:12px}.ohr-health-bar-row span{font-weight:800}.ohr-health-bar-row div{height:12px;overflow:hidden;border-radius:999px;background:#f0e8df}.ohr-health-bar-row i{display:block;height:100%;border-radius:inherit;background:var(--ohr-red,#8B0000)}.ohr-health-bar-row strong{text-align:right}.ohr-clan-profile-stats{display:flex;flex-wrap:wrap;gap:10px;margin:14px 0 12px}.ohr-clan-profile-stats strong{display:grid;gap:3px;min-width:130px;padding:10px 12px;border-radius:14px;background:rgba(255,255,255,.12);color:#fff}.ohr-clan-profile-stats span{font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:rgba(255,255,255,.76)}.ohr-clan-profile-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}.ohr-clan-profile-actions a{display:inline-flex;align-items:center;min-height:38px;padding:9px 13px;border-radius:999px;background:var(--ohr-gold,#C79B3B);color:#1A1110!important;text-decoration:none!important;font-weight:900}.ohr-clan-leadership-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.ohr-clan-leadership-list article{display:grid;grid-template-columns:44px 1fr;gap:12px;padding:14px;border:1px solid #eee4da;border-radius:14px;background:#fffaf5}.ohr-clan-leadership-list article>span{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;color:#fff;background:var(--ohr-red,#8B0000)}.ohr-clan-leadership-list svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}.ohr-clan-leadership-list h3{margin:0 0 4px!important;color:var(--ohr-red-dark,#5F0000);font-family:Georgia,"Times New Roman",serif;font-size:18px!important}.ohr-clan-leadership-list p,.ohr-clan-leadership-list em{display:block;margin:0;color:var(--ohr-muted,#6B625F);font-style:normal;font-size:13px}@media(max-width:900px){.ohr-health-grid,.ohr-health-grid-small,.ohr-clan-leadership-list{grid-template-columns:1fr}.ohr-health-bar-row{grid-template-columns:1fr}.ohr-health-bar-row strong{text-align:left}}


/* V2.6: leadership role label correction */
.ohr-authority-meta span strong,
.ohr-chief-list p,
.ohr-clan-leadership-list p {
  font-weight: 900;
}

.ohr-chief-list em,
.ohr-clan-leadership-list em {
  color: var(--ohr-muted,#6B625F);
}


/* V2.7: clan-profile empty Traditional Leadership card removed.
   Full Traditional Leadership Directory remains available via [oroko_traditional_leadership]. */


/* V2.8: Main registry page simplified.
   Village Explorer and Traditional Leadership Snapshot were removed from [oroko_heritage_registry].
   Standalone shortcodes remain available:
   [oroko_village_explorer]
   [oroko_chief_directory]
   [oroko_traditional_leadership]
*/
