/* Overrides for hero subtitle and sizes */
#hero .subtitle{
    font-size: 16px !important;
    opacity: 0.7;
}

#hero h2{
    font-size: clamp(20px, 4vw, 32px) !important;
    opacity: 0.7;
}

/* Keep hero image with proper border radius (not circular) */
#hero .image img{
    border-radius: 1rem !important;
}

/* Simplify homepage hero layout - increase height and improve spacing */
#hero {
    min-height: 90vh !important;
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
}

#hero p {
    line-height: 1.8 !important;
    margin: 15px 0px 0px !important;
    max-width: 600px !important;
}

#hero h1 {
    margin-bottom: 10px !important;
}

#hero .subtitle {
    margin-bottom: 20px !important;
}

/* Increase profile image size */
#hero .image img {
    max-width: 480px !important;
    width: 100% !important;
    height: auto !important;
}

/* Remove hover effects from profile image */
#hero .image img:hover,
#hero .image.animate img:hover {
    box-shadow: 0px 8px 56px rgba(15, 80, 100, 0.16) !important;
    filter: none !important;
    cursor: default !important;
    transform: none !important;
}

/* Improve hero layout spacing */
#hero .row {
    align-items: center !important;
}

#hero .content {
    padding-right: 2rem !important;
}

@media (max-width: 768px) {
    #hero .image img {
        max-width: 320px !important;
    }
    
    #hero .content {
        padding-right: 0 !important;
        margin-bottom: 2rem !important;
    }
}

/* Fix bio section to take full page width with better styling */
#about {
    padding: 4rem 0 !important;
    background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(248,249,250,0.3)) !important;
}

#about .container {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

#about .row {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
}

#about .content {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 5% !important;
}

#about .content p {
    margin-bottom: 1.8rem !important;
    line-height: 2 !important;
    max-width: 100% !important;
    font-size: 1.05rem !important;
    color: #333 !important;
    text-align: justify !important;
}

#about .content p a {
    color: #0066cc !important;
    text-decoration: none !important;
    border-bottom: 1px solid transparent !important;
    transition: border-bottom 0.3s ease !important;
}

#about .content p a:hover {
    border-bottom: 1px solid #0066cc !important;
}

#about .col-lg-8 {
    max-width: 100% !important;
    flex: 0 0 100% !important;
}

#about h2 {
    font-size: 2rem !important;
    font-weight: 600 !important;
    margin-bottom: 2rem !important;
    color: #1a1a2e !important;
    text-align: center !important;
}


/* Navbar logo styling - make AB logo larger */
.navbar-brand img {
    max-height: 50px !important;
    width: auto !important;
    margin-right: 12px !important;
    object-fit: contain !important;
}

/* Footer social icons - ensure they display properly */
footer .social-icons a {
    display: inline-block !important;
    margin: 0 10px !important;
}

footer .social-icons svg {
    width: 24px !important;
    height: 24px !important;
    fill: currentColor !important;
}

/* Hide dates and metadata from single pages */
.single-page .meta,
.single-page .post-meta,
.single-page time,
.single-page .date,
article time,
article .date,
.blog-post time {
    display: none !important;
}

/* Hide reading time and other metadata */
.reading-time,
.post-date,
.article-date {
    display: none !important;
}

/* Hide date in single page title section */
#single .title .text-center small,
#single .title .text-center #readingTime {
    display: none !important;
}

/* Footer styling improvements */
footer {
    background: #1a1a2e !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Remove any white space before footer */
footer::before {
    display: none !important;
}

body {
    margin-bottom: 0 !important;
}

main {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

section {
    margin-bottom: 0 !important;
}

/* Remove any spacing between sections and footer */
section:last-of-type {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

footer svg {
    color: #ffffff !important;
    fill: currentColor !important;
}

footer a:hover svg {
    opacity: 0.8 !important;
    transform: translateY(-3px) !important;
    transition: all 0.3s ease !important;
}

footer a {
    transition: all 0.3s ease !important;
}

/* Social icon hover effects */
footer span:hover {
    transform: translateY(-5px) scale(1.05) !important;
    transition: transform 0.3s ease !important;
}

/* Hide the date line completely in single pages */
#single .title .text-center > *:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6) {
    display: none !important;
}
