/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-dark: #050419;
    --text-light: #D9D9D9;
    --accent-light-blue: #1ED0D4;
    --accent-light-blue-transparent: #19A7AF;
    --accent-dark-blue: #0A60FA;
    --accent-overlap-blue: #1AB9DC;
    --hero-image-1: url('assets/banners/1_2025-03_hackathon.jpg');
    --hero-image-2: url('assets/banners/2_2025-04_startup_summit.jpg');
}

body {
    font-family: 'Poppins', BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-light);
    background-color: var(--bg-dark);
    scroll-behavior: smooth;
    scroll-padding-top: 100px; /* Offset for fixed navbar */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(5, 4, 25, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(30, 208, 212, 0.1);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(30, 208, 212, 0.2);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 60px;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-light-blue);
    transition: width 0.3s;
}

.nav-links a:hover {
    color: var(--accent-light-blue);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--accent-light-blue);
    transition: all 0.3s;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

body.menu-open {
    overflow: hidden;
}

/* Scroll offset for sections with IDs */
section[id] {
    scroll-margin-top: 100px;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 500px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: calc(12vh);
    text-align: center;
    color: white;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center bottom;
    background-image: var(--hero-image-1);
    opacity: 1;
    transition: opacity 1s ease-in-out;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center bottom;
    background-image: var(--hero-image-2);
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.hero.show-next::before { opacity: 0; }
.hero.show-next::after { opacity: 1; }

@keyframes rotateBackground1 {
    0% {
        background-image: url('assets/banners/1_2025-03_hackathon.jpg');
        opacity: 1;
    }
    23% {
        background-image: url('assets/banners/1_2025-03_hackathon.jpg');
        opacity: 1;
    }
    25% {
        background-image: url('assets/banners/1_2025-03_hackathon.jpg');
        opacity: 0;
    }
    25.001% {
        background-image: url('assets/banners/4_2025-10_hackathon.jpg');
        opacity: 0;
    }
    27% {
        background-image: url('assets/banners/4_2025-10_hackathon.jpg');
        opacity: 1;
    }
    48% {
        background-image: url('assets/banners/4_2025-10_hackathon.jpg');
        opacity: 1;
    }
    50% {
        background-image: url('assets/banners/4_2025-10_hackathon.jpg');
        opacity: 0;
    }
    50.001%, 100% {
        background-image: url('assets/banners/1_2025-03_hackathon.jpg');
        opacity: 0;
    }
}

@keyframes rotateBackground2 {
    0%, 50% {
        background-image: url('assets/banners/2_2025-04_startup_summit.jpg');
        opacity: 0;
    }
    52% {
        background-image: url('assets/banners/2_2025-04_startup_summit.jpg');
        opacity: 1;
    }
    73% {
        background-image: url('assets/banners/2_2025-04_startup_summit.jpg');
        opacity: 1;
    }
    75% {
        background-image: url('assets/banners/2_2025-04_startup_summit.jpg');
        opacity: 0;
    }
    75.001% {
        background-image: url('assets/banners/5_2025-10_hackathon_talk.jpg');
        opacity: 0;
    }
    77% {
        background-image: url('assets/banners/5_2025-10_hackathon_talk.jpg');
        opacity: 1;
    }
    98% {
        background-image: url('assets/banners/5_2025-10_hackathon_talk.jpg');
        opacity: 1;
    }
    100% {
        background-image: url('assets/banners/5_2025-10_hackathon_talk.jpg');
        opacity: 0;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom,
        rgba(5, 4, 25, 0.3) 0%,
        rgba(5, 4, 25, 0.4) 100%);
    pointer-events: none;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 2rem 3rem;
    background: radial-gradient(ellipse 120% 100% at center,
        rgba(26, 185, 220, 0.35) 0%,
        rgba(10, 96, 250, 0.3) 25%,
        rgba(5, 4, 25, 0.5) 50%,
        rgba(5, 4, 25, 0.3) 70%,
        transparent 100%);
    backdrop-filter: blur(2px);
    /*border-radius: 10px;*/
    /*box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);*/
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
    /*text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);*/
    color: white;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    line-height: 1.6;
    font-weight: 300;
    /*text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);*/
    color: var(--text-light);
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--accent-light-blue);
    color: var(--bg-dark);
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(30, 208, 212, 0.4);
}

