body.aoi-ui {
  background: #f3f0e8;
  color: #1c1915;
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
}

body.aoi-ui h1,
body.aoi-ui h2,
body.aoi-ui h3,
body.aoi-ui .aoi-read h1 {
  font-family: "Source Serif 4", Georgia, serif;
  letter-spacing: -0.02em;
}

body.aoi-ui a {
  color: #1e4636;
}

body.aoi-ui .ast-primary-header-bar,
body.aoi-ui .main-header-bar,
body.aoi-ui .ast-above-header,
body.aoi-ui .ast-below-header-bar {
  background: #12281f !important;
  border: 0;
}

body.aoi-ui .main-header-menu > .menu-item > .menu-link,
body.aoi-ui .ast-header-html,
body.aoi-ui .site-title a,
body.aoi-ui .ast-site-identity .site-title a {
  color: #f7f3ea !important;
}

body.aoi-ui .main-header-menu > .menu-item > .menu-link {
  font-weight: 600;
  font-size: 15px;
}

body.aoi-ui .site-footer,
body.aoi-ui .site-primary-footer-wrap,
body.aoi-ui footer.site-footer {
  background: #12281f !important;
  color: #e6e0d4 !important;
}

body.aoi-ui .site-footer a,
body.aoi-ui footer a {
  color: #f3e6cf !important;
}

.aoi-topsearch {
  background: #0e211a;
  padding: 14px 16px 16px;
}

.aoi-topsearch-inner {
  max-width: 980px;
  margin: 0 auto;
}

.aoi-topsearch form {
  display: flex;
  gap: 8px;
}

.aoi-topsearch input[type="search"] {
  flex: 1;
  min-width: 0;
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  font: inherit;
  font-size: 16px;
  background: #fff;
  color: #1c1915;
}

.aoi-topsearch button {
  border: 0;
  border-radius: 999px;
  background: #c6a15b;
  color: #1a1408;
  font-weight: 700;
  padding: 12px 20px;
  cursor: pointer;
}

.aoi-topsearch button:hover {
  background: #d7b56d;
}

.aoi-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.aoi-quick a {
  color: #f7f3ea;
  text-decoration: none;
  border: 1px solid rgba(247, 243, 234, 0.28);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 13px;
}

.aoi-quick a:hover {
  background: rgba(247, 243, 234, 0.1);
  color: #fff;
}

.aoi-wrap {
  max-width: 1100px;
  margin: 28px auto 48px;
  padding: 0 16px;
}

.aoi-wrap h1 {
  margin: 0 0 8px;
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.15;
  color: #17241d;
}

.aoi-lead {
  margin: 0 0 18px;
  color: #5e584f;
  font-size: 18px;
  max-width: 680px;
}

.aoi-panel {
  background: #fff;
  border: 1px solid #e6e0d4;
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 12px 40px rgba(18, 40, 31, 0.05);
}

.aoi-crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  color: #6f685e;
  font-size: 14px;
  margin-bottom: 14px;
}

.aoi-crumb a {
  color: #1e4636;
  text-decoration: none;
}

.aoi-kicker {
  margin: 0 0 6px;
  color: #8a6432;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 13px;
}

.aoi-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
  padding: 0;
  list-style: none;
}

.aoi-meta li {
  background: #f6f1e6;
  color: #3f3a33;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 13px;
}

.aoi-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 18px;
}

