main {
    /* flex: 1; */
    overflow: hidden;
    margin-top: 12px!important;
    margin-bottom: 12px!important;
}

.showcase-main-row {
    display: flex;
    align-items: flex-start;
    margin-top: 2rem;
    margin-bottom: 2rem;
}
.showcase-col-left {
    flex: 0 0 33.3333%;
    max-width: 400px;
    min-width: 220px;
}
.showcase-col-right {
    flex: 1 1 0;
    min-width: 0;
}
.showcase-info-list {
    margin-bottom: 2rem;
    font-size: 0.9em;
}
.showcase-info-list dt {
    font-weight: bold;
    margin-top: 0.5em;
}
.showcase-info-list dd {
    /* word-break: break-word; */
    margin: 0 0 0.5em 0;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.showcase-gauges {
    margin-bottom: 2rem;
}
.gauge-label {
    margin-bottom: 0.2em;
    font-size: 0.97em;
    font-weight: 500;
}
.gauge-bar {
    width: 100%;
    height: 8px;
    background: #484848;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 1.2em;
    position: relative;
}
.gauge-bar-inner {
    height: 100%;
    background: #e53935;
    width: 0;
    transition: width 1s cubic-bezier(.4,2,.6,1);
}
.gauge-bar.grey .gauge-bar-inner {
    background: #bbb;
}
@media (max-width: 900px) {
    .showcase-main-row { flex-direction: column; gap: 1.5rem; }
    .showcase-col-left, .showcase-col-right { max-width: 100%; min-width: 0; }
}
.showcase-gallery-main {
    width: 100%;
    aspect-ratio: 16/9;
    background: #fafafa;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #eee;
    position: relative;
}
.showcase-gallery-main img {
    width: 100%;
    height: 100%;
    display: block;
    margin: auto;
    object-fit: cover;
}
.showcase-gallery-placeholder {
    width: 100%;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    font-size: 1.2em;
    background: #f5f5f5;
    border-radius: 8px;
    border: 1px dashed #ccc;
}
.showcase-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
}
@media (max-width: 1200px) {
    .showcase-thumbs { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 700px) {
    .showcase-main-row { flex-direction: column; }
    .showcase-thumbs { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .showcase-main-row { flex-direction: column; }
    .showcase-thumbs { grid-template-columns: 1fr; }
}
.showcase-thumb {
    border: 1px solid #d0d0d0;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.2s;
    background: #fafafa;
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
}
.showcase-thumb.selected {
    border: 1px solid #e53935;
    
}
.showcase-thumb:not(.selected) {
    border: 1px solid #d0d0d0;
}
.showcase-thumb img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}
@media (max-width: 700px) {
    .showcase-col-left, .showcase-col-right { max-width: 100%; }
    .showcase-gallery-main, .showcase-thumbs { margin-bottom: 1rem; }
}
@media (max-width: 600px) {
    .showcase-main-row { flex-direction: column; }
    .showcase-col-left, .showcase-col-right { max-width: 100%; }
    .showcase-thumbs { grid-template-columns: 1fr; }
}

.showcaseNavigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* margin-top: 2.5rem; */
    gap: 1.5rem;
}
.showcase-nav-link {
    display: flex;
    align-items: center;
    font-size: 0.85em;
    color: #c5c5c5;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5em 0;
    /* border-radius: 6px; */
    /* background: #fff2; */
    transition: background 0.2s;
    max-width: 48%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    
}
.showcase-nav-link:hover {
    /* background: #e53935; */
    color: #fff;
    text-decoration: none;

}
.showcase-nav-link .arrow {
    font-size: 1em;
    margin: 0;
}
.showcase-nav-link.prev .arrow { order: 0; }
.showcase-nav-link.prev .nav-title { order: 1; }
.showcase-nav-link.next .nav-title { order: 0; }
.showcase-nav-link.next .arrow { order: 1; }
.back-link {
    font-size: 1em;
    font-weight: bold;
    color: #e53935;
    cursor: pointer;
    user-select: none;
}
.tag-pill {
    display: inline-block;
    padding: 0.4em 0.8em;
    margin: 0.2em 0;
    background: rgba(229, 87, 34, 0.1);
    color: #d2d2d2ff;
    border-radius: 16px;
    text-decoration: none;
    font-size: 0.85em;
    transition: background 0.2s;
}
.tag-pill:hover {
    background: rgba(229, 87, 34, 0.2);
}