/*
|--------------------------------------------------------------------------
| Custom Professional Blog Styles
|--------------------------------------------------------------------------
| This file contains all custom CSS to be shared across your blog articles.
*/

/* Enhancing the main article container */
.blog-article {
    background-color: #fff;
    border-radius: 8px; /* Slightly rounded corners */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); /* Soft shadow for depth */
    padding: 3rem; /* Increase padding for a spacious feel */
}

/* Main Heading (h1) */
.custom-heading {
    font-family: 'Arial', sans-serif; /* Use a clean sans-serif for the title */
    color: #00afdb; /* Primary brand color */
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.mbd-color-text {
    color: #00afdb !important;
}

.mbd-color-border {
    border-color: #00afdb !important;
}

.custom-section {
    padding-top: 0rem;
    padding-bottom: 0rem;
}

/* Section Headings (h2 from HTML) */
.custom-section-heading {
    border-left: 5px solid #00afdb; /* Add a striking left border */
    padding-left: 15px;
    margin-top: 0.5rem;
    font-weight: 600; /* Slightly bolder */
    color: #00afdb !important; /* Ensure primary color is applied */
    font-size: 1.8rem;
}

/* Sub-Headings (h4 from HTML) */
h4 {
    font-weight: 500;
}

/* Introductory Paragraph */
.intro-text {
    font-size: 1.15rem;
    line-height: 1.8;
}

/* --- Content Elements --- */

/* Lists */
.custom-list .list-group-item {
    line-height: 1.6;
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
}

/* Nested lists */
.sub-list {
    border-left: 2px dashed #dee2e6;
}
.sub-list .list-group-item {
    padding-left: 10px !important;
}


/* Alerts/Tips Boxes */
.custom-alert {
    border-left: 5px solid;
    font-size: 0.95rem;
    padding: 1rem;
}
.alert-info {
    /* Background color from user's new file */
    background-color: #00afdb !important;
    border-color: #00ccff !important;
    /* Added CSS: Ensure text is white for contrast against dark blue background */
    color: #fff !important; 
}
/* Ensure icons and strong tags in the dark alert are also white */
.alert-info .fas, .alert-info strong {
    color: #fff !important;
}

/* Image Styling */
.blog-image {
    max-width: 100%;
    height: auto;
    border: 3px solid #eee; /* Light border around image */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Links and Buttons */
.custom-btn-link {
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}
.custom-btn-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
}

.custom-share-btn {
    border-radius: 50rem; /* Pill button for share */
}

.custom-social-btn {
    border-radius: 5px;
    font-size: 0.9rem;
}

/* --- Footer --- */
.custom-footer-message {
    font-family: 'Arial', sans-serif;
    color: #495057;
    padding-top: 1rem;
}

.table-day-column {
	white-space: nowrap;
}

.line-height-sm {
	line-height: 1.3 !important;
}

/* Custom CSS to enforce equal width on all columns except the first one (Day) */
.table-fixed {
    table-layout: fixed; /* Fixes column widths based on the first row or specified width */
    width: 100%;
}

/* By default, equal width will be distributed. We need to explicitly size the narrow column. */
.table-fixed tr:first-child {
    width: 5rem; /* Matches the inline style used for the 'Day' column */
}

/* Ensure the table is centered on all screen sizes */
@media (max-width: 768px) {
    .table-responsive.d-inline-block {
        display: block !important;
        text-align: center;
    }
}

/* --- Responsiveness (Mobile Adjustments) --- */

@media (max-width: 991.98px) {
    /* Adjust padding for smaller screens */
    .blog-article {
        padding: 1.5rem;
    }
    
    /* Slightly smaller main heading on mobile */
    .custom-heading {
        font-size: 2rem;
    }
    
    /* Center text/elements for better mobile flow */
    .text-md-start {
        text-align: center !important;
    }

    /* Stack social links more tightly */
    .social-links {
        justify-content: center;
        margin-top: 1rem !important;
    }
}