.aoi-tools button,
.aoi-linkbtn {
  border: 1px solid #d9d2c5;
  background: #fff;
  color: #1c1915;
  border-radius: 999px;
  padding: 8px 12px;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.aoi-tools button:hover,
.aoi-linkbtn:hover {
  border-color: #1e4636;
  color: #1e4636;
}

.aoi-prose {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.125rem;
  line-height: 1.75;
  color: #221e19;
  overflow-wrap: anywhere;
}

.aoi-prose p {
  margin: 0 0 1em;
}

.aoi-notes {
  margin-top: 22px;
  background: #f8f4ea;
  border-left: 4px solid #c6a15b;
  border-radius: 12px;
  padding: 14px 16px;
}

.aoi-notes h2 {
  margin: 0 0 8px;
  font-size: 18px;
}

.aoi-long {
  margin: 8px 0 0;
  color: #4e4942;
}

.aoi-pager {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 28px;
}

.aoi-pager a {
  display: block;
  background: #fff;
  border: 1px solid #e6e0d4;
  border-radius: 14px;
  padding: 14px;
  text-decoration: none;
  color: #1c1915;
  min-height: 72px;
}

.aoi-pager a span {
  display: block;
  color: #8a6432;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.aoi-pager .is-next {
  text-align: right;
}

.aoi-badge {
  display: inline-block;
  margin-left: 6px;
  background: #fde8e4;
  color: #8d2d22;
  border-radius: 999px;
  padding: 1px 7px;
  font-size: 12px;
  font-family: "Source Sans 3", sans-serif;
  vertical-align: middle;
}

.aoi-actgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
}

.aoi-actcard {
  display: block;
  background: #fff;
  border: 1px solid #e6e0d4;
  border-radius: 16px;
  padding: 16px;
  text-decoration: none;
  color: #1c1915;
}

.aoi-actcard:hover {
  border-color: #1e4636;
  transform: translateY(-1px);
}

.aoi-actcard strong {
  display: block;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 18px;
  line-height: 1.35;
  margin-bottom: 6px;
}

.aoi-actcard span {
  color: #6f685e;
  font-size: 13px;
}