.cta-button:hover {
    background: var(--accent-dark-blue);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(10, 96, 250, 0.5);
}

.hero-social {
    display: flex;
    gap: 1rem;
}

.hero-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    transition: all 0.3s;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.hero-social-link:hover {
    background: var(--accent-light-blue);
    color: var(--bg-dark);
    border-color: var(--accent-light-blue);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 6px 20px rgba(30, 208, 212, 0.5);
}

.hero-social-link svg {
    width: 24px;
    height: 24px;
}

/* Mission Section */
.mission {
    padding: 6rem 0;
    background: var(--bg-dark);
}

.mission h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--accent-light-blue);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.mission-content {
    max-width: 900px;
    margin: 0 auto;
}

.mission-text {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    text-align: center;
    color: var(--text-light);
    line-height: 1.8;
}

.mission-pillars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.pillar {
    background: rgba(30, 208, 212, 0.05);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
    border: 1px solid rgba(30, 208, 212, 0.2);
}

.pillar:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(30, 208, 212, 0.2);
    background: rgba(30, 208, 212, 0.1);
    border-color: var(--accent-light-blue);
}

.pillar h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--accent-light-blue);
}

.pillar p {
    color: var(--text-light);
}

/* Sponsor Section */
.sponsor {
    padding: 4rem 0;
    background: rgba(10, 96, 250, 0.05);
    border-bottom: 1px solid rgba(30, 208, 212, 0.1);
}

.sponsor h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--accent-light-blue);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.sponsor-logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.sponsor-logo a {
    display: inline-block;
    transition: transform 0.3s;
}

.sponsor-logo img {
    max-width: 300px;
    height: auto;
    opacity: 0.9;
    transition: opacity 0.3s, transform 0.3s;
}

.sponsor-logo a:hover img {
    opacity: 1;
    transform: scale(1.05);
}

/* Partners Section */
.partners {
    padding: 4rem 0;
    background: var(--bg-dark);
}

.partners h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--accent-light-blue);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    opacity: 0.8;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.partner-card {
    background: rgba(30, 208, 212, 0.05);
    padding: 2.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 150px;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    border: 2px solid rgba(30, 208, 212, 0.2);
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(30, 208, 212, 0.2);
    border-color: var(--accent-light-blue);
}

.partner-card a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.partner-logo-img {
    max-width: 100%;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    opacity: 0.9;
    transition: opacity 0.3s, transform 0.3s;
}

.partner-card:hover .partner-logo-img {
    opacity: 1;
    transform: scale(1.05);
}

.partner-logo {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-light);
}

/* LinkedIn Posts Section */
.linkedin-posts {
    padding: 6rem 0;
    background: var(--bg-dark);
}

.linkedin-posts h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--accent-light-blue);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.linkedin-feed {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

.sk-ww-linkedin-page-post {
    min-height: 400px;
}

.linkedin-fallback-link {
    display: inline-block;
    padding: 1rem 2rem;
    background: rgba(30, 208, 212, 0.1);
    color: var(--accent-light-blue);
    text-decoration: none;
    border-radius: 8px;
    border: 2px solid rgba(30, 208, 212, 0.3);
    transition: all 0.3s;
    font-weight: 500;
}

.linkedin-fallback-link:hover {
    background: var(--accent-light-blue);
    color: var(--bg-dark);
    border-color: var(--accent-light-blue);
    transform: translateY(-2px);
}

/* Team Section */
.team {
    padding: 6rem 0;
    background: rgba(10, 96, 250, 0.05);
}

.team h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--accent-light-blue);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    margin-top: 3rem;
}

.team-member {
    text-align: center;
    transition: transform 0.3s;
}

.team-member:hover {
    transform: translateY(-5px);
}

.team-image-link {
    display: inline-block;
    margin-bottom: 1rem;
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(30, 208, 212, 0.3);
    border: 4px solid var(--accent-light-blue-transparent);
    transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
    cursor: pointer;
}

.team-image-link:hover img {
    border-color: var(--accent-light-blue);
    box-shadow: 0 6px 15px rgba(30, 208, 212, 0.5);
    transform: scale(1.05);
}

.team-member:hover img {
    border-color: var(--accent-light-blue);
    box-shadow: 0 6px 15px rgba(30, 208, 212, 0.5);
}

