/* ILM Research Solutions v52 — research guide hub, articles and contextual links.
   Namespaced to avoid changing legacy home, service and responsive v51 layouts. */
:root{--guide-ink:#0d2b3b;--guide-sub:#4d6876;--guide-line:#dce8ee;--guide-cyan:#07b4d8}
#research-guides{scroll-margin-top:112px}
.guide-page{background:#f2f7fa;color:var(--guide-ink);min-height:90vh}
.guide-page a:focus-visible,.guide-home-section a:focus-visible,.guide-inline-section a:focus-visible,.guide-index a:focus-visible{outline:3px solid #14bfe6;outline-offset:4px}
.guide-hero{padding:143px 0 59px;background:radial-gradient(circle at 85% 15%,rgba(37,171,229,.17),transparent 34%),linear-gradient(135deg,#061b28,#123b52);color:#f7fcff}
.guide-hero .wrap{max-width:1120px}
.guide-breadcrumb{display:flex;align-items:center;gap:9px;flex-wrap:wrap;font-size:.79rem;color:#aec6d3;margin-bottom:28px}
.guide-breadcrumb a{color:#9ce6f9;text-decoration:underline;text-decoration-color:rgba(156,230,249,.35);text-underline-offset:3px}
.guide-breadcrumb [aria-current=page]{max-width:42ch;overflow-wrap:anywhere}
.guide-kicker{color:#54d9fb;letter-spacing:.14em;text-transform:uppercase;font-size:.75rem;font-weight:850;margin:0 0 15px}
.guide-hero h1{font-size:clamp(2.3rem,5.1vw,4.5rem);line-height:1.08;letter-spacing:-.052em;max-width:960px;margin:0 0 23px;text-wrap:balance}
.guide-lead{color:#d1e2e9;line-height:1.75;font-size:1.07rem;max-width:850px;margin:0}
.guide-meta{display:flex;flex-wrap:wrap;column-gap:23px;row-gap:5px;margin-top:28px;padding-top:20px;border-top:1px solid rgba(255,255,255,.16);font-size:.8rem;color:#aac6d4}
.guide-layout{max-width:1120px;display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:42px;align-items:start;padding-top:48px;padding-bottom:84px}
.guide-article{min-width:0;line-height:1.82;font-size:1.02rem;overflow-wrap:anywhere}
.guide-direct-answer{padding:26px 31px!important;border:1px solid #bde5ec;background:#e8f8fb;border-radius:18px;margin-bottom:30px;box-shadow:0 9px 27px rgba(11,52,66,.04)}
.guide-mini-label{font-size:.71rem;letter-spacing:.16em;font-weight:850;color:#107d9d;margin:0 0 4px}
.guide-direct-answer h2{font-size:1.42rem;margin:0 0 10px;color:#083b4e;letter-spacing:-.025em}
.guide-direct-answer p:last-child{margin:0;color:#355667}
.guide-section{padding:0 0 28px!important;margin:0 0 29px;border-bottom:1px solid #dce8ee;scroll-margin-top:120px}
.guide-section h2,.guide-related h2{font-size:clamp(1.42rem,3vw,1.88rem);line-height:1.25;letter-spacing:-.035em;margin:0 0 15px;color:#0b2e42}
.guide-section p{margin:0 0 15px;color:#415b69}
.guide-section ul,.guide-section ol{padding-left:25px;margin:12px 0 21px;color:#415b69}
.guide-section li{margin-bottom:9px;padding-left:3px}
.guide-section li strong,.guide-section p strong{color:#153e52}
.guide-example{background:white;border:1px solid var(--guide-line);border-left:4px solid #19b4d5;padding:20px 23px;border-radius:12px;margin:22px 0;box-shadow:0 8px 18px rgba(5,43,61,.035)}
.guide-example>strong{display:block;color:#086f91;margin-bottom:7px}
.guide-example p:last-child{margin-bottom:0}
.guide-sidebar{min-width:0}
.guide-toc{position:sticky;top:116px;padding:23px 21px 18px;background:white;border:1px solid var(--guide-line);border-radius:16px;box-shadow:0 18px 38px rgba(12,43,61,.06)}
.guide-toc h2{font-size:.87rem;color:#10405b;letter-spacing:.015em;margin:0 0 14px}
.guide-toc a{display:block;padding:9px 0;border-top:1px solid #edf2f5;color:#496473;font-size:.83rem;line-height:1.45;transition:color .15s}
.guide-toc a:hover{color:#067d9e}
.guide-faq-item{padding:17px 0;border-top:1px solid #dce8ee}
.guide-faq-item h3{font-size:1.06rem;line-height:1.45;color:#12394d;margin:0 0 7px}
.guide-faq-item p{margin:0}
.guide-references ul{list-style:disc}
.guide-references a{color:#057d9b;text-decoration:underline;text-underline-offset:3px}
.guide-integrity-note{margin:30px 0 43px;border:1px solid #d8e6ed;background:#f8fbfc;color:#56707e;padding:18px 21px;border-radius:12px;font-size:.86rem;line-height:1.6}
.guide-related{padding:0 0 36px!important}
.guide-related-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.guide-related-card{display:flex;flex-direction:column;align-items:flex-start;gap:10px;min-height:160px;padding:20px;border-radius:14px;background:#fff;border:1px solid var(--guide-line);box-shadow:0 7px 20px rgba(6,43,60,.035);transition:transform .2s,border-color .2s}
.guide-related-card:hover,.guide-inline-card:hover,.guide-home-card:hover{border-color:#3ec4e3;transform:translateY(-3px)}
.guide-related-card small{color:#107d9d;font-weight:800;font-size:.72rem}
.guide-related-card strong{font-size:1.02rem;line-height:1.35;color:#12364a}
.guide-related-card span{margin-top:auto;color:#0b89aa;font-size:.8rem;font-weight:800}
.guide-cta{padding:28px 31px;border-radius:18px;background:linear-gradient(120deg,#082f43,#095872);color:white}
.guide-cta h2{font-size:1.5rem;line-height:1.3;margin:0 0 6px}
.guide-cta p{color:#c0e4ef;margin:0 0 18px;font-size:.94rem}
.guide-cta>div{display:flex;flex-wrap:wrap;gap:10px}
.guide-cta a{border-radius:999px;padding:11px 17px;font-size:.83rem;font-weight:800;background:#64dff9;color:#063046;display:inline-flex;align-items:center;min-height:42px}
.guide-cta a+a{background:transparent;color:#ebfaff;border:1px solid #62b6ca}
.guide-table-wrap{max-width:100%;overflow-x:auto;border:1px solid var(--guide-line);border-radius:13px;background:#fff;margin:19px 0 23px}
.guide-table{border-collapse:collapse;width:100%;min-width:560px;font-size:.88rem;line-height:1.5;color:#415c6b}
.guide-table th,.guide-table td{text-align:left;vertical-align:top;padding:13px 15px;border-bottom:1px solid #e5edf2}
.guide-table thead th{background:#e3f5f9;color:#13465c}
.guide-table tbody tr:last-child td,.guide-table tbody tr:last-child th{border-bottom:0}
.guide-index{padding:63px 0 0!important;margin-top:45px;border-top:1px solid rgba(119,216,244,.18)}
.guide-index-header{max-width:850px;margin-bottom:30px}
.guide-index-header h2{font-size:clamp(2rem,4vw,3.1rem);letter-spacing:-.048em;line-height:1.12;margin:0 0 13px}
.guide-index-header>p:last-child{color:#adc6d4;font-size:1rem;line-height:1.65;margin:0}
.guide-index-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
.guide-list-card{min-height:270px;padding:28px;border-radius:18px;border:1px solid rgba(109,211,240,.22);background:linear-gradient(145deg,rgba(15,57,77,.92),rgba(9,35,49,.9));display:flex;flex-direction:column;transition:border-color .2s,transform .2s}
.guide-list-card:hover{border-color:#62d4f0;transform:translateY(-2px)}
.guide-list-meta{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;font-size:.72rem;color:#74dbf1;font-weight:800;margin-bottom:15px}
.guide-list-card h3{font-size:1.35rem;line-height:1.33;letter-spacing:-.022em;margin:0 0 11px}
.guide-list-card h3 a:hover{color:#7ee7ff}
.guide-list-card p{color:#afcad6;font-size:.9rem;margin:0 0 18px;line-height:1.65}
.guide-list-read{margin-top:auto;color:#61e2ff;font-weight:800;font-size:.84rem;align-self:flex-start}
.guide-home-section{background:radial-gradient(circle at 0% 0%,rgba(29,149,191,.16),transparent 38%),#092d3d;color:white;padding:78px 0!important}
.guide-home-heading{display:flex;align-items:end;justify-content:space-between;gap:28px;margin-bottom:25px}
.guide-home-heading h2{font-size:clamp(2.05rem,4.6vw,3.35rem);letter-spacing:-.046em;line-height:1.13;margin:0 0 10px}
.guide-home-heading p:not(.eyebrow){color:#b2cedb;max-width:690px;margin:0}
.guide-home-heading>a{display:inline-flex;flex:none;align-items:center;min-height:44px;border:1px solid #42758c;border-radius:100px;padding:10px 17px;font-size:.83rem;color:#91e7f9;font-weight:800}
.guide-home-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.guide-home-card,.guide-inline-card{min-width:0;min-height:170px;padding:23px 21px;display:flex;flex-direction:column;gap:10px;border:1px solid rgba(87,195,223,.25);background:#103d51;border-radius:17px;transition:.2s}
.guide-home-card span,.guide-inline-card span{color:#73dff7;font-size:.72rem;font-weight:800}
.guide-home-card strong,.guide-inline-card strong{font-size:1.05rem;line-height:1.34;letter-spacing:-.013em}
.guide-home-card b,.guide-inline-card b{font-size:.82rem;color:#7fe3fa;margin-top:auto}
.guide-inline-section{background:#0b3243;padding:65px 0!important;color:#fff}
.guide-inline-section h2{font-size:clamp(1.75rem,4vw,2.6rem);letter-spacing:-.04em;line-height:1.17;margin:0 0 24px}
.guide-inline-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.guide-inline-card{min-height:155px}
.guide-inline-all{margin:25px 0 0;color:#8ce7ff;font-weight:800;font-size:.89rem}
.guide-inline-all a{text-decoration:underline;text-underline-offset:4px}
@media (max-width:960px){
 .guide-layout{grid-template-columns:minmax(0,1fr);gap:0}
 .guide-sidebar{display:none}
 .guide-home-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .guide-inline-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:650px){
 .guide-hero{padding:117px 0 42px!important}
 .guide-hero h1{font-size:clamp(2.05rem,9.4vw,2.8rem);line-height:1.1;overflow-wrap:break-word}
 .guide-lead{font-size:.98rem;line-height:1.68}
 .guide-meta{font-size:.75rem;column-gap:16px;margin-top:20px}
 .guide-breadcrumb{font-size:.73rem;gap:6px;margin-bottom:20px}
 .guide-layout{padding-top:30px;padding-bottom:65px}
 .guide-article{font-size:.98rem;line-height:1.73}
 .guide-direct-answer{padding:20px!important}
 .guide-section h2{font-size:1.44rem}
 .guide-related-grid,.guide-index-grid,.guide-home-grid,.guide-inline-grid{grid-template-columns:minmax(0,1fr)}
 .guide-related-card{min-height:120px}
 .guide-cta{padding:23px 20px}
 .guide-cta>div{flex-direction:column;align-items:stretch;text-align:center}
 .guide-index{padding-top:46px!important;margin-top:36px}
 .guide-list-card{min-height:235px;padding:22px}
 .guide-home-section{padding:58px 0!important}
 .guide-home-heading{display:block}
 .guide-home-heading>a{margin-top:18px}
 .guide-home-card,.guide-inline-card{min-height:135px}
 .guide-inline-section{padding:52px 0!important}
}
@media (prefers-reduced-motion:reduce){.guide-home-card,.guide-inline-card,.guide-list-card,.guide-related-card{transition:none}}

/* v55 guide card redesign */
.guide-home-heading h2{font-size:clamp(1.9rem,4vw,3rem)}
.guide-index-header h2{font-size:clamp(1.82rem,3.6vw,2.8rem)}
.guide-index-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.guide-list-card{min-height:0;padding:0;overflow:hidden;border-radius:22px;background:linear-gradient(150deg,rgba(15,54,73,.95),rgba(7,31,45,.96));box-shadow:0 20px 48px rgba(2,19,30,.18)}
.guide-list-card:hover{transform:translateY(-4px)}
.guide-list-visual{display:block}
.guide-list-media{position:relative;aspect-ratio:16/9;overflow:hidden;margin:0;background:#0b3042}
.guide-list-media img{width:100%;height:100%;object-fit:cover;display:block;filter:blur(1.8px) saturate(1.04);transform:scale(1.06);transition:transform .28s ease,filter .28s ease}
.guide-list-card:hover .guide-list-media img{transform:scale(1.11);filter:blur(0px) saturate(1.08)}
.guide-list-media::before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(3,18,28,.08),rgba(4,18,27,.7) 62%,rgba(4,18,27,.88))}
.guide-list-overlay{position:absolute;inset:auto 0 0 0;padding:18px 18px 16px;display:grid;gap:10px}.guide-list-overlay span{display:inline-flex;justify-self:start;padding:6px 10px;border-radius:999px;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.24);color:#9beafb;font-size:.68rem;font-weight:850;letter-spacing:.08em;text-transform:uppercase}.guide-list-overlay h3{margin:0;color:#fff;font-size:1.26rem;line-height:1.3;letter-spacing:-.02em;max-width:95%}
.guide-list-body{display:flex;flex-direction:column;gap:0;padding:20px 22px 22px}
.guide-list-meta{margin-bottom:12px;color:#79dbf2}
.guide-list-body p{color:#b4ced9;font-size:.9rem;line-height:1.64;margin:0 0 16px}
.guide-list-read{margin-top:auto}
@media(max-width:650px){.guide-list-overlay{padding:15px 15px 14px}.guide-list-overlay h3{font-size:1.07rem}.guide-list-body{padding:18px}.guide-list-body p{font-size:.87rem}}


/* v57 blog card usability update */
.guide-list-card{display:flex;flex-direction:column}
.guide-list-visual{display:block}
.guide-list-media{aspect-ratio:16/9;background:#0b3042;border-bottom:1px solid rgba(117,227,248,.14)}
.guide-list-media img{width:100%;height:100%;object-fit:cover;display:block;filter:none;transform:scale(1.01);transition:transform .28s ease,filter .28s ease}
.guide-list-card:hover .guide-list-media img{transform:scale(1.05);filter:none}
.guide-list-media::before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(2,16,24,.06),rgba(2,16,24,.12) 55%,rgba(2,16,24,.18))}
.guide-list-badge{position:absolute;left:16px;top:16px;z-index:2;display:inline-flex;align-items:center;padding:7px 11px;border-radius:999px;background:rgba(7,51,76,.72);backdrop-filter:blur(5px);border:1px solid rgba(155,234,251,.4);color:#9beafb;font-size:.68rem;font-weight:850;letter-spacing:.08em;text-transform:uppercase}
.guide-list-body{padding:18px 22px 22px}
.guide-list-title{margin:0 0 12px;color:#fff;font-size:1.22rem;line-height:1.34;letter-spacing:-.02em}
.guide-list-meta{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:12px;color:#79dbf2;font-size:.82rem;font-weight:700}
.guide-list-body p{color:#b4ced9;font-size:.9rem;line-height:1.64;margin:0 0 16px}
@media(max-width:650px){.guide-list-badge{left:12px;top:12px;font-size:.63rem;padding:6px 9px}.guide-list-title{font-size:1.06rem}.guide-list-body{padding:16px 18px 18px}}

/* v57.1 — mobile blog layout: keep readable full-width cards */
@media (max-width: 650px) {
  .guide-index-grid { grid-template-columns: minmax(0, 1fr); }
  .guide-list-card { min-width: 0; }
  .guide-list-media { aspect-ratio: 16 / 9; }
  .guide-list-title { font-size: 1.14rem; line-height: 1.35; }
  .guide-list-body { padding: 18px 19px 20px; }
}
