.vtj-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
    color: inherit;
    font-family: inherit;
}

.vtj-header h1 {
    margin: 0 0 1.25rem;
    font-size: clamp(2rem, 2.75vw, 3.25rem);
    font-weight: 700;
    letter-spacing: -0.03em;
}

.vtj-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 2rem;
}

.vtj-filter-field {
    flex: 1 1 220px;
    min-width: 200px;
}

.vtj-filter-select,
.vtj-search-input {
    width: 100%;
    min-height: 50px;
    padding: 0.95rem 1rem;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 14px;
    background: transparent;
    color: inherit;
    font: inherit;
}

.vtj-search-input {
    display: block;
}

.vtj-tender-list {
    display: block;
}

.vtj-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.vtj-item {
    position: relative;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 22px;
    padding: 1.5rem;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.05);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    cursor: pointer;
}

.vtj-item:hover {
    border-color: rgba(0, 0, 0, 0.12);
}

.vtj-item-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    flex: 1;
}

.vtj-item-left {
    flex: 1;
}

.vtj-ref-id {
    font-size: 0.9rem;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.vtj-title {
    margin: 0 0 1rem;
    font-size: 1.45rem;
    line-height: 1.2;
}

.vtj-title a {
    color: inherit;
    text-decoration: none;
}

.vtj-meta-line {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1rem;
}

.vtj-meta-item {
    color: rgba(0, 0, 0, 0.7);
    font-size: 0.95rem;
}

.vtj-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 600;
}

.vtj-pill--closing {
    background: rgba(76, 175, 80, 0.1);
    color: #4CAF50;
}

.vtj-pill--closed {
    background: rgba(244, 67, 54, 0.1);
    color: #F44336;
}

.vtj-pill--open {
    background: rgba(33, 150, 243, 0.1);
    color: #2196F3;
}

.vtj-pill--unknown {
    background: rgba(158, 158, 158, 0.1);
    color: #9E9E9E;
}

.vtj-teaser {
    color: rgba(0, 0, 0, 0.8);
    line-height: 1.75;
    margin-bottom: 1rem;
}

.vtj-item-right {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    padding-top: 50px;
}

.vtj-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 1.4rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font: inherit;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    text-transform: none;
}

.vtj-button:hover {
    transform: translateY(-1px);
}

.vtj-button--contact {
    background-color: var(--primary-color, #1961d6);
    color: #ffffff;
}

.vtj-button--contact:hover {
    background-color: var(--primary-color, #1961d6);
    color: #ffffff;
}

.vtj-toggle-button {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: #7c7c7c;
    transition: transform 0.3s ease, color 0.3s ease;
}

.vtj-toggle-button:hover,
.vtj-toggle-button:focus {
    color: #5a5a5a;
}

.vtj-chevron {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
}

.vtj-item.expanded .vtj-chevron {
    transform: rotate(-135deg);
}

.vtj-expanded-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    color: rgba(0, 0, 0, 0.82);
    margin-top: 1rem;
    margin-bottom: 60px;
    font-family: inherit;
    line-height: 1.85;
    font-weight: 400;
}

.vtj-item.expanded .vtj-expanded-content {
    max-height: none;
}

.vtj-empty-message {
    padding: 2rem 1.5rem;
    border-radius: 20px;
    background: rgba(244, 245, 247, 0.9);
    color: rgba(0, 0, 0, 0.7);
    text-align: center;
    font-size: 1rem;
}

.vtj-pagination {
    margin-top: 2rem;
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    align-items: center;
}

.vtj-pagination-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    min-height: 38px;
    padding: 0.5rem 0.75rem;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 8px;
    background-color: transparent;
    color: var(--primary-color, #1961d6);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.vtj-pagination-button:hover:not(:disabled) {
    background-color: var(--primary-color, #1961d6);
    color: #ffffff;
    border-color: var(--primary-color, #1961d6);
}

.vtj-pagination-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.vtj-pagination-info {
    font-size: 0.95rem;
    color: rgba(0, 0, 0, 0.7);
}

.vtj-hidden {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

@media (max-width: 720px) {
    .vtj-item-content {
        flex-direction: column;
        align-items: stretch;
    }

    .vtj-item-right {
        flex-direction: row;
        justify-content: space-between;
    }

    .vtj-meta-line {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}