/* Global Styles for Content Blocks */
.content-blocks {
    font-family: 'Segoe UI', sans-serif;
    background-color: #1f1f1f;
    color: #ddd;
}

/* Headings */
.content-blocks--list-subheading {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
    font-size: 1.5rem;
    color: #ff4d4d;
    border-bottom: 2px solid #ff4d4d;
    padding-bottom: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Lists */
.content-blocks--list-group {
    list-style: none;
    padding-left: 0;
    margin-bottom: 2rem;
}

/* List Items */
.content-blocks--list-group-item {
    border: 1px solid #333;
    background-color: #262626;
    margin-bottom: 1rem;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 8px;
    transition: all 0.25s ease;
    box-shadow: 0 3px 6px rgba(0,0,0,0.4);
}

.content-blocks--list-group-item:hover {
    background-color: #333;
    transform: scale(1.01);
    cursor: pointer;
}

/* Text Container */
.content-blocks--text {
    flex-grow: 1;
    color: #eee;
    overflow-wrap: break-word;
}

/* Display Name */
.content-blocks--display-name {
    font-weight: 600;
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 0.2rem;
}

/* Description */
.content-blocks--description {
    color: #999;
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 0;
}

/* Form Heading */
.content-blocks--form-heading {
    font-weight: 700;
    font-size: 1.3rem;
    color: #ff4d4d;
    margin-bottom: 0.5rem;
}

/* Form Description */
.content-blocks--form-description {
    font-style: italic;
    font-size: 0.95rem;
    color: #aaa;
    margin-bottom: 1.5em;
}

/* Form Actions */
.content-blocks--form-actions {
    margin-top: 1.5em;
    display: flex;
    align-items: center;
    gap: 1em;
    flex-wrap: wrap;
}

/* Action Links */
.content-blocks--actions a {
    color: #ff4d4d;
    text-decoration: none;
    font-weight: 600;
    margin-left: 10px;
    transition: all 0.3s ease;
}

.content-blocks--actions a:hover {
    color: #ff1a1a;
    text-decoration: underline;
}

/* Image Preview */
.content-blocks--image-preview {
    max-width: 100%;
    height: auto;
    max-height: 400px;
    margin: 2rem 0;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
    display: block;
}

/* Table Styles (if needed) */
.content-blocks--table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1.5rem;
}

.content-blocks--table th,
.content-blocks--table td {
    padding: 0.75rem 1rem;
    border: 1px solid #444;
}

.content-blocks--table th {
    background-color: #2c2c2c;
    color: #ff4d4d;
    text-align: left;
}

.content-blocks--table td {
    background-color: #1f1f1f;
    color: #ccc;
}

.breadcrumbs,
.breadcrumbs * {
    color: #000 !important;
}


/* Responsive Fixes */
@media (max-width: 768px) {
    .content-blocks--form-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .content-blocks--list-group-item {
        flex-direction: column;
        align-items: flex-start;
    }
}