.team-member h3 {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.team-role {
    font-size: 0.9rem;
    color: var(--text-light);
    opacity: 0.8;
    margin-bottom: 0.75rem;
}

.team-role a,
a.team-role-link {
    color: var(--accent-light-blue);
    text-decoration: none;
    transition: color 0.3s;
}

.team-role a:hover,
a.team-role-link:hover {
    color: var(--accent-dark-blue);
}

.team-links {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.team-linkedin {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(30, 208, 212, 0.1);
    color: var(--accent-light-blue);
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid rgba(30, 208, 212, 0.3);
    transition: all 0.3s;
}

.team-linkedin:hover {
    background: var(--accent-light-blue);
    color: var(--bg-dark);
    border-color: var(--accent-light-blue);
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: rgba(10, 96, 250, 0.1);
    color: var(--text-light);
    text-align: center;
    padding: 3rem 0 2rem;
    border-top: 1px solid rgba(30, 208, 212, 0.2);
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(30, 208, 212, 0.1);
    color: var(--accent-light-blue);
    border-radius: 50%;
    transition: all 0.3s;
    border: 1px solid rgba(30, 208, 212, 0.3);
}

.social-link:hover {
    background: var(--accent-light-blue);
    color: var(--bg-dark);
    border-color: var(--accent-light-blue);
    transform: translateY(-3px);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.footer-copyright {
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.footer-impressum {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(30, 208, 212, 0.2);
    font-size: 0.85rem;
    opacity: 0.8;
}

.footer-impressum h3 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--accent-light-blue);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-impressum p {
    margin: 0.5rem 0;
    line-height: 1.6;
}

/* Blog Styles */
.blog-header {
    padding: 8rem 0 4rem;
    background: var(--bg-dark);
    text-align: center;
}

.blog-header h1 {
    font-size: 3rem;
    color: var(--accent-light-blue);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.blog-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    opacity: 0.8;
}

.blog-grid-section {
    padding: 4rem 0;
    background: rgba(10, 96, 250, 0.05);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
}

.blog-card {
    background: rgba(30, 208, 212, 0.05);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(30, 208, 212, 0.2);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(30, 208, 212, 0.3);
    border-color: var(--accent-light-blue);
}

.blog-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.blog-card-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center; /* center crop vertically and horizontally */
    transition: transform 0.3s;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-content {
    padding: 1.5rem;
}

.blog-card-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: var(--text-light);
    opacity: 0.7;
}

.blog-date, .blog-author {
    display: flex;
    align-items: center;
}

.blog-card-title {
    font-size: 1.5rem;
    color: var(--accent-light-blue);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.blog-card-excerpt {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.blog-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.blog-tag {
    font-size: 0.875rem;
    color: var(--accent-light-blue);
    background: rgba(30, 208, 212, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    border: 1px solid rgba(30, 208, 212, 0.3);
}

/* Blog Post Page */
.blog-post {
    padding-top: 80px;
}

.blog-post-header {
    padding: 3rem 0 2rem;
    background: var(--bg-dark);
}

.back-to-blog {
    display: inline-block;
    color: var(--accent-light-blue);
    text-decoration: none;
    margin-bottom: 2rem;
    transition: color 0.3s;
}

.back-to-blog:hover {
    color: var(--accent-dark-blue);
}

.blog-post-title {
    font-size: 2.5rem;
    color: var(--accent-light-blue);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.blog-post-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-light);
    opacity: 0.7;
}

.blog-post-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* Aftermovie Banner */
.aftermovie-banner {
    margin-top: 1rem;
    padding: 1rem 1.25rem;
    background: linear-gradient(90deg, rgba(26, 185, 220, 0.15), rgba(10, 96, 250, 0.15));
    border: 1px solid rgba(30, 208, 212, 0.4);
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(30, 208, 212, 0.15);
}

.aftermovie-link {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--accent-light-blue);
    text-decoration: none;
    font-weight: 600;
}

.aftermovie-link:hover {
    color: var(--accent-dark-blue);
}

.aftermovie-emoji {
    font-size: 1.25rem;
}

.aftermovie-text {
    line-height: 1.2;
}

.blog-post-featured-image {
    width: 100%;
    height: clamp(240px, 50vw, 500px); /* definite height for centering */
    overflow: hidden;
    margin-bottom: 3rem;
}

.blog-post-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center; /* symmetrical crop top/bottom */
}

.blog-post-content {
    background: rgba(10, 96, 250, 0.05);
    padding: 4rem 0;
}

.blog-post-body {
    max-width: 800px;
    margin: 0 auto;
    color: var(--text-light);
    line-height: 1.8;
}

.blog-post-body h2 {
    color: var(--accent-light-blue);
    font-size: 2rem;
    margin: 2rem 0 1rem;
}

.blog-post-body h3 {
    color: var(--accent-light-blue);
    font-size: 1.5rem;
    margin: 1.5rem 0 0.75rem;
}

.blog-post-body p {
    margin-bottom: 1.5rem;
}

.blog-post-body ul, .blog-post-body ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.blog-post-body li {
    margin-bottom: 0.5rem;
}

.blog-post-body a {
    color: var(--accent-light-blue);
    text-decoration: none;
    transition: color 0.3s;
}

.blog-post-body a:hover {
    color: var(--accent-dark-blue);
    text-decoration: underline;
}

.blog-post-body pre {
    background: rgba(30, 208, 212, 0.05);
    border: 1px solid rgba(30, 208, 212, 0.2);
    border-radius: 8px;
    padding: 1.5rem;
    overflow-x: auto;
    margin-bottom: 1.5rem;
}

.blog-post-body code {
    font-family: 'Courier New', Consolas, Monaco, monospace;
    font-size: 0.9em;
    /*color: var(--accent-light-blue);*/
}

.blog-post-body pre code {
    color: var(--text-light);
    display: block;
    line-height: 1.6;
}

.blog-post-body blockquote {
    border-left: 4px solid var(--accent-light-blue);
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: var(--text-light);
    opacity: 0.9;
}

.blog-post-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: rgba(30, 208, 212, 0.05);
    border: 1px solid rgba(30, 208, 212, 0.2);
    border-radius: 8px;
    overflow: hidden;
}

.blog-post-body thead {
    background: rgba(30, 208, 212, 0.15);
}

.blog-post-body th {
    padding: 1rem;
    text-align: left;
    color: var(--accent-light-blue);
    font-weight: 600;
    border-bottom: 2px solid rgba(30, 208, 212, 0.3);
}

.blog-post-body td {
    padding: 1rem;
    border-bottom: 1px solid rgba(30, 208, 212, 0.1);
}

.blog-post-body tbody tr:last-child td {
    border-bottom: none;
}

.blog-post-body tbody tr:hover {
    background: rgba(30, 208, 212, 0.08);
}

.blog-post-body strong {
    /*color: var(--accent-light-blue);*/
    font-weight: 600;
}

.blog-post-body .lead {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 2rem;
    opacity: 0.95;
}

.blog-post-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(30, 208, 212, 0.2);
}

