/* Tips & Tricks: shared editorial layout, scoped to the publication surfaces. */
.tips-library,
.tips-publication {
  --tips-ink: #13374b;
  --tips-muted: #526d7d;
  --tips-teal: #007f83;
  --tips-gold: #e7ba65;
  background: #f3f7f8;
  color: var(--tips-ink);
}
.tips-library *,
.tips-publication * {
  box-sizing: border-box;
}
.tips-library .shell,
.tips-publication .shell {
  width: calc(100% - 64px);
  max-width: 1240px;
  margin-inline: auto;
}
.tips-kicker {
  font: 650 0.8rem/1.5 system-ui;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 18px;
  color: #338488;
}
.tips-cover {
  background: #071e2d;
  color: #fff;
  border-bottom: 4px solid var(--tips-gold);
  overflow: hidden;
}
.tips-cover-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  min-height: 440px;
  gap: 48px;
  padding-block: 48px;
}
.tips-cover-copy {
  position: relative;
  z-index: 1;
}
.tips-cover .tips-kicker {
  color: #80d8cc;
}
.tips-cover h1 {
  font-size: clamp(3.2rem, 5.8vw, 5.4rem);
  line-height: 1;
  letter-spacing: -0.06em;
  color: #fff;
  margin: 0 0 26px;
  font-weight: 750;
}
.tips-cover h1 span {
  color: var(--tips-gold);
  font-weight: 400;
}
.tips-cover h2 {
  font-size: clamp(1.3rem, 2vw, 1.65rem);
  color: #f0f7fa;
  line-height: 1.4;
  font-weight: 500;
  max-width: 25ch;
  margin: 0 0 18px;
}
.tips-cover-copy > p:not(.tips-kicker) {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #b4cbd6;
  max-width: 49ch;
  margin: 0;
}
.tips-cover-meta {
  margin-top: 30px;
  color: #8cd6cc;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}
.tips-cover img {
  display: block;
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: 3px 46px 3px 3px;
  border: 1px solid #6b91a34d;
  box-shadow: 20px 22px 0 #163648;
}
.tips-collection {
  padding-block: 52px 70px;
}
.tips-collection-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 28px;
}
.tips-collection-heading .tips-kicker {
  margin-bottom: 8px;
}
.tips-collection-heading h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  letter-spacing: -0.035em;
  color: var(--tips-ink);
  margin: 0;
}
.tips-collection-heading > span {
  font-size: 0.88rem;
  color: var(--tips-muted);
  padding-bottom: 5px;
  white-space: nowrap;
}
.tips-library .tips-toolbar {
  display: flex;
  gap: 24px;
  align-items: end;
  padding: 24px;
  background: #fff;
  border: 1px solid #dae5e9;
  border-radius: 12px;
  margin: 0 0 10px;
}
.tips-search-wrap {
  display: block;
  flex: 1 1 310px;
  min-width: 230px;
}
.tips-search-wrap > span {
  display: block;
  font-size: 0.88rem;
  font-weight: 650;
  margin-bottom: 8px;
  color: var(--tips-ink);
}
.tips-search-wrap input {
  width: 100%;
  min-height: 48px;
  padding: 12px 15px;
  border: 1px solid #b8ced7;
  border-radius: 7px;
  background: #f8fbfc;
  color: #143447;
  font: 1rem system-ui;
  box-sizing: border-box;
}
.tips-library .tips-filters {
  display: flex;
  gap: 7px;
  flex: 1.7;
  flex-wrap: wrap;
}
.tips-library .tip-filter {
  border: 1px solid #d0e0e5;
  border-radius: 7px;
  background: #f6f9fa;
  color: #365568;
  min-height: 40px;
  padding: 9px 12px;
  font: 550 0.88rem system-ui;
  cursor: pointer;
}
.tips-library .tip-filter.active {
  background: #104a5c;
  color: #fff;
  border-color: #104a5c;
}
.tips-results {
  color: var(--tips-muted);
  font-size: 0.85rem;
  margin: 16px 0 24px;
}
.tips-library .tips-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.tips-library .tip-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #fff;
  border: 1px solid #d9e5e9;
  border-radius: 12px;
  padding: 28px;
  overflow: hidden;
  box-shadow: 0 3px 9px #09253405;
  transition:
    transform 0.2s,
    border-color 0.2s,
    box-shadow 0.2s;
}
.tips-library .tip-card:hover {
  transform: translateY(-4px);
  border-color: #52aaa5;
  box-shadow: 0 12px 28px #09253414;
}
.tips-library .tip-card[hidden] {
  display: none;
}
.tips-library .tip-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
}
.tips-library .tip-number {
  font-size: 2rem;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: #007f83;
}
.tips-library .tip-tag {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  font-weight: 650;
  color: #4d6979;
  border: 1px solid #d3e3e7;
  border-radius: 4px;
  padding: 6px 9px;
  background: #f4f8f9;
}
.tips-library .tip-card h3 {
  font-size: 1.4rem;
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: -0.025em;
  margin: 0 0 13px;
  color: #13374b;
  max-width: 26ch;
}
.tips-library .tip-card > p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--tips-muted);
  margin: 0 0 26px;
}
.tips-library .tip-open {
  align-self: start;
  margin-top: auto;
  padding: 10px 0 3px;
  color: #006d72;
  background: none;
  border: 0;
  border-radius: 0;
  border-bottom: 2px solid #73b4ac;
  text-decoration: none;
  font: 650 0.93rem/1.4 system-ui;
  white-space: normal;
}
.tips-library .tip-card-featured {
  background: #082938;
  grid-column: span 2;
  padding-right: 44%;
  min-height: 330px;
  border-color: #082938;
}
.tips-library .tip-card-featured .tip-card-image {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 42%;
  object-fit: cover;
  object-position: center;
}
.tips-library .tip-card-featured h3 {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  color: #fff;
}
.tips-library .tip-card-featured p {
  color: #b6d0da;
}
.tips-library .tip-card-featured .tip-number {
  color: #f2c878;
}
.tips-library .tip-card-featured .tip-tag {
  background: #193c4b;
  color: #a6dacc;
  border-color: #42616b;
}
.tips-library .tip-card-featured .tip-open {
  color: #a0e3d4;
}
.tips-empty {
  padding: 36px;
  text-align: center;
  border: 1px solid #d3e3e8;
  background: #fff;
  color: #365568;
  border-radius: 10px;
}
.tips-article-heading {
  background: #082635;
  color: #fff;
  border-bottom: 3px solid var(--tips-gold);
  padding: 30px 0 44px;
}
.tips-article-heading .tips-back {
  display: inline-block;
  color: #bad4df;
  text-decoration: none;
  font-size: 0.9rem;
  margin: 0 0 32px;
  border-bottom: 1px solid #5a7a87;
  padding-bottom: 3px;
}
.tips-article-heading .tips-kicker {
  color: #9ddfd2;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}
.tips-article-heading h1 {
  font-size: clamp(2rem, 4.1vw, 3.5rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
  color: #fff;
  margin: 0 0 20px;
  max-width: 28ch;
}
.tips-deck {
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  line-height: 1.65;
  color: #c4d8e2;
  max-width: 65ch;
  margin: 0 0 28px;
}
.tips-article-meta {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 0.88rem;
  color: #a5bfcc;
}
.tips-pdf {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  text-decoration: none;
  color: #092c39;
  background: #a2dfcd;
  border: 1px solid #c9f7e8;
  border-radius: 7px;
  padding: 11px 18px;
  font-size: 0.93rem;
  font-weight: 700;
  line-height: 1.4;
}
.tips-pdf:hover {
  background: #c3efdf;
  color: #092c39;
}
.tips-reading-layout {
  display: grid;
  grid-template-columns: 200px minmax(0, 790px);
  gap: 70px;
  padding-block: 54px 74px;
  justify-content: center;
}
.tips-reading-note {
  color: #617988;
  font-size: 0.9rem;
  line-height: 1.7;
  padding-top: 10px;
}
.tips-reading-note strong {
  display: block;
  font-weight: 500;
  font-size: 1.4rem;
  line-height: 1.4;
  color: #214858;
  margin: 0 0 20px;
  max-width: 13ch;
}
.tips-reading-rule {
  width: 40px;
  height: 3px;
  background: #c2a469;
  margin: 24px 0;
}
.tips-prose {
  min-width: 0;
  color: #284a5c;
  font-size: 1.125rem;
  line-height: 1.85;
  overflow-wrap: anywhere;
}
.tips-prose h2 {
  color: #103b50;
  font-size: clamp(1.5rem, 2.5vw, 1.9rem);
  line-height: 1.3;
  letter-spacing: -0.025em;
  margin: 0 0 20px;
  font-weight: 650;
}
.tips-prose h3 {
  color: #164458;
  font-size: 1.2rem;
  line-height: 1.45;
  margin: 28px 0 12px;
  font-weight: 650;
}
.tips-prose p {
  margin: 0 0 24px;
}
.tips-prose p:last-child {
  margin-bottom: 0;
}
.tips-section {
  margin: 0;
  padding: 0 0 36px;
  border: 0;
  border-bottom: 1px solid #d6e3e7;
  background: none;
  border-radius: 0;
  box-shadow: none;
}
.tips-section + .tips-section {
  margin-top: 36px;
}
.tips-prose a {
  color: #006f7b;
  text-underline-offset: 4px;
}
.tips-keypoint {
  margin: 28px 0;
  padding: 20px 24px;
  border-left: 4px solid #16978e;
  background: #e3f0ee;
}
.tips-keypoint > span {
  display: block;
  font-size: 0.9rem;
  color: #3e6d70;
  margin-bottom: 4px;
}
.tips-keypoint > strong {
  display: block;
  font-size: 1.9rem;
  line-height: 1.4;
  color: #0d5361;
  margin: 0 0 8px;
}
.tips-keypoint p {
  margin: 0;
}
.tips-note {
  padding: 20px 24px;
  margin: 28px 0;
  background: #fcf5e5;
  border-left: 4px solid #cb9b3e;
  font-size: 1.04rem;
  color: #654f2c;
}
.tips-note p {
  margin: 0;
}
.tips-steps {
  list-style: decimal;
  padding-left: 27px;
  margin: 24px 0;
}
.tips-steps li {
  padding: 0 0 18px 10px;
  margin: 0 0 15px;
  border-bottom: 1px solid #dbe7e9;
}
.tips-steps li::marker {
  font-weight: 700;
  color: #007f83;
}
.tips-steps h3 {
  margin: 0 0 7px;
}
.tips-steps p {
  margin: 0;
}
.tips-steps li:last-child {
  margin: 0;
  border: 0;
  padding-bottom: 0;
}
.tips-table {
  margin: 28px 0;
  max-width: 100%;
}
.tips-prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  background: #fff;
  table-layout: fixed;
  font-size: 1rem;
  line-height: 1.6;
}
.tips-prose th {
  background: #174858;
  color: #fff;
  text-align: left;
  padding: 15px 18px;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.tips-prose td {
  padding: 16px 18px;
  border-bottom: 1px solid #d5e3e7;
  color: #254b5b;
  overflow-wrap: anywhere;
}
.tips-prose tr:nth-child(even) td {
  background: #edf4f5;
}
.tips-prose blockquote {
  font-size: 1.6rem;
  line-height: 1.5;
  color: #115769;
  padding: 10px 0 10px 25px;
  margin: 28px 0;
  border-left: 3px solid #52a89b;
  background: none;
  font-weight: 550;
}
.tips-prose img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 28px auto;
  border-radius: 8px;
}
.tips-citations {
  white-space: normal;
  font-size: 0.82em;
}
.tips-citation {
  display: inline-block;
  font-weight: 650;
  padding: 0 3px;
  text-decoration: underline;
}
.tips-sources {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 2px solid #c4d9de;
  font-size: 0.98rem;
  line-height: 1.7;
}
.tips-sources > p {
  color: #567785;
  font-size: 0.95rem;
}
.tips-sources ol {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
}
.tips-sources li {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 9px;
  border-bottom: 1px solid #dce7e9;
  padding: 13px 0;
}
.tips-source-number {
  color: #007f83;
  font-weight: 700;
}
.tips-next {
  margin-top: 48px;
  border-top: 1px solid #c6dbe0;
  padding-top: 28px;
}
.tips-next h2 {
  font-size: 1.3rem;
}
.tips-next a {
  display: block;
  padding: 10px 0;
  font-size: 1rem;
}
.tips-library :focus-visible,
.tips-publication :focus-visible,
.tips-news :focus-visible {
  outline: 3px solid #d1a344;
  outline-offset: 5px;
}
/* A single link carries the news; no nested controls and no JavaScript timer. */
.tips-news {
  background: #0b3040;
  border-bottom: 1px solid #356275;
  color: #e5f5f8;
}
.tips-news .shell {
  max-width: 1440px;
  width: calc(100% - 40px);
  margin: auto;
}
.tips-news-inner {
  display: flex;
  align-items: stretch;
  gap: 22px;
  min-height: 52px;
}
.tips-news-label {
  display: flex;
  align-items: center;
  flex: none;
  color: #f1ca79;
  font: 700 0.85rem system-ui;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.tips-news-link {
  display: block;
  overflow: hidden;
  flex: 1;
  min-width: 0;
  color: #e5f5f8;
  text-decoration: none;
  align-content: center;
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 12px,
    #000 calc(100% - 12px),
    transparent
  );
}
.tips-news-track {
  display: flex;
  width: max-content;
  animation: tips-news-flow 240s linear infinite;
}
.tips-news-items {
  display: flex;
  align-items: center;
  gap: 46px;
  padding-right: 46px;
  flex: none;
}
.tips-news-items > span {
  display: flex;
  gap: 13px;
  align-items: center;
  white-space: nowrap;
  font-size: 0.95rem;
}
.tips-news-items b {
  color: #92d9c9;
  font-weight: 600;
  font-size: 0.85rem;
}
.tips-news-pause {
  align-self: center;
  flex: none;
  background: transparent;
  border: 1px solid #628290;
  border-radius: 5px;
  color: #d7edf3;
  width: 34px;
  height: 34px;
  font: 650 17px system-ui;
  cursor: pointer;
}
.tips-news:hover .tips-news-track,
.tips-news:focus-within .tips-news-track,
.tips-news.is-paused .tips-news-track {
  animation-play-state: paused;
}
@keyframes tips-news-flow {
  to {
    transform: translateX(-50%);
  }
}
@media (max-width: 950px) {
  .tips-cover-inner {
    gap: 28px;
  }
  .tips-cover img {
    height: 300px;
  }
  .tips-library .tips-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .tips-library .tips-toolbar {
    align-items: stretch;
    flex-direction: column;
    gap: 18px;
  }
  .tips-search-wrap {
    flex: auto;
  }
  .tips-reading-layout {
    grid-template-columns: 140px minmax(0, 1fr);
    gap: 35px;
  }
  .tips-cover-meta {
    font-size: 0.75rem;
  }
  .tips-collection-heading {
    align-items: start;
    flex-direction: column;
    gap: 12px;
  }
}
@media (max-width: 650px) {
  .tips-library .shell,
  .tips-publication .shell {
    width: calc(100% - 36px);
  }
  .tips-cover-inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding-block: 34px;
    gap: 28px;
  }
  .tips-cover img {
    height: 200px;
    box-shadow: 10px 10px 0 #163648;
    border-radius: 3px 25px 3px 3px;
  }
  .tips-cover h1 {
    font-size: 3.6rem;
  }
  .tips-cover h2 {
    max-width: none;
    font-size: 1.4rem;
  }
  .tips-cover-meta {
    margin-top: 20px;
  }
  .tips-collection {
    padding-block: 32px 44px;
  }
  .tips-library .tips-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .tips-library .tip-card {
    padding: 24px;
  }
  .tips-library .tip-card-featured {
    grid-column: auto;
    padding: 24px;
    min-height: 0;
  }
  .tips-library .tip-card-featured .tip-card-image {
    position: static;
    width: calc(100% + 48px);
    max-width: none;
    height: 180px;
    margin: -24px -24px 24px;
    object-position: 50% 38%;
  }
  .tips-library .tips-toolbar {
    padding: 18px;
  }
  .tips-library .tip-card-top {
    margin-bottom: 18px;
  }
  .tips-library .tip-card h3 {
    max-width: none;
  }
  .tips-library .tip-filter {
    padding: 8px 10px;
  }
  .tips-reading-layout {
    display: block;
    padding-block: 32px 44px;
  }
  .tips-reading-note {
    display: none;
  }
  .tips-prose {
    font-size: 1.06rem;
    line-height: 1.8;
  }
  .tips-article-heading {
    padding-block: 22px 30px;
  }
  .tips-article-heading .tips-back {
    margin-bottom: 25px;
  }
  .tips-article-meta {
    align-items: start;
    flex-direction: column;
    gap: 16px;
  }
  .tips-article-heading h1 {
    font-size: 2.25rem;
  }
  .tips-prose th,
  .tips-prose td {
    padding: 12px 10px;
    font-size: 0.9rem;
  }
  .tips-keypoint,
  .tips-note {
    padding: 17px 19px;
  }
  .tips-news .shell {
    width: calc(100% - 24px);
  }
  .tips-news-inner {
    gap: 12px;
  }
  .tips-news-label {
    font-size: 0.72rem;
  }
  .tips-news-items > span {
    font-size: 0.85rem;
  }
  .tips-news-items {
    gap: 30px;
    padding-right: 30px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .tips-news-track {
    animation: none;
  }
  .tips-news-items[aria-hidden] {
    display: none;
  }
  .tips-news-link {
    overflow-x: auto;
    mask-image: none;
  }
  .tips-news-pause {
    display: none;
  }
  .tips-library .tip-card {
    transition: none;
  }
  .tips-library .tip-card:hover {
    transform: none;
  }
}
@media print {
  .tips-publication .tips-article-heading {
    background: #fff;
    color: #000;
  }
  .tips-publication h1,
  .tips-publication .tips-deck {
    color: #000;
  }
  .tips-reading-layout {
    display: block !important;
  }
  .tips-reading-note,
  .tips-pdf,
  .tips-next,
  .tips-back {
    display: none !important;
  }
  .tips-prose {
    font-size: 11pt;
  }
  .tips-publication .shell {
    width: 100%;
  }
  .tips-section {
    break-inside: auto;
  }
  .tips-prose h2 {
    break-after: avoid;
  }
  .tips-news {
    display: none;
  }
}

.tips-news-pause span {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-left: 3px solid currentColor;
  border-right: 3px solid currentColor;
  box-sizing: border-box;
  vertical-align: middle;
}
.tips-news.is-paused .tips-news-pause span {
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 10px solid currentColor;
  border-right: 0;
}

.tips-original-banner{display:block;width:100%;max-width:960px;height:auto;margin:0 0 28px;border-radius:8px}
