/* Advice centre (v1.0.18). Colours: navy #172D3B, teal #14776F, coral #FF7855, yellow #FFD66B, mint #E6F3EE, cream #FFF8EE */

.ec-advice { background: #FFFFFF; }
.ec-advice #page { display: none; } /* the theme container is empty on these views */
.eca-wrap { max-width: 1240px; margin: 0 auto; padding-left: 32px; padding-right: 32px; box-sizing: border-box; }
.eca-eyebrow { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #14776F; }
.eca-eyebrow--yellow { color: #FFD66B; }
.eca-eyebrow--ink { color: #172D3B; }
.eca-head { display: flex; flex-direction: column; gap: 10px; margin-bottom: 36px; }
.eca-head h2 { font-size: 40px; font-weight: 800; line-height: 1.15; margin: 0; }
.eca-head--split { flex-direction: row; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 16px; }
.eca-head--split > div { display: flex; flex-direction: column; gap: 8px; }
.eca-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; text-decoration: none; color: #14776F; }
.eca-icon { width: 52px; height: 52px; border-radius: 16px; background: #E6F3EE; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.eca-section { padding-top: 88px; padding-bottom: 40px; }

/* Topic menu bar */
.eca-subnav { background: #FFFFFF; border-bottom: 1px solid #E8E1D4; }
.eca-subnav__in { max-width: 1240px; margin: 0 auto; padding: 0 32px; min-height: 60px; display: flex; align-items: center; gap: 28px; }
.eca-subnav__home { display: inline-flex; align-items: center; gap: 8px; color: #172D3B !important; text-decoration: none; font-family: 'Manrope', Arial, sans-serif; font-weight: 800; font-size: 16px; padding-right: 24px; border-right: 1px solid #E8E1D4; white-space: nowrap; }
.eca-subnav__topics { display: flex; gap: 24px; flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; font-size: 15px; }
.eca-subnav__topics::-webkit-scrollbar { display: none; }
.eca-subnav__topics a { color: #3B5160; text-decoration: none; font-weight: 500; white-space: nowrap; padding: 18px 0; border-bottom: 2px solid transparent; }
.eca-subnav__topics a:hover, .eca-subnav__topics a.is-active { color: #14776F; border-bottom-color: #14776F; }
.eca-subnav__topics a.is-all { color: #14776F; font-weight: 600; }
.eca-search { display: flex; align-items: center; gap: 8px; background: #FFF8EE; border: 1px solid #E8E1D4; border-radius: 999px; padding: 0 6px 0 16px; width: 240px; flex: none; }
.eca-search input[type="search"] { border: 0; background: transparent; padding: 10px 4px; font-size: 14px; width: 100%; color: #172D3B; outline: none; box-shadow: none; }
.eca-search:focus-within { border-color: #14776F; box-shadow: 0 0 0 3px rgba(20,119,111,.15); }
.eca-search--big { width: 100%; max-width: 760px; background: #FFFFFF; border: 0; padding: 8px 8px 8px 24px; box-shadow: 0 24px 48px rgba(0,0,0,.25); }
.eca-search--big input[type="search"] { font-size: 18px; padding: 12px 6px; }
.eca-search--big button { background: #FF7855; color: #172D3B; border: 0; border-radius: 999px; padding: 15px 30px; font-weight: 600; font-size: 16px; cursor: pointer; }
@media (max-width: 900px) {
  .eca-subnav__in { flex-wrap: wrap; gap: 8px 20px; padding: 10px 20px 0; }
  .eca-subnav__home { border-right: 0; padding-right: 0; }
  .eca-search:not(.eca-search--big) { order: 2; width: auto; flex: 1 1 160px; }
  .eca-subnav__topics { order: 3; flex-basis: 100%; }
  .eca-subnav__topics a { padding: 12px 0; }
}

/* Hub hero */
.eca-hubhero, .eca-listhero { position: relative; overflow: hidden; background: #172D3B; color: #D3DEE3; }
.eca-hubhero .eca-wrap { position: relative; padding-top: 72px; padding-bottom: 80px; display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.eca-hubhero h1, .eca-listhero h1 { margin: 0; font-size: 60px; font-weight: 800; line-height: 1.08; letter-spacing: -.02em; color: #FFF8EE; max-width: 920px; }
.eca-hubhero h1 span { color: #FFD66B; }
.eca-hubhero__lead { margin: 0; font-size: 20px; line-height: 1.6; color: #D3DEE3; max-width: 720px; }
.eca-popular { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.eca-popular span { color: #9FB3BE; font-size: 15px; margin-right: 4px; }
.eca-popular a { color: #FFF8EE; text-decoration: none; border: 1px solid #3A566A; border-radius: 999px; padding: 8px 16px; font-size: 15px; }
.eca-popular a:hover { border-color: #FFD66B; color: #FFF8EE; }
.eca-trust { background: #FFF8EE; border-bottom: 1px solid #E8E1D4; }
.eca-trust .eca-wrap { padding-top: 22px; padding-bottom: 22px; display: flex; gap: 20px 32px; flex-wrap: wrap; justify-content: space-between; font-size: 15px; font-weight: 500; color: #3B5160; }
.eca-trust span { display: inline-flex; align-items: center; gap: 10px; }
.eca-trust a { font-weight: 600; }

/* Topic panels */
.eca-topics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.eca-topic { background: #FFFFFF; border: 1px solid #E8E1D4; border-radius: 24px; padding: 26px; display: flex; flex-direction: column; gap: 14px; transition: box-shadow .15s ease, transform .15s ease; }
.eca-topic:hover { box-shadow: 0 16px 32px rgba(23,45,59,.08); transform: translateY(-2px); }
.eca-topic__head { display: flex; gap: 14px; align-items: center; }
.eca-topic h3 { margin: 0; font-size: 20px; line-height: 1.25; }
.eca-topic h3 a { color: #172D3B; text-decoration: none; }
.eca-topic ul { list-style: none; margin: 0; padding: 0; }
.eca-topic li { margin: 0; border-top: 1px solid #E6F3EE; }
.eca-topic li a { display: block; padding: 10px 0; color: #3B5160; text-decoration: none; font-size: 15px; line-height: 1.4; }
.eca-topic li a:hover { color: #14776F; }
.eca-topic .eca-more { margin-top: auto; }

/* Start here */
.eca-journeys { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding-top: 56px; padding-bottom: 88px; }
.eca-journey { border-radius: 28px; padding: 36px; text-decoration: none; display: flex; flex-direction: column; gap: 16px; }
.eca-journey h3 { margin: 0; font-size: 30px; font-weight: 800; line-height: 1.15; }
.eca-journey > p:not(.eca-eyebrow) { margin: 0; font-size: 17px; line-height: 1.6; }
.eca-journey ol { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.eca-journey li { display: flex; gap: 14px; align-items: center; font-size: 16px; margin: 0; }
.eca-journey li span { width: 32px; height: 32px; border-radius: 999px; background: #FFD66B; color: #172D3B; font-weight: 800; font-family: 'Manrope', Arial, sans-serif; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.eca-journey__go { margin-top: 6px; font-weight: 600; display: inline-flex; gap: 8px; align-items: center; }
.eca-journey.is-navy { background: #172D3B; color: #FFF8EE !important; }
.eca-journey.is-navy h3 { color: #FFF8EE; }
.eca-journey.is-navy .eca-eyebrow { color: #FFD66B; }
.eca-journey.is-navy > p:not(.eca-eyebrow) { color: #D3DEE3; }
.eca-journey.is-mint { background: #E6F3EE; color: #172D3B !important; }

/* Tools band */
.eca-tools { background: #FFD66B; }
.eca-tools .eca-wrap { padding-top: 72px; padding-bottom: 72px; display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 24px; align-items: stretch; }
.eca-tools__intro { display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.eca-tools__intro h2 { margin: 0; font-size: 38px; font-weight: 800; line-height: 1.15; }
.eca-tool { background: #FFFFFF; border-radius: 24px; padding: 28px; text-decoration: none; color: #172D3B !important; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 18px 36px rgba(23,45,59,.12); }
.eca-tool h3 { margin: 0; font-size: 22px; }
.eca-tool p { margin: 0; font-size: 16px; line-height: 1.6; color: #3B5160; }
.eca-tool .eca-more { margin-top: auto; }

/* Latest / most read */
.eca-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; padding-bottom: 88px; }
.eca-lists__head h2 { margin: 0 0 12px; font-size: 30px; font-weight: 800; }
.eca-latest, .eca-most { display: flex; flex-direction: column; gap: 6px; padding: 18px 0; border-top: 1px solid #E8E1D4; text-decoration: none; color: #172D3B !important; }
.eca-most { flex-direction: row; gap: 18px; align-items: baseline; padding: 16px 0; }
.eca-latest__t { font-family: 'Manrope', Arial, sans-serif; font-weight: 700; font-size: 18px; line-height: 1.35; }
.eca-latest:hover .eca-latest__t, .eca-most:hover .eca-latest__t { color: #14776F; }
.eca-latest__d { font-size: 14px; color: #4C6170; }
.eca-most__n { font-family: 'Manrope', Arial, sans-serif; font-weight: 800; font-size: 28px; color: #14776F; width: 34px; flex: none; }

/* Glossary strip */
.eca-glossary { background: #E6F3EE; }
.eca-glossary .eca-wrap { padding-top: 64px; padding-bottom: 96px; }
.eca-glossary .eca-head { margin-bottom: 22px; }
.eca-glossary .eca-head h2 { font-size: 32px; }
.eca-letters { display: flex; gap: 8px; flex-wrap: wrap; }
.eca-letters a, .eca-letters span { width: 42px; height: 42px; border-radius: 10px; background: #FFFFFF; color: #172D3B; text-decoration: none; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; font-size: 15px; }
.eca-letters a:hover { background: #14776F; color: #FFFFFF; }
.eca-letters span { opacity: .4; }
.ec-advice--hub .ec-footer { margin-top: -48px; }

/* Topic, search and list pages */
.eca-listhero .eca-wrap { position: relative; padding-top: 40px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.eca-listhero h1 { font-size: 52px; }
.eca-listhero .ec-breadcrumbs { margin: 0; font-size: 14px; color: #9FB3BE; }
.eca-listhero .ec-breadcrumbs a { color: #D3DEE3; }
.eca-iconbig { width: 60px; height: 60px; border-radius: 18px; background: rgba(255,255,255,.08); display: inline-flex; align-items: center; justify-content: center; }
.eca-listbody { padding-top: 0; padding-bottom: 96px; }
.eca-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.eca-listbody .eca-grid { margin-top: -32px; position: relative; }
.eca-card { background: #FFFFFF; border: 1px solid #E8E1D4; border-radius: 22px; padding: 28px; display: flex; flex-direction: column; gap: 12px; text-decoration: none; color: #172D3B !important; transition: box-shadow .15s ease, transform .15s ease; }
.eca-card:hover { box-shadow: 0 16px 32px rgba(23,45,59,.10); transform: translateY(-3px); }
.eca-card h3 { margin: 0; font-size: 21px; line-height: 1.3; }
.eca-card p { margin: 0; color: #3B5160; font-size: 16px; line-height: 1.6; flex: 1; }
.eca-card__topic { font-size: 13px; font-weight: 600; color: #14776F; letter-spacing: .08em; text-transform: uppercase; }
.eca-card__foot { display: flex; justify-content: space-between; align-items: center; padding-top: 14px; border-top: 1px solid #E6F3EE; font-size: 14px; color: #4C6170; }
.eca-pages { margin-top: 40px; display: flex; gap: 8px; flex-wrap: wrap; }
.eca-pages .page-numbers { padding: 10px 16px; border-radius: 12px; border: 1px solid #E8E1D4; text-decoration: none; color: #172D3B; font-weight: 600; }
.eca-pages .page-numbers.current { background: #172D3B; color: #FFF8EE; border-color: #172D3B; }
.eca-empty { background: #FFF8EE; border-radius: 22px; padding: 40px; margin-top: -32px; position: relative; }
.eca-empty h2 { margin: 0 0 8px; font-size: 28px; }
.eca-othertopics { margin-top: 64px; display: flex; flex-direction: column; gap: 14px; }
.eca-othertopics > div { display: flex; flex-wrap: wrap; gap: 10px; }
.eca-othertopics a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid #E8E1D4; border-radius: 999px; text-decoration: none; color: #172D3B; font-weight: 500; }
.eca-othertopics a:hover { border-color: #14776F; color: #14776F; }

/* Guide article */
.eca-progress { position: sticky; top: 0; z-index: 50; height: 4px; background: #E6F3EE; }
.eca-progress span { display: block; height: 4px; width: 0; background: #14776F; transition: width .1s linear; }
.eca-arthead { background: #FFF8EE; border-bottom: 1px solid #E8E1D4; }
.eca-arthead .eca-wrap { padding-top: 36px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 20px; }
.eca-arthead .ec-breadcrumbs { margin: 0; font-size: 14px; color: #4C6170; }
.eca-arthead .ec-breadcrumbs a { color: #4C6170; }
.eca-tags { display: flex; gap: 10px; flex-wrap: wrap; }
.eca-tag { background: #172D3B; color: #FFD66B !important; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px; border-radius: 8px; text-decoration: none; }
.eca-arthead h1 { margin: 0; font-size: 56px; font-weight: 800; line-height: 1.08; letter-spacing: -.02em; max-width: 920px; }
.eca-standfirst { margin: 0; font-size: 22px; line-height: 1.55; color: #3B5160; max-width: 840px; }
.eca-byline { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding-top: 22px; border-top: 1px solid #E8E1D4; }
.eca-byline__people { display: flex; gap: 20px 32px; flex-wrap: wrap; align-items: center; }
.eca-person { display: flex; gap: 12px; align-items: center; }
.eca-person p { margin: 0; font-size: 13px; color: #4C6170; }
.eca-person .eca-person__n { font-size: 15px; font-weight: 600; color: #172D3B; }
.eca-avatar { width: 44px; height: 44px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; font-family: 'Manrope', Arial, sans-serif; font-weight: 800; font-size: 15px; flex: none; }
.eca-avatar.is-navy { background: #172D3B; color: #FFD66B; }
.eca-avatar.is-teal { background: #14776F; color: #FFFFFF; }
.eca-byline__meta { display: flex; gap: 20px; font-size: 14px; color: #3B5160; }
.eca-byline__meta span { display: inline-flex; gap: 6px; align-items: center; }
.eca-actions { display: flex; gap: 10px; }
.eca-round { width: 42px; height: 42px; border-radius: 999px; border: 1px solid #E8E1D4; background: #FFFFFF; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.eca-round:hover, .eca-round.is-done { border-color: #14776F; background: #E6F3EE; }
.eca-trustline { display: flex; gap: 12px 28px; flex-wrap: wrap; font-size: 14px; color: #3B5160; }
.eca-trustline span { display: inline-flex; gap: 8px; align-items: center; }
.eca-trustline a { font-weight: 600; }

.eca-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr) 320px; gap: 56px; align-items: start; padding-top: 48px; padding-bottom: 96px; }
.eca-layout.no-toc { grid-template-columns: minmax(0, 1fr) 320px; }
.eca-toc { position: sticky; top: 28px; }
.eca-toc details { border: 0; }
.eca-toc summary { list-style: none; cursor: default; font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #4C6170; padding: 0 14px 10px; }
.eca-toc summary::-webkit-details-marker { display: none; }
.eca-toc ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; max-height: calc(100vh - 120px); overflow-y: auto; }
.eca-toc li { margin: 0; }
.eca-toc a { display: block; padding: 9px 14px; border-radius: 10px; text-decoration: none; font-size: 15px; line-height: 1.4; color: #3B5160; }
.eca-toc a:hover { color: #14776F; background: #FFF8EE; }
.eca-toc a.is-active { background: #E6F3EE; color: #14776F; font-weight: 600; }

.eca-article { max-width: 700px; min-width: 0; }
.eca-article > *:first-child { margin-top: 0 !important; }
.eca-article h2 { font-size: 30px; font-weight: 800; line-height: 1.2; margin: 48px 0 16px; scroll-margin-top: 28px; }
.eca-article h3 { font-size: 22px; margin: 32px 0 10px; }
.eca-article p, .eca-article li { font-size: 18px; line-height: 1.75; color: #2C4352; }
.eca-article .wp-block-quote { background: #E6F3EE; border: 0; border-radius: 22px; padding: 26px 30px; margin: 0 0 8px; font-style: normal; }
.eca-article .wp-block-quote p { font-size: 18px; line-height: 1.65; margin: 0; }
.eca-banner { background: #172D3B; border-radius: 22px; padding: 28px 30px; display: flex; justify-content: space-between; align-items: center; gap: 24px; margin: 40px 0 8px; }
.eca-banner > div { display: flex; flex-direction: column; gap: 6px; }
.eca-banner .eca-banner__t { margin: 0; font-family: 'Manrope', Arial, sans-serif; font-weight: 800; font-size: 22px; line-height: 1.25; color: #FFF8EE; }
.eca-banner a { flex: none; background: #FF7855; color: #172D3B !important; font-weight: 600; padding: 14px 24px; border-radius: 999px; text-decoration: none; }
.eca-helpful { margin-top: 48px; background: #FFF8EE; border-radius: 18px; padding: 20px 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.eca-helpful p { margin: 0 !important; font-weight: 600; font-size: 17px !important; color: #172D3B !important; }
.eca-helpful > div { display: flex; gap: 10px; }
.eca-helpful button { border: 1px solid #E8E1D4; background: #FFFFFF; border-radius: 999px; padding: 9px 22px; font-weight: 600; font-size: 15px; color: #172D3B; cursor: pointer; }
.eca-helpful button:hover { border-color: #14776F; background: #E6F3EE; }
.eca-reviewer { margin-top: 24px; border: 1px solid #E8E1D4; border-radius: 22px; padding: 26px; display: flex; gap: 18px; }
.eca-reviewer p { margin: 0 !important; font-size: 15px !important; line-height: 1.6 !important; color: #3B5160 !important; }
.eca-reviewer .eca-reviewer__k { font-size: 13px !important; color: #4C6170 !important; }
.eca-reviewer .eca-reviewer__n { font-family: 'Manrope', Arial, sans-serif; font-weight: 800; font-size: 18px !important; color: #172D3B !important; margin-bottom: 4px !important; }

.eca-rail { position: sticky; top: 28px; display: flex; flex-direction: column; gap: 20px; }
.eca-railquote { background: #FFFFFF; border: 1px solid #E8E1D4; border-radius: 24px; padding: 24px; box-shadow: 0 1px 0 #F0E6D6, 0 18px 40px rgba(23,45,59,.10); }
.eca-railquote .eca-eyebrow { margin-bottom: 4px; }
.eca-railquote .ec-box { border: 0; box-shadow: none; padding: 0; margin: 0; background: transparent; gap: 14px; }
.eca-railquote .ec-box__title { font-size: 22px; margin: 0; }
.eca-railquote .ec-choices > legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.eca-railquote .ec-choice span { min-height: 44px; font-size: 14px; border-radius: 12px; }
.eca-railquote .ec-row { grid-template-columns: 1fr; }
.eca-railquote .ec-btn--block { min-height: 52px; }
.eca-railrel { background: #FFF8EE; border-radius: 22px; padding: 22px 24px; }
.eca-railrel__t { margin: 0 0 4px; font-family: 'Manrope', Arial, sans-serif; font-weight: 800; font-size: 17px; }
.eca-railrel a { display: block; padding: 12px 0; border-top: 1px solid #E8E1D4; text-decoration: none; color: #172D3B; font-weight: 600; font-size: 15px; line-height: 1.4; }
.eca-railrel a:hover { color: #14776F; }
.eca-more-band { background: #FFF8EE; }
.eca-more-band .eca-wrap { padding-top: 80px; padding-bottom: 120px; }
.eca-more-band .eca-head h2 { font-size: 36px; }

@media (max-width: 1100px) {
  .eca-layout, .eca-layout.no-toc { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-top: 24px; }
  .eca-toc { position: static; order: 0; }
  .eca-toc details { background: #FFF8EE; border-radius: 16px; }
  .eca-toc summary { cursor: pointer; padding: 16px 20px; display: flex; justify-content: space-between; }
  .eca-toc summary::after { content: "+"; font-size: 20px; color: #14776F; }
  .eca-toc details[open] summary::after { content: "–"; }
  .eca-toc ol { padding: 0 8px 12px; max-height: none; }
  .eca-article { max-width: none; }
  .eca-rail { position: static; }
  .eca-topics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .eca-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .eca-tools .eca-wrap { grid-template-columns: 1fr 1fr; }
  .eca-tools__intro { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  .eca-wrap { padding-left: 20px; padding-right: 20px; }
  .eca-hubhero .eca-wrap { padding-top: 40px; padding-bottom: 48px; }
  .eca-hubhero h1, .eca-listhero h1 { font-size: 36px; }
  .eca-hubhero__lead { font-size: 17px; }
  .eca-search--big { padding: 6px 6px 6px 16px; }
  .eca-search--big input[type="search"] { font-size: 16px; }
  .eca-search--big button { padding: 12px 18px; }
  .eca-section { padding-top: 56px; }
  .eca-head h2 { font-size: 30px; }
  .eca-topics, .eca-grid, .eca-journeys, .eca-lists, .eca-tools .eca-wrap { grid-template-columns: 1fr; }
  .eca-journey { padding: 28px 24px; }
  .eca-journey h3 { font-size: 26px; }
  .eca-arthead h1 { font-size: 34px; }
  .eca-standfirst { font-size: 18px; }
  .eca-article h2 { font-size: 26px; }
  .eca-article p, .eca-article li { font-size: 17px; }
  .eca-banner { flex-direction: column; align-items: flex-start; }
  .eca-lists { gap: 32px; }
}

@media print {
  .site-header, .eca-subnav, .eca-progress, .eca-actions, .eca-toc, .eca-rail, .eca-helpful, .eca-banner, .eca-more-band, .ec-footer { display: none !important; }
  .eca-layout { display: block; padding: 0; }
  .eca-arthead { background: none; border: 0; }
}
.ec-advice--guide .ec-footer { margin-top: -48px; }

/* v1.0.19 */
body.ec-brand.ec-advice { background: #FFFFFF; }
.eca-trust .eca-wrap { gap: 16px 28px; justify-content: flex-start; }
.eca-trust a { margin-left: auto; white-space: nowrap; }
.eca-subnav__topics { gap: 22px; }
.eca-railquote .ec-choice span { padding: 8px 6px; line-height: 1.25; }

/* v1.0.27: guide illustrations */
.eca-card--media { padding: 0; overflow: hidden; gap: 0; }
.eca-card__media { display: block; aspect-ratio: 400 / 200; overflow: hidden; background: #E6F3EE; border-bottom: 1px solid #F1ECE2; }
.eca-card__media svg, .eca-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.eca-card--media:hover .eca-card__media svg, .eca-card--media:hover .eca-card__media img { transform: scale(1.04); }
.eca-card__body { display: flex; flex-direction: column; gap: 12px; padding: 22px 26px 24px; flex: 1; }
.eca-listhero.has-art .eca-wrap { min-height: 340px; }
.eca-listhero.has-art h1, .eca-listhero.has-art .eca-hubhero__lead { max-width: calc(100% - 480px); }
.eca-listhero__art { position: absolute; right: 32px; bottom: 72px; width: 420px; border-radius: 26px; overflow: hidden; box-shadow: 0 24px 48px rgba(0,0,0,.25); transform: rotate(1.5deg); }
.eca-listhero__art svg { display: block; width: 100%; height: auto; }
@media (max-width: 1024px) {
  .eca-listhero__art { display: none; }
  .eca-listhero.has-art h1, .eca-listhero.has-art .eca-hubhero__lead { max-width: none; }
  .eca-listhero.has-art .eca-wrap { min-height: 0; }
}

/* v1.0.28: illustrations across the advice centre */
.ec-thumb { flex: 0 0 auto; width: 72px; height: 48px; border-radius: 10px; overflow: hidden; display: block; background: #E6F3EE; }
.ec-thumb svg, .ec-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
a.has-thumb { display: flex !important; align-items: center; gap: 14px; }
.eca-latest.has-thumb { flex-direction: row; }
.eca-latest.has-thumb .ec-thumb { width: 96px; height: 64px; border-radius: 12px; }
.eca-latest__txt { display: flex; flex-direction: column; gap: 6px; min-width: 0; }

.eca-arthead.has-art .eca-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 400px; column-gap: 64px; row-gap: 20px; align-items: start; }
.eca-arthead.has-art .eca-wrap > * { grid-column: 1; }
.eca-arthead.has-art .eca-wrap > .eca-arthead__art { grid-column: 2; grid-row: 1 / span 6; align-self: center; }
.eca-arthead__art { border-radius: 26px; overflow: hidden; box-shadow: 0 20px 40px rgba(23,45,59,.12); border: 1px solid #E8E1D4; transform: rotate(1.5deg); }
.eca-arthead__art svg, .eca-arthead__art img { display: block; width: 100%; height: auto; aspect-ratio: 400 / 220; object-fit: cover; }
.eca-arthead.has-art h1 { font-size: 50px; }

.eca-topic { overflow: hidden; }
.eca-topic__art { display: block; margin: -26px -26px 4px; aspect-ratio: 400 / 170; overflow: hidden; border-bottom: 1px solid #F1ECE2; }
.eca-topic__art svg { display: block; width: 100%; height: 100%; transition: transform .35s ease; }
.eca-topic:hover .eca-topic__art svg { transform: scale(1.04); }

@media (max-width: 1024px) {
  .eca-arthead.has-art .eca-wrap { display: flex; flex-direction: column; }
  .eca-arthead.has-art .ec-breadcrumbs { order: -2; }
  .eca-arthead__art { order: -1; transform: none; box-shadow: none; border-radius: 20px; }
  .eca-arthead__art svg, .eca-arthead__art img { aspect-ratio: 400 / 180; }
  .eca-arthead.has-art h1 { font-size: 34px; }
}

/* v1.0.29: keep banner text light inside article content */
.ec-brand .entry-content .eca-banner p.eca-banner__t, .eca-article .eca-banner p.eca-banner__t { color: #FFF8EE; }
.ec-brand .entry-content .eca-banner p.eca-eyebrow, .eca-article .eca-banner p.eca-eyebrow { color: #FFD66B; margin: 0; }