.aoi-finder {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.aoi-finder input {
  flex: 1;
  border: 1px solid #d9d2c5;
  border-radius: 999px;
  padding: 12px 16px;
  font: inherit;
  font-size: 16px;
}

.aoi-finder button {
  border: 0;
  border-radius: 999px;
  background: #1e4636;
  color: #fff;
  font-weight: 700;
  padding: 12px 18px;
  cursor: pointer;
}

.aoi-empty {
  padding: 28px 8px;
  text-align: center;
  color: #5e584f;
}

table.aoi-table {
  width: 100%;
  border-collapse: collapse;
}

table.aoi-table th,
table.aoi-table td {
  padding: 12px 10px;
  border-bottom: 1px solid #eee6da;
  vertical-align: top;
  text-align: left;
}

table.aoi-table thead th {
  background: #17352a;
  color: #f7f3ea;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

table.aoi-table tbody tr:hover td {
  background: #fbf8f2;
}

table.aoi-table a.aoi-rowlink {
  font-weight: 700;
  text-decoration: none;
}

.aoi-muted {
  display: block;
  color: #6f685e;
  font-weight: 400;
  font-size: 13px;
  margin-top: 3px;
}

.dataTables_wrapper .dataTables_filter input,
.dataTables_wrapper .dataTables_length select {
  border: 1px solid #d9d2c5;
  border-radius: 999px;
  padding: 6px 10px;
  margin-left: 6px;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current {
  background: #1e4636 !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 999px !important;
}

.aoi-home {
  max-width: 1180px;
  margin: 0 auto 56px;
  padding: 18px 16px 0;
}

.aoi-hero {
  background: #12281f;
  color: #f7f3ea;
  border-radius: 28px;
  padding: 36px 32px 28px;
  box-shadow: 0 18px 50px rgba(18, 40, 31, 0.16);
}

.aoi-hero .aoi-kicker,
.aoi-hero h1,
.aoi-hero .aoi-lead {
  color: #f7f3ea;
}

.aoi-hero .aoi-lead {
  color: #e4dccb;
}

.aoi-hero .aoi-finder button {
  background: #c6a15b;
  color: #1a1408;
}

.aoi-hero h1 {
  max-width: 740px;
  font-size: clamp(36px, 5vw, 58px);
}

.aoi-hero .aoi-finder {
  max-width: 720px;
  margin-top: 18px;
}

.aoi-block {
  margin-top: 34px;
}

.aoi-block h2 {
  margin: 0 0 14px;
  font-size: 30px;
}

.aoi-group {
  margin-top: 28px;
}

.aoi-group h3 {
  margin: 0 0 12px;
  font-size: 22px;
}

.aoi-home .aoi-actgrid {
  grid-template-columns: repeat(3, 1fr);
}

.aoi-home .aoi-actcard {
  min-height: 148px;
  padding: 18px 18px 16px;
  border-radius: 20px;
  box-shadow: 0 10px 28px rgba(18, 40, 31, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.aoi-home .aoi-actcard:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(18, 40, 31, 0.1);
  border-color: #1e4636;
}

.aoi-pill {
  align-self: flex-start;
  background: #f6f1e6;
  color: #8a6432;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.aoi-home .aoi-actcard strong {
  margin: 12px 0 14px;
  font-size: 18px;
}

.aoi-home .aoi-actcard em {
  font-style: normal;
  color: #1e4636;
  font-size: 13px;
  font-weight: 700;
}

.aoi-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.aoi-steps li {
  background: #fff;
  border: 1px solid #e6e0d4;
  border-radius: 16px;
  padding: 16px;
  line-height: 1.5;
}

.aoi-prose .google-auto-placed,
.aoi-panel .google-auto-placed {
  margin: 28px 0;
  clear: both;
}

.aoi-kicker .google-anno,
.aoi-kicker .google-anno-sc,
.aoi-newshead .google-anno,
.aoi-newshead .google-anno-sc,
h1 .google-anno,
h1 .google-anno-sc,
h2 .google-anno,
h2 .google-anno-sc,
.aoi-prose .google-anno,
.aoi-prose .google-anno-sc {
  display: block;
  margin: 10px 0;
  max-width: 240px;
}

@media (max-width: 900px) {
  .aoi-home .aoi-actgrid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 700px) {
  .aoi-steps,
  .aoi-home .aoi-actgrid {
    grid-template-columns: 1fr;
  }

  .aoi-hero {
    padding: 24px 18px 20px;
    border-radius: 20px;
  }
}

@media (max-width: 700px) {
  .aoi-topsearch form,
  .aoi-finder,
  .aoi-pager {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .aoi-pager .is-next {
    text-align: left;
  }

  .aoi-topsearch button,
  .aoi-finder button {
    width: 100%;
  }
}

@media print {
  .aoi-topsearch,
  .site-header,
  .site-footer,
  .aoi-tools,
  .aoi-pager,
  .ast-scroll-top,
  ins.adsbygoogle {
    display: none !important;
  }

  body.aoi-ui {
    background: #fff;
  }

  .aoi-prose {
    font-size: 12pt;
  }
}

.aoi-newshead {
  padding: 18px 16px 0;
}

.aoi-newshead-inner {
  max-width: 1100px;
  margin: 0 auto;
  background: #12281f;
  color: #f7f3ea;
  border-radius: 28px;
  padding: 28px 28px 26px;
}

.aoi-newshead .aoi-kicker {
  color: #e0c48a;
}

.aoi-newshead h1 {
  margin: 0 0 8px;
  color: #f7f3ea;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.12;
}

.aoi-newshead-inner > p:last-child {
  margin: 0;
  max-width: 640px;
  color: #e4d8c4;
  font-size: 17px;
  line-height: 1.5;
}

body.blog .site-content {
  padding: 18px 0 36px;
}

body.blog .site-content > .ast-container {
  max-width: 1100px;
  padding-left: 16px;
  padding-right: 16px;
}

body.blog #main > .ast-row {
  display: grid !important;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 0;
  width: 100%;
}

body.blog #main > .ast-row > article.ast-article-post {
  float: none !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: #fffdf8 !important;
  border: 1px solid #e4dccb;
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(18, 40, 31, 0.05);
  overflow: hidden;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

body.blog #main > .ast-row > article.ast-article-post:hover {
  transform: translateY(-2px);
  border-color: #1e4636;
}

body.blog #main > .ast-row > article .ast-article-inner,
body.blog #main > .ast-row > article .post-content {
  background: transparent !important;
  box-shadow: none !important;
  margin: 0 !important;
  height: 100%;
}

body.blog #main > .ast-row > article .ast-article-inner {
  padding: 16px 18px 18px !important;
}

body.blog #main > .ast-row > article .post-content {
  display: flex;
  flex-direction: column;
  padding: 0 !important;
}

