@charset "utf-8";
/* CSS Document */

#top10_middle{
  display: flex;
  gap: 20px;
  justify-content: center;   /* центр по горизонталі */
  align-items: center;       /* центр по вертикалі (якщо є висота сторінки) */
  min-height: 100vh;

}
 
.box {
  width: 671px;
  height: 518px;
  background: #bcb3b3;
  display: flex;
  align-items: center;
  justify-content: center;
  position:relative;
}

.inside_box {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: rgba(0, 0, 0, 0.75); /* 75% затемнення */
    color: #fff; /* щоб текст було видно */
    padding: 10px;
        padding-right: 250px; /* ширина inside_box_price + відступ */
    word-break: break-word;
        white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size:20px;
    box-sizing: border-box;
 
    white-space: normal;      /* дозволяє перенос */
    word-break: break-word;   /* ламає довгі слова */

    display: -webkit-box;
    -webkit-box-orient: vertical;
    
    overflow: hidden;

}
.inside_box a{font-size:20px;color:#fff;text-decoration: none;}
.inside_box a:hover{text-decoration: underline;}
.inside_box_price {
    position: absolute;
    bottom: 0;
    right: 0;
    height: 100px; width: 240px;
 
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    padding: 10px;
    box-sizing: border-box;
    display: flex;
    align-items: center;     /* по вертикалі */
    justify-content: center; /* по горизонталі */
    font-size:30px;
}
.column {
  display: flex;
  flex-direction: column;
  gap: 10px; /* відступ між боксами */
}
#top10_name{
 text-align: center;
 padding-top:20px;
 padding-bottom:20px;
font-size:18px;
}
#top10_name span {
  display: block;
  font-size: 12px;
  color: #777;
  margin-top: 5px;
}