/* Narrow overrides; retain SWELL layout and the user's minimal navigation. */
.l-header,
.l-header .l-header__inner { width: 100%; max-width: 100%; box-sizing: border-box; }
.l-header .l-header__inner { min-width: 0; }
.l-header .c-iconBtn { flex-shrink: 0; }
.sdvxtips-total-pv { color: #344c58; }
.sdvxtips-total-pv > span { display: none !important; }
.sdvxtips-pv-note { max-width: 720px; margin: 8px auto 16px; font-size: 12px; line-height: 1.8; color: #344c58; text-align: center; }
.sdvxtips-policy-link { margin: 12px 0; text-align: center; }
.sdvxtips-context-nav { display: flex; flex-wrap: wrap; gap: 10px 22px; border-top: 1px solid #d5e0e3; padding-top: 20px; margin: 32px 0 0; }
.sdvxtips-context-nav a { padding: 8px 0; font-size: 14px; }
.sdvxtips-comment-rule { color: #344c58; font-size: 13px; line-height: 1.8; }

/* Home's existing X and contact links: the whole card is one anchor. */
#body_wrap .post_content .sdvx-sketch-bottom.sdvx-home-actions {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 20px !important;
}
#body_wrap .sdvx-home-actions > .wp-block-column { display: flex; min-width: 0; }
#body_wrap .post_content .sdvx-home-actions .sdvx-sketch-bottom-title {
  width: 100%;
  margin: 0 !important;
  font-size: 20px !important;
}
#body_wrap .post_content .sdvx-home-actions a.sdvx-home-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  min-height: 96px;
  height: 100%;
  box-sizing: border-box;
  padding: 18px 24px;
  border: 1px solid #91babe;
  border-radius: 16px;
  background: #edf7f6;
  color: #153c44;
  box-shadow: 0 3px 10px rgba(7, 59, 70, .06);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
  white-space: normal;
  transition: background .15s, border-color .15s, box-shadow .15s;
}
#body_wrap .post_content .sdvx-home-actions a.sdvx-home-action:hover {
  background: #dcefed;
  border-color: #167c89;
  box-shadow: 0 5px 14px rgba(7, 59, 70, .12);
  text-decoration: none;
}
#body_wrap .post_content .sdvx-home-actions a.sdvx-home-action:focus-visible {
  outline: 3px solid #167c89;
  outline-offset: 4px;
}
#body_wrap .sdvx-home-actions .sdvx-x-avatar-wrap { flex-shrink: 0; }
#body_wrap .sdvx-home-actions .sdvx-x-username { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 599px) {
  .l-header .c-iconBtn { max-width: 140px; font-size: 12px; padding-inline: 12px; }
  .sdvxtips-pv-note { padding-inline: 16px; }
  #body_wrap .post_content .sdvx-sketch-bottom.sdvx-home-actions {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px !important;
  }
  #body_wrap .post_content .sdvx-home-actions a.sdvx-home-action {
    min-height: 80px;
    padding: 14px 18px;
    font-size: 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  #body_wrap .post_content .sdvx-home-actions a.sdvx-home-action { transition: none; }
}

/* Text links on light backgrounds; buttons keep their existing styling. */
#body_wrap { --color_link: #00617a; }
#body_wrap .post_content p a:not(.wp-block-button__link):not(.sdvx-home-action):not(.sdvxtips-score-cta),
#body_wrap .post_content li a:not(.wp-block-button__link),
#body_wrap .sdvxtips-search-help a,
#body_wrap .sdvxtips-policy-link a {
  color: #00617a;
  text-decoration: underline;
  text-underline-offset: .2em;
}
#body_wrap a:focus-visible, #body_wrap button:focus-visible,
#body_wrap input:focus-visible, #search_modal input:focus-visible,
#search_modal button:focus-visible { outline: 3px solid #00617a; outline-offset: 4px; }
#body_wrap.postid-91 .p-articleThumb { display: none; }
.sdvxtips-search-help { margin-top: 28px; max-width: 720px; }
.sdvxtips-search-help h2 { font-size: 1.25rem; margin-bottom: 16px; }
.sdvxtips-search-help p { line-height: 1.9; margin: 16px 0; }
.sdvxtips-search-again label { display: block; margin-bottom: 8px; font-weight: 700; }
.sdvxtips-search-again > div { display: flex; gap: 10px; }
.sdvxtips-search-again input { min-width: 0; width: 100%; padding: 12px; border: 1px solid #617b86; border-radius: 6px; background: #fff; }
.sdvxtips-search-again button { flex-shrink: 0; padding: 12px 18px; color: #fff; background: #07394a; border: 0; border-radius: 6px; font-weight: 700; }
#body_wrap .sdvx-blog-cards .wp-block-post-excerpt { font-size: 15px; line-height: 1.8; margin: 12px 0; }
#body_wrap .sdvx-blog-cards .wp-block-post-terms { font-size: 13px; margin: 12px 0; }
@media(max-width:599px) { #body_wrap .sdvx-blog-cards .wp-block-post-template { grid-template-columns: 1fr; } }
.sdvxsd-list-dates {margin:8px 0;color:#435b66;font-size:13px;line-height:1.8;overflow-wrap:anywhere;}