.blog-post-author-bio {
    max-width: 800px;
    margin: 3rem auto;
    padding: 2rem;
    background: rgba(30, 208, 212, 0.05);
    border-radius: 12px;
    display: flex;
    gap: 1.5rem;
    align-items: center;
    border: 1px solid rgba(30, 208, 212, 0.2);
}

.author-bio-image {
    flex-shrink: 0;
}

.author-bio-image img {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    object-fit: cover;
    border: 3px solid var(--accent-light-blue-transparent);
}

.author-bio-content h3 {
    color: var(--accent-light-blue);
    margin-bottom: 0.5rem;
}

.author-bio-content p {
    color: var(--text-light);
    margin-bottom: 0.75rem;
}

.author-linkedin {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(30, 208, 212, 0.1);
    color: var(--accent-light-blue);
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.875rem;
    border: 1px solid rgba(30, 208, 212, 0.3);
    transition: all 0.3s;
}

.author-linkedin:hover {
    background: var(--accent-light-blue);
    color: var(--bg-dark);
}

.related-posts {
    max-width: 800px;
    margin: 3rem auto 0;
}

.related-posts h3 {
    color: var(--accent-light-blue);
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.related-post-card {
    background: rgba(30, 208, 212, 0.05);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(30, 208, 212, 0.2);
}

.related-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(30, 208, 212, 0.2);
    border-color: var(--accent-light-blue);
}

.related-post-image {
    width: 100%;
    height: 150px;
    overflow: hidden;
}

.related-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center; /* center crop for related posts */
}

