/* -----------------------------------
  Layout i tabela modalna menedżerów
----------------------------------- */
.menedzerowie-map {
    max-width: 980px;
    margin: 0 auto;
    font-family: "Libre Franklin", Arial, sans-serif;
}
.menedzerowie-map-instruction p {
    margin-top: -40px;
    margin-bottom: 30px;
    font-size: 1em;
    font-weight: 500;
    text-align: center;
}

.menedzerowie-map-svg {
    margin: 0 auto 40px auto;
    text-align: center;
}
.menedzerowie-map-svg svg {
    max-width: 70vh;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}
.commercial-region {
	transition: fill 0.2s;
	fill: #000000a3 !important;
	stroke: #fff !important;
	stroke-width: 4000 !important;
}

.commercial-region:hover {
	fill: #4d8ffb !important;
	stroke: #fff !important;
	stroke-width: 120 !important;
}

.menedzerowie-map-region-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    list-style: none !important;
    padding: 0 !important;
    margin-bottom: 20px;
    margin-top: 0;
    justify-content: center;
}
.menedzerowie-map-region-list li {
    padding: 6px 16px 6px;
    background: black !important;
    color: white !important;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s;
    font-size: 16px;
    border: 1px solid #ccc;
    box-shadow: 0 2px 4px rgba(0,0,0,0.03);
}
.menedzerowie-map-region-list li:hover {
    background: #4d8ffb !important;
    box-shadow: 0 2px 8px rgba(0,123,255,0.08);
}
.menedzerowie-map-region-list li::marker,
.menedzerowie-map-region-list li::before {
    content: none !important;
    display: none !important;
}
.menedzer-card {
    font-size: 1.09rem;
    color: #191919;
    padding: 12px 2px;
    font-family: "Libre Franklin", Arial, sans-serif;
}
.menedzer-card h3 {
    margin-top: 0;
    font-size: 1.18rem;
    font-weight: bold;
    color: #222;
    margin-bottom: 12px;
	text-transform: uppercase;
}

.menedzer-modal {
    position:fixed;
    z-index:9999;
    left:0;
    top:0;
    width:100vw;
    height:100vh;
    background:rgba(0,0,0,0.5);
    display:flex;
    align-items:center;
    justify-content:center;
}
.menedzer-modal-content {
    background:#fff;
    padding:50px;
    border-radius:6px;
    min-width:350px;
    box-shadow:0 2px 16px rgba(0,0,0,0.2);
    position:relative;
}
.menedzer-modal-close {
    position:absolute;
    top:5px;
    right:20px;
    font-size:28px;
    cursor:pointer;
}
.mm-contact-line {
    margin-bottom: 0.8em;
}

