.custom-items__global-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.custom-items__list {
    width: 100%;
    max-width: 1270px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
    margin-bottom: 0;
}

.custom-item-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.custom-item-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.custom-item-card a {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.custom-item-card__wrap {
    height: 100%;
    display: flex;
    flex-direction: row;
    gap: 26px;
}

.custom-item-card__info {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    padding: 15px 36px 5px 0;
}

.custom-item-card__logo-wrap {
    text-align: center;
}

.custom-item-card__logo {
    width: fit-content;
    height: 100%;
    max-width: 250px;
    max-height: 250px;
    object-fit: contain;
}

.custom-item-card__title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 12px 0;
    color: #1E1E1E;
    line-height: 1.3;
    margin-bottom: 0;
}

.custom-item-card__basic-description {
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
    color: #AAB4B6;
    margin-bottom: 8px;
}

.custom-item-card__additional-facts ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.custom-item-card__additional-facts ul li {
    color: #121217;
    font-size: 12px;
    font-weight: 300;
    line-height: 110%;
    padding: 8px 12px;
    border-radius: 15px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.custom-item-card__basic-description-file,
.custom-item-card__additional-facts-file {
    margin-bottom: 10px;
}

.custom-item-card__file-link {
    display: inline-block;
    padding: 8px 12px;
    background: #f5f5f5;
    border-radius: 6px;
    color: #007bff;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.custom-item-card__file-link:hover {
    background: #e9ecef;
    color: #0056b3;
}

.custom-items__empty {
    text-align: center;
    padding: 40px;
    color: #666;
    font-size: 16px;
}

/* Адаптивность */
@media (max-width: 768px) {
    .custom-items__list {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 15px;
    }
    .custom-item-card__title {
        font-size: 16px;
    }
}

@media (max-width: 600px) {
    .custom-item-card__wrap {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .custom-items__global-wrapper {
        padding: 10px;
    }
    
    .custom-items__list {
        grid-template-columns: 1fr;
    }

    .custom-item-card__logo {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.professions-slider-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    margin: 30px 0;
    padding: 0 40px;
}

.professions-slider-track {
    display: flex;
    transition: transform 0.3s ease;
    gap: 20px;
}

.profession-slide {
    min-width: calc(33.333% - 14px);
    flex: 0 0 auto;
    box-sizing: border-box;
}

.professions-slider-prev,
.professions-slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    padding: 15px;
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.professions-slider-prev:hover,
.professions-slider-next:hover {
    background: rgba(0, 0, 0, 0.9);
}

.professions-slider-prev {
    left: 0;
}

.professions-slider-next {
    right: 0;
}

.professions-slider-prev:disabled,
.professions-slider-next:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

@media (max-width: 1024px) {
    .profession-slide {
        min-width: calc(50% - 10px);
    }
}

@media (max-width: 768px) {
    .profession-slide {
        min-width: 100%;
    }
    
    .professions-slider-container {
        padding: 0 35px;
    }
    
    .professions-slider-prev,
    .professions-slider-next {
        width: 35px;
        height: 35px;
        padding: 10px;
    }
}