.related-post-card h4 {
    color: var(--accent-light-blue);
    padding: 1rem;
    font-size: 1.125rem;
    line-height: 1.3;
}

.related-post-date {
    display: block;
    padding: 0 1rem 1rem;
    font-size: 0.875rem;
    color: var(--text-light);
    opacity: 0.7;
}

.nav-links a.active {
    color: var(--accent-light-blue);
}

.nav-links a.active::after {
    width: 100%;
}

/* Blog Post Inline Images */
.blog-image-wrapper {
    text-align: center;
    margin: 2rem 0;
}

.blog-image {
    margin: 0;
}

.blog-image-img {
    width: 100%;
    max-width: 900px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    cursor: pointer;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.blog-image-caption {
    font-style: italic;
    margin-top: 0.75rem;
    color: #666;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Global mobile fixes */
    body {
        overflow-x: hidden;
        scroll-padding-top: 80px; /* Smaller offset for mobile navbar */
    }

    section[id] {
        scroll-margin-top: 80px;
    }

    .container {
        padding: 0 15px;
    }

    /* Navigation */
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background: rgba(5, 4, 25, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 5rem 2rem 2rem;
        gap: 2rem;
        transition: right 0.3s ease;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
        border-left: 1px solid rgba(30, 208, 212, 0.2);
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 1rem 0;
        font-size: 1.125rem;
        border-bottom: 1px solid rgba(30, 208, 212, 0.1);
    }

    .nav-links a::after {
        display: none;
    }

    .logo img {
        height: 50px;
    }

    /* Hero Section */
    .hero {
        min-height: 400px;
        padding-bottom: 8vh;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-content {
        padding: 1.5rem 1rem;
        max-width: 100%;
    }

    .cta-button {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    .hero-social-link {
        width: 45px;
        height: 45px;
    }

    /* Mission Section */
    .mission {
        padding: 4rem 0;
    }

    .mission h2 {
        font-size: 2rem;
    }

    .mission-text {
        font-size: 1rem;
    }

    .mission-pillars,
    .partners-grid,
    .team-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Blog Styles */
    .blog-header {
        padding: 6rem 0 3rem;
    }

    .blog-header h1 {
        font-size: 2rem;
    }

    .blog-subtitle {
        font-size: 1rem;
        padding: 0 15px;
    }

    .blog-grid-section {
        padding: 2rem 0;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .blog-card-title {
        font-size: 1.25rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .blog-card-excerpt {
        font-size: 0.9rem;
    }

    .blog-card-content {
        padding: 1.25rem;
    }

    .blog-card-meta {
        flex-wrap: wrap;
        gap: 0.5rem;
        font-size: 0.8rem;
    }

    .blog-tags {
        gap: 0.4rem;
    }

    .blog-tag {
        font-size: 0.8rem;
        padding: 0.2rem 0.6rem;
    }

    /* Blog Post Page */
    .blog-post-title {
        font-size: 1.75rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .blog-post-header {
        padding: 2rem 0 1.5rem;
    }

    .blog-post-content {
        padding: 2rem 0;
    }

    .blog-post-body {
        padding: 0 15px;
    }

    .blog-post-body h2 {
        font-size: 1.5rem;
        word-wrap: break-word;
    }

    .blog-post_body pre {
        padding: 1rem;
        font-size: 0.85rem;
        overflow-x: auto;
    }

    .blog-post_body table {
        font-size: 0.85rem;
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .blog-post_body th,
    .blog-post_body td {
        padding: 0.75rem 0.5rem;
        white-space: nowrap;
    }

    .blog-post-author-bio {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }

    .related-posts-grid {
        grid-template-columns: 1fr;
    }

    /* Partner Cards */
    .partner-card {
        padding: 1.5rem;
        min-height: 120px;
    }

    .partner-logo-img {
        max-height: 60px;
    }

    /* Team Section */
    .team {
        padding: 4rem 0;
    }

    .team h2 {
        font-size: 2rem;
    }

    /* Footer */
    .footer-impressum {
        font-size: 0.75rem;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .blog-header h1 {
        font-size: 1.75rem;
    }

    .blog-post-title {
        font-size: 1.5rem;
    }

    .blog-card-title {
        font-size: 1.1rem;
    }

    .hero-content {
        padding: 1rem 0.75rem;
    }

    .mission h2,
    .team h2 {
        font-size: 1.75rem;
    }
}
