/*
  Ogham public page-type CSS candidate.
  Dev-only artifact, not applied to NFBI, TheNextPhase, or any client target.
  Scope model: add .ogham-page or body.ogham-public before runtime use.
*/

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--ogham-bg, #f6f8fb);
  color: var(--ogham-ink, #172331);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

a {
  color: var(--ogham-brand, #123a5a);
}

.ogham-page {
  min-height: 100vh;
  background: var(--ogham-bg, #f6f8fb);
}

.ogham-sitebar {
  background: var(--ogham-panel, #ffffff);
  border-bottom: 1px solid var(--ogham-line, #d8e2ec);
}

.ogham-sitebar__inner,
.ogham-wrap {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.ogham-sitebar__inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.ogham-brandmark {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ogham-brand-strong, #0b2438);
  text-decoration: none;
  font-weight: 800;
}

.ogham-brandmark__sigil {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--ogham-brand, #123a5a);
  color: #ffffff;
  font-size: 14px;
}

.ogham-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.ogham-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 6px 10px;
  border-radius: 6px;
  color: var(--ogham-muted, #617083);
  text-decoration: none;
  font-size: 14px;
}

.ogham-nav a:hover,
.ogham-nav a:focus {
  background: var(--ogham-brand-soft, #e8f1f7);
  color: var(--ogham-brand-strong, #0b2438);
}

.ogham-hero {
  padding: 54px 0 34px;
  background:
    linear-gradient(135deg, rgba(18, 58, 90, 0.10), rgba(15, 118, 110, 0.08)),
    var(--ogham-panel, #ffffff);
  border-bottom: 1px solid var(--ogham-line, #d8e2ec);
}

.ogham-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.8fr);
  gap: 28px;
  align-items: center;
}

.ogham-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 3px 9px;
  border-radius: 6px;
  background: var(--ogham-accent-soft, #e2f4f1);
  color: var(--ogham-accent, #0f766e);
  font-size: 13px;
  font-weight: 700;
}

.ogham-hero h1,
.ogham-section h2,
.ogham-card h3,
.ogham-article h1,
.ogham-article h2 {
  margin: 0;
  line-height: 1.14;
  color: var(--ogham-brand-strong, #0b2438);
}

.ogham-hero h1 {
  max-width: 820px;
  margin-top: 14px;
  font-size: 42px;
}

.ogham-hero p {
  max-width: 760px;
  margin: 16px 0 0;
  color: var(--ogham-muted, #617083);
  font-size: 18px;
}

.ogham-hero__panel {
  padding: 22px;
  border: 1px solid var(--ogham-line, #d8e2ec);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--ogham-shadow, 0 14px 36px rgba(16, 42, 67, 0.08));
}

.ogham-proof-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ogham-proof-list li {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.ogham-proof-list b {
  color: var(--ogham-success, #24784f);
}

.ogham-section {
  padding: 34px 0;
}

.ogham-section__head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  margin-bottom: 16px;
}

.ogham-section__head p {
  max-width: 620px;
  margin: 6px 0 0;
  color: var(--ogham-muted, #617083);
}

.ogham-grid,
.ogham-related-grid,
.ogham-page .related,
body.ogham-public .related {
  display: grid;
  gap: 16px;
}

.ogham-grid--3,
.ogham-related-grid,
.ogham-page .related .rel_services,
.ogham-page .related .rel_news,
.ogham-page .related .rel_articles,
.ogham-page .related .rel_blog_posts,
.ogham-page .related.services,
.ogham-page .related.news,
.ogham-page .related.articles,
.ogham-page .related.blog_posts,
body.ogham-public .related .rel_services,
body.ogham-public .related .rel_news,
body.ogham-public .related .rel_articles,
body.ogham-public .related .rel_blog_posts,
body.ogham-public .related.services,
body.ogham-public .related.news,
body.ogham-public .related.articles,
body.ogham-public .related.blog_posts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.ogham-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ogham-card,
.ogham-page .related .element_item,
body.ogham-public .related .element_item {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--ogham-line, #d8e2ec);
  border-radius: 8px;
  background: var(--ogham-panel, #ffffff);
  box-shadow: 0 8px 24px rgba(16, 42, 67, 0.06);
}

.ogham-card__media,
.ogham-page .related .element_item .imagearea,
body.ogham-public .related .element_item .imagearea {
  position: relative;
  overflow: hidden;
  min-height: 160px;
  margin: -18px -18px 16px;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(135deg, var(--ogham-brand-soft, #e8f1f7), var(--ogham-accent-soft, #e2f4f1));
}

.ogham-card__media:after {
  position: absolute;
  right: 16px;
  bottom: 14px;
  content: attr(data-label);
  color: var(--ogham-brand, #123a5a);
  font-size: 13px;
  font-weight: 800;
}

.ogham-card h3,
.ogham-page .related .element_item h3,
body.ogham-public .related .element_item h3 {
  font-size: 20px;
}

.ogham-card p,
.ogham-page .related .element_item .summary,
body.ogham-public .related .element_item .summary {
  margin: 10px 0 0;
  color: var(--ogham-muted, #617083);
}

.ogham-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
  color: var(--ogham-muted, #617083);
  font-size: 13px;
}

.ogham-badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--ogham-warm-soft, #fff4df);
  color: var(--ogham-warm, #b7791f);
  font-size: 12px;
  font-weight: 700;
}

.ogham-button,
.ogham-page .related .element_item a,
body.ogham-public .related .element_item a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  margin-top: 16px;
  padding: 8px 12px;
  border: 1px solid var(--ogham-brand, #123a5a);
  border-radius: 6px;
  background: var(--ogham-brand, #123a5a);
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
}

.ogham-button--secondary {
  background: transparent;
  color: var(--ogham-brand, #123a5a);
}

.ogham-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 28px;
  align-items: start;
}

.ogham-article,
.ogham-aside,
.ogham-table-wrap,
.ogham-status-panel {
  border: 1px solid var(--ogham-line, #d8e2ec);
  border-radius: 8px;
  background: var(--ogham-panel, #ffffff);
  box-shadow: 0 8px 24px rgba(16, 42, 67, 0.05);
}

.ogham-article {
  padding: 26px;
}

.ogham-article h1 {
  font-size: 34px;
}

.ogham-article h2 {
  margin-top: 26px;
  font-size: 24px;
}

.ogham-article p,
.ogham-article li {
  color: #2d3a49;
}

.ogham-article ul {
  padding-left: 22px;
}

.ogham-aside {
  padding: 18px;
}

.ogham-aside h3 {
  margin: 0 0 10px;
  color: var(--ogham-brand-strong, #0b2438);
  font-size: 18px;
}

.ogham-aside ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ogham-aside li {
  padding-bottom: 8px;
  border-bottom: 1px solid var(--ogham-line, #d8e2ec);
}

.ogham-aside li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

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

.ogham-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.ogham-table th,
.ogham-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--ogham-line, #d8e2ec);
  text-align: left;
  vertical-align: top;
}

.ogham-table th {
  background: var(--ogham-brand-soft, #e8f1f7);
  color: var(--ogham-brand-strong, #0b2438);
  font-size: 13px;
}

.ogham-status-panel {
  padding: 18px;
  border-left: 6px solid var(--ogham-accent, #0f766e);
}

.ogham-status-panel.warning {
  border-left-color: var(--ogham-warm, #b7791f);
}

.ogham-footer {
  padding: 28px 0;
  border-top: 1px solid var(--ogham-line, #d8e2ec);
  color: var(--ogham-muted, #617083);
  font-size: 14px;
}

@media (max-width: 920px) {
  .ogham-hero__grid,
  .ogham-layout,
  .ogham-grid--2,
  .ogham-grid--3,
  .ogham-related-grid,
  .ogham-page .related .rel_services,
  .ogham-page .related .rel_news,
  .ogham-page .related .rel_articles,
  .ogham-page .related .rel_blog_posts,
  .ogham-page .related.services,
  .ogham-page .related.news,
  .ogham-page .related.articles,
  .ogham-page .related.blog_posts,
  body.ogham-public .related .rel_services,
  body.ogham-public .related .rel_news,
  body.ogham-public .related .rel_articles,
  body.ogham-public .related .rel_blog_posts,
  body.ogham-public .related.services,
  body.ogham-public .related.news,
  body.ogham-public .related.articles,
  body.ogham-public .related.blog_posts {
    grid-template-columns: 1fr;
  }

  .ogham-hero h1 {
    font-size: 34px;
  }

  .ogham-article h1 {
    font-size: 30px;
  }
}

@media (max-width: 640px) {
  .ogham-sitebar__inner,
  .ogham-section__head {
    align-items: stretch;
    flex-direction: column;
  }

  .ogham-nav {
    justify-content: flex-start;
  }

  .ogham-sitebar__inner,
  .ogham-wrap {
    width: min(100% - 28px, 1120px);
  }

  .ogham-hero {
    padding: 36px 0 26px;
  }

  .ogham-hero h1 {
    font-size: 30px;
  }

  .ogham-hero p {
    font-size: 16px;
  }

  .ogham-article {
    padding: 20px;
  }
}
