/* --- Base Styles --- */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    background-color: #f9f9f9;
}

.dashboard-header {
    background-color: #fdfdfd;
    color: rgb(0, 0, 0);
    padding: 20px 40px;
    text-align: center;
}

#searchBar {
    width: 80%;
    max-width: 500px;
    padding: 10px;
    margin-top: 15px;
    
    /* ADD THIS LINE to ensure the border is fully visible */
    border: 2px solid #000000; 
    
    /* Remove the separate border-color line, as it's included above */
    /* border-color: #000000; */ 
    
    border-radius: 30px;
    font-size: 16px;
}

.dashboard-main {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
}

/* --- Filter Buttons --- */
.filter-buttons {
    text-align: center;
    margin: 25px 0;
}

.filter-btn {
    background-color: #e0e0e0;
    border: none;
    padding: 10px 15px;
    margin: 5px;
    border-radius: 20px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.filter-btn:hover, .filter-btn.active {
    background-color: #000000;
    color: white;
}

/* --- Profile Grid Layout --- */
.profile-grid {
    display: grid;
    /* Responsive Grid: 2 columns default, 3 on larger screens */
    grid-template-columns: repeat(auto-fill, minmax(280px, 150px)); 
    gap: 20px;
}

.profile-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: #333;
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.profile-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

.card-photo {
    width: 100%;
    height: 280px; /* Fixed height for visual consistency */
    object-fit: cover;
}

.card-info {
    padding: 15px;
}

.card-info h2 {
    margin: 0 0 5px 0;
    font-size: 1.2em;
    color: #000000;
}

.card-info .role {
    margin: 0;
    font-size: 0.9em;
    color: #1c1717;
}

.card-info .tag {
    margin-top: 8px;
    display: inline-block;
    padding: 3px 8px;
    background-color: #000000; /* Light teal tag background */
    color: #ffffff;
    border-radius: 3px;
    font-size: 0.75em;
    font-weight: bold;
}









/* --- Share Section (Standalone Share Buttons) --- */
/* The HTML places the share-container outside the article-container and before the footer. */
.share-container {
    max-width: 850px;
    margin: 20px auto 40px auto;
    padding: 10px 50px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    /* Added a label for clarity in HTML */
    border-top: 1px solid #e0e0e0; 
    padding-top: 25px;
}

.share-container .social-links {
    display: flex;
    gap: 15px;
}

/* Share Icon Styling */
.share-container .social-links a { 
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.share-container .social-links a:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.share-container .fa-twitter {
    background-color: #1da1f2;
}
.share-container .fa-facebook-f {
    background-color: #1877f2;
}
.share-container .fa-instagram {
    /* Instagram Gradient */
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
}

/* --- Footer (Multi-Column Layout) --- */
footer {
    /* Removed fixed/sticky positioning for traditional multi-column footer */
    position: relative; 
    text-align: left; /* Aligned left for multi-column content */
    padding: 40px 0 0 0; 
    color: #444444; /* Darker text for footer content */
    font-size: 0.9rem;
    background-color: #ffffff;
    border-top: 4px solid #ff5500; /* Strong accent line */
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px 30px 30px;
    display: flex;
    justify-content: space-between; /* Distributes columns */
    flex-wrap: wrap; /* Allows wrapping on smaller screens */
    gap: 30px;
}

.footer-column {
    flex-basis: 250px; /* Base width for each column */
    flex-grow: 1; /* Allows columns to grow */
    padding: 10px 0;
}

.footer-column h3 {
    font-size: 1.1rem;
    color: #1a1a2e;
    margin-bottom: 15px;
    font-weight: 700;
    border-bottom: 1px dashed #e0e0e0;
    padding-bottom: 5px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column li {
    margin-bottom: 8px;
}

.footer-column a,
.footer-column p a {
    color: #444444;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-column a:hover {
    color: #ff8000; /* Orange Accent on hover */
    text-decoration: underline;
}

/* Footer Social Links (Separate Styling for Footer) */
.footer-column .social-links {
    margin-top: 15px;
    display: flex;
    gap: 10px;
}

.footer-column .social-links a {
    width: 30px;
    height: 30px;
    background-color: #e0e0e0; /* Light gray background */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a1a2e; /* Dark icon color */
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer-column .social-links a:hover {
    background-color: #ff7700; /* Orange Accent on hover */
    color: white;
    transform: none;
    
}

.footer-bottom {
    text-align: center;
    padding: 15px 30px;
    font-size: 0.8rem;
    color: #8c8c8c;
    border-top: 1px solid #e0e0e0;
    background-color: #f8f8f8; /* Slightly different background for bottom bar */
}


/* --- Responsive Styles (Improved Layout) --- */
@media (max-width: 992px) {
    .article-container {
        max-width: 95%;
        margin: 30px auto;
        padding: 30px;
    }
    .footer-container {
        justify-content: center;
        text-align: center;
    }
    .footer-column {
        flex-basis: 45%; /* Two columns on medium screens */
    }
    .footer-column .social-links {
        justify-content: center;
    }
}

@media (max-width: 580px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
        padding: 0 20px;
    }
    .site-nav a {
        margin: 5px;
    }
    #blog-title {
        font-size: 2rem;
    }
    .footer-column {
        flex-basis: 100%; /* Single column on small screens */
    }
    .footer-column .social-links {
        justify-content: flex-start; /* Back to left alignment for single column */
    }
    .share-container {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px 20px;
    }
    .share-container .social-links {
        margin-top: 10px;
    }
}

















/* --- Header & Navigation (Modernized) --- */
header {
    background-color: #ffffff;
    padding: 18px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: none;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
}

.banner img {
    max-width: 60px;
    height: auto;
}

/* Navigation Links (Vibrant Primary Color) */
.site-nav a {
    color: #ff5e00; /* Link color */
    text-decoration: none;
    padding: 10px 18px;
    margin-left: 15px;
    border-radius: 20px;
    transition: all 0.3s ease;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.9rem;
}
.site-nav a:hover {
    background-color: #ff6a00; /* Hover background (Orange Accent) */
    color: white;
    transform: translateY(-2px);
    /* Corrected shadow color to match the orange accent (#ffae00) */
    box-shadow: 0 4px 8px rgba(6, 4, 0, 0.4); 
}

