.migrated-main{max-width:1120px;padding-top:42px;padding-bottom:64px}
.page-content{max-width:850px;margin:auto;background:#fff;border:1px solid #e3e8ed;border-radius:18px;padding:clamp(22px,4vw,52px);line-height:1.8;color:#293547;overflow-wrap:anywhere}
.page-content h1{font-size:clamp(29px,4vw,43px);line-height:1.2;margin:0 0 24px;color:#132d48;letter-spacing:-.025em}
.page-content h2{font-size:clamp(23px,3vw,29px);line-height:1.35;margin:34px 0 16px;color:#132d48}
.page-content h3{font-size:21px;line-height:1.4;margin:28px 0 12px}
.page-content p{margin:0 0 20px}.page-content ul,.page-content ol{padding-left:26px;margin:18px 0}.page-content li{margin-bottom:9px}
.page-content a,.archive-content a{color:#08769a;text-underline-offset:3px}.page-content img,.archive-content img{max-width:100%;height:auto;border-radius:8px}
.page-content figure{margin:28px 0}.page-content figcaption{font-size:14px;color:#586577;margin-top:8px;text-align:center}
.entry-meta{color:#667386;font-size:14px;margin:10px 0 25px}.entry-meta .updated:not(.published){display:none}
.search-widget{padding:22px;background:#f2f8fb;border-radius:14px;margin:26px 0}.search-widget .results{background:#fff}
.home-content{max-width:none}.home-content>h1,.home-content>h2:first-of-type{text-align:center}.home-content>.search-widget{max-width:900px;margin:30px auto}
.info-note,.contact-panel{border-left:4px solid #16819b;background:#f1f8fa;padding:20px 24px;margin:26px 0;border-radius:6px}
.guide-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin:28px 0}
.guide-card{border:1px solid #e1e8ee;border-radius:12px;overflow:hidden;background:#fff}.guide-card h3,.guide-card p{padding:0 20px}.guide-card img{width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:0}.guide-card h3{font-size:19px;line-height:1.4}.guide-card p{font-size:14px}.guide-card>a{text-decoration:none}
.archive-content #main{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:26px}.archive-content .page-header,.archive-content .paging-navigation{grid-column:1/-1}
.archive-content article{background:#fff;border:1px solid #e1e8ee;border-radius:14px;padding:25px}.archive-content .entry-title{font-size:25px;line-height:1.35}.archive-content .entry-title a{text-decoration:none}.archive-content .post-image{margin:16px 0}.archive-content .entry-summary{line-height:1.75}.archive-content .read-more{font-weight:600}
.archive-content .page-numbers{display:inline-block;padding:9px 14px;margin:4px;border:1px solid #dbe4ec;border-radius:6px}.archive-content .current{background:#e5f4f8}.screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
@media(max-width:720px){.guide-grid,.archive-content #main{grid-template-columns:1fr}.migrated-main{padding-top:22px}.page-content{padding:22px}.search-widget{padding:12px}.main-nav{gap:12px!important;flex-wrap:wrap}.brand-logo{max-width:190px}.page-content table{display:block;overflow-x:auto}.site-header .header-inner{flex-wrap:wrap;gap:14px}}

.page-content .results-list{list-style:none;padding:0;margin:0}.page-content .results-list li{margin-bottom:0}

/* Compact header: keep the original logo at a readable, balanced size. */
.site-header .header-inner {
  min-height: 64px;
  padding-top: 10px;
  padding-bottom: 10px;
  gap: 20px;
}
.site-header .brand { min-width: 0; }
.site-header .brand-logo {
  display: block;
  width: 280px;
  max-width: 100%;
  height: auto;
  max-height: none;
}
.site-header .main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.site-header .main-nav a {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  padding: 6px 0;
}
@media (max-width: 720px) {
  .site-header .header-inner {
    min-height: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding-top: 10px;
    padding-bottom: 8px;
  }
  .site-header .brand-logo { width: 190px; }
  .site-header .main-nav { gap: 16px !important; }
  .site-header .main-nav a { font-size: 13px; padding: 5px 0; }
}

/* Keep background-search button labels white in every link state. */
.page-content a.partner-btn,
.page-content a.partner-btn:link,
.page-content a.partner-btn:visited,
.page-content a.partner-btn:hover,
.page-content a.partner-btn:focus,
.page-content a.partner-btn:active {
  color: #ffffff;
}

/* Profile URLs are selectable text, never outbound links. */
.result-view-seg { min-width: 0; flex-direction: column; }
.profile-url {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  padding: 7px 8px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background: #f8fafc;
  color: #293547;
  font: inherit;
  font-size: 13px;
  cursor: text;
}
.copy-profile-btn {
  padding: 6px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background: #f1f5f9;
  color: #132d48;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.copy-profile-btn:hover { background: #e2e8f0; }
.copy-profile-btn:focus-visible, .profile-url:focus-visible {
  outline: 2px solid #1976d2;
  outline-offset: 2px;
}
.copy-profile-status { font-size: 12px; line-height: 1.4; text-align: center; }
.copy-profile-status:empty { display: none; }
