.author-header {
    display: flex;
    align-items: center;
    max-width: 100%;        /* keeps it from stretching too wide on big screens */
    margin: 0px auto 0px auto; /* center horizontally + spacing below */
    padding: 2% 10%;  /* padding left/right */
    gap: 30px;                /* space between image and info */
    background: #00316B;
}

.author-header img {
    flex: 0 0 30%;            /* image takes 30% */
    max-width: 250px;         /* optional: prevents it from getting too huge */
    height: auto;
    border-radius: 8px;       /* slightly rounded corners */
    object-fit: cover;
}

.author-header .info {
    flex: 1;                 /* remaining 70% automatically */
    padding: 20px 20px;
}

.author-header h2 {
    margin: 0 0 10px 0;
    font-size: 36px;
    color: #ffffff;
}

.author-header p {
    font-size: 14px;
    margin: 5px 0;
    line-height: 1.6;
    color: #ffffff;
}

#author-designation {
    display: inline-flex;          /* makes text + icon align horizontally */
    align-items: center;           /* vertical centering */
    gap: 10px;                     /* spacing between text and icon */
    font-size: 24px;               /* adjust as needed */
    margin: 0;
    color: #ffffff;
}

#author-designation a.linkedin-icon i {
    font-size: 20px;               /* size of the icon */
    color: #ffffffff;                /* LinkedIn brand blue */
    transition: color 0.2s ease-in-out;
    vertical-align: middle;        /* ensures it sits nicely next to text */
}

#author-designation a.linkedin-icon i:hover {
    color: #c1d0d7ff;
}

.tabs { 
display: flex; 
justify-content: center; /* Center the tabs */
margin-top: 30px; 
border-bottom: 1px solid #ddd; 
flex-wrap: wrap; /* Make it wrap on smaller screens */
}

.tab {
    font-size: 18px;
    padding: 10px 20px;
    cursor: pointer;
    border: 1px solid #ddd;
    border-bottom: none;
    background: #f5f5f5;
    margin: 0 5px; /* Even spacing on both sides */
    transition: background 0.3s ease;
}

.tab:hover {
    background: #eaeaea; /* Subtle hover effect */
}

.tab.active { 
    background: white; 
    font-weight: bold;
    color: #01508A 
}

.tab-content { 
    display: none; 
    padding: 20px; 
    /* border: 1px solid #ddd;  */
    max-width: 1000px; /* Keep content narrower for better readability */
    margin: 0 auto; /* Center the content block */
}

.tab-content.active { 
    display: block; 
}

.item { 
    margin-bottom: 20px; 
    padding: 15px; 
    border: none; /* remove divider */
    border-radius: 8px; /* rounded corners */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); /* soft shadow */
    background: #fff; /* ensure a solid background */
}

.item p {
    font-size: 1.5rem;
}

.item a { 
    font-size: 1.8rem;
    font-weight: bold; 
    text-decoration: none; 
    display: inline-block;
    margin-bottom: 5px;
    color: #000;
}

.item a:hover {
    color: #01508A; /* deep blue on hover */
}

.read-more {
    display: inline-block;
    margin-top: 8px;
    padding: 4px 10px;
    background: #01508A; /* matches your royal blue */
    color: white !important;
    text-decoration: none;
    font-size: 14px;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.read-more:hover {
    background: #004272ff;
}

.no-records {
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    margin: 20px 0;
    color: #333;           /* Dark grey instead of black for softer look */
    letter-spacing: 0.5px; /* Subtle spacing between letters */
}

@media (max-width: 768px) {
    .author-header {
        flex-direction: column; /* stack vertically */
        text-align: center;     /* center content on mobile */
        gap: 10px;
        padding: 1% 1%
    }

    .author-header img {
        flex: none;
        max-width: 60%;         /* make image larger on mobile if needed */
        margin-bottom: 10px;
        margin-top: 10px
    }

    .author-header .info {
        flex: none;
        width: 100%;            /* full width for text */
    }
    .tabs .tab {
        font-size: 14px; /* adjust as needed */
        padding: 5px 10px;
        margin: 0 3px;
    }
}