/* BlackItaly – global tweaks on top of style.css (loaded on every page). October 2026. */

/* Main menu: nine entries; keep each on one line and tighten the spacing on laptops. */
.main-navigation .navigation > li > a { white-space: nowrap; }
@media (max-width: 1400px) {
    .main-navigation .navigation > li > a { padding: 10px 12px; margin: 30px 2px; }
}
@media (max-width: 1200px) {
    .main-navigation .navigation > li > a { padding: 8px 9px; font-size: .95rem; }
}

/* Banner credit (networks: Joan Oliva's chart) */
.main-banner__image-wrapper { position: relative; }
.main-banner__credit { position: absolute; left: .5rem; bottom: .4rem; z-index: 2; max-width: calc(100% - 1rem); font-size: .7rem; line-height: 1.3; color: #fff; background: rgba(0, 0, 0, .55); padding: .15rem .5rem; border-radius: 4px; }

/* Map markers by place type (Mapping patched: MappingModule.pointMarker). Blue = origin, orange = place of activity. */
:root { --bi-marker-origin: #1d6f8a; --bi-marker-activity: #d9781e; }
.bi-marker { background: none; border: 0; }
.bi-marker span { display: block; width: 22px; height: 22px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .45); box-sizing: border-box; }
.bi-marker--origin span { background: var(--bi-marker-origin); }
.bi-marker--activity span { background: var(--bi-marker-activity); }
.bi-marker-legend { background: rgba(255, 255, 255, .92); padding: .3rem .6rem; border-radius: 6px; box-shadow: 0 1px 4px rgba(0, 0, 0, .25); font-size: .8rem; line-height: 1.4; display: flex; gap: .9rem; }
.bi-marker-legend__item { display: inline-flex; align-items: center; gap: .35rem; }
.bi-marker-legend__item::before { content: ""; width: 11px; height: 11px; border-radius: 50%; border: 1.5px solid #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .25); }
.bi-marker-legend__item--origin::before { background: var(--bi-marker-origin); }
.bi-marker-legend__item--activity::before { background: var(--bi-marker-activity); }