@media (max-width: 700px) {
    .menedzerowie-map,
    .menedzerowie-map-svg {
        max-width: 100vw;
    }
    .menedzerowie-map-svg svg {
        max-width: 100vw;
        width: 100vw;
    }
    .menedzer-modal-content {
        padding:18px;
        min-width:180px;
    }
    .menedzer-card h3 {
        font-size: 1rem;
        margin-bottom: 8px;
    }
}
/* ---- Dodatki do responsywności SVG ---- */
.menedzerowie-map-svg {
    margin: 0 auto 60px auto;
    text-align: center;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.menedzerowie-map-svg svg {
    max-width: 70vh;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    box-sizing: border-box;
}

/* --- Mobilne --- */
@media (max-width: 700px) {
    .menedzerowie-map,
    .menedzerowie-map-svg {
        max-width: 100%;
        width: 100%;
        padding-left: 0;
        padding-right: 0;
    }
    .menedzerowie-map-svg {
        overflow-x: auto;
        /* Umożliwia przewijanie, jeśli SVG jest szersze */
    }
    .menedzerowie-map-svg svg {
        max-width: 100%;
        width: 100%;
        min-width: 0;
    }
}
.menedzerowie-table-wrap {
    margin: 40px 0 0 0;
}
.menedzerowie-table-title {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Libre Franklin", Arial, sans-serif; /* Dodane */
    font-size: 24px; /* Większy i wyraźniejszy */
    font-weight: 500;
    margin-bottom: 60px;
    margin-top: 0;
    position: relative;
    text-align: center; /* Dodatkowe wyśrodkowanie */
    letter-spacing: 0.01em;
    gap: 22px; /* Odstęp między kreskami a napisem */
}

.menedzerowie-table-title span {
    display: inline-block;
    width: 24vw;
    min-width: 40px;
    max-width: 200px;
    height: 2px;
    background: #222;
    vertical-align: middle;
    margin: 0;
}
.menedzerowie-table {
    display: flex;
    flex-direction: column;
    gap: 32px;
}
.menedzer-row {
    display: flex;
    gap: 36px;
    justify-content: center;
    align-items: stretch;
}
.menedzer-row-cell {
    display: flex;
    align-items: center;
	padding: 18px 28px;
	border: none;
    border-top-width: medium;
    border-top-style: none;
    border-top-color: currentcolor;
    border-bottom-width: medium;
    border-bottom-style: none;
    border-bottom-color: currentcolor;
	min-width: 320px;
	width: 100%;
	max-width: 480px;
	border-top: 2px solid #000;
	border-bottom: 2px solid #000;
	gap: 18px;
}
.menedzer-avatar-wrap {
    flex: 0 0 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
}
.menedzer-avatar {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 0px;
    background: #eaeaea;
}
.menedzer-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    /*gap: 6px;   /* zamiast 10px */
}
.menedzer-name {
    font-size: 1.22em;
    font-weight: 600;
    margin-bottom: 2px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
	color: #000
}
.menedzer-region {
    font-size: 1em;
	font-weight: 600;
	color: #000;
	margin-bottom: 0.3em;
	text-transform: uppercase;
}
.menedzer-region-label {
    font-weight: 500;
    color: #191919;
    margin-right: 5px;
    font-size: 1em;
    letter-spacing: 0.01em;
}
.mm-contact-line {
    margin-bottom: 0.4em;
    display: flex;
    align-items: center;
    font-size: 1em;
    gap: 7px;
}
.mm-contact-line img {
    height: 2.2em !important;
    width: auto;
    margin-right: 0.4em;
}
.mm-contact-line a {
	color: #4d8ffb;
    text-decoration: none;
    font-size: 1em;
    font-weight: 400;
}
@media (max-width: 900px) {
    .menedzer-row-cell { min-width: 220px; max-width: 98vw; }
    .menedzer-row { gap: 12px; }
}
@media (max-width: 700px) {
    .menedzer-row {
        flex-direction: column;
        gap: 18px;
        align-items: center;
    }
    .menedzer-row-cell {
        max-width: 96vw;
        min-width: 0;
        padding: 14px 10px;
    }
    .menedzerowie-table-title span { width: 10vw; }
}
@media (max-width: 700px) {
    .menedzer-row-cell {
        flex-direction: column;
        max-width: 98vw;
        min-width: 0;
        padding: 12px 8px;
        gap: 0.7em;
        box-sizing: border-box;
    }
    .menedzer-avatar-wrap {
        display: none !important;
    }
    .menedzer-info {
        width: 100%;
        word-break: break-word;
        gap: 4px;
    }
    .menedzer-name,
    .menedzer-region,
    .mm-contact-line {
    /*    font-size: 1em; */
        margin-bottom: 0.15em;
        white-space: normal;
        word-break: break-word;
    }
    .mm-contact-line img {
        height: 1.8em !important;
    }
}
@media (max-width: 700px) {
    .menedzer-modal-content {
        padding: 20px;
        min-width: 180px;
        max-width: 95vw;
    }
    .menedzer-card h3 {
        font-size: 1.1em;
        margin-bottom: 25px;        
		margin-top: 15px;
    }
    .mm-contact-modal-group {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 0.7em;
        width: 100%;
    }
    .mm-contact-modal-label {
        display: flex;
        align-items: center;
        gap: 0.6em;
        font-weight: 500;
        font-size: 1em;
        margin-bottom: 2px;
    }
    .mm-contact-modal-value {
        font-size: 1em;
        word-break: break-all;
        margin-left: 2.1em; /* odstęp jak ikona */
    }
    .mm-contact-modal-value a {
        color: #4d8ffb;
        text-decoration: none;
        word-break: break-all;
    }
}