body.blog #main > .ast-row > article .post-thumb {
  order: 0;
  margin: 0 0 12px;
}

body.blog #main > .ast-row > article .ast-no-thumb .post-thumb,
body.blog #main > .ast-row > article .post-thumb:empty {
  display: none;
}

body.blog #main > .ast-row > article .post-thumb img {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
}

body.blog #main > .ast-row > article .cat-links {
  order: 1;
  margin: 0 0 8px;
  font-size: 0;
}

body.blog #main > .ast-row > article .cat-links a {
  display: inline-block;
  margin: 0 6px 6px 0;
  background: #f6f1e6;
  color: #1e4636;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1.3;
}

body.blog #main > .ast-row > article .entry-title {
  order: 2;
  margin: 0 0 6px;
  padding: 0;
  font-size: 1.28rem;
  line-height: 1.28;
}

body.blog #main > .ast-row > article .entry-title a {
  color: #12281f;
  text-decoration: none;
}

body.blog #main > .ast-row > article .entry-title a:hover {
  color: #1e4636;
}

body.blog #main > .ast-row > article .entry-header {
  order: 3;
  margin: 0 0 8px;
  padding: 0;
}

body.blog #main > .ast-row > article .entry-header,
body.blog #main > .ast-row > article .entry-meta,
body.blog #main > .ast-row > article .posted-on,
body.blog #main > .ast-row > article .published {
  display: block !important;
}

body.blog #main > .ast-row > article .entry-meta,
body.blog #main > .ast-row > article .entry-meta a,
body.blog #main > .ast-row > article .posted-on,
body.blog #main > .ast-row > article .published {
  color: #6f675c !important;
  font-size: 13px;
  text-decoration: none;
}

body.blog #main > .ast-row > article .tags-links {
  display: none !important;
}

body.blog #main > .ast-row > article .ast-excerpt-container {
  order: 4;
  color: #3e3933;
  font-size: 16.5px;
  line-height: 1.55;
}

body.blog #main > .ast-row > article .read-more {
  order: 5;
  margin: auto 0 0;
  padding-top: 14px;
}

body.blog #main > .ast-row > article .read-more a {
  display: inline-flex;
  align-items: center;
  background: #12281f;
  color: #f7f3ea !important;
  text-decoration: none;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
}

body.blog #main > .ast-row > article .read-more a:hover {
  background: #1e4636;
}

@media (min-width: 860px) {
  body.blog #main > .ast-row {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }

  body.blog #main > .ast-row > article:first-child {
    grid-column: 1 / -1;
  }

  body.blog #main > .ast-row > article:first-child .entry-title {
    font-size: clamp(1.7rem, 2.5vw, 2.15rem);
    line-height: 1.18;
  }

  body.blog #main > .ast-row > article:first-child .post-thumb img {
    height: 280px;
  }

  body.blog #main > .ast-row > article:first-child .ast-article-inner {
    padding: 22px 24px 22px !important;
  }
}

@media (max-width: 700px) {
  .aoi-newshead-inner {
    padding: 22px 18px 20px;
    border-radius: 20px;
  }

  body.blog #main > .ast-row > article .entry-title {
    font-size: 1.2rem;
  }

  body.blog #main > .ast-row > article .post-thumb img {
    height: 160px;
  }
}

