.release-timeline {
    position: relative;
    padding-left: 2rem;
}

.release-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e0e0e0;
}

.release-card {
    background: #f5f7fa;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    margin-bottom: 2rem;
    position: relative;
}

.release-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.release-date {
    position: absolute;
    left: -3.5rem;
    top: -1.5rem;
    background: #14665a;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.case-type {
    padding: 0.5rem 1rem;
    border-radius: 6px;
    margin-bottom: 0.2rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background-color 0.2s ease;
}

.case-type:hover {
    filter: brightness(0.95);
}

.case-type .toggle-icon {
    transition: transform 0.3s ease;
}

.case-type.collapsed .toggle-icon {
    transform: rotate(-90deg);
}

.case-content {
    transition: max-height 0.3s ease-out;
    overflow: hidden;
}

.case-content.collapsed {
    max-height: 0;
    margin: 0;
}

.case-type-new { background: #e3f2fd; color: #1976d2; }
.case-type-fix { background: #e8f5e9; color: #2e7d32; }
.case-type-change { background: #fff3e0; color: #f57c00; }
.case-type-removed { background: #ffebee; color: #c62828; }

.release-notes {
    padding: 1.5rem;
}

.release-notes ul {
    margin-left: 1.5rem;
    list-style: none;
    padding-left: 0;
}

.release-notes li {
    margin-bottom: 0.75rem;
    line-height: 1.5;
    color: #424242;
    position: relative;
    padding-left: 1.5rem;
}

.release-notes li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #14665a;
    opacity: 0.7;
}

.case-type-new ~ .case-content li::before {
    background-color: #1976d2;
}

.case-type-fix ~ .case-content li::before {
    background-color: #2e7d32;
}

.case-type-change ~ .case-content li::before {
    background-color: #f57c00;
}

.case-type-removed ~ .case-content li::before {
    background-color: #c62828;
}

.copy-button {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.copy-button:hover {
    background: rgba(0,0,0,0.05);
    color: #14665a;
}

.copy-button.copied {
    color: #2e7d32;
}

.copy-tooltip {
    position: absolute;
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    top: -45px;
    right: 0;
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
}

.copy-button:hover .copy-tooltip {
    opacity: 1;
}

@media screen and (max-width: 1023px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .column.is-10 {
        width: 100%;
    }
}

@media screen and (max-width: 768px) {
    .release-timeline {
        padding-left: 1rem;
    }

    .release-date {
        position: relative;
        left: -40px;
        top: -25px;
        margin-bottom: 1rem;
        display: inline-block;
    }

    .release-card {
        padding-top: 1rem;
    }

    .copy-button {
        top: 0.5rem;
        right: 0.5rem;
    }

    .title.is-2 {
        font-size: 1.75rem;
    }

    .subtitle.is-5 {
        font-size: 1.1rem;
    }

    .case-type {
        padding: 0.75rem;
    }

    .release-notes {
        padding: 1rem;
    }

    .release-notes ul {
        margin-left: 0.5rem;
    }

    .release-notes li {
        padding-left: 1.25rem;
        font-size: 0.95rem;
    }
}

@media screen and (max-width: 480px) {
    .container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .release-card {
        margin-bottom: 1.5rem;
    }

    .title.is-2 {
        font-size: 1.5rem;
    }

    .subtitle.is-5 {
        font-size: 1rem;
    }

    .case-type {
        padding: 0.5rem;
        font-size: 0.95rem;
    }

    .release-notes li {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }

    .copy-tooltip {
        display: none;
    }
}

@media print {
    .copy-button {
        display: none;
    }

    .release-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }

    .release-date {
        position: relative;
        left: 0;
        top: 0;
        background: none;
        color: #000;
        padding: 0;
        margin-bottom: 1rem;
    }

    .case-type {
        background: none !important;
        color: #000 !important;
        padding: 0.5rem 0;
    }

    .release-notes li::before {
        background-color: #000 !important;
    }
}