/* Shared styles across all pages */

/* Header styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Make header scroll with page on mobile devices and when header needs multiple lines */
@media (max-width: 991px) {
    .header {
        position: static !important;
        box-shadow: none;
    }
    
    body {
        padding-top: 0 !important;
    }
    
    .header .navbar-nav {
        text-align: center;
    }
    
    .header .nav-item {
        display: inline-block;
        float: none;
    }
}

body {
    padding-top: 80px;
}

html {
    scroll-padding-top: 80px;
}

/* Override uppercase transformation for navigation items */
.header .nav-item-child {
    text-transform: none !important;
    font-size: 16px !important;
}

.navbar {
    margin-bottom: 0;
    padding: 15px 0;
}

.container {
    max-width: 1200px;
}

/* Navigation link styles */
.nav-external-link {
    color: #0d31c1 !important;
    font-weight: bold !important;
}

/* Social icons styles */
.social-icons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 15px 0;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
    color: #333;
}

.social-icons a:hover {
    transform: translateY(-5px);
}

/* Common utility classes */
.content-section {
    margin-bottom: 60px;
}

.content-spacing {
    display: block;
    margin-top: -40px;
}

.gallery-container {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.paper-description {
    color: #00C0D1;
}

.emphasis-large {
    font-size: 24px;
}

.color-inherit {
    color: inherit;
}

/* Footer styles */
.footer-text {
    text-align: center;
}

/* Mobile responsive styles */
@media (max-width: 768px) {
    .social-icons {
        justify-content: center;
        gap: 6px;
    }
    
    .container {
        padding: 0 20px;
    }
    
    h2 {
        font-size: 26px;
    }
    
    .col-lg-7, .col-lg-5 {
        margin-bottom: 30px;
    }
    
    .content-md {
        padding-top: 40px;
        padding-bottom: 40px;
    }
    
    p {
        font-size: 15px;
        line-height: 1.6;
    }
}

/* Blog specific styles */
.blog-post {
    font-size: 20px;
    margin-bottom: 20px;
}

.blog-date {
    display: inline-block;
    width: 120px;
    color: #999;
}

.blog-title {
    font-weight: 600;
    color: #0d31c1;
}

/* Common display utility */
.display-block {
    display: block;
}

/* Tooltip width fix for images */
.tooltip-text img {
    max-width: 100%;
    height: auto;
}

.overflow-auto {
    overflow: auto;
}

/* Thumbnail styles */
.thumbnail-transparent {
    border: none;
    background-color: transparent;
}

/* Button font consistency and sizing */
#show-more-news, #collapse-news, #nextImage {
    font-family: Hind, sans-serif !important;
    font-weight: 500 !important;
}

/* Fix links in bullet points to use proper link styling */
li a {
    color: #0d31c1 !important;
}

li a:hover {
    color: #999caa !important;
}