/* Detail Header Component */
.detail-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-top: 0.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.detail-header-title {
    display: block;
    margin: 0;
    margin-top: 0.25rem;
}

/* Activity style: title with date */
.detail-header-title-with-date {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.detail-header-title-text {
    font-weight: 500;
    font-size: 1.5rem;
    color: var(--text-color-dark);
    display: block;
    overflow: visible;
}

.detail-header-title-text * {
    margin: 0;
    font: inherit;
    color: inherit;
    white-space: normal;
    line-height: 1.4;
}

/* Hide date when not provided */
.detail-header-title-date:empty {
    display: none;
}

.detail-header-title-date {
    display: block;
    font-size: 1rem;
    line-height: 1.25;
    font-family: 'Pretendard', "Roboto", sans-serif;
    font-weight: 300;
    color: var(--text-color-light);
}

@media (max-width: 1024px) and (min-width: 769px) {
    .detail-header {
    }
}

@media (max-width: 768px) {
    .detail-header-title-with-date {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 0;
    }

    .detail-header {
        margin-top: 0;
    }
}