.detail-top {
    width:100%;
    background:#1b1b1b;
    border-radius:16px;
    box-shadow:0 6px 20px rgba(0,0,0,0.4);
    position:relative;
    padding-bottom:15px;
}

.detail-top::after {
    content:"";
    position:absolute;
    bottom:0;
    left:50%;
    transform:translateX(-50%);
    width:100%;
    height:5px;
    background:#444;
}


.detail-header-group {
    display:flex;
    justify-content:space-evenly;
    padding:25px 40px;
    width:100%;
}

.clickable-image{
    cursor:pointer;
    transition:0.2s;
}

.clickable-image:hover{
    transform:scale(1.05);
}

.link-disabled{
    pointer-events:none;
    cursor:default;
    opacity:.5;
}

.detail-item {
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:30px;
    font-size:24px;
    font-weight:700;
}


.detail-item img {
    width:200px;
    height:200px;
    object-fit:cover;
    border-radius:12px;
}

.detail-item.mobile-hidden {
    display:none;
}

#detail-more-btn {
    display:none;

    margin:15px auto;
    padding:6px 15px;
    min-width:70px;
    width:auto;

    border:1px solid #555;
    border-radius:20px;

    background:rgba(255,255,255,0.08);
    color:white;

    font-size:14px;
    font-weight:600;

    cursor:pointer;
    transition:0.2s;

    white-space:nowrap;
}

#detail-more-btn:hover {
    background:rgba(255,255,255,0.15);
}

@media (max-width:1100px){
   #detail-third-name {
        width: 200px;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        text-align: center;
    }
}

@media (max-width:1000px) {
    .detail-header-group{
        display:grid;
        grid-template-columns: repeat(2, 200px);
        justify-content:space-evenly;
        gap:30px;
        padding:25px 40px;
        width:100%;
    }

    .detail-item{
        width:200px;
    }
}

@media (min-width:501px) {
    .detail-item.mobile-hidden{display:flex;}
    #detail-more-btn          {display:none;}
}

@media (max-width:500px) {
    .detail-header-group {grid-template-columns: 200px;}
    .detail-item.mobile-hidden {display:none;}
    #detail-more-btn {display:block;}

    #detail-third-name {
        overflow: visible;
        white-space: normal;
        text-overflow: clip;
    }
}