@media (max-width: 782px) {
  body.aoi-ui .ast-container {
    padding-left: 14px !important;
    padding-right: 14px !important;
    max-width: 100% !important;
  }

  .aoi-wrap {
    max-width: 100%;
    margin-top: 16px;
    margin-bottom: 32px;
    padding-left: 0;
    padding-right: 0;
  }

  .aoi-panel {
    padding: 14px 12px;
    border-radius: 16px;
  }

  .aoi-home {
    padding-left: 12px;
    padding-right: 12px;
  }

  .aoi-hero {
    padding: 22px 16px 18px;
    border-radius: 20px;
  }

  .aoi-hero h1 {
    font-size: 32px;
    line-height: 1.15;
  }

  .aoi-block h2 {
    font-size: 24px;
  }

  .aoi-group h3 {
    font-size: 18px;
  }

  .aoi-prose,
  body.aoi-ui .entry-content,
  body.single-post .entry-title {
    overflow-wrap: anywhere;
  }

  body.single-post .entry-title {
    font-size: 1.55rem;
    line-height: 1.25;
  }

  .aoi-prose img,
  .aoi-prose iframe,
  .aoi-prose pre,
  body.aoi-ui .entry-content img,
  body.aoi-ui .entry-content iframe,
  body.aoi-ui .entry-content pre {
    max-width: 100%;
  }

  .aoi-prose pre,
  body.aoi-ui .entry-content pre,
  .aoi-prose table:not(.aoi-table),
  body.aoi-ui .entry-content table:not(.aoi-table) {
    display: block;
    overflow-x: auto;
  }

  body.aoi-ui .menu-toggle {
    min-width: 44px;
    min-height: 44px;
  }

  .comment-form input[type="text"],
  .comment-form input[type="email"],
  .comment-form input[type="url"],
  .comment-form textarea {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .dataTables_wrapper {
    width: 100% !important;
  }

  .dataTables_wrapper .dataTables_length,
  .dataTables_wrapper .dataTables_filter,
  .dataTables_wrapper .dataTables_info,
  .dataTables_wrapper .dataTables_paginate {
    float: none !important;
    width: 100% !important;
    text-align: left !important;
    margin: 0 0 12px;
  }

  .dataTables_wrapper .dataTables_length label {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 14px;
  }

  .dataTables_wrapper .dataTables_length select {
    width: auto;
    min-width: 88px;
    min-height: 42px;
    margin: 0 !important;
  }

  .dataTables_wrapper .dataTables_filter label {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    font-size: 14px;
    font-weight: 700;
  }

  .dataTables_wrapper .dataTables_filter input {
    width: 100% !important;
    margin: 0 !important;
    min-height: 44px;
    box-sizing: border-box;
  }

  .dataTables_wrapper .dataTables_paginate {
    white-space: normal !important;
  }

  .dataTables_wrapper .dataTables_paginate .paginate_button {
    margin: 3px 2px !important;
    padding: 8px 11px !important;
  }

  table.aoi-table {
    display: block !important;
    width: 100% !important;
    overflow: visible !important;
  }

  table.aoi-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  table.aoi-table tbody {
    display: block;
    width: 100% !important;
  }

  table.aoi-table tr {
    display: grid;
    width: auto !important;
    border: 1px solid #e6e0d4;
    border-radius: 14px;
    padding: 12px;
    margin: 0 0 10px;
    background: #fffdf8;
  }

  table.aoi-table td {
    display: block !important;
    width: auto !important;
    max-width: 100% !important;
    border: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    box-sizing: border-box;
  }

  .page-template-section-list table.aoi-table tr {
    grid-template-columns: 42px minmax(0, 1fr) auto;
    column-gap: 10px;
    align-items: center;
  }

  .page-template-section-list table.aoi-table td:nth-child(1) {
    font-size: 18px;
    font-weight: 700;
    color: #12281f;
  }

  .page-template-section-list table.aoi-table td:nth-child(2) {
    font-size: 15px;
    line-height: 1.35;
    min-width: 0;
  }

  .page-template-section-list table.aoi-table td:nth-child(3) {
    justify-self: end;
  }

  .page-template-central-acts table.aoi-table tr {
    grid-template-columns: auto auto;
    gap: 4px 8px;
  }

  .page-template-central-acts table.aoi-table td:nth-child(1),
  .page-template-central-acts table.aoi-table td:nth-child(2) {
    font-size: 13px;
    font-weight: 700;
    color: #6f675c;
  }

  .page-template-central-acts table.aoi-table td:nth-child(1):before {
    content: "No. ";
  }

  .page-template-central-acts table.aoi-table td:nth-child(3) {
    grid-column: 1 / -1;
    font-size: 16.5px;
    line-height: 1.35;
  }

  .page-template-central-acts table.aoi-table td:nth-child(3) a {
    font-weight: 700;
  }

  .page-template-central-acts table.aoi-table td:nth-child(4) {
    grid-column: 1 / -1;
    margin-top: 6px;
  }
}
