/* Scoped styles for landing pages, piggyback on the existing Relogistik 2026 design. */
.rel-page.rel-dir-page .rel-dir-hero { padding-top:24px; }
.reld-breadcrumb { display:flex;gap:9px;flex-wrap:wrap;font-size:12px;color:#497B9B;align-items:center; }
.reld-breadcrumb a {color:#2478AE;text-decoration:none;}
.rel-dir-custom {background:#fff;}
.reld-unique-grid {display:grid;grid-template-columns:minmax(0,1.3fr) minmax(280px,.7fr);gap:48px;align-items:start;}
.reld-unique-copy {max-width:760px;}
.reld-unique-copy h2 {margin-bottom:24px!important;}
.reld-unique-copy p {color:#44657C;line-height:1.83;font-size:16px;margin:0 0 20px;}
.reld-seo-card {background:linear-gradient(155deg,#EAF6FF,#F6FBFF);border:1px solid #CCE5F6;border-radius:22px;padding:31px;box-shadow:0 16px 34px rgba(29,91,139,.07);position:sticky;top:24px;}
.reld-card-kicker {display:block;font-size:11px;font-weight:800;letter-spacing:.13em;text-transform:uppercase;color:#1B81BD;margin-bottom:14px;}
.reld-seo-card h3 {font-size:23px;line-height:1.26;color:#153B5B;margin:0 0 15px;font-weight:800;}
.reld-seo-card p {font-size:15px;line-height:1.77;color:#47718C;margin:0 0 22px;}
.reld-seo-card a {color:#1179C5;font-size:14px;font-weight:800;text-decoration:none;border-bottom:1px solid #8AC5E8;padding-bottom:3px;}
.reld-calculator-fallback {padding-bottom:24px;}
.rel-dir-archive-head {padding:82px 0 68px;background:linear-gradient(125deg,#F6FBFF,#E8F5FF,#D7ECFB);}
.rel-dir-archive-head h1 {font-size:clamp(34px,4vw,55px);line-height:1.14;color:#153B5B;margin:0 0 15px;}
.rel-dir-archive-head p {max-width:720px;color:#537D97;font-size:17px;line-height:1.7;}
.rel-dir-directory {background:#fff;}
.reld-letters {display:flex;flex-wrap:wrap;gap:8px 12px;margin-bottom:40px;}
.reld-letters a {display:grid;place-items:center;width:38px;height:38px;background:#E8F5FF;border:1px solid #D0E9F8;border-radius:10px;font-weight:800;color:#145C8A;}
.reld-letter-section {scroll-margin-top:30px;margin-bottom:42px;}
.reld-letter-section>h2 {font-size:36px;color:#1179C5;margin:0 0 14px;}
.reld-city-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;}
.reld-city-group {padding:23px;background:#F5FAFF;border:1px solid #DDEBF7;border-radius:16px;}
.reld-city-group h3 {font-size:18px;color:#153B5B;margin:0 0 13px;}
.reld-city-group a {display:block;color:#23668E;font-size:14px;line-height:1.6;margin:8px 0;}
@media(max-width:991px){.reld-unique-grid{grid-template-columns:1fr;gap:22px}.reld-seo-card{position:static}.reld-city-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:620px){.reld-unique-copy p{font-size:15px;line-height:1.72}.reld-seo-card{padding:23px;border-radius:18px}.reld-city-grid{grid-template-columns:1fr}.rel-dir-archive-head{padding:45px 0}.rel-dir-archive-head p{font-size:15px}.reld-letters{gap:6px}.reld-letters a{width:33px;height:33px}.rel-page.rel-dir-page .rel-dir-hero{padding-top:15px}}

/* Scalable routes directory — alphabet > city > route pages */
.reld-city-card,.reld-route-card {display:flex;align-items:center;gap:12px;justify-content:space-between;background:#F5FAFF;border:1px solid #DDEBF7;border-radius:14px;padding:18px 20px;text-decoration:none;transition:border-color .2s,transform .2s,box-shadow .2s;color:#153B5B;}
.reld-city-card:hover,.reld-route-card:hover{border-color:#80C5EF;box-shadow:0 12px 26px rgba(17,82,127,.09);transform:translateY(-2px);}
.reld-city-card strong{font-size:16px;line-height:1.3}.reld-city-card small{font-size:12px;color:#6C90A8;margin-left:auto;white-space:nowrap}.reld-city-card>span,.reld-route-card>b{color:#1789C9;font-size:20px;}
.reld-route-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 25px;}
.reld-route-card span{font-size:14px;line-height:1.45;font-weight:700;}
.reld-pagination ul{display:flex;justify-content:center;flex-wrap:wrap;gap:7px;list-style:none;margin:26px 0;padding:0}
.reld-pagination a,.reld-pagination span{display:grid;place-items:center;min-width:38px;min-height:38px;border-radius:9px;background:#E9F5FE;color:#17699B;padding:5px 10px;text-decoration:none;font-weight:800;}
.reld-pagination .current{background:#1179C5;color:#fff}
@media(max-width:960px){.reld-route-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.reld-route-grid{grid-template-columns:1fr}.reld-city-card{padding:15px}.reld-city-card strong{font-size:14px}.reld-city-card small{font-size:11px}}


/* v1.4.2: tighter directory intro around the smaller search panel. */
.rel-dir-archive .rel-dir-archive-head {padding:56px 0 48px;}
.rel-dir-archive .rel-dir-archive-head h1 {margin-bottom:12px;}
.rel-dir-archive .rel-dir-archive-head > .mbx > p {margin:0;}
@media(max-width:620px) {
 .rel-dir-archive .rel-dir-archive-head {padding:32px 0 35px;}
 .rel-dir-archive .rel-dir-archive-head h1 {font-size:clamp(30px,9vw,39px);line-height:1.15;}
}
