/* Supports - Project List */
.supports-list {
    padding: 0 var(--max-width-padding);
    max-width: var(--max-width);
    margin: 0 auto;
}

.supports-list__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px 0;
    border-top: 2px solid #000;
    cursor: pointer;
    transition: opacity 0.2s ease;
}
.supports-list__item:last-child {
    border-bottom: 2px solid #000;
}
.supports-list__item:hover {
    opacity: 0.6;
}

.supports-list__info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.supports-list__title {
    font-size: clamp(18px, 2.5vw, 45px);
    margin: 0;
    padding: 0;
    text-transform: uppercase;
    line-height: 1.2;
}

.supports-list__period {
    font-size: clamp(14px, 1.5vw, 20px);
    color: var(--color-light);
}

.supports-list__code {
    font-size: clamp(12px, 1.2vw, 16px);
    color: var(--color-dark);
    font-weight: 700;
}

.supports-list__arrow {
    flex-shrink: 0;
    margin-left: 20px;
    display: flex;
    align-items: center;
}
.supports-list__arrow svg {
    width: clamp(20px, 2vw, 32px);
    height: clamp(20px, 2vw, 32px);
}

/* Supports - Modal */
.supports-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1500;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.supports-modal--open {
    opacity: 1;
    visibility: visible;
}

.supports-modal__backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.supports-modal__container {
    position: relative;
    background: #fff;
    width: 90%;
    max-width: 1100px;
    max-height: 90vh;
    margin-top: 5vh;
    overflow-y: auto;
    border-radius: 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.supports-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px 40px 20px 40px;
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 1;
    border-bottom: 2px solid #000;
}

.supports-modal__title {
    font-size: clamp(18px, 2.5vw, 40px);
    margin: 0;
    padding: 0;
    text-transform: uppercase;
}

.supports-modal__close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: opacity 0.2s ease;
}
.supports-modal__close:hover {
    opacity: 0.5;
}
.supports-modal__close svg {
    width: 28px;
    height: 28px;
}

.supports-modal__body {
    padding: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

/* Details (left column) */
.supports-modal__details dl {
    margin: 0;
    padding: 0;
}
.supports-modal__details dt {
    font-weight: 700;
    font-size: 12px;
    color: #333;
    margin: 20px 0 5px 0;
    text-transform: uppercase;
}
.supports-modal__details dt:first-child {
    margin-top: 0;
}
.supports-modal__details dd {
    margin: 0 0 10px 0;
    line-height: 1.3;
    font-size: 16px;
}
.supports-modal__details ul {
    list-style-type: disc;
    padding-left: 20px;
    margin: 0;
}
.supports-modal__details li {
    margin-bottom: 4px;
}

/* Action buttons */
.supports-modal__actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 25px;
}
.supports-modal__action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: #000;
    color: #fff;
    border: 2px solid #000;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: opacity 0.2s ease;
}
.supports-modal__action:hover {
    opacity: 0.7;
}
.supports-modal__action--secondary {
    background: #fff;
    color: #000;
}
.supports-modal__action svg {
    flex-shrink: 0;
}

/* Summary (right column) */
.supports-modal__summary h2 {
    font-size: clamp(14px, 1.5vw, 22px);
    margin: 30px 0 15px 0;
    padding: 0;
    text-transform: uppercase;
}
.supports-modal__summary h2:first-child {
    margin-top: 0;
}
.supports-modal__summary p {
    font-size: 16px;
    line-height: 1.5;
    margin: 0 0 12px 0;
}
.supports-modal__summary a {
    color: #333;
    text-decoration: underline;
}
.supports-modal__summary a img {
    max-width: 500px;
    width: 100%;
    margin: 10px 0;
    text-decoration: none;
}
.supports-modal__summary img {
    display: block;
}

/* Responsive */
@media (max-width: 768px) {
    .supports-modal__body {
        grid-template-columns: 1fr;
        padding: 20px;
        gap: 30px;
    }
    .supports-modal__header {
        padding: 20px 20px 15px 20px;
    }
    .supports-modal__container {
        width: 95%;
        max-height: 95vh;
        margin-top: 2.5vh;
    }
    .supports-list__info {
        flex-direction: column;
        gap: 5px;
    }
}
