@media (max-width: 600px) {
    main {
        padding: 1rem 0.25rem !important;
        max-width: 100vw !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }
    .tabs {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0.5rem !important;
        border-bottom: none !important;
        border-right: 2px solid #e0e0e0 !important;
        margin-bottom: 1rem !important;
        padding-top: 0 !important;
        width: 100% !important;
    }
    .tab-button {
        border-radius: 8px 0 0 8px !important;
        font-size: 1rem !important;
        padding: 0.75rem 1rem !important;
        margin-bottom: 0.25rem !important;
        width: 100% !important;
        text-align: left !important;
        min-width: 0 !important;
    }
    .tab-button.active, .tab-button:hover {
        background: #2c3e50 !important;
        color: #fff !important;
    }
    .tab-content {
        margin-left: 0 !important;
        margin-top: 0.5rem !important;
    }
    .bio-image-container, .csl-image-container {
        margin: 1rem 0 !important;
    }
    .endorsements {
        max-width: 98vw !important;
    }
    footer {
        position: static !important;
        padding: 0.5rem !important;
    }
}
/* Contact tab styles */
.contact-info {
    margin-top: 2rem;
    text-align: center;
}
.contact-info a {
    color: #2c3e50;
    text-decoration: underline;
    word-break: break-all;
}
/* Endorsements styles */
.session-feedback {
    margin-top: 2rem;
    text-align: center;
}
.endorsements {
    list-style: none;
    padding: 0;
    margin: 2rem auto;
    max-width: 600px;
}
.endorsements li {
    background: #f1f1f1;
    margin-bottom: 1.5rem;
    padding: 1.25rem 1rem;
    border-radius: 8px;
    font-style: italic;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
/* Tab styles */
.tabs {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-end;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid #e0e0e0;
    background: transparent;
    position: static;
    top: unset;
    z-index: unset;
    padding-top: 0;
}
.tab-button {
    background: #e0e0e0;
    border: none;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 8px 8px 0 0;
    transition: background 0.2s;
}
.tab-button.active, .tab-button:hover {
    background: #2c3e50;
    color: #fff;
}
.tab-content {
    animation: fadeIn 0.3s;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
body {
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 0;
    background: #f9f9f9;
    color: #222;
}

header {
    background: #2c3e50;
    color: #fff;
    padding: 2rem 1rem 1rem 1rem;
    text-align: center;
}

main {
    padding: 2rem 1rem;
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border-radius: 8px;
}

footer {
    background: #2c3e50;
    color: #fff;
    text-align: center;
    padding: 1rem;
    position: fixed;
    width: 100%;
    bottom: 0;
    left: 0;
}
