/* --- Global Styles & Typography --- */
body {
    font-family: 'Open Sans', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f2f5; /* Consistent light background */
    color: #333;
    line-height: 1.7;
}
/* --- Header & Navigation (Modernized) --- */
header {
    background-color: #ffffff;
    padding: 18px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: sticky;
    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: 80px;
    height: auto;
}

/* Navigation Links (Vibrant Primary Color) */
.site-nav a {
    color: #000000; /* 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); 
}






h1, h2 {
    font-family: 'Merriweather', serif;
    color: #000000; /* Deep Navy for headings */
    font-weight: 700;
}

/* --- Page Container --- */
.biography-page-container {
    max-width: 950px;
    margin: 40px auto;
    padding: 30px 40px;
    background-color: #ffffff; 
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); 
}

h1 {
    font-size: 2.5em;
    border-bottom: 3px solid #ff6701; /* Orange accent line */
    padding-bottom: 15px;
    margin-bottom: 10px;
}

.last-updated {
    font-size: 0.85em;
    color: #272727;
    margin-top: -10px;
    text-align: right;
    font-style: italic;
}

/* --- Profile Section Layout (Image + Fact Box) --- */
.profile-section {
    display: flex;
    gap: 40px;
    margin: 40px 0;
    align-items: flex-start;
}

.image-column {
    flex-shrink: 0;
    text-align: center;
    width: 35%; /* Increased width for the image */
    max-width: 150px;
}

.profile-photo {
    width: 100%;
    height: auto;
    border: 2px solid #000000; /* Navy border */
    border-radius: 10px;
    display: block;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.image-source {
    font-size: 0.75em;
    color: #999;
    margin-top: 10px;
}

/* --- Fact Box Styling (Redesigned) --- */
.fact-box {
    flex-grow: 1;
    background-color: #f8f8f8; /* Very light background */
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.fact-row {
    display: flex;
    padding: 12px 20px;
    border-bottom: 1px solid #eee; /* Light separator */
    background-color: #ffffff;
}

.fact-row:nth-child(even) {
    background-color: #fdfdfd; /* Subtle zebra striping */
}

.fact-row:last-child {
    border-bottom: none;
}

.fact-label {
    font-weight: 600;
    width: 40%; 
    color: #FF6B01; /* Orange label text */
    text-transform: uppercase;
    font-size: 0.85em;
    letter-spacing: 0.5px;
}

.fact-value {
    flex-grow: 1;
    font-size: 0.95em;
    color: #1A374D;
}

/* --- Biography Content Styling --- */
.biography-content h2 {
    font-size: 1.8em;
    border-bottom: 1px solid #ddd;
    padding-bottom: 8px;
    margin-top: 40px;
    margin-bottom: 20px;
}

.biography-text {
    text-align: justify;
    margin-bottom: 20px;
}

ul {
    padding-left: 25px;
}
ul li {
    margin-bottom: 8px;
}


/* --- 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;
    }
}



















