/* ver54.7: supplied NEWS artwork and a home link within the white page area. */
.subpage .subpage-main {
  position: relative;
  --v547-logo-width: 150px;
  --v547-logo-top: 50px;
  --v547-logo-right: 56px;
}
.subpage .v547-home-logo {
  position: absolute;
  top: var(--v547-logo-top);
  right: var(--v547-logo-right);
  width: var(--v547-logo-width);
  display: block;
  line-height: 0;
  border: 0;
  transition: opacity .2s ease;
}
.subpage .v547-home-logo img { display: block; width: 100%; height: auto; }
.subpage .v547-home-logo:focus-visible { outline: 3px solid #12664d; outline-offset: 5px; }
@media (hover:hover) { .subpage .v547-home-logo:hover { opacity: .75; } }
.news-theme181 .subpage-main {
  --v547-logo-width: 180px;
  --v547-logo-top: 66px;
  --v547-logo-right: 76px;
}
.news-theme181.news-detail-page .subpage-main { --v547-logo-width: 150px; }
.news-theme181 .subpage-main::before { clip-path: none; background: #fff; }
.news-theme181 .subpage-main::after { content: none; }
.news-theme181 .news-breadcrumbs,
.news-theme181 .news-archive-intro { padding-right: calc(var(--v547-logo-width) + 24px); }
.news-theme181 .subpage-main .v547-news-heading {
  width: 160px;
  max-width: 100%;
  margin: 0;
  padding: 0;
  line-height: 0;
  border: 0;
}
.news-theme181 .v547-news-heading img { display: block; width: 100%; height: auto; }
@media (max-width:900px) {
  .news-theme181 .subpage-main { --v547-logo-top: 48px; --v547-logo-right: 38px; }
}
@media (max-width:767px) {
  .subpage .subpage-main { --v547-logo-width: 96px; }
  .contact-page .subpage-main { --v547-logo-top: 30px; --v547-logo-right: 20px; }
  .news-theme181.news-detail-page .subpage-main { --v547-logo-width: 96px; }
  .news-theme181 .news-breadcrumbs,
  .news-theme181 .news-archive-intro { padding-right: calc(var(--v547-logo-width) + 16px); }
  .news-theme181 .subpage-main .v547-news-heading { width: 132px; }
}
@media (max-width:600px) {
  .news-theme181 .subpage-main { --v547-logo-top: 33px; --v547-logo-right: 23px; }
}
/* Preserve the approved CONTACT heading size when a single row would not fit. */
@media (max-width:374px) {
  .contact-page .subpage-main { padding-top: 110px; }
}
@media (max-width:359px) {
  .news-theme181 .subpage-main { --v547-logo-right: 20px; }
}
@media (prefers-reduced-motion:reduce) { .subpage .v547-home-logo { transition: none; } }
