/* POLARIS Unified Remaining Pages — version 1.0.0
 * Limited to news, notice, miscellaneous archives and posts. Not a general
 * reset: five approved category landing pages and portfolio/map are untouched.
 */
body.pob-u-enabled {
  --pobu-forest:#193c37;
  --pobu-ink:#214940;
  --pobu-blue:#21658f;
  --pobu-muted:#637f73;
  --pobu-line:#dce8e2;
  --pobu-mist:#f4f8f5;
  background:#f4f7f4;
}
body.pob-u-notice #content,
body.pob-u-news #content,
body.pob-u-archive #content {background:transparent;}
body.pob-u-notice #sidebar,
body.pob-u-news #sidebar,
body.pob-u-archive #sidebar {display:none!important;}
body.pob-u-notice .pob-u-shell,
body.pob-u-news .pob-u-shell,
body.pob-u-archive .pob-u-shell {box-sizing:border-box;}
.pob-u-shell,
.pob-u-shell * {box-sizing:border-box;}
.pob-u-shell {
  width:min(1154px,calc(100% - 32px));
  max-width:1154px;
  margin:22px auto 56px;
  padding:0 30px 40px;
  background:white;
  color:var(--pobu-ink,#214940);
  border-radius:9px;
  font-family:inherit;
  box-shadow:0 4px 22px rgba(15,60,45,.025);
  min-width:0;
}
.pob-u-shell a {text-decoration:none;}
.pob-u-shell a:focus-visible {outline:3px solid #21658f;outline-offset:3px;}
.pob-u-crumb {display:flex;flex-wrap:wrap;gap:10px;align-items:center;padding:22px 0 17px;font-size:12px;color:#779089;}
.pob-u-crumb a {color:#21658f;}
.pob-u-crumb a:hover {text-decoration:underline;}
.pob-u-hero {
  position:relative;
  overflow:hidden;
  isolation:isolate;
  margin:0;
  border-radius:10px;
  background:linear-gradient(113deg,#193c37 4%,#205a51 54%,#21658f 100%);
  min-height:210px;
  padding:34px clamp(24px,4vw,50px);
  display:flex;
  align-items:flex-start;
  justify-content:center;
  flex-direction:column;
  color:#fff;
}
.pob-u-hero::after {content:"";position:absolute;z-index:-1;right:-65px;bottom:-175px;border:21px solid rgba(255,255,255,.075);border-radius:50%;width:280px;height:280px;pointer-events:none;}
.pob-u-hero .pob-u-kicker,
.pob-u-shell .pob-u-section-head p,
.pob-u-topic-switch>div:first-child p {
  margin:0 0 12px;
  letter-spacing:.15em;
  color:#b6ddd1;
  font-weight:800;
  font-size:11px;
  line-height:1.5;
}
.pob-u-hero h1 {
  color:white!important;
  margin:0 0 12px!important;
  padding:0!important;
  font-weight:800;
  line-height:1.42;
  letter-spacing:.013em;
  font-size:clamp(26px,3vw,38px);
  background:none!important;
  border:0!important;
  box-shadow:none!important;
  text-shadow:none!important;
  overflow-wrap:anywhere;
}
.pob-u-hero>p:not(.pob-u-kicker) {margin:0 0 18px;color:#e2f0ec;font-size:14px;line-height:1.85;max-width:760px;}
.pob-u-hero-tag {
  display:inline-flex;align-items:center;
  border:1px solid rgba(255,255,255,.45);
  padding:6px 12px;border-radius:4px;color:white;
  font-size:12px;font-weight:700;
}
.pob-u-hero-meta {display:flex;align-items:center;flex-wrap:wrap;gap:18px;font-size:13px;color:#e0eee8;}
.pob-u-hero-meta time {font-variant-numeric:tabular-nums;}
.pob-u-category-announcement {margin:17px 0 0;}
.pob-u-category-announcement:not(:has(.pob-news-banner)) {display:none;}
.pob-u-news-section,.pob-u-archive-section {padding:36px 0 12px;}
.pob-u-shell .pob-u-section-head {
  border-bottom:1px solid #dfe9e4;
  padding-bottom:13px;margin-bottom:22px;
}
.pob-u-shell .pob-u-section-head p {color:var(--pobu-blue,#21658f);margin-bottom:8px;}
.pob-u-shell .pob-u-section-head h2,
.pob-u-shell .pob-u-topic-switch h2 {
  color:var(--pobu-forest,#193c37);
  background:none!important;border:0!important;padding:0!important;margin:0!important;
  font-size:clamp(22px,2vw,27px);line-height:1.35;
}
/* The shortcode's output and server-rendered notices stay authoritative. */
.pob-u-news-content {font-size:15px;line-height:1.9;color:#526f64;}
.pob-u-news-content > p {margin:0 0 22px;}
.pob-u-news-content .pob-news-v2 {margin:0!important;max-width:none;}
.pob-u-news-content .pob-news-archive-list {display:grid;gap:11px;}
.pob-u-news-content .pob-news-archive-row {
  display:grid;grid-template-columns:110px 90px minmax(0,1fr) 20px;align-items:center;
  gap:12px;min-height:72px;padding:15px 19px;
  border:1px solid var(--pobu-line,#dce8e2);border-radius:8px;
  background:#fcfefd;color:var(--pobu-ink,#214940);text-decoration:none;
}
.pob-u-news-content .pob-news-archive-row:hover {border-color:#93bdad;background:#f4f8f5;}
.pob-u-news-content .pob-news-archive-date {color:#789087;font-size:12px;}
.pob-u-news-content .pob-news-archive-type {color:#21658f;font-size:12px;font-weight:750;}
.pob-u-news-content .pob-news-archive-title {font-size:15px;font-weight:700;line-height:1.6;overflow-wrap:anywhere;}
.pob-u-news-content .pob-news-archive-arrow {font-size:18px;color:#21658f;}
.pob-u-reading-card {
  max-width:940px;
  margin:30px auto 0;
  background:#fff;border:1px solid var(--pobu-line,#dce8e2);
  border-radius:10px;
  padding:clamp(22px,4vw,46px);
}
.pob-u-lead-image {margin:0 0 26px;}
.pob-u-lead-image img {max-width:100%;width:auto;height:auto;border-radius:8px;display:block;margin-inline:auto;}
.pob-u-prose {font-size:16px;line-height:1.95;color:#294a42;overflow-wrap:anywhere;min-width:0;}
.pob-u-prose p {margin:0 0 1.5em;}
.pob-u-prose img {max-width:100%;height:auto;}
.pob-u-prose iframe,.pob-u-prose video {max-width:100%;}
.pob-u-prose .wp-block-image,.pob-u-prose figure {max-width:100%;margin:1.8em auto;}
.pob-u-prose figcaption {color:#718980;font-size:13px;line-height:1.5;}
.pob-u-prose a {color:#17668a;text-decoration:underline;text-underline-offset:3px;}
.pob-u-prose blockquote {background:#f3f8f5;border-left:4px solid #21658f;padding:16px 22px;}
.pob-u-prose h2 {font-size:clamp(21px,2.2vw,27px);line-height:1.45;margin:2.6em 0 1.1em!important;padding:14px 18px!important;border:0!important;border-left:4px solid #21658f!important;border-radius:0 7px 7px 0;background:#f1f7f4!important;color:#193c37!important;}
.pob-u-prose h3 {font-size:clamp(19px,2vw,23px);margin:2em 0 1em!important;padding:0 0 9px!important;border-bottom:2px solid #dce8e2!important;background:none!important;color:#193c37!important;}
.pob-u-prose ul,.pob-u-prose ol {padding-left:1.5em;margin:1.3em 0;}
.pob-u-prose pre {overflow-x:auto;max-width:100%;}
.pob-u-prose table {width:100%;display:block;max-width:100%;overflow-x:auto;}
.pob-u-prose table th {background:#f1f7f4;}
.pob-u-article-actions {display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin-top:42px;padding-top:25px;border-top:1px solid #e4ece7;}
.pob-u-primary-button {display:inline-flex;align-items:center;justify-content:center;gap:14px;padding:13px 20px;border-radius:7px;min-height:44px;color:#fff!important;background:#21658f;font-size:14px;font-weight:700;}
.pob-u-primary-button:hover {background:#164f75;}
.pob-u-text-link {color:#21658f!important;font-size:14px;font-weight:700;}
.pob-u-cards {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;}
.pob-u-card {min-width:0;margin:0!important;padding:0!important;border:1px solid #dce8e2;border-radius:8px;overflow:hidden;background:white;box-shadow:none;}
.pob-u-card:hover {box-shadow:0 8px 20px rgba(25,60,55,.08);border-color:#9dc7d2;transition:box-shadow .15s ease;}
.pob-u-card-link {display:flex;flex-direction:column;height:100%;color:inherit!important;}
.pob-u-thumb {aspect-ratio:16/9;display:flex;align-items:center;justify-content:center;overflow:hidden;background:#edf3ef;}
.pob-u-thumb img {display:block;width:100%;height:100%;object-fit:contain;margin:0;}
.pob-u-thumb-fallback {font-size:14px;letter-spacing:.18em;font-weight:800;color:#4c8074;}
.pob-u-card-info {padding:16px;display:flex;flex-direction:column;flex:1;min-width:0;}
.pob-u-card-category {font-size:11px!important;font-weight:800;color:#21658f;margin:0 0 7px!important;}
.pob-u-card h3 {font-size:16px!important;font-weight:750;line-height:1.65;color:#193c37!important;margin:0 0 10px!important;padding:0!important;border:0!important;background:none!important;overflow-wrap:anywhere;}
.pob-u-card-summary {font-size:13px;line-height:1.7;color:#637f73;margin:0 0 18px!important;flex:1;}
.pob-u-card-footer {border-top:1px solid #ebf0ed;padding-top:11px;display:flex;align-items:center;justify-content:space-between;gap:10px;color:#738b80;font-size:12px;}
.pob-u-card-footer span {color:#21658f;font-weight:750;white-space:nowrap;}
.pob-u-pagination {display:flex;justify-content:center;flex-wrap:wrap;gap:8px;margin:28px 0;}
.pob-u-pagination a,.pob-u-pagination span {padding:8px 13px;border-radius:6px;border:1px solid #dce8e2;color:#21658f;min-height:40px;}
.pob-u-pagination .current {background:#21658f;color:#fff;}
.pob-u-empty {padding:35px;background:#f4f8f5;border:1px solid #dce8e2;border-radius:8px;}
.pob-u-topic-switch {margin:40px 0 0;padding:25px;border-radius:9px;background:#f1f7f4;border:1px solid #dce8e2;}
.pob-u-topic-switch>div:first-child p {color:#21658f;margin-bottom:7px;}
.pob-u-topic-links {display:flex;gap:9px;flex-wrap:wrap;margin-top:17px;}
.pob-u-topic-links a {display:inline-flex;gap:7px;padding:10px 14px;border:1px solid #d0e2da;border-radius:6px;background:#fff;font-size:13px;color:#214940;font-weight:700;}
.pob-u-topic-links a:hover {background:#e9f3ec;}
/* The Article Reading UI already covers every regular WP post, irrespective of
 * category. Enhance only its unavailable/disabled fallback, not approved posts. */
body.pob-u-misc:not(.pob-reading-v1) .entry-title {
  border:0!important;border-radius:9px!important;background:linear-gradient(112deg,#193c37,#21658f)!important;
  color:white!important;padding:clamp(22px,4vw,38px)!important;
}
body.pob-u-misc:not(.pob-reading-v1) .entry-content {font-size:16px;line-height:1.95;color:#294a42;}
@media(max-width:850px) {
  .pob-u-shell {width:calc(100% - 22px);padding:0 18px 28px;margin:12px auto 95px;}
  .pob-u-crumb {padding:16px 0 13px;}
  .pob-u-hero {min-height:175px;padding:28px 24px;}
  .pob-u-hero h1 {font-size:clamp(24px,5vw,33px);}
  .pob-u-cards {grid-template-columns:repeat(2,minmax(0,1fr));}
  .pob-u-reading-card {margin-top:18px;padding:24px 22px;}
}
@media(max-width:600px) {
  .pob-u-shell {width:calc(100% - 18px);padding:0 12px 28px;border-radius:8px;}
  .pob-u-hero {padding:27px 21px;min-height:168px;}
  .pob-u-hero h1 {font-size:clamp(23px,5.5vw,30px);}
  .pob-u-hero>p:not(.pob-u-kicker) {font-size:13px;}
  .pob-u-cards {grid-template-columns:1fr;gap:10px;}
  .pob-u-card-link {display:grid;grid-template-columns:min(124px,36%) minmax(0,1fr);gap:11px;align-items:start;padding:10px;}
  .pob-u-thumb {border-radius:6px;}
  .pob-u-card-info {display:contents;}
  .pob-u-card-category {grid-column:1;grid-row:2;margin:-2px 0 0!important;font-size:10px!important;}
  .pob-u-card h3 {grid-column:2;grid-row:1;margin:0!important;font-size:14px!important;line-height:1.55;}
  .pob-u-card-summary {display:none;}
  .pob-u-card-footer {grid-column:2;grid-row:2;margin:0;padding:0;border:0;font-size:11px;}
  .pob-u-card-footer span {display:none;}
  .pob-u-news-content .pob-news-archive-row {grid-template-columns:1fr auto;gap:6px 9px;padding:13px;}
  .pob-u-news-content .pob-news-archive-date {grid-column:1;grid-row:1;}
  .pob-u-news-content .pob-news-archive-type {grid-column:2;grid-row:1;}
  .pob-u-news-content .pob-news-archive-title {grid-column:1;grid-row:2;font-size:14px;}
  .pob-u-news-content .pob-news-archive-arrow {grid-column:2;grid-row:2;}
  .pob-u-reading-card {padding:21px 16px;}
  .pob-u-prose {font-size:15.5px;line-height:1.9;}
  .pob-u-topic-switch {padding:20px 15px;}
}


/* POLARIS v1.0.2 — remove the legacy Cocoon white background *behind*
 * the unified announcement panels. Cocoon's #main still occupies a narrower
 * column even when the new full-width .pob-u-shell is aligned with the footer.
 * Preserve that shell's white canvas; clear only its wrapping legacy layers.
 * Restrict to the three pages served by our dedicated templates.
 */
body.pob-u-notice #content,
body.pob-u-news #content,
body.pob-u-archive #content,
body.pob-u-notice #content-in,
body.pob-u-news #content-in,
body.pob-u-archive #content-in,
body.pob-u-notice #main,
body.pob-u-news #main,
body.pob-u-archive #main,
body.pob-u-notice #main-in,
body.pob-u-news #main-in,
body.pob-u-archive #main-in {
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  border-color: transparent !important;
}
