/* Global styles */
@font-face {
    font-family: 'Sohne';
    src: local('Sohne'),
        url('../fonts/Sohne.woff2') format("woff2");
}

@font-face {
    font-family: 'SohneMono';
    src: local('SohneMono-Buch'),
        url('../fonts/SohneMono-Buch.woff2') format("woff2");
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Sohne, Helvetica Neue, Arial, sans-serif;
    font-style: normal;
    font-weight: 300;
    line-height: 1.6;
    color: #1E1E1E;
    background-color: #e8e8e8;
    background-image: url('/static/images/noise.avif');
    background-repeat: repeat;
    background-size: auto;
    background-blend-mode: multiply;
    /* This blends the texture with the background color */
    letter-spacing: -.07em;
}

/* Header Section */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

header .logo {
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: -0.5px;
}

header nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
}

header nav ul li a {
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem;
    transition: background-color 0.3s ease;
}

header nav ul li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.header-container {
    max-width: 1200px;
    /* Match the main content max-width */
    margin-left: auto;
    /* Center the header content */
    margin-right: auto;
    /* Center the header content */
    width: 100%;
    /* Full width for the header */
    display: flex;
    justify-content: space-between;
    /* Space out logo and nav */
    align-items: center;
    /* Center items vertically */
}

/* Main Content Section */
.main-content {
    padding: 2rem;
    max-width: 1400px;
    /* Increase max-width for the content */
    margin-right: auto;
    /* Center the content */
    margin-left: auto;
    /* Center the content */
    margin-top: 80px;
    /* To avoid overlap with the fixed header */
}

/* Intro Section with Title and Images */
.intro-section {
    padding-bottom: 0px;
}

.intro-title {
    font-size: 170px;
    font-weight: 300;
    margin-bottom: 1rem;
    line-height: 0.84;
    width: 70%;
}

.sub-title {
    font-size: 114px;
    font-weight: 300;
    margin-bottom: 1rem;
    line-height: 0.84;
    width: 70%;
    margin-top: 160px;
}


.intro-description {
    padding-top: 50px;
    font-size: 43px;
    margin-bottom: 2rem;
    line-height: 0.95;
    width: 70%;
    font-weight: 300;
}

.intro-images {
    display: flex;
    gap: 2rem;
    margin: 20px 0px;
}

.intro-images img {
    width: 50%;
    border-radius: 8px;
    height: 300px;
    object-fit: cover;
}

/* Feed Container for Filters and Feed Section */
.feed-container {
    display: flex;
    margin-top: 2rem;
    position: relative;
    /* Add this */
}

/* Update the sidebar styles */
.sidebar {
    width: 440px;
    padding-right: 2rem;
    position: sticky;
    top: 80px;
    /* Match the margin-top from main-content to account for fixed header */
    height: fit-content;
    /* Add this to ensure sidebar only takes up as much space as needed */
    max-height: calc(100vh - 80px);
    /* Prevent sidebar from being taller than viewport */
    overflow-y: auto;
    /* Allow scrolling if content is too tall */
}

/* Keep your existing media query, but update the sidebar properties */
@media screen and (max-width: 1200px) {
    .sidebar {
        position: relative;
        width: 100%;
        margin-bottom: 2rem;
        padding-right: 0;
        max-height: none;
        overflow-y: visible;
    }
}

/* Add a container to hold filters side by side */
.filter-container {
    display: flex;
    /* Use flexbox for horizontal layout */
    gap: 2rem;
    /* Space between the filter sections */
    margin-bottom: 2rem;
    /* Add space below filter sections */
    padding-top: 10px;
}

.filter-container h2 {
    flex: none;
    /* Prevent h2 from growing */
}

.filter-header {
    font-family: SohneMono, Helvetica Neue, Arial, sans-serif;
    font-size: 12px;
    font-weight: 300;
    gap: 4px;
    letter-spacing: -.012em;
}

.filter-list {
    border-left: 1px dotted black;
}

.sidebar h2 {
    padding-top: 20px;
    /* Add some space at the top */
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.sidebar ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}


