/* Main site pages in the map project's style (preview, 13.11.2026).
   Linked after /map/css/styles.css and /map/css/community.css. */
.hp-container{max-width:1000px;margin-top:39px}  /* 24px of the map pages + 15px below the menu */
.hp-hero{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:28px;align-items:start}
.hp-hero img{display:block;width:100%;height:auto}
.hp-hero-text p{margin:0 0 18px;color:#33475b}
.hp-cards{display:grid;gap:10px}
.hp-card{display:block;padding:12px 16px;border:1px solid #d5dde5;border-left:4px solid var(--accent);text-decoration:none;color:#243b53;background:#fafbfc;transition:background .15s ease}
.hp-card:hover{background:#eef2f6}
.hp-card strong{display:block;color:#16395c;font-size:1.05em}
.hp-card span{display:block;font-size:.85em;color:#5a6b7b;line-height:1.4}
.hp-heading{font-size:15px;letter-spacing:.14em;text-transform:uppercase;color:var(--accent);margin:0 0 14px}
.hp-docs h3{font-size:18px;font-weight:700;color:#16395c;margin:26px 0 8px}
.hp-docs ul{list-style:none;margin:0;padding:0}
.hp-docs li{padding:8px 0;border-bottom:1px solid #eef1f4;line-height:1.45}
.hp-docs li:last-child{border-bottom:0}
.hp-docs li > a:first-child{color:#1d5387;text-decoration:none;font-weight:400}
.hp-docs li > a:first-child:hover{text-decoration:underline}
.hp-docs .idx-date{color:#7a8894;font-size:.88em;white-space:nowrap}
.hp-docs .idx-alt{display:block;font-size:.85em;color:#7a8894}
.hp-docs .idx-alt a{color:#2f6ea8;text-decoration:none}
@media (max-width:720px){
  .hp-hero{grid-template-columns:1fr}
}

/* Menu items instead of the hamburger, always centred under the title (13.11.2026) */
body.hp #header{height:auto;flex-direction:column;align-items:center;padding:10px 16px 6px}
body.hp .header-titles{position:static;transform:none;padding:0}
.hp-nav{display:flex;gap:4px;align-items:center;flex-wrap:wrap;justify-content:center;margin:8px 0 0}
.hp-nav a{font:600 13.5px Arial,Helvetica,sans-serif;color:#16395c;text-decoration:none;padding:6px 10px;border-bottom:2px solid transparent;white-space:nowrap}
.hp-nav a:hover{color:var(--accent)}
.hp-nav a.is-active{border-bottom-color:var(--accent)}
@media (max-width:520px){ #map-title .t1{font-size:18px} #map-title .t2{font-size:17px;white-space:normal} .hp-nav a{padding:5px 7px;font-size:13px} }
