.header-image-container {
    position: relative;
    width: 100%;
    /* 16:9 aspect ratio */
    padding-top: 56.25%;
    background-color: #f5f7f9;
    border-radius: 8px;
    overflow: hidden;
    margin: 0px;
}

.header-image-container.empty {
    border: 2px dashed #ccc;
}

.header-image-container .content-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 16px;
    cursor: pointer;
    user-select: none;
}

.header-image-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Add loading spinner styles */
.loading-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #2196f3;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    display: none;
}

@keyframes spin {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.header-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.header-image-container:hover .header-image-overlay {
    opacity: 1;
}

.header-image-controls {
    display: flex;
    gap: 16px;
}

.header-image-btn {
    background: white;
    border: none;
    border-radius: 4px;
    padding: 8px 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    transition: transform 0.2s ease;
}

.header-image-btn:hover {
    transform: translateY(-2px);
}

.header-image-input {
    display: none;
}

.upload-icon {
    font-size: 48px;
    color: #666;
}

.upload-text {
    color: #666;
    text-align: center;
}

.upload-text .primary-text {
    font-size: 16px;
    font-weight: 500;
    display: block;
    margin-bottom: 4px;
}

.upload-text .secondary-text {
    font-size: 14px;
    opacity: 0.7;
}

/* Add these styles to headerImage.css */
.editor-content {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.article-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}