.filter-btn {
    font-family: SohneMono, Helvetica Neue, Arial, sans-serif;
    border: none;
    padding: 3px;
    margin: 2px;
    width: 100%;
    cursor: pointer;
    border-radius: 4px;
    text-align: left;
    font-weight: bold;
    transition: color 0.3s ease, box-shadow 0.3s ease;
    color: gray;
}

.filter-btn.active,
.filter-btn:hover {
    color: black;
}

.filter-mode-btn {
    font-family: SohneMono, Helvetica Neue, Arial, sans-serif;
    font-size: 12px;
    border: none;
    width: 100%;
    cursor: pointer;
    text-align: left;
    transition: color 0.3s ease, box-shadow 0.3s ease;
    color: gray;
    background-color: #e8e8e8;
}

.filter-mode-btn.active,
.filter-mode-btn:hover {
    color: black;
}

/* Feed container layout */
.feed-container {
    display: flex;
    margin-top: 2rem;
    position: relative;
}

/* Feed item styling */
.feed-item {
    padding: 10px 0px;
    height: 60px;
    border-bottom: 1px solid black;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.feed-item:hover {
    background-color: #0588f4;
}

.feed-item-date {
    font-family: SohneMono, Helvetica Neue, Arial, sans-serif;
    font-size: 14px;
    margin-left: 0px;
    line-height: 1;
    font-weight: 300;
    height: 14px;
}

.feed-item-title {
    font-family: Sohne, Helvetica Neue, Arial, sans-serif;
    font-size: 25px;
    font-weight: 300;
    padding: 0px;
    margin-bottom: 3px;
}

.feed-item-theme-container {
    font-family: SohneMono, Helvetica Neue, Arial, sans-serif;
    font-size: 14px;
    margin-right: 10px;
    font-weight: 300;
    padding: 0px;
    margin-bottom: 3px;
    display: flex;
    flex-direction: column;
    width: 150px;
}

.filter-mode-wrapper {
    margin: 0px;
    padding: 0px;
    margin-right: 70px;
}

/* Mobile styles */
@media screen and (max-width: 768px) {

    /* Stack filters and feed vertically on mobile */
    .feed-container {
        flex-direction: column;
    }

    /* Make sidebar take full width and reset positioning */
    .sidebar {
        position: relative;
        width: 100%;
        padding-right: 0;
        margin-bottom: 2rem;
        top: 0;
        max-height: none;
        overflow-y: visible;
    }

    /* Adjust filter container for mobile */
    .filter-container {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 1rem;
    }

    /* Make filter lists more compact on mobile */
    .filter-list {
        border-left: none;
        margin-bottom: 1rem;
    }

    /* Adjust feed section spacing */
    .feed-section {
        width: 100%;
        padding-top: 1rem;
    }

    /* Adjust feed items for better mobile display */
    .feed-item {
        flex-direction: column;
        align-items: flex-start;
        height: auto;
        min-height: 60px;
        padding: 1rem 0;
        border-bottom: 1px solid black;
    }

    .feed-item:hover {
        background-color: #0588f4;
    }

    .feed-item-title {
        margin-left: 0;
        margin-top: 0.5rem;
        font-size: 20px;
        /* Slightly smaller on mobile */
    }


    .filter-mode-wrapper {
        margin: 0px;
        padding: 0px;
        margin-right: 20px;
    }

}

/* Tablet and larger screens */
@media screen and (min-width: 769px) {
    .feed-container {
        flex-direction: row;
    }

    .sidebar {
        width: 440px;
        position: sticky;
    }

    /* Restore desktop feed item layout */
    .feed-item {
        flex-direction: row;
        height: 60px;
        padding: 10px 0px;
    }

    .feed-item-title {
        font-size: 25px;
    }

    .feed-item-theme-container {
        width: 150px;
        margin-right: 10px;
    }
}

.export-btn {
    font-family: SohneMono, Helvetica Neue, Arial, sans-serif;
    padding: 16px 16px;
    border: 1px dashed #1E1E1E;
    background: none;
    color: #1E1E1E;
    margin-top: 20px;
    width: 100%;
    display: block;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.export-btn:hover {
    background-color: #1E1E1E;
    color: #e8e8e8;
}


.pagination {
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    font-family: SohneMono, Helvetica Neue, Arial, sans-serif;
}

.pagination-btn {
    display: inline-block;
    /* Ensures the link behaves like a block-level button */
    font-family: SohneMono, Helvetica Neue, Arial, sans-serif;
    padding: 6px 20px;
    border: 1px dashed #0588f4;
    background: none;
    color: #0588f4;
    text-decoration: none;
    /* Remove the default underline of links */
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-align: center;
    /* Centers text inside the "button" */
    font-size: 13px;
}

.pagination-btn:hover {
    background-color: #0588f4;
    color: #e8e8e8;
}

.pagination-btn-disabled {
    border-color: #ccc;
    color: #ccc;
    cursor: default;
    display: inline-block;
    /* Ensures the link behaves like a block-level button */
    font-family: SohneMono, Helvetica Neue, Arial, sans-serif;
    padding: 6px 20px;
    border: 1px dashed;
    background: none;
    text-decoration: none;
    /* Remove the default underline of links */
    cursor: default;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-align: center;
    /* Centers text inside the "button" */
    font-size: 13px;

}

.page-info {
    font-size: 14px;
}


.cards-section {
    margin-top: 60px;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* Two columns of equal width */
    grid-template-rows: repeat(2, auto);
    /* Two rows with height automatically adjusted */
    gap: 40px;
    width: 100%;
}

.info-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.card-header {
    width: 100%;
    height: 18px;
    padding-bottom: 6px;
    border-bottom: 1px solid black;
    margin-bottom: 10px;
}

.card-title {
    font-size: 43px;
    font-weight: 300;
    line-height: 0.95;
    letter-spacing: -0.07em;
}


@keyframes typing {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

.card-link {
    font-family: SohneMono, Helvetica Neue, Arial, sans-serif;
    display: inline-block;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 4px;
    border: 1px dashed #0588f4;
    color: #0588f4;
    transition: all 0.3s ease;
    background: none;
    cursor: pointer;
    width: fit-content;
}

.card-link:hover {
    background-color: #0588f4;
    color: #ffffff;
}

.disabled-card-link {
    font-family: SohneMono, Helvetica Neue, Arial, sans-serif;
    display: inline-block;
    padding: 8px 16px;
    text-decoration: none;
    border: 1px dashed #ccc;
    border-radius: 4px;
    border-color: #ccc;
    color: #ccc;
    cursor: not-allowed;
    background: none;
    width: fit-content;
}

.card-example {
    font-family: SohneMono, Helvetica Neue, Arial, sans-serif;
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
    white-space: nowrap;
    overflow: hidden;
    opacity: 0;
    width: 0;
}

.card-example.typing {
    opacity: 1;
    /* Increased duration from 2s to 3s for slower animation */
    animation: typing 2s steps(40, end) forwards;
}

/* Footer Section */
footer {
    background-color: #1E1E1E;
    /* Match the header background */
    padding: 4rem 2rem;
    position: relative;
    /* Default position */
    bottom: 0;
    /* Align to the bottom */
    width: 100%;
    /* Full width for the footer */
    margin-top: 40px;
}

.footer-container {
    max-width: 1200px;
    /* Match the main content max-width */
    margin: 0 auto;
    /* Center the footer content */
    display: flex;
    /* Use flexbox for layout */
    justify-content: space-between;
    /* Space out items */
    align-items: center;
    /* Center items vertically */
}

footer p {
    margin: 0;
    /* Remove default margin */
}

footer nav ul {
    list-style: none;
    /* Remove bullet points */
    display: flex;
    /* Use flexbox for layout */
    gap: 1rem;
    /* Space between links */
}

footer nav ul li a {
    text-decoration: none;
    /* Remove underline */
}

footer nav ul li a:hover {
    text-decoration: underline;
    /* Underline on hover */
}


/* About Section */
.about-section {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 60px;
}

.about-title {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.about-container {
    display: flex;
    gap: 3rem;
    width: 70%;
    font-family: Sohne, Helvetica Neue, Arial, sans-serif;
    font-size: 25px;
    font-weight: 300;
}

.author-container {
    margin: 0px;
    display: flex;
    flex-direction: column;
}

.author-image {
    flex-shrink: 0;
    width: 350px;
    height: 0px;
}

.author-title {
    font-family: Sohne, Helvetica Neue, Arial, sans-serif;
    font-weight: 300;
    font-size: 25px;
}


.author-info {
    flex: 1;
}

.author-info h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.author-role {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.author-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.author-social {
    display: flex;
    gap: 1rem;
    margin-top: 10px;
}

.employer-link {
    color: #0588f4;
    font-style: normal;
    text-decoration: none;
}

.employer-link:visited {
    color: #0588f4;
}

.social-link {
    font-family: SohneMono, Helvetica Neue, Arial, sans-serif;
    font-size: 18px;
    display: inline-block;
    padding: 8px 12px;
    /* Updated padding to match pagination */
    text-decoration: none;
    border-radius: 4px;
    border: 1px dashed #0588f4;
    color: #0588f4;
    transition: all 0.3s ease;
    /* Simplified transition */
    background: none;
    /* Explicit background */
    cursor: pointer;
    /* Added cursor */
}

.social-link:hover {
    background-color: #0588f4;
    color: #e8e8e8;
}

/* Responsive styles for About section */
@media screen and (max-width: 768px) {
    .about-container {
        flex-direction: column;
    }

    .author-image {
        margin-bottom: 2rem;
    }
}

.scroll-container {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    display: flex;
    align-items: center;
    position: relative;
    border-bottom: 1px solid black;
    border-top: 1px solid black;
}

.scroll-content {
    display: flex;
    position: relative;
}

.item {
    flex: 0 0 auto;
    margin: 8px 0px;
    display: inline-block;
    font-family: SohneMono, Helvetica Neue, Arial, sans-serif;
    font-size: 14px;
    width: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0px 10px;
    border-left: 1px dotted black;
    border-right: 1px dotted black;
}

.new-box {
    display: flex;
    height: 14px;
    width: 25px;
    padding: 3px;
    color: #0588f4;
    border: 1px solid #0588f4;
    background-color: #0588f43F;
    font-family: SohneMono, Helvetica Neue, Arial, sans-serif;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
    margin-right: 10px;
}

.item-text {
    margin-bottom: 2px;
}

/* Responsive Layout */
@media screen and (max-width: 1200px) {
    .sidebar {
        position: relative;
        width: 100%;
        margin-bottom: 2rem;
        padding-right: 0;
    }

    .feed-container {
        flex-direction: column;
        /* Stack filters and feed on smaller screens */
    }

    .main-content {
        margin-left: 0;
    }

    .intro-images {
        flex-direction: column;
    }

    .intro-images img {
        width: 100%;
    }
}

/* Global styles */
@font-face {
    font-family: 'Sohne';
    src: local('Sohne'),
        url('../fonts/Sohne.woff2') format("woff2");
}

@font-face {
    font-family: 'SohneMono';
    src: local('SohneMono-Buch'),
        url('../fonts/SohneMono-Buch.woff2') format("woff2");
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Base styles with fluid typography */
:root {
    --fluid-h1: clamp(48px, 10vw, 170px);
    --fluid-h2: clamp(36px, 7vw, 114px);
    --fluid-h3: clamp(24px, 4vw, 43px);
    --fluid-body: clamp(16px, 2vw, 25px);
    --fluid-small: clamp(12px, 1.5vw, 14px);
}

body {
    font-family: Sohne, Helvetica Neue, Arial, sans-serif;
    font-style: normal;
    font-weight: 300;
    line-height: 1.6;
    color: #1E1E1E;
    background-color: #e8e8e8;
    background-image: url('/static/images/noise.avif');
    background-repeat: repeat;
    letter-spacing: -.07em;
    font-size: var(--fluid-body);
}

/* Responsive typography */
.intro-title {
    font-size: var(--fluid-h1);
    font-weight: 300;
    margin-bottom: 1rem;
    line-height: 0.84;
    width: min(100%, 70%);
}

.sub-title {
    font-size: var(--fluid-h2);
    font-weight: 300;
    margin-bottom: 1rem;
    line-height: 0.84;
    width: min(100%, 70%);
    margin-top: clamp(60px, 10vw, 160px);
}

.intro-description {
    padding-top: clamp(25px, 5vw, 50px);
    font-size: var(--fluid-h3);
    margin-bottom: 2rem;
    line-height: 0.95;
    width: min(100%, 70%);
    font-weight: 300;
}

/* Responsive containers */
.main-content {
    padding: clamp(1rem, 3vw, 2rem);
    max-width: 1400px;
    margin: 0 auto;
    margin-top: clamp(60px, 8vh, 80px);
    width: 100%;
}

/* Responsive grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 2 equal-width columns */
    grid-template-rows: repeat(2, auto);
    /* 2 rows that adjust to content height */
    gap: 40px;
    /* Space between grid items */
    width: 100%;
}

/* Responsive feed items */
.feed-item {
    padding: clamp(8px, 2vw, 10px) 0;
    height: auto;
    min-height: clamp(40px, 8vw, 60px);
}

.feed-item-title {
    font-size: var(--fluid-h3);
}

.feed-item-date {
    font-size: var(--fluid-small);
}

/* Responsive about section */
.about-section {
    margin-top: clamp(30px, 5vw, 60px);
}

.about-container {
    width: 100%;
    font-size: var(--fluid-body);
    flex-direction: column;
}

/* Update the intro-images media query */
@media screen and (max-width: 768px) {
    .intro-images {
        flex-direction: column;
    }

    .intro-images img:nth-child(2) {
        display: none;
        /* Hide second image on mobile */
    }

    /* Fix filter overlap by adjusting the feed container layout */
    .feed-container {
        flex-direction: column;
    }

    .sidebar {
        position: relative;
        width: 100%;
        margin-bottom: 2rem;
        padding-right: 0;
        max-height: none;
        overflow-y: visible;
    }

    /* Adjust about section layout for mobile */
    .about-section {
        flex-direction: column;
    }

    .about-container {
        width: 100%;
    }

    .author-container {
        margin: 2rem 0 0 0;
        width: 100%;
    }

    .author-image {
        margin-top: 30px;
        margin-bottom: 0px;
    }

    .author-container {
        margin-top: 20px;
        width: 100%;
    }

    .filter-container {
        flex-direction: column;
        gap: 1rem;
    }

    .feed-item {
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem 0;
    }

    .feed-item-theme-container {
        width: 100%;
        margin-top: 0.5rem;
    }

    .cards-grid {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        /* 2 equal-width columns */
        gap: 40px;
        /* Space between grid items */
        width: 100%;
    }

    .card-example {
        font-family: SohneMono, Helvetica Neue, Arial, sans-serif;
        font-size: 14px;
        color: #666;
        margin-bottom: 10px;
        overflow: hidden;
        width: 100%;
    }
}

/* Restore layout for larger screens */
@media screen and (min-width: 769px) {
    .intro-images {
        flex-direction: row;
    }

    .intro-images img {
        width: 50%;
        display: block;
        /* Ensure both images are visible */
    }

    .about-section {
        flex-direction: row;
    }

    .about-container {
        width: 70%;
    }

    .feed-container {
        flex-direction: row;
    }

    .card-example {
        font-family: SohneMono, Helvetica Neue, Arial, sans-serif;
        font-size: 14px;
        color: #666;
        margin-bottom: 10px;
        white-space: nowrap;
        overflow: hidden;
        opacity: 0;
        width: 0;
    }

    .card-example.typing {
        opacity: 1;
        /* Increased duration from 2s to 3s for slower animation */
        animation: typing 2s steps(40, end) forwards;
    }
}

/* Feed Container Layout Updates */
.feed-container {
    display: flex;
    margin-top: 2rem;
    position: relative;
    width: 100%;
    gap: 2rem;
}

/* Sidebar Fixes */
.sidebar {
    width: 440px;
    min-width: 440px;
    padding-right: 2rem;
    position: sticky;
    top: 80px;
    height: fit-content;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
}

/* Feed Section Fixes */
.feed-section {
    flex: 1;
    width: 100%;
    min-width: 0;
}

.feed-list {
    width: 100%;
}

/* Feed Item Base Styles */
.feed-item {
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 10px 0px;
    height: 60px;
    border-bottom: 1px solid black;
}

.feed-item-title {
    font-size: 25px;
}

.feed-item-date {
    font-size: 14px;
}

.feed-item-theme-container {
    font-size: 14px;
    width: 150px;
}

/* About Cards Base Styles */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    width: 100%;
}

.info-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.card-title {
    font-size: 43px;
    font-weight: 300;
    line-height: 0.95;
    letter-spacing: -0.07em;
}

/* Responsive Layout Updates */
@media screen and (max-width: 1200px) {
    .feed-container {
        flex-direction: column;
        gap: 1rem;
    }

    .sidebar {
        width: 100%;
        min-width: 100%;
        padding-right: 0;
        position: relative;
        top: 0;
        max-height: none;
    }

    .feed-section {
        width: 100%;
    }
}

.card-example {
    font-family: SohneMono, Helvetica Neue, Arial, sans-serif;
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

@media screen and (max-width: 768px) {

    /* Feed Item Mobile Adjustments */
    .feed-item {
        height: auto;
        min-height: 40px;
        padding: 8px 0;
        flex-direction: column;
        gap: 4px;
    }

    .feed-item-title {
        font-size: 16px;
        margin-left: 20px;
    }

    .feed-item-date {
        font-size: 11px;
    }

    .feed-item-theme-container {
        font-size: 11px;
        width: 100%;
        margin-left: 20px;
        display: flex;
        flex-direction: column;
    }

    /* About Cards Mobile Adjustments */
    .cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .info-card {
        min-height: 180px;
        padding: 15px;
        gap: 15px;
    }

    .card-title {
        font-size: 24px;
    }

    .card-header {
        font-size: 11px;
    }

    .card-example {
        white-space: normal;
        width: 100%;
        opacity: 1;
        /* Always visible */
        /* Remove any animation properties */
    }

    /* Remove animation class effects for mobile */
    .card-example.typing {
        animation: none;
    }

    .card-example {
        white-space: normal;
        width: 100%;
    }

    .intro-title,
    .sub-title,
    .intro-description {
        width: 100%;
    }
}

/* Card Example Animation */
@media screen and (min-width: 769px) {
    .card-example {
        white-space: nowrap;
        overflow: hidden;
        opacity: 0;
        width: 0;
    }

    .card-example.typing {
        opacity: 1;
        animation: typing 2s steps(40, end) forwards;
    }
}

.scroll-container {
    width: 100%;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
}

.scroll-content {
    display: flex;
    width: max-content;
    /* Allow content to determine width */
}

/* Feed header container styles */
.feed-header {
    width: 100%;
    height: 18px;
    padding-bottom: 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid black;
}

/* Column headers container */
.feed-columns {
    display: flex;
    width: 100%;
    justify-content: space-between;
    font-family: SohneMono, Helvetica Neue, Arial, sans-serif;
    font-size: 14px;
}

/* Individual column header styles */
.column-update {
    width: 120px;
    /* Adjust based on your date width */
}

.column-company {
    flex: 1;
    margin-left: 0px;
    /* Match the spacing of feed items */
}

.column-theme {
    width: 150px;
    /* Match the width of theme container in feed items */
    margin-right: 100px;
    text-align: right;
}

/* Mobile styles */
@media screen and (max-width: 768px) {
    .feed-columns {
        font-size: 11px;
        /* Match mobile font size */
    }

    .column-update {
        width: auto;
    }

    .column-company {
        margin-left: 10px;
        /* Match mobile spacing */
    }

    .column-theme {
        width: auto;
        margin-right: 50px;
    }
}


/* Feed Item Base Styles */
.feed-item {
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    padding: 2px 0px;
    height: 60px;
    border-bottom: 1px solid black;
    display: flex;
    flex-direction: column;
}

.feed-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    min-height: 60px;
    padding: 10px 0;
}


.feed-item-left {
    display: flex;
    align-items: center;
}

.feed-item-date {
    font-family: SohneMono, Helvetica Neue, Arial, sans-serif;
    font-size: 14px;
    margin-left: 0px;
    line-height: 1;
    font-weight: 300;
    height: 14px;
    width: 120px;
}

.feed-item-title {
    font-family: Sohne, Helvetica Neue, Arial, sans-serif;
    font-size: 25px;
    font-weight: 300;
    padding: 0px;
    margin-bottom: 3px;
}

.feed-item-theme-container {
    font-family: SohneMono, Helvetica Neue, Arial, sans-serif;
    font-size: 14px;
    margin-right: 10px;
    font-weight: 300;
    width: 138px;
}

.feed-item:hover {
    background-color: #0588f4;
}

.feed-item.expanded {
    height: auto;
    display: flex;
    justify-content: flex-start;
    align-items: start;
}

.feed-item-expanded {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0px;
    margin-top: 10px;
}

.feed-item-summary {
    font-family: SohneMono, Helvetica Neue, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 15px;
    display: flex;
}

.extended-item-subtitle {
    font-family: SohneMono, Helvetica Neue, Arial, sans-serif;
    font-size: 14px;
    margin-left: 0px;
    width: 120px;
}

.extended-item-text {
    font-family: SohneMono, Helvetica Neue, Arial, sans-serif;
    font-size: 16px;
    margin-left: 40px;
}

.extended-item-location {
    font-family: SohneMono, Helvetica Neue, Arial, sans-serif;
    font-size: 14px;
}

.extended-item-summary-text {
    font-family: SohneMono, Helvetica Neue, Arial, sans-serif;
    font-size: 14px;
    width: 550px;
}

.extended-item-link-text {
    font-family: SohneMono, Helvetica Neue, Arial, sans-serif;
    font-size: 14px;
}

.feed-item-link {
    font-family: SohneMono, Helvetica Neue, Arial, sans-serif;
    font-size: 14px;
    text-decoration: none;
    display: inline-block;
    color: #0588f4;
    ;
}

.feed-item-link:hover {
    opacity: 0.8;
}

/* Mobile styles */
@media screen and (max-width: 768px) {
    .feed-item-header {
        align-items: center;
    }

    .feed-item-date {
        font-size: 11px;
        padding: 0px;
        margin: 0px;
    }

    .feed-item-left {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .feed-item-title {
        font-size: 16px;
        margin: 0px;
        margin-bottom: 4px;
    }

    .feed-item-theme-container {
        width: 90px;
        margin: 0px;
        padding-bottom: 4px;
    }

    .feed-item-summary {
        font-size: 14px;
        padding-left: 20px;
    }

    .extended-item-subtitle {
        width: 100px;
    }


    .feed-item-summary {
        padding: 0px;
    }

    .extended-item-summary-text {
        margin: 0px;
        width: 250px;
    }

    .extended-item-location {
        margin: 0px;
        width: 300px;
    }

    .extended-item-link-text {
        margin: 0px;
        width: 300px;
    }

    .column-update {
        width: 100px;
    }

    .column-company {
        margin: 0px;
    }

    .feed-item-date {
        width: 100px;
    }

    .info-card {
        padding: 0px;
    }

}

/* Updated Author Container Styles */
.author-container {
    margin: 0px;
    display: flex;
    flex-direction: column;
    /* Ensure full width */
}

.author-image {
    flex-shrink: 0;
    width: 100%;
    /* Make it fill the container width instead of fixed 350px */
    height: auto;
    /* Changed from 0px to auto */
    margin-bottom: 0px;
    /* Add space between image and content */
}

.author-image img {
    width: 100%;
    height: auto;
    /* Maintain aspect ratio */
    display: block;
    /* Remove inline spacing */
    object-fit: contain;
    /* Ensure proper image fitting */
}

.author-title {
    font-family: Sohne, Helvetica Neue, Arial, sans-serif;
    font-weight: 300;
    font-size: 25px;
}

.author-info {
    flex: 1;
    width: 100%;
}

/* Mobile specific adjustments */
@media screen and (max-width: 768px) {
    .author-container {
        margin-top: 20px;
        width: 100%;
    }

    .author-image {
        margin-top: 30px;
        margin-bottom: 15px;
        /* Consistent spacing */
    }

    .author-title {
        font-size: 20px;
        /* Slightly smaller on mobile */
    }
}

/* Larger screens - maintain some constraints if needed */
@media screen and (min-width: 769px) {
    .author-image {
        max-width: 350px;
        /* Optional: limit maximum width on larger screens */
        margin-bottom: 20px;
    }
}