/*
Theme Name: TIP Friendly Society 2026
Theme URI: https://tipfriendly.com
Author: TIP Friendly Society
Description: Member-facing site for TIP Friendly Society — loans, savings and insurance for Jamaica's education community. Royal-blue brand bar, navy footer, red accents. All content is editable in wp-admin: pages, news posts, products, people, forms, reports, newsletters and branches.
Version: 2.4.12
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: tipfs
*/

:root {
  --tip-blue: #2253A8;
  --tip-nav: #1B4693;
  --tip-navy: #10295B;
  --tip-footer: #12295A;
  --tip-strip: #2752A7;
  --tip-red: #ED1C24;
  --tip-red-dark: #C8121A;
  --tip-red-tint: #FEF1F2;
  --tip-surface: #F4F7FC;
  --tip-chip: #EAF0F9;
  --tip-border: #E3EAF4;
  --tip-line: #CBD8EC;
  --tip-body: #4E5A70;
  --tip-muted: #616E86;
  --tip-dim: #6B7891;
  --tip-head: 'Plus Jakarta Sans', 'Helvetica Neue', Arial, sans-serif;
  --tip-display: 'Figtree', 'Plus Jakarta Sans', 'Helvetica Neue', Arial, sans-serif;
  --tip-ui: 'Public Sans', 'Source Sans 3', 'Helvetica Neue', Arial, sans-serif;
  --tip-text: 'Source Sans 3', 'Helvetica Neue', Arial, sans-serif;
  --tip-wrap: 1560px;            /* matches forms.tipfriendly.com */
  --tip-gap: clamp(20px, 4vw, 64px);
  --tip-brandbar: 108px;
  --tip-brandbar-condensed: 76px;
  --tip-logo: 58px;
  --tip-logo-condensed: 38px;
}

*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0; background: #fff; color: var(--tip-navy);
  font-family: var(--tip-text); font-size: 17px; line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5 { font-family: var(--tip-head); margin: 0; text-wrap: balance; color: var(--tip-navy); }
p { margin: 0 0 1em; text-wrap: pretty; color: var(--tip-body); }
p:last-child { margin-bottom: 0; }
a { color: var(--tip-nav); text-decoration: none; }
a:hover { color: var(--tip-red); }
img { max-width: 100%; height: auto; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; color: var(--tip-body); }
figure { margin: 0; }
input, select, textarea, button { font-family: inherit; font-size: inherit; }
.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.tip-skip:focus {
  position: fixed; top: 8px; left: 8px; z-index: 999; background: #fff;
  padding: 12px 18px; border-radius: 8px; box-shadow: 0 8px 24px rgba(16,41,91,.3);
  width: auto; height: auto; overflow: visible; clip: auto; clip-path: none;
  color: var(--tip-navy); font-weight: 700;
}
#tip-main:focus { outline: none; }

/* Keyboard focus has to be visible on every interactive thing, including the
   ones that set their own outline: none for the mouse case. */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible,
textarea:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--tip-red, #E03A45);
  outline-offset: 2px;
  border-radius: 4px;
}
.tip-navbar a:focus-visible, .tip-brandbar a:focus-visible, .tip-navtoggle:focus-visible,
.tip-footer a:focus-visible {
  outline: 3px solid #fff;
  outline-offset: -3px;
}

/* ---------- breadcrumbs ---------- */
.tip-crumbs { margin: 0 0 22px; font-size: 14.5px; }
.tip-crumbs ol {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  margin: 0; padding: 0; list-style: none;
}
.tip-crumbs li { display: flex; align-items: center; gap: 8px; }
.tip-crumbs a { color: var(--tip-blue); text-decoration: none; }
.tip-crumbs a:hover { text-decoration: underline; }
.tip-crumbs [aria-current="page"] { color: var(--tip-body); }
.tip-crumbs__sep { color: #A9B4C7; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; scroll-behavior: auto !important;
  }
}

/* ---------- layout ---------- */
.tip-wrap { max-width: var(--tip-wrap); margin: 0 auto; padding: 0 var(--tip-gap); }
.tip-narrow { max-width: 1000px; margin: 0 auto; padding: 0 var(--tip-gap); }
.tip-section { padding: 84px 0 0; }
.tip-section--tight { padding: 56px 0 0; }
.tip-grid { display: grid; gap: 24px; }
.tip-grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 272px), 1fr)); }
.tip-grid--bdo { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; padding-left: clamp(14px, 1.6vw, 24px); padding-right: clamp(14px, 1.6vw, 24px); }
@media (max-width: 1100px) { .tip-grid--bdo { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) { .tip-grid--bdo { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tip-grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 228px), 1fr)); gap: 20px; }
.tip-grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.tip-split { display: grid; gap: 52px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); align-items: center; }
.tip-split--top { align-items: start; }

