/* Expose Widget Styles */
.expose-widget {
    width: 100%;
}

.expose-item {
    position: relative;
    transition: all 0.3s ease;
}

/* Trzyklumnowy układ: Data | Treść | Przycisk */
.expose-content-wrapper {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

/* Kolumna 1 - Data */
.expose-date-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

/* Kolumna 2 - Treść (tytuł + opis) */
.expose-content-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: flex-start;
}

/* Kolumna 3 - Przyciski */
.expose-button-column {
    flex: 0 0 200px;
    width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.expose-title {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
}

.expose-date {
    font-size: 14px;
    font-weight: 400;
    display: inline-block;
    white-space: nowrap;
}

.expose-date-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    align-items: center;
}

.expose-date-separator {
    font-size: 14px;
    font-weight: 400;
    display: inline-block;
    white-space: nowrap;
}

.expose-description {
    line-height: 1.6;
}

.expose-more-button-wrapper {
    display: flex;
}

.expose-button {
    display: inline-block;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.expose-button-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.expose-button-icon svg {
    width: 1em;
    height: 1em;
    fill: currentColor;
}

.expose-button-icon i {
    font-size: inherit;
}

.expose-button-text {
    display: inline-block;
}

.expose-more-button {
    background-color: transparent;
    color: #007bff;
    border: 1px solid #007bff;
}

.expose-more-button:hover {
    background-color: #007bff;
    color: #ffffff;
}

.expose-more-button.active {
    background-color: #dc3545;
    color: #ffffff;
    border-color: #dc3545;
}

.expose-more-button.active:hover {
    background-color: #c82333;
    border-color: #c82333;
}

.expose-expanded-content {
    display: none;
}

.expose-more-button-wrapper {
    display: flex;
}

.expose-expanded-content p:first-child {
    margin-top: 0;
}

.expose-expanded-content p:last-child {
    margin-bottom: 0;
}

/* Responsywność - zmiana z trzech kolumn na jedną na mobile */
@media (max-width: 768px) {
    .expose-content-wrapper {
        flex-direction: column;
        gap: 15px;
    }
    
    .expose-date-column,
    .expose-content-column,
    .expose-button-column {
        flex: 1 1 auto;
        width: 100%;
    }

    .expose-date-column {
        flex: 1 !important;
    }
    
    .expose-date-wrapper {
        flex-wrap: nowrap;
    }
    
    .expose-button-column {
        align-items: flex-start;
    }
    
    .expose-button {
        width: fit-content;
        text-align: center;
    }
    
    .expose-title {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .expose-title {
        font-size: 16px;
    }
    
    .expose-date {
        font-size: 12px;
    }
}
