.iltec-tabs {
    display: flex;
    flex-direction: row;
    gap: 24px;
    align-items: flex-start;
}

/* Вертикальна колонка з кнопками — 240px як в оригіналі */
.iltec-tabs-nav {
    width: 240px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.iltec-tab-btn {
    all: unset;
    display: block;
    width: 100%;
    box-sizing: border-box;
    background: #284067;
    color: #ffffff;
    font-family: "ibm-plex-mono", Sans-serif;
    font-size: 14px;
    border: 3px solid transparent;
    border-radius: 5px;
    padding: 12px 16px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    outline: none;
}

.iltec-tab-btn:hover,
.iltec-tab-btn:active,
.iltec-tab-btn:focus,
.iltec-tab-btn:focus-visible {
    text-decoration: none;
    outline: none;
}

.iltec-tab-btn:hover {
    border-color: #21CCCB;
}

.iltec-tab-btn.active {
    border-color: #21CCCB;
    color: #21CCCB;
}

/* Grid-stacking: всі панелі в одній комірці — висота не стрибає */
.iltec-tabs-content {
    flex: 1;
    min-width: 0;
    display: grid;
    grid-template-columns: 1fr;
}

.iltec-tab-panel {
    grid-column: 1;
    grid-row: 1;
    visibility: hidden;
    pointer-events: none;
}

.iltec-tab-panel.active {
    visibility: visible;
    pointer-events: auto;
}

/* Іконки */
.tech-items-wrap {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    width: 100%;
    row-gap: 24px;
}

.tech-item-col {
    flex: 0 0 33.333%;
    max-width: 33.333%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.tech-item-col p {
    color: #7998A2;
    text-align: center;
    margin: 0;
    font-size: 13px;
}

.tech-item-col[data-url] {
    cursor: pointer;
}

/* Мобільні: таби горизонтально зверху, іконки менші */
@media (max-width: 767px) {
    .iltec-tabs {
        flex-direction: column;
        gap: 16px;
    }

    .iltec-tabs-nav {
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 6px;
    }

    .iltec-tab-btn {
        flex: 1 1 auto;
        font-size: 12px;
        padding: 8px 10px;
        text-align: center;
    }

    .tech-item-col img {
        width: 32px !important;
        height: 32px !important;
    }

    .tech-item-col p {
        font-size: 11px;
    }
}