/* ---------- chrome ---------- */
.tip-brandbar { background: var(--tip-blue); color: #fff; }
.tip-brandbar { position: sticky; top: 0; z-index: 70; margin-bottom: 0; transition: margin-bottom .22s ease; }
.tip-brandbar__inner {
  max-width: var(--tip-wrap); margin: 0 auto; padding: 0 var(--tip-gap);
  height: var(--tip-brandbar); display: flex; align-items: center; justify-content: space-between; gap: 16px;
  transition: height .22s ease;
}
.tip-brand { display: flex; align-items: center; gap: 16px; min-width: 0; max-width: 100%; }
.tip-brand img {
  height: var(--tip-logo); width: auto; display: block; transition: height .22s ease;
}
.tip-brand__divider {
  width: 1px; height: 34px; background: rgba(255,255,255,.24); display: block; flex-shrink: 0;
}
.tip-brand__tag {
  font-family: 'Public Sans', var(--tip-body-font, system-ui), sans-serif;
  font-weight: 400; font-size: 16.5px; line-height: 1.1;
  letter-spacing: 0; color: #FFFFFF; min-width: 0;
}
.tip-is-condensed .tip-brandbar__inner { height: var(--tip-brandbar-condensed); }
/* Hand the height the bar gives up back to the page as margin, so the content
   below never moves when the bar condenses — that shift was what made the page
   jump (and, near the threshold, flicker between the two states). */
.tip-is-condensed .tip-brandbar { margin-bottom: calc(var(--tip-brandbar) - var(--tip-brandbar-condensed)); }
.tip-is-condensed .tip-brand img { height: var(--tip-logo-condensed); }
.tip-brandbar__actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.tip-brandbar__actions .tip-btn { font-family: var(--tip-ui); }
.tip-btn {
  display: inline-block; font-family: var(--tip-head); font-weight: 700; font-size: 15.5px;
  padding: 15px 26px; border-radius: 9px; border: 1px solid transparent; cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.tip-btn--red { background: var(--tip-red); color: #fff; }
.tip-btn--red:hover { background: var(--tip-red-dark); color: #fff; }
.tip-btn--ghost { background: #fff; color: var(--tip-nav); border-color: var(--tip-line); }
.tip-btn--ghost:hover { background: var(--tip-surface); border-color: var(--tip-blue); color: var(--tip-nav); }
.tip-btn--outline { background: transparent; color: #fff; border-width: 1.5px; border-color: rgba(255,255,255,.45); font-weight: 600; }
.tip-btn--outline:hover { background: #fff; color: var(--tip-nav); border-color: #fff; }
.tip-btn--navy { background: var(--tip-nav); color: #fff; }
.tip-btn--navy:hover { background: var(--tip-red); color: #fff; }
.tip-btn--sm { font-size: 14px; padding: 12px 19px; border-radius: 7px; }
.tip-btn--block { display: block; width: 100%; text-align: center; }

.tip-navbar { position: sticky; top: var(--tip-brandbar-condensed); z-index: 60; background: var(--tip-nav); box-shadow: 0 2px 10px rgba(8,26,60,.16); }
.tip-navbar__inner {
  max-width: var(--tip-wrap); margin: 0 auto; padding: 0 var(--tip-gap);
  display: flex; flex-wrap: wrap; align-items: stretch; gap: 6px; position: relative;
}
.tip-nav { display: flex; flex-wrap: wrap; align-items: stretch; gap: 2px; margin: 0; padding: 0; list-style: none; }
.tip-nav li { display: flex; align-items: stretch; position: relative; }
.tip-nav > li > a, .tip-nav__toggle {
  display: flex; align-items: center; gap: 8px; padding: 18px 16px 15px; background: none; border: 0;
  font-family: var(--tip-display); font-size: 13.5px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: rgba(255,255,255,.72); white-space: nowrap; cursor: pointer;
  border-bottom: 3px solid transparent; line-height: 1;
}
.tip-nav > li > a:hover, .tip-nav__toggle:hover { color: #fff; }
.tip-nav > li.current-menu-item > a,
.tip-nav > li.current-menu-parent > a,
.tip-nav > li.current-menu-ancestor > a,
.tip-nav > li.tip-is-current > a { color: #fff; border-bottom-color: var(--tip-red); }
.tip-nav__caret { font-size: 8px; opacity: .6; }
.tip-nav .sub-menu {
  position: absolute; top: 100%; left: 0; z-index: 70; display: none; margin: 0; padding: 22px;
  width: max-content; max-width: calc(100vw - 40px); list-style: none; gap: 4px 28px;
  grid-template-columns: minmax(240px, 1fr);
  background: #fff; border-radius: 0 0 14px 14px; box-shadow: 0 28px 56px -24px rgba(16,41,91,.42);
}
/* four or more links: two columns, as in the design */
.tip-nav .sub-menu:has( > li:nth-child(4) ) { grid-template-columns: repeat(2, minmax(240px, 1fr)); }

/* three or fewer links (Our Products): a row of bordered cards */
.tip-nav .sub-menu:not( :has( > li:nth-child(4) ) ) {
  grid-auto-flow: column; grid-auto-columns: minmax(196px, 236px);
  grid-template-columns: none; gap: 12px;
}
.tip-nav .sub-menu:not( :has( > li:nth-child(4) ) ) > li > a {
  height: 100%; border: 1px solid var(--tip-border); border-radius: 11px; padding: 18px;
}
.tip-nav .sub-menu:not( :has( > li:nth-child(4) ) ) > li > a:hover {
  border-color: var(--tip-blue); background: var(--tip-surface);
}
.tip-nav .sub-menu:not( :has( > li:nth-child(4) ) ) .tip-nav__title { font-size: 16px; }
.tip-nav .sub-menu:not( :has( > li:nth-child(4) ) ) > li > a { flex-direction: column; gap: 12px; }
.tip-nav .sub-menu:not( :has( > li:nth-child(4) ) ) .tip-nav__icon { width: 32px; height: 32px; border-radius: 8px; }
.tip-nav li:hover > .sub-menu, .tip-nav li.tip-open > .sub-menu { display: grid; animation: tipIn .15s ease-out; }
.tip-nav .sub-menu li { display: block; }
.tip-nav .sub-menu a {
  display: flex; align-items: flex-start; gap: 14px; padding: 12px 14px; border-radius: 9px;
  text-transform: none; letter-spacing: normal;
}
.tip-nav__body { display: block; flex: 1; min-width: 0; }
.tip-nav__icon {
  width: 34px; height: 34px; border-radius: 9px; background: var(--tip-chip); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.tip-nav .sub-menu a:hover { background: var(--tip-surface); }
.tip-nav__title {
  display: block; font-family: var(--tip-head); font-weight: 700; font-size: 15px; color: var(--tip-navy);
}
.tip-nav .sub-menu a:hover .tip-nav__title { color: var(--tip-nav); }
.tip-nav__desc { display: block; font-size: 13.5px; color: var(--tip-muted); margin-top: 2px; line-height: 1.45; }
.tip-nav__ext { font-size: 10px; opacity: .75; }
.tip-navtoggle { display: none; }

@keyframes tipIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- eyebrow / headings ---------- */
.tip-eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.tip-eyebrow::before { content: ""; width: 26px; height: 3px; background: var(--tip-red); display: block; flex-shrink: 0; }
.tip-eyebrow span,
.tip-kicker {
  font-family: var(--tip-head); font-size: 12.5px; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--tip-red);
}
.tip-label {
  display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--tip-muted);
}
.tip-label--blue { color: var(--tip-blue); }
.tip-label--red { color: var(--tip-red); }
.tip-h1 { font-size: clamp(34px, 3.8vw, 52px); font-weight: 800; letter-spacing: -.026em; line-height: 1.06; }
.tip-h2 { font-size: clamp(28px, 3vw, 40px); font-weight: 800; letter-spacing: -.022em; }
.tip-h3 { font-size: clamp(22px, 2.2vw, 28px); font-weight: 800; letter-spacing: -.02em; }
.tip-lead { font-size: 18.5px; line-height: 1.62; color: var(--tip-body); margin-top: 22px; max-width: 620px; }
.tip-chip {
  display: inline-block; background: var(--tip-chip); color: var(--tip-blue);
  font-family: var(--tip-head); font-size: 13px; font-weight: 700; padding: 8px 16px; border-radius: 999px;
}
.tip-chip--red { background: var(--tip-red-tint); color: var(--tip-red-dark); }

/* ---------- cards ---------- */
.tip-card { background: #fff; border: 1px solid var(--tip-border); border-radius: 14px; padding: 28px; display: flex; flex-direction: column; }
a.tip-card:hover { border-color: var(--tip-blue); background: var(--tip-surface); }
.tip-card__title { font-family: var(--tip-head); font-size: 20px; font-weight: 700; color: var(--tip-navy); margin: 12px 0 0; }
.tip-card__text { font-size: 15.5px; color: var(--tip-body); line-height: 1.6; margin-top: 10px; flex: 1; }
.tip-card__more { font-family: var(--tip-head); font-weight: 700; font-size: 14.5px; color: var(--tip-blue); margin-top: 18px; }
.tip-card--media { padding: 0; overflow: hidden; }
.tip-card--media img, .tip-card__media { display: block; width: 100%; height: 212px; object-fit: cover; background: var(--tip-chip); }
.tip-imgdrop.tip-card__media { display: flex; height: 212px; aspect-ratio: auto; object-fit: unset; }
.tip-card--media .tip-card__body { padding: 26px 26px 28px; flex: 1 1 auto; display: flex; flex-direction: column; }
.tip-card--media .tip-card__body .tip-card__text { display: block; }
.tip-card--media .tip-card__body .tip-card__more { display: block; }
.tip-panel { background: var(--tip-surface); border-radius: 18px; padding: 44px; }
.tip-panel--navy { background: var(--tip-nav); border-radius: 18px; padding: 48px; color: #fff; }
.tip-panel--navy h2, .tip-panel--navy h3 { color: #fff; }
.tip-panel--navy p { color: #CFDDF3; }
.tip-bordered { border: 1px solid var(--tip-border); border-radius: 16px; padding: 36px; }

/* ---------- editor image prompts ---------- */
.tip-imgdrop {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  width: 100%; background: var(--tip-surface); border: 1.5px dashed var(--tip-line);
  color: var(--tip-muted); text-align: center; padding: 24px; box-sizing: border-box;
}
a.tip-imgdrop:hover { border-color: var(--tip-blue); color: var(--tip-nav); }
.tip-imgdrop__icon { display: block; line-height: 0; }
.tip-imgdrop__label { display: block; font-family: var(--tip-head); font-size: 15px; font-weight: 700; }
.tip-imgdrop__hint { display: block; font-size: 13.5px; }

/* ---------- icon badges ---------- */
.tip-icon {
  width: 38px; height: 38px; border-radius: 10px; background: var(--tip-chip); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.tip-icon--sm { width: 32px; height: 32px; border-radius: 8px; }
.tip-icon--stat { width: 44px; height: 44px; border-radius: 11px; background: #fff; }
.tip-chip--quiet { background: var(--tip-surface); color: var(--tip-muted); }

/* ---------- stats ---------- */
.tip-stats { background: var(--tip-surface); border-radius: 16px; padding: 34px 40px; display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 228px), 1fr)); }
.tip-stat { display: flex; align-items: center; gap: 16px; }
.tip-stat__num { font-family: var(--tip-head); font-size: 38px; font-weight: 800; color: var(--tip-blue); line-height: 1; }
.tip-stat__label { display: block; font-family: var(--tip-head); font-size: 15.5px; font-weight: 700; color: var(--tip-navy); }
.tip-stat__sub { display: block; font-size: 14px; color: var(--tip-muted); margin-top: 2px; }

/* ---------- lists ---------- */
.tip-ticks { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-direction: column; }
.tip-ticks li {
  display: flex; gap: 14px; align-items: center; padding: 14px 0; font-size: 16.5px; font-weight: 600;
  color: #fff; line-height: 1.5; border-top: 1px solid rgba(255,255,255,.1);
}
.tip-ticks li:first-child { border-top: 0; padding-top: 0; }
.tip-tick {
  width: 26px; height: 26px; border-radius: 8px; background: rgba(255,255,255,.12); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
/* legacy fallback when the tick markup is absent */
.tip-ticks li:not(:has(.tip-tick))::before { content: "\2713"; color: #FF8A8F; font-weight: 700; flex-shrink: 0; }
.tip-panel--why { background: #152F6B; padding: 38px; box-shadow: 0 30px 60px -32px rgba(16,41,91,.55); }
.tip-bullets { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.tip-bullets li { display: flex; gap: 14px; align-items: flex-start; font-size: 16.5px; color: var(--tip-body); line-height: 1.6; }
.tip-bullets li::before { content: ""; width: 7px; height: 7px; border-radius: 999px; background: var(--tip-red); flex-shrink: 0; margin-top: 9px; }
.tip-bullets--blue li::before { background: var(--tip-blue); }
.tip-bullets--check li::before {
  content: ""; width: 20px; height: 20px; border-radius: 6px; margin-top: 1px; background: #FEF1F2 center / 11px 11px no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23ED1C24' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5l5 5L20 6.5'/%3E%3C/svg%3E");
}
.tip-facts { display: flex; flex-direction: column; gap: 20px; margin-top: 22px; }
.tip-fact__value { display: block; font-size: 16.5px; color: var(--tip-body); line-height: 1.6; margin-top: 5px; }

/* ---------- people ---------- */
.tip-people { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 26px; margin-top: 32px; }
.tip-person__photo {
  width: 100%; aspect-ratio: 1 / 1.06; object-fit: cover; object-position: top center;
  border-radius: 12px; background: var(--tip-chip); border: 1px solid var(--tip-border); display: block;
}
.tip-person__initials {
  width: 100%; aspect-ratio: 1 / 1.06; border-radius: 12px; background: var(--tip-chip);
  border: 1px solid var(--tip-border); display: flex; align-items: center; justify-content: center;
  font-family: var(--tip-head); font-size: 34px; font-weight: 800; color: var(--tip-blue);
}
.tip-person__name { display: block; font-family: var(--tip-head); font-size: 17px; font-weight: 700; color: var(--tip-navy); margin-top: 16px; }
.tip-person__role { display: block; font-size: 14.5px; color: var(--tip-muted); margin-top: 3px; }
.tip-groupline { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--tip-border); }

/* ---------- bdo ---------- */
.tip-bdo { display: flex; flex-direction: column; gap: 16px; }
.tip-bdo__photo, .tip-bdo__initials {
  width: calc(100% + 56px); max-width: none; height: auto; margin: -28px -28px 0;
  flex-shrink: 0; border-radius: 13px 13px 0 0; display: block;
  background: var(--tip-chip);
}
.tip-bdo__initials { aspect-ratio: 1 / 1.06; }
.tip-bdo__initials { display: flex; align-items: center; justify-content: center; font-family: var(--tip-head); font-size: 24px; font-weight: 800; color: var(--tip-blue); }
.tip-bdo__contact { display: flex; flex-direction: column; gap: 7px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--tip-border); font-size: 13.5px; }
@media (max-width: 480px) {
	.tip-bdo__photo, .tip-bdo__initials { width: calc(100% + 36px); margin: -18px -18px 0; }
}

/* ---------- forms & filters ---------- */
.tip-field { display: block; margin-bottom: 18px; }
.tip-field > span { display: block; font-family: var(--tip-head); font-size: 13.5px; font-weight: 700; color: var(--tip-navy); margin-bottom: 7px; }
.tip-field input[type="text"], .tip-field input[type="email"], .tip-field input[type="tel"],
.tip-field select, .tip-field textarea {
  width: 100%; border: 1px solid var(--tip-line); border-radius: 9px; padding: 13px 14px;
  font-size: 15.5px; color: var(--tip-navy); background: #fff; outline: none;
}
.tip-field input:focus, .tip-field select:focus, .tip-field textarea:focus { border-color: var(--tip-blue); }
.tip-field input[type="file"] {
  width: 100%; border: 1px dashed var(--tip-line); border-radius: 9px; padding: 13px 14px;
  font-size: 14.5px; color: var(--tip-navy); background: #fff;
}
.tip-field input[type="file"]::file-selector-button {
  font-family: var(--tip-head); font-weight: 700; font-size: 13.5px; color: #fff;
  background: var(--tip-blue); border: 0; border-radius: 7px; padding: 8px 14px; margin-right: 12px; cursor: pointer;
}
.tip-fieldrow { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 16px; }
.tip-check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--tip-body); line-height: 1.55; margin-bottom: 18px; }
.tip-check input { margin-top: 4px; width: 17px; height: 17px; accent-color: var(--tip-red); }
.tip-notice { background: var(--tip-surface); border-radius: 12px; padding: 26px; margin-bottom: 24px; }
.tip-notice strong { display: block; font-family: var(--tip-head); font-size: 19px; color: var(--tip-navy); margin-bottom: 8px; }
.tip-notice--toast { border: 1px solid var(--tip-line); transition: opacity .6s ease; }
.tip-search { display: flex; align-items: center; gap: 12px; flex: 1 1 340px; max-width: 460px; background: #fff; border: 1px solid var(--tip-line); border-radius: 10px; padding: 4px 4px 4px 16px; }
.tip-search input { flex: 1; border: 0; outline: none; padding: 11px 0; font-size: 15.5px; color: var(--tip-navy); background: transparent; }
.tip-filterbar { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; padding-bottom: 24px; border-bottom: 1px solid var(--tip-border); }
.tip-formlist { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 12px; margin-top: 20px; }
.tip-formlink { display: flex; align-items: center; gap: 16px; border: 1px solid var(--tip-border); border-radius: 11px; padding: 18px 20px; font-size: 15.5px; font-weight: 600; color: var(--tip-navy); }
.tip-formlink:hover { border-color: var(--tip-blue); background: var(--tip-surface); color: var(--tip-navy); }
.tip-formlink__icon { width: 36px; height: 36px; border-radius: 8px; background: var(--tip-chip); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.tip-formlink__name { flex: 1; line-height: 1.4; }
.tip-formlink__badge { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--tip-red); white-space: nowrap; }
.tip-formlink__pdf { font-family: var(--tip-head); font-size: 13px; font-weight: 700; color: var(--tip-blue); white-space: nowrap; }
.tip-drop { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; border: 1.5px dashed var(--tip-line); border-radius: 11px; padding: 32px; background: #F9FBFE; cursor: pointer; text-align: center; }
.tip-drop:hover { border-color: var(--tip-blue); background: var(--tip-surface); }
.tip-drop input { display: none; }

/* ---------- tabs / accordion ---------- */
.tip-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.tip-tab { background: #fff; color: var(--tip-body); border: 1px solid var(--tip-border); font-family: var(--tip-head); font-weight: 700; font-size: 14.5px; padding: 13px 24px; border-radius: 999px; cursor: pointer; }
.tip-tab[aria-selected="true"] { background: var(--tip-nav); color: #fff; border-color: var(--tip-nav); }
.tip-acc { border-bottom: 1px solid var(--tip-border); }
.tip-acc__btn { width: 100%; display: flex; align-items: center; gap: 20px; justify-content: space-between; background: none; border: 0; padding: 22px 0; cursor: pointer; text-align: left; }
.tip-acc__q { font-family: var(--tip-head); font-size: 18px; font-weight: 700; color: var(--tip-navy); line-height: 1.4; }
.tip-acc__sign { font-family: var(--tip-head); font-size: 22px; font-weight: 700; color: var(--tip-blue); width: 26px; text-align: center; flex-shrink: 0; }
.tip-acc__a { font-size: 16.5px; line-height: 1.7; color: var(--tip-body); padding: 0 46px 26px 0; }
.tip-acc[hidden], [hidden] { display: none !important; }

/* ---------- calculator ---------- */
.tip-calc { background: #fff; border: 1px solid var(--tip-border); border-radius: 14px; padding: 30px; }
.tip-calc__row { display: flex; justify-content: space-between; align-items: baseline; margin: 22px 0 10px; }
.tip-calc__row:first-child { margin-top: 0; }
.tip-calc__row span:first-child { font-family: var(--tip-head); font-size: 14px; font-weight: 700; color: var(--tip-navy); }
.tip-calc__row output { font-family: var(--tip-head); font-size: 16px; font-weight: 700; color: var(--tip-blue); }
.tip-calc input[type="range"] { width: 100%; height: 4px; accent-color: var(--tip-red); }
.tip-calc__result { background: var(--tip-surface); border-radius: 11px; padding: 22px; margin-top: 26px; }
.tip-calc__big { display: block; font-family: var(--tip-head); font-size: 34px; font-weight: 800; color: var(--tip-navy); margin-top: 6px; letter-spacing: -.02em; }
.tip-calc__meta { display: flex; gap: 32px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--tip-border); }
.tip-calc__meta span { display: block; }
.tip-calc__meta .tip-calc__k { font-size: 13px; color: var(--tip-muted); }
.tip-calc__meta .tip-calc__v { font-family: var(--tip-head); font-size: 16px; font-weight: 700; color: var(--tip-navy); margin-top: 2px; }
.tip-switch { display: flex; gap: 8px; margin-top: 26px; background: #fff; border: 1px solid var(--tip-border); border-radius: 10px; padding: 6px; width: fit-content; }
.tip-switch button { background: transparent; color: var(--tip-body); font-family: var(--tip-head); font-weight: 700; font-size: 14px; padding: 10px 20px; border: 0; border-radius: 7px; cursor: pointer; }
.tip-switch button[aria-selected="true"] { background: var(--tip-nav); color: #fff; }

/* ---------- modal ---------- */
.tip-modal { position: fixed; inset: 0; z-index: 120; background: rgba(16,41,91,.55); display: flex; align-items: flex-start; justify-content: center; padding: 48px 24px; overflow-y: auto; }
.tip-modal__box { background: #fff; border-radius: 16px; max-width: 640px; width: 100%; box-shadow: 0 40px 80px -30px rgba(16,41,91,.6); animation: tipIn .18s ease-out; }
.tip-modal__head { display: flex; align-items: center; gap: 16px; padding: 26px 30px; border-bottom: 1px solid var(--tip-border); }
.tip-modal__body { padding: 30px; }
.tip-modal__close { background: var(--tip-surface); border: 0; border-radius: 9px; width: 38px; height: 38px; font-size: 19px; color: var(--tip-body); cursor: pointer; flex-shrink: 0; }
.tip-modal__close:hover { background: var(--tip-red); color: #fff; }

/* ---------- news ---------- */
.tip-newsrow { display: flex; gap: 24px; padding: 22px 4px; border-top: 1px solid var(--tip-border); align-items: baseline; }
.tip-newsrow:hover { background: var(--tip-surface); }
.tip-newsrow:last-child { border-bottom: 1px solid var(--tip-border); }
.tip-newsrow__date { font-size: 13.5px; color: var(--tip-dim); white-space: nowrap; min-width: 104px; }
.tip-newsrow__title { display: block; font-family: var(--tip-head); font-size: 18px; font-weight: 700; color: var(--tip-navy); }
.tip-newsrow__sub { display: block; font-size: 15px; color: var(--tip-muted); margin-top: 4px; }
.tip-article__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.tip-article__body { margin-top: 38px; font-size: 17.5px; line-height: 1.72; }
.tip-article__body p { margin-bottom: 20px; }
.tip-article__img { width: 100%; border-radius: 14px; display: block; }

.tip-newssplit { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); align-items: start; }
.tip-newsfeature { border: 1px solid var(--tip-border); border-radius: 16px; overflow: hidden; background: #fff; }
.tip-newsfeature img { display: block; width: 100%; height: auto; }

/* ---------- reports / newsletters ---------- */
.tip-cover { background: var(--tip-nav); border-radius: 12px; padding: 44px 36px; min-height: 330px; display: flex; flex-direction: column; justify-content: space-between; }
.tip-cover__year { display: block; font-family: var(--tip-head); font-size: 76px; font-weight: 800; color: #fff; line-height: .92; letter-spacing: -.03em; }
.tip-cover--image { padding: 0; overflow: hidden; background: var(--tip-tint, #EEF3FB); }
.tip-cover--image img { display: block; width: 100%; height: 100%; min-height: 330px; object-fit: cover; }
.tip-card__thumb { display: block; margin: -20px -20px 18px; border-radius: 12px 12px 0 0; overflow: hidden; aspect-ratio: 4 / 3; background: var(--tip-tint, #EEF3FB); }
.tip-card__thumb img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.tip-year { display: block; font-family: var(--tip-head); font-size: 44px; font-weight: 800; color: var(--tip-blue); letter-spacing: -.03em; line-height: 1; }
.tip-issue__head { padding: 34px 28px; background: var(--tip-nav); }
.tip-issue__head .tip-label { color: #93B3E4; }
.tip-issue__name { display: block; font-family: var(--tip-head); font-size: 26px; font-weight: 800; color: #fff; margin-top: 10px; letter-spacing: -.02em; }

/* ---------- hero ---------- */
.tip-hero { padding: 60px 0 0; }
.tip-hero__media { position: relative; }
.tip-hero__media img { width: 100%; aspect-ratio: 4 / 4.3; object-fit: cover; border-radius: 18px; display: block; background: var(--tip-surface); }
.tip-hero__badge { position: absolute; left: -28px; bottom: 34px; background: #fff; border: 1px solid var(--tip-border); border-radius: 14px; box-shadow: 0 26px 50px -28px rgba(16,41,91,.5); padding: 20px 24px; max-width: 296px; }
.tip-banner img { width: 100%; display: block; border-radius: 16px; }
.tip-pagehead { background: var(--tip-surface); padding: 60px 0; }
.tip-pagehead--tight { padding: 26px 0 56px; }
.tip-back { display: inline-flex; align-items: center; gap: 8px; font-family: var(--tip-head); font-size: 14px; font-weight: 700; color: var(--tip-blue); }

/* ---------- footer ---------- */
.tip-strip { background: var(--tip-strip); color: #fff; margin-top: 96px; }
.tip-strip__inner { max-width: var(--tip-wrap); margin: 0 auto; padding: 18px var(--tip-gap); text-align: center; font-size: 15px; color: #E6EDF9; }
.tip-footer { background: var(--tip-footer); color: #fff; }
.tip-footer__cols { max-width: var(--tip-wrap); margin: 0 auto; padding: 38px var(--tip-gap) 32px; display: grid; gap: 40px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); }
.tip-footer h2 { font-family: var(--tip-head); font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #7E97C8; margin: 0 0 20px; }
.tip-footer p { font-size: 15.5px; line-height: 1.7; color: #A8B7D4; max-width: 290px; }
.tip-footer img.tip-footer__logo { height: 46px; width: auto; display: block; margin-bottom: 20px; }
.tip-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 13px; }
.tip-footer a { color: #C3D2EC; font-size: 15.5px; }
.tip-footer a:hover { color: #fff; }
.tip-footer .tip-footer__accent a { color: #93B3E4; }
.tip-social { display: flex; gap: 9px; }
.tip-social a { width: 36px; height: 36px; border-radius: 8px; background: #2E416B; display: flex; align-items: center; justify-content: center; }
.tip-social a:hover { background: var(--tip-red); }
.tip-social svg { width: 17px; height: 17px; fill: #DCE6F7; }
.tip-footer__base { max-width: var(--tip-wrap); margin: 0 auto; padding: 0 var(--tip-gap); }
.tip-footer__baseline { border-top: 1px solid rgba(255,255,255,.13); padding: 17px 0; display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; }
.tip-footer__baseline span { font-size: 14.5px; color: #97A4C2; }
.tip-footer__baseline ul { flex-direction: row; flex-wrap: wrap; gap: 28px; }
.tip-footer__baseline a { font-size: 14.5px; color: #93B3E4; }

/* ---------- editor content ---------- */
.tip-content h2 { font-size: clamp(24px, 2.4vw, 32px); font-weight: 800; letter-spacing: -.02em; margin: 40px 0 14px; }
.tip-content h3 { font-size: 21px; font-weight: 700; margin: 32px 0 10px; }
.tip-content p, .tip-content li { font-size: 17px; line-height: 1.72; }
.tip-content ul, .tip-content ol { margin: 0 0 1.2em 0; padding-left: 1.3em; }
.tip-content img { border-radius: 14px; }
.tip-content blockquote { margin: 28px 0; padding-left: 20px; border-left: 3px solid var(--tip-red); font-family: var(--tip-head); font-size: 19px; font-weight: 600; color: var(--tip-navy); }
.tip-content a { text-decoration: underline; text-underline-offset: 2px; }

@media (max-width: 860px) {
  :root {
    --tip-brandbar: 80px;
    --tip-brandbar-condensed: 68px;
    --tip-logo: 42px;
    --tip-logo-condensed: 34px;
  }
  .tip-brand__tag, .tip-brand__divider { display: none; }
  .tip-section { padding: 60px 0 0; }
  .tip-panel, .tip-panel--navy, .tip-bordered { padding: 28px; }
  .tip-hero__badge { position: static; left: auto; bottom: auto; margin-top: 18px; max-width: none; box-shadow: none; }
  .tip-navtoggle {
    display: flex; align-items: center; gap: 10px; margin-left: auto; background: none; border: 0;
    color: #fff; font-family: var(--tip-display); font-size: 12px; font-weight: 700; letter-spacing: .1em;
    text-transform: uppercase; padding: 18px 16px; cursor: pointer;
  }
  .tip-nav { display: none; width: 100%; flex-direction: column; padding-bottom: 12px; }
  .tip-nav.tip-nav--open { display: flex; }
  .tip-nav > li { display: block; }
  .tip-nav > li > a, .tip-nav__toggle { padding: 14px 16px; width: 100%; justify-content: space-between; border-bottom: 0; }
  .tip-nav .sub-menu { position: static; display: none; box-shadow: none; background: rgba(255,255,255,.06); max-width: none; width: auto; margin: 0 12px 8px; grid-template-columns: 1fr; border-radius: 10px; padding: 10px; }
  .tip-nav .sub-menu:has( > li:nth-child(4) ),
  .tip-nav .sub-menu:not( :has( > li:nth-child(4) ) ) {
    grid-auto-flow: row; grid-template-columns: 1fr; grid-auto-columns: auto;
  }
  .tip-nav .sub-menu:not( :has( > li:nth-child(4) ) ) > li > a { border: 0; padding: 12px 14px; }
  .tip-nav li.tip-open > .sub-menu { display: grid; }
  .tip-nav .sub-menu a { color: #E6EDF9; }
  .tip-nav .sub-menu .tip-nav__title { color: #fff; }
  .tip-nav .sub-menu .tip-nav__desc { color: #B9CBEA; }
  .tip-nav .sub-menu a:hover { background: rgba(255,255,255,.12); color: #fff; }
  .tip-calc__meta { flex-wrap: wrap; gap: 18px; }
}


/* ==========================================================================
   1.4.0 — product panels, reason rails, hover treatments, mobile tightening
   ========================================================================== */

/* --- navy product panel --- */
.tip-prodpanel {
	background: var(--tip-navy);
	border-radius: 20px;
	padding: clamp(26px, 4vw, 46px);
	display: grid;
	grid-template-columns: minmax(200px, 280px) minmax(0, 1fr);
	gap: 40px;
	align-items: start;
}
.tip-prodpanel__intro { display: flex; flex-direction: column; height: 100%; }
.tip-prodpanel__count {
	display: block; font-size: 11px; font-weight: 700; letter-spacing: .16em;
	text-transform: uppercase; color: #93B3E4;
}
.tip-prodpanel__title {
	font-family: var(--tip-head); font-size: clamp(30px, 3.4vw, 42px); font-weight: 800;
	letter-spacing: -.02em; line-height: 1.15; color: #fff; margin-top: 14px;
}
.tip-prodpanel__lead { font-size: 17px; line-height: 1.6; color: #CFDDF3; margin-top: 14px; }
.tip-prodpanel__arrow { margin-top: auto; align-self: flex-start; opacity: .9; }

.tip-prodgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.tip-prodcard {
	background: #1B4693; border-radius: 14px; padding: 22px;
	display: flex; flex-direction: column; text-decoration: none;
	transition: box-shadow .2s ease, transform .2s ease;
}
.tip-prodcard:hover { box-shadow: 0 16px 32px -18px rgba(0,0,0,.3); transform: translateY(-2px); }
.tip-prodcard__head { display: flex; align-items: center; gap: 14px; }
.tip-prodcard__icon {
	width: 52px; height: 52px; border-radius: 999px; background: rgba(255,255,255,.14);
	display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.tip-prodcard__name { font-family: var(--tip-head); font-weight: 700; font-size: 17px; color: #fff; line-height: 1.3; }
.tip-prodcard__text { font-size: 16px; color: #B9C7E8; line-height: 1.5; margin-top: 14px; flex: 1; }
.tip-prodcard__more {
	display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,.16);
	color: #fff; font-family: var(--tip-head); font-weight: 700; font-size: 13.5px;
	padding: 9px 14px; border-radius: 8px; margin-top: 14px; width: fit-content;
}

@media (max-width: 1080px) {
	.tip-prodpanel { grid-template-columns: minmax(0, 1fr); }
	.tip-prodgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tip-prodpanel__arrow { display: none; }
}
@media (max-width: 480px) {
	.tip-prodgrid { grid-template-columns: minmax(0, 1fr); }
}

/* --- "Why borrow / save / insure?" rail --- */
.tip-why__heading {
	font-family: var(--tip-head); font-size: clamp(24px, 2.6vw, 32px); font-weight: 800;
	letter-spacing: -.02em; color: var(--tip-blue); margin-bottom: 24px;
}
.tip-rail {
	display: flex; gap: 16px; overflow-x: auto;
	padding: 10px 0 14px; margin: -10px 0 -6px;
	cursor: grab; scroll-behavior: auto; user-select: none; touch-action: pan-y;
	scrollbar-width: none; -ms-overflow-style: none;
}
.tip-rail::-webkit-scrollbar { display: none; }
.tip-railcard {
	position: relative; overflow: hidden; flex: 0 0 auto;
	width: min(64vw, 420px); min-height: 170px;
	background: #fff; border: 1px solid var(--tip-border); border-radius: 14px;
	padding: 32px; display: flex; flex-direction: column; justify-content: space-between;
	text-decoration: none;
	transition: background .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.tip-railcard__glyph {
	position: absolute; right: -18px; bottom: -24px; opacity: .1; pointer-events: none;
	transition: stroke .2s ease, opacity .2s ease;
}
.tip-railcard__title {
	position: relative; font-family: var(--tip-head); font-weight: 800; font-size: 22px;
	color: var(--tip-navy); line-height: 1.3; transition: color .2s ease;
}
.tip-railcard__sub {
	position: relative; font-family: var(--tip-head); font-weight: 700; font-size: 14px;
	color: var(--tip-blue); transition: color .2s ease;
}
.tip-railcard:hover {
	background: #1B4693; border-color: #1B4693;
	box-shadow: 0 16px 32px -18px rgba(16,41,91,.45); transform: translateY(-2px);
}
.tip-railcard:hover .tip-railcard__title { color: #fff; }
.tip-railcard:hover .tip-railcard__sub { color: #B9C7E8; }
.tip-railcard:hover .tip-railcard__glyph { stroke: #fff; opacity: .16; }

/* --- shared navy hover for the light cards --- */
.tip-card, .tip-shortcut {
	transition: background .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
a.tip-card:hover, a.tip-shortcut:hover, .tip-shortcut:hover {
	background: #1B4693 !important; border-color: #1B4693 !important;
	box-shadow: 0 20px 40px -28px rgba(16,41,91,.5); transform: translateY(-2px);
}
a.tip-card:hover .tip-card__title,
a.tip-card:hover .tip-card__more,
.tip-shortcut:hover .tip-shortcut__name,
.tip-shortcut:hover .tip-shortcut__cta { color: #fff !important; }
a.tip-card:hover .tip-card__text,
.tip-shortcut:hover .tip-shortcut__text { color: #B9C7E8 !important; }
a.tip-card:hover .tip-label,
a.tip-card:hover .tip-label--red,
.tip-shortcut:hover .tip-shortcut__eyebrow { color: #F6A6AA !important; }
a.tip-card:hover .tip-chip,
a.tip-card:hover .tip-chip--quiet { background: rgba(255,255,255,.16) !important; color: #fff !important; }
a.tip-card:hover .tip-icon,
.tip-shortcut:hover .tip-shortcut__icon { background: rgba(255,255,255,.16) !important; }
a.tip-card:hover .tip-icon svg,
.tip-shortcut:hover .tip-shortcut__icon svg { stroke: #fff !important; }
/* media cards keep their photo readable — only the body inverts */
a.tip-card--media:hover { background: #1B4693 !important; }

/* shortcut cards: icon inline with the title */
.tip-shortcut__head { display: flex; align-items: center; gap: 11px; margin-top: 8px; }
.tip-shortcut__icon {
	width: 34px; height: 34px; border-radius: 9px; background: var(--tip-chip);
	display: flex; align-items: center; justify-content: center; flex-shrink: 0;
	transition: background .2s ease;
}

/* --- next-step rows on the product pages --- */
.tip-steplink {
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	background: #fff; border: 1px solid var(--tip-border); border-radius: 10px;
	padding: 15px 18px; font-size: 15.5px; font-weight: 600; color: var(--tip-navy);
	text-decoration: none;
	transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.tip-steplink:hover { background: #1B4693; border-color: #1B4693; color: #fff; }
.tip-steplink:hover span { color: #fff; }

/* --- product detail: terms list and the benefits schedule --- */
.tip-terms { display: flex; flex-direction: column; gap: 14px; margin-top: 22px; list-style: none; padding: 0; }
.tip-terms li { display: flex; gap: 14px; align-items: flex-start; font-size: 16.5px; color: var(--tip-body); line-height: 1.6; }
.tip-terms li::before {
	content: ""; width: 7px; height: 7px; border-radius: 999px; background: #93B3E4;
	flex-shrink: 0; margin-top: 9px; display: block;
}
.tip-schedule { margin-top: 22px; border: 1px solid var(--tip-border); border-radius: 12px; overflow: hidden; }
.tip-schedule__head { display: flex; gap: 16px; background: var(--tip-navy); padding: 14px 20px; }
.tip-schedule__head span {
	font-family: var(--tip-head); font-size: 11.5px; font-weight: 700;
	letter-spacing: .14em; text-transform: uppercase; color: #fff;
}
.tip-schedule__head span:first-child { flex: 1; }
.tip-schedule__head span:last-child { width: 120px; text-align: right; color: #93B3E4; }
.tip-schedule__row {
	display: flex; gap: 16px; align-items: baseline;
	padding: 13px 20px; border-top: 1px solid #EEF2F8;
}
.tip-schedule__row span:first-child { flex: 1; font-size: 15.5px; color: var(--tip-body); line-height: 1.55; }
.tip-schedule__row span:last-child {
	width: 120px; text-align: right; font-family: var(--tip-head);
	font-size: 16px; font-weight: 700; color: var(--tip-navy);
}

/* --- mobile: tighter sections, compact footer --- */
@media (max-width: 760px) {
	.tip-section { padding-top: 40px !important; padding-bottom: 40px !important; }
	.tip-section--tight { padding-top: 30px !important; padding-bottom: 30px !important; }
	.tip-pagehead { padding-top: 26px !important; padding-bottom: 26px !important; }
	.tip-panel, .tip-bordered { padding: 24px !important; }
	.tip-prodpanel { padding: 24px !important; gap: 26px !important; }
	.tip-footer__cols { gap: 26px 24px !important; }
	.tip-footer__cols > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
	.tip-section { padding-top: 34px !important; padding-bottom: 34px !important; }
	.tip-panel, .tip-bordered, .tip-prodpanel { padding: 20px !important; }
}

/* --- brand bar wraps rather than colliding on small screens --- */
@media (max-width: 700px) {
	.tip-brandbar__inner {
		flex-wrap: wrap !important;
		height: auto !important;
		padding-top: 12px !important;
		padding-bottom: 12px !important;
		row-gap: 10px;
	}
	.tip-brandbar__actions { margin-left: 0 !important; flex: 1 1 100%; justify-content: flex-start; }
	.tip-brandbar__actions > a { flex: 1 1 0; text-align: center; padding: 11px 12px !important; font-size: 13.5px !important; }
	.tip-brand img { height: 42px !important; }
	.tip-brand__tag, .tip-brand__divider { display: none !important; }
}

/* the planner shortcut alongside the calculator tabs */
.tip-switch { flex-wrap: wrap; }
.tip-switch__journey {
	display: inline-flex; align-items: center; gap: 7px;
	background: var(--tip-red); color: #fff;
	font-family: var(--tip-head); font-weight: 700; font-size: 14px;
	padding: 10px 20px; border-radius: 7px; text-decoration: none; white-space: nowrap;
}
.tip-switch__journey:hover { background: #C8121A; color: #fff; }


/* ==========================================================================
   Homepage hero carousel
   ========================================================================== */
.tip-heroslider { position: relative; overflow: hidden; border-radius: 20px; }
.tip-heroslider__track {
	display: flex;
	width: 300%;
	transition: transform .55s cubic-bezier(.4, 0, .2, 1);
}
.tip-heroslide { width: 33.3333%; flex-shrink: 0; position: relative; aspect-ratio: 2.35 / 1; }
.tip-heroslide__media { position: absolute; inset: 0; }
.tip-heroslide__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tip-heroslide__empty {
	position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
	text-align: center; padding: 32px; background: var(--tip-surface);
	border: 1px dashed var(--tip-border); font-size: 15px; color: #8390A8;
}
.tip-heroslide__scrim {
	position: absolute; inset: 0; display: flex; align-items: center; pointer-events: none;
}
.tip-heroslide__copy {
	pointer-events: auto;
	max-width: 620px;
	padding: 0 clamp(24px, 4vw, 60px);
}
.tip-heroslide__kicker {
	display: inline-block; font-family: var(--tip-head); font-size: 12.5px; font-weight: 700;
	letter-spacing: .16em; text-transform: uppercase; color: var(--tip-red);
}
.tip-heroslide__title {
	font-family: var(--tip-head); font-size: clamp(28px, 3.6vw, 52px); font-weight: 800;
	letter-spacing: -.026em; line-height: 1.06; color: var(--tip-navy); margin-top: 14px;
	text-wrap: balance;
}
.tip-heroslide__text {
	font-size: clamp(15px, 1.2vw, 17.5px); line-height: 1.6; color: var(--tip-body);
	margin-top: 14px; max-width: 520px;
}
.tip-heroslide__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }

/* dots */
.tip-heroslider__dots {
	position: absolute; left: 0; right: 0; bottom: 16px;
	display: flex; justify-content: center; gap: 9px;
}
.tip-heroslider__dot {
	width: 9px; height: 9px; padding: 0; border: 0; border-radius: 999px; cursor: pointer;
	background: rgba(16,41,91,.28); transition: background .2s ease, width .2s ease;
}
.tip-heroslider__dot.is-current { background: var(--tip-red); width: 26px; }

/* mobile: the photo becomes a block at the top and the copy sits on white below it,
   so nothing is ever printed over somebody's face. An explicit height is used
   rather than aspect-ratio, which can collapse inside a flex column. */
@media (max-width: 760px) {
	.tip-heroslider { border-radius: 16px; }
	.tip-heroslide {
		aspect-ratio: auto !important;
		display: flex !important;
		flex-direction: column !important;
		height: auto !important;
	}
	.tip-heroslide__media {
		position: relative !important;
		inset: auto !important;
		width: 100% !important;
		height: 68vw !important;
		max-height: 380px;
		aspect-ratio: auto !important;
		flex: 0 0 auto;
	}
	.tip-heroslide__media img {
		width: 100% !important;
		height: 100% !important;
		object-fit: cover !important;
		/* the per-slide focus set in the Customiser wins — see front-page.php */
	}
	.tip-heroslide__empty { position: absolute; inset: 0; }
	.tip-heroslide__scrim {
		position: static !important;
		inset: auto !important;
		display: block !important;
		align-items: initial !important;
		background: #fff !important;
		padding: 24px 0 8px !important;
	}
	.tip-heroslide__copy {
		max-width: 100% !important;
		height: auto !important;
		padding: 0 !important;
	}
	.tip-heroslide__title { font-size: clamp(26px, 8vw, 34px); }
	.tip-heroslide__actions { margin-top: 20px; }
	.tip-heroslider__dots { position: static; margin-top: 4px; padding-bottom: 16px; }
}


/* the carousel spans the content width, and loses the old split layout */
.tip-hero { padding-top: 32px; padding-bottom: 0; }
.tip-hero .tip-wrap { max-width: 1560px; }
@media (max-width: 760px) { .tip-hero { padding-top: 18px; } }


/* ==========================================================================
   About TIP / company profile
   ========================================================================== */
.tip-aboutsplit {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
	gap: 56px;
	align-items: center;
}
.tip-aboutsplit__media { position: relative; width: 100%; }
/* desktop: a smaller image beside a wider text column, so the copy sits close to it */
@media (min-width: 901px) {
	.tip-aboutsplit { grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: 64px; }
	.tip-aboutsplit p { max-width: 620px !important; }
}
.tip-aboutsplit__media img {
	width: 100%; height: auto; display: block;
	border-radius: 18px; background: var(--tip-surface);
}
.tip-h2 {
	font-family: var(--tip-head); font-size: clamp(28px, 3vw, 40px); font-weight: 800;
	letter-spacing: -.022em; color: var(--tip-navy); line-height: 1.12;
}

/* the profile prose reads as demarcated sections rather than one block */
.tip-aboutbody { max-width: 820px; }
.tip-aboutbody h2 {
	font-family: var(--tip-head); font-size: 23px; font-weight: 800;
	letter-spacing: -.015em; color: var(--tip-navy);
	margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--tip-border);
}
.tip-aboutbody h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.tip-aboutbody p { margin-top: 12px; }

@media (max-width: 760px) {
	.tip-aboutsplit { gap: 28px; }
	.tip-aboutbody h2 { margin-top: 28px; padding-top: 22px; }
}


/* ==========================================================================
   Stacked product panels (Our products)
   ========================================================================== */
.tip-panelstack { display: flex; flex-direction: column; gap: 24px; padding-top: 30px; }

/* ==========================================================================
   Mobile pass — applies to every template
   ========================================================================== */
@media (max-width: 900px) {
	.tip-split,
	.tip-aboutsplit,
	.tip-newssplit { gap: 30px !important; }
}

@media (max-width: 760px) {
	/* vertical rhythm */
	.tip-section { padding-top: 40px !important; padding-bottom: 40px !important; }
	.tip-section--tight { padding-top: 30px !important; padding-bottom: 30px !important; }
	.tip-pagehead { padding-top: 26px !important; padding-bottom: 26px !important; }

	/* surfaces */
	.tip-panel,
	.tip-bordered,
	.tip-card,
	.tip-quote,
	.tip-calc { padding: 20px !important; }
	.tip-prodpanel { padding: 24px !important; gap: 26px !important; }
	.tip-panelstack { gap: 16px; padding-top: 22px; }

	/* type comes down a step so headings stop breaking mid-word */
	.tip-h1 { font-size: clamp(26px, 8vw, 34px) !important; }
	.tip-h2 { font-size: clamp(23px, 7vw, 30px) !important; }
	.tip-h3 { font-size: 21px !important; }
	.tip-lead { font-size: 16px !important; }

	/* every grid becomes a single column */
	.tip-grid--2,
	.tip-grid--3,
	.tip-grid--bdo,
	.tip-grid--4 { grid-template-columns: minmax(0, 1fr) !important; }
	.tip-split,
	.tip-aboutsplit,
	.tip-newssplit { grid-template-columns: minmax(0, 1fr) !important; }

	/* tables stop forcing a sideways scroll */
	.tip-schedule__head { display: none; }
	.tip-schedule__row { flex-direction: column; gap: 2px; align-items: flex-start; padding: 14px 16px; }
	.tip-schedule__row span:last-child { width: auto; text-align: left; font-size: 17px; }

	/* full-width buttons are easier to hit than a ragged row */
	.tip-btn { width: 100%; text-align: center; }
	.tip-btn--sm { width: auto; }

	/* the reason rails give a hint of the next card */
	.tip-railcard { width: min(84vw, 340px); padding: 24px; min-height: 150px; }
	.tip-railcard__title { font-size: 20px; }

	/* footer runs two tidy columns instead of one long stack */
	.tip-footer__cols { gap: 26px 24px !important; }
	.tip-footer__cols > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
	.tip-section { padding-top: 34px !important; padding-bottom: 34px !important; }
	.tip-panel, .tip-bordered, .tip-prodpanel, .tip-card { padding: 18px !important; }
	.tip-prodgrid { grid-template-columns: minmax(0, 1fr) !important; }
	.tip-footer__cols { grid-template-columns: minmax(0, 1fr) !important; }
	.tip-railcard { width: 88vw; }
}

/* nothing may cause a sideways scroll on a phone */
@media (max-width: 760px) {
	html, body { overflow-x: hidden; }
	img, svg, video, iframe, table { max-width: 100%; }
}

/* the brand bar wraps rather than colliding with the buttons */
@media (max-width: 700px) {
	.tip-brandbar__inner {
		flex-wrap: wrap !important;
		height: auto !important;
		padding-top: 12px !important;
		padding-bottom: 12px !important;
		row-gap: 10px;
	}
	.tip-brandbar__actions { margin-left: 0 !important; flex: 1 1 100%; justify-content: flex-start; }
	.tip-brandbar__actions > a { flex: 1 1 0; text-align: center; padding: 11px 12px !important; font-size: 13.5px !important; }
	.tip-brand img { height: 42px !important; }
	.tip-brand__tag, .tip-brand__divider { display: none !important; }
}

/* pages whose shortcode supplies its own hero */
.tip-fullbleed { display: block; }
.tip-fullbleed > * { max-width: none; }

/* panel cards keep to a single short line, as designed */
.tip-prodcard__text {
	font-size: 16px; color: #B9C7E8; line-height: 1.5; margin-top: 14px; flex: 1;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}


/* ==========================================================================
   Statistics band — three facts, icon beside the figure
   ========================================================================== */
.tip-stats {
	background: #F5F7FC; border-radius: 16px; padding: 34px 40px;
	display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 228px), 1fr)); gap: 32px;
}
.tip-stat { display: flex; align-items: center; gap: 16px; }
.tip-stat__icon {
	width: 44px; height: 44px; border-radius: 11px; background: #fff; flex-shrink: 0;
	display: flex; align-items: center; justify-content: center;
}
.tip-stat__num {
	display: block; font-family: var(--tip-head); font-size: 26px; font-weight: 800;
	color: var(--tip-navy); line-height: 1.1;
}
.tip-stat__label { font-size: 14px; font-weight: 700; color: var(--tip-muted, #7C89A0); }
.tip-stat__sub { display: block; font-size: 14px; color: var(--tip-muted, #7C89A0); margin-top: 2px; }
@media (max-width: 760px) {
	.tip-stats { padding: 22px !important; gap: 20px; }
}


/* ==========================================================================
   Homepage shortcut cards — compact, icon inline with the title
   ========================================================================== */
a.tip-card.tip-shortcut { padding: 20px !important; display: block; }
a.tip-card.tip-shortcut .tip-shortcut__eyebrow {
	display: block; margin: 0 !important;
	font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
	color: var(--tip-red);
}
a.tip-card.tip-shortcut .tip-shortcut__head {
	display: flex; align-items: center; gap: 11px; margin-top: 8px;
}
a.tip-card.tip-shortcut .tip-shortcut__icon {
	width: 34px; height: 34px; border-radius: 9px; background: var(--tip-chip);
	display: flex; align-items: center; justify-content: center; flex-shrink: 0;
	transition: background .2s ease;
}
a.tip-card.tip-shortcut .tip-shortcut__name {
	font-family: var(--tip-head); font-size: 18px; font-weight: 700;
	color: var(--tip-navy); line-height: 1.25; margin: 0 !important;
	transition: color .2s ease;
}
a.tip-card.tip-shortcut .tip-shortcut__text {
	display: block; font-size: 14.5px; line-height: 1.5; color: #7C89A0;
	margin-top: 6px !important; transition: color .2s ease;
}
a.tip-card.tip-shortcut .tip-shortcut__cta {
	display: block; font-family: var(--tip-head); font-size: 13.5px; font-weight: 700;
	color: var(--tip-blue); margin-top: 12px !important; transition: color .2s ease;
}

/* hover — the whole card turns navy, every layer inverts */
a.tip-card.tip-shortcut:hover {
	background: #1B4693 !important; border-color: #1B4693 !important;
	box-shadow: 0 20px 40px -28px rgba(16,41,91,.5); transform: translateY(-2px);
}
a.tip-card.tip-shortcut:hover .tip-shortcut__eyebrow { color: #F6A6AA !important; }
a.tip-card.tip-shortcut:hover .tip-shortcut__icon { background: rgba(255,255,255,.16) !important; }
a.tip-card.tip-shortcut:hover .tip-shortcut__icon svg { stroke: #fff !important; }
a.tip-card.tip-shortcut:hover .tip-shortcut__name { color: #fff !important; }
a.tip-card.tip-shortcut:hover .tip-shortcut__text { color: #B9C7E8 !important; }
a.tip-card.tip-shortcut:hover .tip-shortcut__cta { color: #fff !important; }


/* ==========================================================================
   Homepage promo + video pair
   ========================================================================== */
.tip-twoup {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
	gap: 24px;
}
.tip-promo, .tip-video {
	position: relative; border-radius: 16px; overflow: hidden;
	aspect-ratio: 16 / 10; background: #0B1730; display: block;
}
.tip-promo img, .tip-video img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tip-promo__scrim {
	position: absolute; inset: 0; pointer-events: none;
	background: linear-gradient(0deg, rgba(16,41,91,.82), rgba(16,41,91,.1) 60%);
	display: flex; flex-direction: column; justify-content: flex-end; padding: 26px;
}
.tip-promo__eyebrow {
	font-family: var(--tip-head); font-size: 12px; font-weight: 700;
	letter-spacing: .14em; text-transform: uppercase; color: #FFD3D5;
}
.tip-promo__title {
	font-family: var(--tip-head); font-size: 22px; font-weight: 800; color: #fff; margin-top: 6px;
}
.tip-promo__btn {
	display: inline-flex; width: fit-content; margin-top: 14px;
	background: var(--tip-red); color: #fff; font-family: var(--tip-head);
	font-weight: 700; font-size: 13.5px; padding: 10px 18px; border-radius: 7px;
}
.tip-promo:hover .tip-promo__btn { background: #C8121A; }

.tip-video__play {
	position: absolute; inset: 0; width: 100%; height: 100%;
	border: 0; padding: 0; margin: 0; cursor: pointer; background: none;
}
.tip-video__scrim {
	position: absolute; inset: 0; background: rgba(16,41,91,.22);
	display: flex; align-items: center; justify-content: center;
}
.tip-video__icon {
	width: 68px; height: 68px; border-radius: 999px; background: rgba(255,255,255,.96);
	display: flex; align-items: center; justify-content: center;
	box-shadow: 0 16px 32px -12px rgba(16,41,91,.6);
	transition: transform .2s ease;
}
.tip-video__play:hover .tip-video__icon { transform: scale(1.06); }
.tip-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tip-video__out {
	position: absolute; right: 10px; bottom: 10px; z-index: 2;
	background: rgba(11,23,48,.78); color: #fff; font-family: var(--tip-head);
	font-weight: 700; font-size: 12px; padding: 7px 12px; border-radius: 6px; text-decoration: none;
}
.tip-video__out:hover { background: var(--tip-red); color: #fff; }

/* the decorative arrow in the calculator and panel intros */
.tip-arrow { display: block; margin-top: 38px; opacity: .9; }
@media (max-width: 820px) { .tip-arrow { display: none; } }

/* the calculator's call to action spans the panel */
.tip-calc__cta { display: block; width: 100%; text-align: center; margin-top: 18px; }


/* ==========================================================================
   About TIP / company profile
   ========================================================================== */
.tip-abouthead { background: var(--tip-surface); padding: 64px 0; }
.tip-abouthead__inner {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
	gap: 56px;
	align-items: center;
}
.tip-abouthead__media img {
	width: 100%; height: auto; display: block;
	border-radius: 16px; box-shadow: 0 24px 48px -30px rgba(16,41,91,.5);
}
.tip-h4 { font-family: var(--tip-head); font-size: 19px; font-weight: 700; color: var(--tip-navy); }
.tip-aboutfact { padding: 28px; }
.tip-aboutfact p { margin-top: 10px; line-height: 1.65; }

.tip-aboutoffer {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
	gap: 48px;
}
.tip-aboutoffer > div > h2 { font-size: 22px; }
.tip-tally { display: flex; flex-direction: column; gap: 18px; margin-top: 20px; }
.tip-tally__row { display: flex; gap: 18px; align-items: baseline; line-height: 1.6; }
.tip-tally__num {
	font-family: var(--tip-head); font-size: 22px; font-weight: 800;
	color: var(--tip-blue); min-width: 30px; flex-shrink: 0;
}
.tip-reinsurers { padding: 22px; margin-top: 20px; background: #fff; }
.tip-reinsurers p { margin-top: 10px; line-height: 1.7; }
.tip-aboutlink {
	display: inline-block; margin-top: 18px;
	font-family: var(--tip-head); font-weight: 700; font-size: 15px; color: var(--tip-red);
}
.tip-aboutlink:hover { color: var(--tip-navy); }

/* the prose that follows reads as demarcated sections */
.tip-aboutbody { max-width: 820px; }
.tip-aboutbody h2 {
	font-family: var(--tip-head); font-size: 23px; font-weight: 800;
	letter-spacing: -.015em; color: var(--tip-navy);
	margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--tip-border);
}
.tip-aboutbody h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.tip-aboutbody p { margin-top: 12px; }

@media (max-width: 760px) {
	.tip-abouthead { padding: 30px 0; }
	.tip-abouthead__inner { gap: 26px; }
	.tip-aboutoffer { gap: 30px; }
	.tip-aboutbody h2 { margin-top: 28px; padding-top: 22px; }
	.tip-tally__num { font-size: 20px; min-width: 26px; }
}


/* ==========================================================================
   Product pages — every interactive element gets the navy hover
   ========================================================================== */

/* the "next steps" rows and the form download rows */
a.tip-steplink:hover,
a.tip-formlink:hover {
	background: #1B4693 !important;
	border-color: #1B4693 !important;
	color: #fff !important;
}
a.tip-steplink:hover span,
a.tip-formlink:hover .tip-formlink__name,
a.tip-formlink:hover .tip-formlink__pdf { color: #fff !important; }

/* the back link above the title */
a.tip-back { transition: color .2s ease; }
a.tip-back:hover { color: var(--tip-red) !important; }

/* ghost buttons fill in rather than just changing their border */
.tip-btn { transition: background .2s ease, border-color .2s ease, color .2s ease; }
.tip-btn--ghost:hover {
	background: #1B4693 !important;
	border-color: #1B4693 !important;
	color: #fff !important;
}
.tip-btn--red:hover { background: #C8121A !important; color: #fff !important; }

/* the navy product cards lift and lighten a touch */
a.tip-prodcard:hover { background: #23539E !important; }
a.tip-prodcard:hover .tip-prodcard__more { background: rgba(255,255,255,.26) !important; }

/* schedule rows highlight as the eye travels across them */
.tip-schedule__row { transition: background .15s ease; }
.tip-schedule__row:hover { background: var(--tip-surface); }

/* anything inside the navy why-panel */
.tip-panel--navy a:not(.tip-btn):hover,
.tip-panel--why a:not(.tip-btn):hover { color: #fff !important; }

a.tip-formlink { transition: background .2s ease, border-color .2s ease, color .2s ease; }
a.tip-formlink:hover .tip-formlink__icon { background: rgba(255,255,255,.16) !important; }
a.tip-formlink:hover .tip-formlink__icon svg { stroke: #fff !important; }


/* ==========================================================================
   Mobile nav toggle — burger icon beside the label, aligned left
   ========================================================================== */
.tip-navtoggle { margin-left: 0 !important; padding-left: 4px !important; }
.tip-burger {
	width: 22px; height: 16px; position: relative; display: block; flex-shrink: 0;
}
.tip-burger span {
	position: absolute; left: 0; right: 0; height: 2px; background: #fff; border-radius: 2px;
	transition: transform .2s ease, opacity .2s ease;
}
.tip-burger span:nth-child(1) { top: 0; }
.tip-burger span:nth-child(2) { top: 7px; }
.tip-burger span:nth-child(3) { top: 14px; }

/* becomes a cross while the menu is open */
.tip-navtoggle[aria-expanded="true"] .tip-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.tip-navtoggle[aria-expanded="true"] .tip-burger span:nth-child(2) { opacity: 0; }
.tip-navtoggle[aria-expanded="true"] .tip-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Promo artwork is supplied at whatever aspect the Society has to hand, so show
   all of it rather than cropping through the headline, and keep the label band
   readable underneath. */
.tip-promo { background: var(--tip-surface); }
.tip-promo img { object-fit: contain !important; object-position: center top; }
.tip-promo__scrim {
	background: linear-gradient(0deg, rgba(16,41,91,.92) 0%, rgba(16,41,91,.72) 22%, rgba(16,41,91,0) 46%);
	padding: 20px 22px;
}


/* ==========================================================================
   Media cards ("Three ways TIP works for you") — full navy invert on hover
   ========================================================================== */
a.tip-card--media .tip-card__body { transition: background .2s ease; }
a.tip-card--media:hover { background: #1B4693 !important; border-color: #1B4693 !important; }
a.tip-card--media:hover .tip-card__body { background: #1B4693; }
/* the heading and count are inline-styled spans, so they need the override */
a.tip-card--media:hover .tip-card__body span,
a.tip-card--media:hover .tip-card__body strong { color: #fff !important; }
a.tip-card--media:hover .tip-card__body .tip-card__text { color: #B9C7E8 !important; }
a.tip-card--media:hover .tip-card__body .tip-chip,
a.tip-card--media:hover .tip-card__body .tip-chip--quiet {
	background: rgba(255,255,255,.18) !important; color: #fff !important;
}
a.tip-card--media:hover .tip-icon { background: rgba(255,255,255,.18) !important; }
a.tip-card--media:hover .tip-icon svg { stroke: #fff !important; }
/* the photo keeps its own colours */
a.tip-card--media:hover .tip-card__media { filter: none; }

/* placeholder-quote flag for logged-in staff */
.tip-chip--warn { background: var(--tip-red-tint, #FEF1F2) !important; color: var(--tip-red) !important; }

/* member quotes */
.tip-quote { border: 1px solid var(--tip-border); border-radius: 14px; padding: 26px; background: #fff; }
.tip-quote__text { font-size: 17px; line-height: 1.6; color: var(--tip-navy); }
.tip-quote__by { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--tip-border); }
.tip-quote__avatar { width: 34px; height: 34px; border-radius: 999px; background: var(--tip-chip); flex-shrink: 0; display: block; }
.tip-quote__name { display: block; font-family: var(--tip-head); font-weight: 700; font-size: 15px; color: var(--tip-navy); }
.tip-quote__role { display: block; font-size: 13.5px; color: var(--tip-muted, #7C89A0); }

.tip-video__play img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* the news list runs full width now the featured artwork card is gone */
.tip-newslist { display: block; }
.tip-newslist > div { max-width: 100%; }

/* the news list runs in two columns, four items total */
.tip-newslist { display: block; }
.tip-newslist > div {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 32px;
}
@media (max-width: 760px) {
	.tip-newslist > div { grid-template-columns: minmax(0, 1fr); }
}


/* ==========================================================================
   Mobile refinements
   ========================================================================== */
@media (max-width: 760px) {
	/* the figure sits beside its label rather than stacking */
	.tip-stat__num {
		display: flex;
		align-items: baseline;
		gap: 8px;
		flex-wrap: wrap;
	}
	.tip-stat__label { white-space: nowrap; }
	.tip-stats { gap: 18px; }
	.tip-stat { align-items: flex-start; }
	.tip-stat__icon { margin-top: 2px; }
}

/* ==========================================================================
   BDO card media — full bleed, must beat the global img max-width rules
   ========================================================================== */
.tip-wrap.tip-grid--bdo { max-width: 1280px; }
.tip-grid--bdo > .tip-card { padding: 20px; }
.tip-bdo__photo,
.tip-bdo__initials {
	max-width: none !important;
	width: calc(100% + 40px) !important;
	margin: -20px -20px 0 !important;
	align-self: stretch;
}
.tip-bdo__branch {
	display: inline-flex; align-items: center; gap: 6px; margin-top: 10px;
	padding: 5px 11px; border-radius: 999px; background: var(--tip-blue); color: #fff;
	font-size: 13px; font-weight: 700; line-height: 1.2;
}
.tip-bdo__branch svg { flex-shrink: 0; }
.tip-bdo__name {
	overflow-wrap: anywhere;
	word-break: break-word;
}
.tip-bdo__email {
	overflow-wrap: normal;
	word-break: normal;
	hyphens: none;
}
@media (max-width: 760px) {
	.tip-bdo__photo,
	.tip-bdo__initials {
		width: calc(100% + 40px) !important;
		margin: -20px -20px 0 !important;
	}
}
@media (max-width: 480px) {
	.tip-grid--bdo > .tip-card { padding: 18px !important; }
	.tip-bdo__photo,
	.tip-bdo__initials {
		width: calc(100% + 36px) !important;
		margin: -18px -18px 0 !important;
	}
}

/* ==========================================================================
   2.2.7 — client corrections pt 2
   ========================================================================== */
/* decorative red arrows retired everywhere */
.tip-prodpanel__arrow, .tip-arrow { display: none !important; }
/* About: offer list without the counts */
.tip-tally__row { display: block; }
/* people without a headshot: the logo on plain white */
.tip-person__logo {
	width: 100%; aspect-ratio: 1 / 1.06; border-radius: 12px; background: #fff;
	border: 1px solid var(--tip-border); display: flex; align-items: center; justify-content: center; padding: 18%;
}
.tip-person__logo img { width: 100%; height: auto; display: block; }
/* branch map screenshot, linked to Google Maps */
.tip-branchmap {
	position: relative; display: block; margin-top: 24px; border-radius: 12px; overflow: hidden;
	border: 1px solid var(--tip-border); background: var(--tip-chip);
}
.tip-branchmap img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.tip-branchmap__cta {
	position: absolute; left: 14px; bottom: 14px; background: #fff; color: var(--tip-navy);
	font-family: var(--tip-head); font-weight: 700; font-size: 14px; padding: 9px 14px; border-radius: 8px;
	box-shadow: 0 6px 18px -8px rgba(16,41,91,.45);
}
a.tip-branchmap:hover .tip-branchmap__cta { background: var(--tip-navy); color: #fff; }
/* calculator estimate disclaimer */
.tip-calc__disclaimer {
	font-size: 14px; line-height: 1.6; color: var(--tip-navy); margin-top: 16px;
	padding: 14px 16px; background: #fff; border: 1px solid var(--tip-border); border-radius: 10px;
}
.tip-abranches { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 30px; }
.tip-abranch { padding: 22px; min-width: 0; }
@media (max-width: 1100px) { .tip-abranch { padding: 16px; } .tip-abranch p { overflow-wrap: anywhere; } }
.tip-abranch .tip-eyebrow { margin-bottom: 0; }
.tip-abranch p { margin-top: 6px; font-size: 14.5px; line-height: 1.55; }
@media (max-width: 720px) { .tip-abranches { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .tip-abranches { grid-template-columns: minmax(0, 1fr); } }
.tip-fhead { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.tip-fstats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px 24px; margin-top: 28px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.18); }
@media (max-width: 900px) { .tip-fstats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tip-fstat { display: flex; flex-direction: column; gap: 4px; }
.tip-fstat .tip-icon { margin-bottom: 10px; }
.tip-fstat__num { font-family: var(--tip-head); font-size: clamp(22px, 2vw, 28px); font-weight: 800; color: #fff; letter-spacing: -.02em; line-height: 1.1; }
.tip-fstat__label { font-size: 14px; color: #CFDDF3; }
.tip-value { padding: 24px; }
.tip-value p { margin-top: 8px; font-size: 15px; line-height: 1.6; }
@media (max-width: 480px) { .tip-fstats { grid-template-columns: minmax(0, 1fr); } }
