/* TEST review candidate only. No PHP, data, account or query changes.
 * Scope: existing verified source registry archive body class only.
 * Formal maintenance entry: existing OceanWP 1.8.6 archive typography,
 * page-header, blog layout and Additional CSS. This is not a formal package.
 * Source: official OceanWP 1.8.6 assets/css/style.css (GPLv2 or later)
 * https://downloads.wordpress.org/theme/oceanwp.1.8.6.zip
 * GPL: https://www.gnu.org/licenses/gpl-2.0.html
 * Primary overrides: formal-author-klshkl012/013/022.html, 2026-10-03.
 * Keep true subset title/excerpt/date; CSS does not create missing author,
 * category, breadcrumb, read-more blocks or the formal author's total count.
 */

/* Native archive group only; header/footer template parts are siblings. */
body.klsh-test-source-archive > .wp-site-blocks > .wp-block-group {
  width: 100%;
  max-width: none;
  margin-top: 0 !important;
}

/* Reuse the native query title as the existing formal blue page band. */
body.klsh-test-source-archive > .wp-site-blocks > .wp-block-group > .wp-block-query-title {
  box-sizing: border-box;
  width: 100vw;
  max-width: none !important;
  margin: 0 calc((100% - 100vw) / 2) !important;
  padding: 20px max(5vw, calc((100vw - 1200px) / 2));
  background: #004da1;
  color: #fff;
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 26px !important;
  font-style: normal;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: normal;
  text-align: left;
  overflow-wrap: anywhere;
}

/* Match the formal 90%/1200px container and existing large-entry typography. */
body.klsh-test-source-archive main.wp-block-query {
  box-sizing: border-box;
  width: 90vw;
  max-width: 1200px !important;
  margin: 50px auto !important;
  color: #1c1c1c;
  font: 400 15px/1.6 "Open Sans", Arial, sans-serif;
}

body.klsh-test-source-archive main.wp-block-query > .wp-block-post-template {
  box-sizing: border-box;
  width: 80%;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 30px 0 0;
  border-right: 1px solid rgba(40, 147, 255, .5);
  list-style: none;
}

body.klsh-test-source-archive main.wp-block-query > .wp-block-post-template > .wp-block-post {
  box-sizing: border-box;
  margin: 0 0 30px !important;
  padding: 0 0 30px;
  border-bottom: 1px solid rgba(40, 147, 255, .5);
}

body.klsh-test-source-archive main.wp-block-query .wp-block-post-title {
  max-width: none !important;
  margin: 0 0 20px !important;
  color: #333;
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 24px !important;
  font-style: normal !important;
  font-weight: 600 !important;
  line-height: 1.4;
  letter-spacing: .6px;
  overflow-wrap: anywhere;
}

body.klsh-test-source-archive main.wp-block-query .wp-block-post-title a {
  color: #116ebf;
  text-decoration: none;
}

body.klsh-test-source-archive main.wp-block-query .wp-block-post-title a:hover,
body.klsh-test-source-archive main.wp-block-query .wp-block-post-date a:hover {
  color: #207ac9;
}

/* The exported native archive has one content column and an empty column. */
body.klsh-test-source-archive main.wp-block-query .wp-block-post > .wp-block-columns {
  display: block;
  max-width: none !important;
  margin: 0 !important;
  gap: 0;
}

body.klsh-test-source-archive main.wp-block-query .wp-block-post > .wp-block-columns > .wp-block-column:first-child {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  margin: 0;
}

body.klsh-test-source-archive main.wp-block-query .wp-block-post > .wp-block-columns > .wp-block-column:empty {
  display: none;
}

/* Reorder the existing native date, without synthesizing missing metadata. */
body.klsh-test-source-archive main.wp-block-query .wp-block-post-date {
  order: 0;
  margin: 0 0 12px !important;
  color: #777;
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 12px !important;
  font-style: normal !important;
  font-weight: 400 !important;
  line-height: 1.3;
}

body.klsh-test-source-archive main.wp-block-query .wp-block-post-date a {
  color: #777;
  text-decoration: none;
}

body.klsh-test-source-archive main.wp-block-query .wp-block-post-excerpt {
  order: 1;
  margin: 0 0 20px !important;
  font: inherit;
}

body.klsh-test-source-archive main.wp-block-query .wp-block-post-excerpt__excerpt {
  margin: 0;
  font: inherit;
}

/* Applies only if this native excerpt already contains its native more link. */
body.klsh-test-source-archive main.wp-block-query .wp-block-post-excerpt__more-text {
  margin: 20px 0 0;
}

body.klsh-test-source-archive main.wp-block-query .wp-block-post-excerpt__more-link {
  display: inline-block;
  padding: 10px 16px;
  border: 1px solid #ddd;
  border-radius: 2px;
  color: #333;
  font: 600 11px/1 "Open Sans", Arial, sans-serif;
  letter-spacing: 1px;
  text-decoration: none;
  text-transform: uppercase;
}

body.klsh-test-source-archive main.wp-block-query .wp-block-post-excerpt__more-link:hover {
  border-color: #207ac9;
  color: #207ac9;
}

/* The native 112px spacer is replaced by the formal entry padding/border. */
body.klsh-test-source-archive main.wp-block-query .wp-block-post > .wp-block-spacer {
  display: none;
}

body.klsh-test-source-archive main.wp-block-query > .wp-block-query-pagination {
  box-sizing: border-box;
  width: 80%;
  max-width: none !important;
  margin: 30px 0 0 !important;
  padding-right: 31px;
  font: 400 14px/1.6 "Open Sans", Arial, sans-serif;
}

body.klsh-test-source-archive main.wp-block-query > .wp-block-query-pagination a {
  color: #116ebf;
  text-decoration: none;
}

body.klsh-test-source-archive main.wp-block-query > .wp-block-query-pagination a:hover {
  color: #207ac9;
}

@media (max-width: 959px) {
  body.klsh-test-source-archive main.wp-block-query > .wp-block-post-template {
    width: 100%;
    padding-right: 0;
    border-right: 0;
  }

  body.klsh-test-source-archive main.wp-block-query > .wp-block-query-pagination {
    width: 100%;
    padding-right: 0;
  }
}
