.summary-card {
    margin-bottom: 12px;
    padding: 20px;
    background: linear-gradient(to right, rgba(106, 17, 203, 0.2), rgba(37, 117, 252, 0.2));
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.summary-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 16px;
    color: #111111;
    text-align: center;
}

.summary-content {
    position: relative;
    
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.summary-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 8px 12px;
    background: #ffffff;
    border-radius: 8px;
    transition: transform 0.3s, background 0.3s;
}

.summary-item.short {
    grid-column: span 1;
}

.item-label {
    font-weight: bold;
    color: #1a1a59;
}

.item-value,
.item-value a {
    font-weight: 500;
    color: #1A237E;
}

.summary-item.short .item-label {
    flex: 1 1 auto;
    white-space: normal;
    word-wrap: break-word;
    word-break: break-word;
    
}

.summary-item.short .item-value {
    flex: 1 1 auto;
    text-align: right;
}

.summary-item.long {
    grid-column: span 2;
    flex-direction: column;
}

.summary-item.long .item-label {
    width: 100%;
    font-weight: bold;
    margin-bottom: 4px;
}

.summary-item.long .item-value {
    display: block;
    width: 100%;
    max-height: 28px;
    line-height: 1.5;
    transition: max-height 0.3s ease;
}

.summary-item.long.expandable .item-value {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.toggle-checkbox {
    display: none;
}

.expandable .toggle-checkbox:checked ~ .item-value {
    max-height: none;
    white-space: normal;
    text-overflow: unset;
}

.toggle-label {
    position: absolute;
    right: 12px;
    
    display: none;
    margin-top: 5px;
    cursor: pointer;
    color: #1e88e5;
    font-weight: bold;
}

.expandable .toggle-label {
    display: inline-block;
}

.website-link-container {
    position: relative;
    display: inline-block;
    }

.website-link {
    position: relative;
    z-index: 1;
    text-decoration: none;
    font-weight: bold;
}

.website-link-container::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 70%;
    background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 20%, rgba(255, 255, 255, 0) 100%);
    z-index: 2;
    pointer-events: none;
    border-radius: 4px;
}

.website-link:hover {
    text-decoration: underline;
}