/* article-styles.css */

/* --- General Typography & Layout --- */

/* Text Alignment */
.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-justify { text-align: justify; }

/* Text Weight */
.font-light { font-weight: 300; }
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

/* Text Color (example - adjust to your theme's variables if available) */
.text-primary { color: var(--primary-color, #007bff); } /* Example primary blue */
.text-secondary { color: var(--secondary-color, #6c757d); } /* Example secondary gray */
.text-success { color: var(--success-color, #28a745); } /* Example success green */
.text-danger { color: var(--danger-color, #dc3545); } /* Example danger red */
.text-warning { color: var(--warning-color, #ffc107); } /* Example warning yellow */
.text-info { color: var(--info-color, #17a2b8); } /* Example info cyan */
.text-dark { color: var(--dark-color, #343a40); } /* Example dark color */
.text-light { color: var(--light-color, #f8f9fa); } /* Example light color */


/* --- Images --- */

/* Responsive image base style */
img {
    max-width: 100%;
    height: auto;
    display: block; /* Removes extra space below image */
    margin: 0 auto; /* Center images by default */
}

/* Custom Image Styles */
.custom-image-style {
    border: 1px solid #ddd;
    box-shadow: 2px 2px 8px rgba(0,0,0,0.1);
    border-radius: 5px;
    padding: 5px;
}

.img-thumbnail {
    padding: 0.25rem;
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
    max-width: 100%;
    height: auto;
}

.img-circle {
    border-radius: 50%;
}

.img-left {
    float: left;
    margin-right: 1rem;
    margin-bottom: 0.5rem;
}

.img-right {
    float: right;
    margin-left: 1rem;
    margin-bottom: 0.5rem;
}

.img-small { width: 150px; }
.img-medium { width: 300px; }
.img-large { width: 600px; }


/* --- Blocks & Containers --- */

/* Blockquote */
blockquote {
    border-left: 4px solid var(--primary-color, #007bff);
    padding-left: 1rem;
    margin-left: 0;
    font-style: italic;
    color: var(--text-secondary, #6c757d);
}

/* Info Boxes / Alerts (similar to alert snippets provided) */
.note-box, .warning-box, .tip-box, .important-box {
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
    border-radius: 0.25rem;
    border-left: 5px solid;
    background-color: rgba(0,0,0,0.05); /* Light background for all */
}

.note-box {
    border-color: var(--info-color, #17a2b8);
    background-color: rgba(23, 162, 184, 0.1);
    color: var(--info-color, #17a2b8);
}

.warning-box {
    border-color: var(--warning-color, #ffc107);
    background-color: rgba(255, 193, 7, 0.1);
    color: var(--warning-color, #ffc107);
}

.tip-box {
    border-color: var(--success-color, #28a745);
    background-color: rgba(40, 167, 69, 0.1);
    color: var(--success-color, #28a745);
}

.important-box {
    border-color: var(--danger-color, #dc3545);
    background-color: rgba(220, 53, 69, 0.1);
    color: var(--danger-color, #dc3545);
}

/* --- Tables --- */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
    background-color: #fff; /* or a theme-appropriate background */
    color: var(--text-dark, #343a40);
}

table th,
table td {
    padding: 0.75rem;
    vertical-align: top;
    border: 1px solid #dee2e6;
}

table thead th {
    vertical-align: bottom;
    border-bottom: 2px solid #dee2e6;
    background-color: #e9ecef;
    font-weight: bold;
}

table tbody tr:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, 0.05);
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, 0.05);
}

.table-bordered th,
.table-bordered td {
    border: 1px solid #dee2e6;
}

.table-hover tbody tr:hover {
    background-color: rgba(0, 0, 0, 0.075);
}
