

.box{
    background: #34699a;
    border-radius: 16px;
    padding: 16px 10px;
    text-align: center;
    /*box-shadow: 6px 8px 10px rgba(0,0,0,.2);*/
    /*border: 2px solid rgba(52, 104, 153, 0.6);*/
    transition: .3s ease;


}
.box:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0,0,0,.1);
}
.box a{
    text-decoration: none;
    color: white;
    display: block;
    /*text-align: center;*/
}
.box p{
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: clamp(11px, 1.5vw, 15px);
    /*padding: 8px;*/
    margin: 5px;
}
.box img{
    width: 140px;
    height: 140px;
    border-radius: 50%;
    padding: 3px;
    border: 2px solid white;
    margin: 5px;
    object-position: center;

}
@media (max-width: 768px) {
    .box{
        padding: 14px 8px;
    }
    .box img{
        width: 120px;
        height: 120px;
    }
}
@media (max-width: 576px) {
    .box{
        padding: 14px 8px;
    }
    .box img{
        width: 110px;
        height: 110px;
    }
}



.responsive-title {
    font-size: clamp(0.8rem, 2vw, 1rem); /* حداقل، واکنشگر، حداکثر */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; /* برای اطمینان */
}






.route-header {
    position: relative;
    text-align: center;
    margin-bottom: 20px;
}

.header-img {
    width: 100%;
    height: auto;   /* تصویر همیشه کامل */
    display: block;
}

.route-header h5 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
}


