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

/* Hide mobile-only elements on desktop */
.hamburger-menu,
.mobile-menu-content,
.debug-timestamp {
    display: none !important;
}

body {
    font-family: 'Iowan Old Style', 'Apple Garamond', Baskerville, 'Times New Roman', 'Droid Serif', Times, 'Source Serif Pro', serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
    font-size: 16px;
    line-height: 1.6;
    color: #1a1a1a;
    background: #ffffff;
}

/* Content wrapper */
.content-wrapper {
    position: relative;
    background: #ffffff;
}

/* Image break between grid sections */
.image-break {
    width: 100%;
    height: calc(100vh + 200px);
    position: relative;
    background-image: url('https://stefanschulz.com/start/Stefan_16zu10_3000pxl.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 40px;
}

.image-break-caption {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(3px);
    padding: 30px 40px;
    width: 70%;
    max-width: 70%;
    text-align: center;
    font-size: 1.25rem;
    line-height: 1.65;
    color: #1a1a1a;
}

.image-break-caption em {
    font-style: italic;
}

.image-break-caption a {
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 700;
}

.image-break-caption a:hover {
    text-decoration: underline;
}

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

#second-container {
    padding-top: 60px;
}

/* Header */
header {
    padding: 35px 0 0 0;
    position: relative;
}

.header-title {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.header-title-inner {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 24px;
}

.header-profile-image {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.header-text-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.header-title h1 {
    font-size: 2.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #1a1a1a;
    margin: 0 0 8px 0;
    line-height: 1;
}

.social-links {
    list-style: none;
    display: flex;
    justify-content: flex-start;
    gap: 12px;
    margin: 0;
    padding: 0;
}

.social-links li {
    margin: 0;
}

.social-links a {
    display: block;
    width: 22px;
    height: 22px;
    transition: opacity 0.2s;
}

.social-links a:hover {
    opacity: 0.7;
}

.social-links svg {
    width: 100%;
    height: 100%;
    fill: #A4A4A4;
}

.header-contact {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: #666;
}

.header-contact a {
    color: #666;
    text-decoration: none;
    transition: color 0.2s;
}

.header-contact a:hover {
    color: #ff6600;
}

.header-line-container {
    position: sticky;
    top: 0;
    background: #ffffff;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
    padding: 15px 20px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.header-line {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 1400px;
    height: 1px;
    background: #1a1a1a;
    z-index: 0;
}

.header-nav {
    position: relative;
    z-index: 1;
    background: #ffffff;
    padding: 0 40px;
    display: flex;
    gap: 40px;
}

.header-nav a {
    font-size: 0.875rem;
    color: #1a1a1a;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    transition: color 0.2s;
}

.header-nav a:hover {
    color: #ff6600;
}

.header-nav a.active {
    color: #ff6600;
}

/* Hero Section - Latest Blog Post */
.hero {
    margin-bottom: 100px;
    background: #fff;
    overflow: hidden;
}

.hero a {
    color: inherit;
    text-decoration: none;
    display: block;
    position: relative;
}

.hero-content {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    padding: 30px 40px;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(3px);
    width: 70%;
    max-width: 70%;
    text-align: center;
}

.hero-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

.hero h2 {
    font-size: 2.75rem;
    margin-bottom: 15px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #1a1a1a;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.8), 0 0 40px rgba(255, 255, 255, 0.6);
}

.hero .meta {
    color: #ff6600;
    font-size: 0.875rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.9), 0 0 30px rgba(255, 255, 255, 0.7);
}

.hero .excerpt {
    font-size: 1.25rem;
    line-height: 1.65;
    color: #333;
    margin-bottom: 0;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.8), 0 0 40px rgba(255, 255, 255, 0.6);
}

/* Bluesky Section */
.bluesky-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 100px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

/* TV Podcast Section */
.tv-podcast {
    margin-bottom: 100px;
    background: #fff;
    color: #1a1a1a;
    display: flex;
    align-items: stretch;
    overflow: hidden;
    min-height: 350px;
}

.tv-podcast-cover {
    width: 350px;
    min-width: 350px;
    object-fit: cover;
    display: block;
}

.tv-podcast-content {
    padding: 0 50px 50px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tv-podcast h3 {
    font-size: 0.75rem;
    margin-bottom: 10px;
    color: #ff6600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
}

.tv-podcast .podcast-title {
    font-size: 1.75rem;
    margin-bottom: 20px;
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.tv-podcast .podcast-description {
    color: #555;
    margin-bottom: 25px;
    line-height: 1.7;
    font-size: 1.0625rem;
}

.tv-podcast .podcast-meta {
    color: #999;
    margin-bottom: 25px;
    font-size: 0.875rem;
}

.tv-podcast .play-button {
    display: inline-block;
    padding: 16px 32px;
    background: #1a1a1a;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.875rem;
    transition: all 0.2s;
    align-self: flex-start;
}

.tv-podcast .play-button:hover {
    background: #333;
    transform: translateY(-2px);
}

/* Content Grid */
.content-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 100px;
}

.grid-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 80px;
    row-gap: 0;
    align-items: start;
    min-height: fit-content;
    margin-bottom: 80px;
}

.grid-row:last-child {
    margin-bottom: 0;
}

/* Blog Card */
.card {
    background: #fff;
    overflow: hidden;
}

.card.blog {
    grid-column: span 2;
    position: sticky;
    top: 53px;
    align-self: start;
}

.card-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

.card-content {
    padding: 0 30px 30px 30px;
}

.card.blog .card-content {
    padding: 30px 30px 30px 30px;
}

.card.podcast .card-content {
    padding: 0 20px 30px 20px;
}

.card-type {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #999;
    font-weight: 700;
    margin-bottom: 12px;
}

.card-title {
    font-size: 1.375rem;
    margin-bottom: 15px;
    line-height: 1.35;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.card.podcast .card-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.card-excerpt {
    color: #555;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 18px;
}

/* Larger titles and excerpts for blog posts */
.card.blog .card-title {
    font-size: 1.75rem;
    margin-bottom: 20px;
    line-height: 1.3;
    letter-spacing: -0.015em;
}

.card.blog .card-excerpt {
    font-size: 1.0625rem;
    line-height: 1.7;
    margin-bottom: 0;
}

.card-meta {
    font-size: 0.75rem;
    color: #ff6600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    margin-bottom: 10px;
}

.card-podcast-meta {
    font-size: 0.75rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
    margin-bottom: 0;
}

.card a {
    color: inherit;
    text-decoration: none;
}

/* Podcast Card */
.card.podcast {
    background: #fff;
}

.card.podcast .podcast-cover {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    margin-bottom: 20px;
}

.card.podcast .podcast-icon {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: #fff;
    margin-bottom: 20px;
}

.card.podcast .card-content {
    width: 100%;
    padding: 0 20px 30px 20px;
}

/* TV Podcast Card in Grid */
.card.tv-podcast-grid {
    grid-column: span 3;
    background: #fff;
}

.card.tv-podcast-grid a {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    text-decoration: none;
    color: inherit;
}

.card.tv-podcast-grid .youtube-container {
    width: 40%;
    aspect-ratio: 16 / 9;
    position: relative;
    background: #000;
}

.card.tv-podcast-grid .youtube-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.card.tv-podcast-grid .tv-podcast-info {
    width: 60%;
    padding: 30px 30px 30px 0;
    display: flex;
    flex-direction: column;
}

.card.tv-podcast-grid .podcast-cover {
    width: 150px;
    height: 150px;
    object-fit: cover;
    margin-bottom: 20px;
}

.card.tv-podcast-grid h3 {
    font-size: 0.75rem;
    margin-bottom: 10px;
    color: #ff6600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
}

.card.tv-podcast-grid .podcast-title {
    font-size: 1.75rem;
    margin-bottom: 20px;
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: -0.015em;
}

.card.tv-podcast-grid .podcast-description {
    color: #555;
    margin-bottom: 20px;
    line-height: 1.7;
    font-size: 1.0625rem;
}

.card.tv-podcast-grid .podcast-meta {
    color: #999;
    margin-bottom: 0;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}

/* Blog Card in Texte filter - full width like TV podcast */
.card.blog-grid {
    grid-column: span 3;
    display: flex;
    align-items: stretch;
    background: #fff;
    overflow: hidden;
}

.card.blog-grid a {
    display: flex;
    width: 100%;
    color: inherit;
    text-decoration: none;
}

.card.blog-grid .blog-image-container {
    width: 40%;
    position: relative;
    flex-shrink: 0;
    aspect-ratio: 16 / 9;
}

.card.blog-grid .blog-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.card.blog-grid .blog-info {
    width: 60%;
    padding: 30px 30px 30px 40px;
    display: flex;
    flex-direction: column;
}

.card.blog-grid h3 {
    font-size: 0.75rem;
    margin-bottom: 10px;
    color: #ff6600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
}

.card.blog-grid .blog-title {
    font-size: 1.75rem;
    margin-bottom: 20px;
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: -0.015em;
}

.card.blog-grid .blog-excerpt {
    color: #555;
    margin-bottom: 20px;
    line-height: 1.7;
    font-size: 1.0625rem;
}

.card.blog-grid .blog-meta {
    color: #999;
    margin-bottom: 0;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}

/* Image Card */
.card.image {
    background: #fff;
}

.card.image a {
    position: relative;
    display: block;
    width: 100%;
}

.card.image .image-photo {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

.card.image .image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px 20px;
    pointer-events: none;
}

.card.image .image-caption {
    font-size: 0.75rem;
    line-height: 1.5;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
    color: #fff;
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(6px);
    border-radius: 4px;
    pointer-events: auto;
    position: absolute;
    bottom: 15px;
    left: 20px;
}

.card.image .image-date {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
    white-space: nowrap;
    color: #fff;
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(6px);
    border-radius: 4px;
    pointer-events: auto;
    position: absolute;
    bottom: 15px;
    right: 20px;
}

/* Stack two images vertically */
.card.image.stacked {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.card.image.stacked a:not(:last-child) {
    margin-bottom: 80px;
}


/* Bluesky Card */
.card.bluesky {
    background: #f8fbff;
    position: relative;
}

.card.bluesky.own-post {
    background: #f0f7ff;
}

.card.bluesky .card-content {
    padding: 30px;
}

.card.bluesky .reshare-icon {
    display: inline-block;
    margin-right: 5px;
    color: #2563eb;
    font-weight: 400;
}

.card.bluesky .bluesky-image {
    float: right;
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
    opacity: 0.85;
    margin-left: 15px;
    margin-bottom: 10px;
}

.card.bluesky .bluesky-author {
    font-size: 1rem;
    line-height: 1.7;
    color: #1a1a1a;
    margin-bottom: 0;
}

.card.bluesky .bluesky-author .author-name {
    font-weight: 700;
    color: #2563eb;
}

.card.bluesky .bluesky-link {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #d0e4ff;
    color: #666;
    font-size: 0.875rem;
}

.card.bluesky .bluesky-link a {
    color: #666;
    font-size: 0.875rem;
    text-decoration: none;
    display: block;
    transition: color 0.2s;
}

.card.bluesky .bluesky-link a:hover {
    color: #ff6600;
}

.card.bluesky .bluesky-link .link-domain {
    color: #ff6600;
    font-weight: 600;
}

.card.bluesky .bluesky-meta {
    padding: 0 30px 30px 30px;
    font-size: 0.75rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}

/* Book Card */
.card.book {
    background: transparent;
    overflow: visible;
    display: flex;
    flex-direction: column;
}

.card.book a {
    color: inherit;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card.book .book-cover {
    width: 100%;
    aspect-ratio: 645 / 1000;
    object-fit: cover;
    display: block;
    background: #fff;
}

.card.book .card-content {
    padding: 30px 0 0 0;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card.book .book-title {
    font-size: 1.75rem;
    margin-bottom: 15px;
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: -0.015em;
}

.card.book .book-meta {
    font-size: 0.75rem;
    color: #666;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}

.card.book .book-description {
    font-size: 1rem;
    line-height: 1.7;
    color: #1a1a1a;
    margin-bottom: 25px;
    flex: 1;
}

/* Books Row Wrapper - Full width background */
.books-row-wrapper {
    width: 100%;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    background: #b1c5a4;
    padding: 60px;
    margin-bottom: 100px;
}

.books-row-wrapper .grid-row {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
}

/* Podcast Info Section */
.podcast-info-wrapper {
    width: 100%;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    background: #b1c5a4;
    padding: 60px;
    margin-bottom: 100px;
}

.podcast-info-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 40px;
    align-items: start;
}

.podcast-info-separator {
    font-size: 4rem;
    color: #8aa67c;
    font-weight: 300;
    line-height: 1;
    user-select: none;
    align-self: center;
}

.podcast-info-card h2 {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #1a1a1a;
    margin: 0 0 30px 0;
    line-height: 1.1;
}

.podcast-info-content {
    overflow: hidden;
    margin-bottom: 30px;
}

.podcast-info-image {
    float: left;
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 5px;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    margin: 0 25px 20px 0;
}

.podcast-info-content p {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: #1a1a1a;
    margin: 0 0 18px 0;
}

.podcast-info-content p:last-child {
    margin-bottom: 0;
}

.podcast-info-content a {
    color: #1a1a1a;
    text-decoration: underline;
    transition: color 0.2s;
}

.podcast-info-content a:hover {
    color: #ff6600;
}

.podcast-info-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    clear: both;
}

.podcast-info-button {
    display: inline-block;
    padding: 12px 24px;
    background: #1a1a1a;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: background 0.2s;
}

.podcast-info-button:hover {
    background: #ff6600;
}

.podcast-info-button.salon {
    background: linear-gradient(180deg, rgb(255, 235, 0) 0%, rgb(235, 182, 69) 100%);
    color: #1a1a1a;
}

.podcast-info-button.salon:hover {
    background: linear-gradient(180deg, rgb(235, 182, 69) 0%, rgb(255, 235, 0) 100%);
}

/* Loading State */
.loading {
    text-align: center;
    padding: 0 20px 60px 20px;
    color: #666;
    font-size: 1.125rem;
}

/* Responsive */

/* Tablet and below (≤ 768px) */
@media (max-width: 768px) {
    /* Container */
    .container {
        padding: 0 15px;
    }

    /* Header */
    header {
        padding: 0 0 50px 0;
    }

    header h1 {
        font-size: 2rem;
    }

    .header-title {
        flex-direction: column;
        gap: 20px;
    }

    .header-contact {
        align-self: flex-start;
    }

    .header-nav {
        padding: 0 20px;
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }

    /* Hero Section */
    .hero {
        margin-bottom: 60px;
        width: 100%;
        transform: none;
        left: auto;
    }

    .hero h2 {
        font-size: 1.6rem;
    }

    .hero-content {
        padding: 0 30px 30px 30px;
    }

    /* Grid System - 1 Column */
    .content-grid {
        margin-bottom: 60px;
    }

    .grid-row {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 20px;
    }

    /* All cards span 1 column */
    .card.blog,
    .card.podcast,
    .card.image,
    .card.bluesky {
        grid-column: span 1;
    }

    /* Remove sticky positioning on mobile */
    .card.blog {
        position: static;
    }

    /* Blog cards - full width layout for mobile */
    .card.blog-grid {
        flex-direction: column;
    }

    .card.blog-grid .blog-image-container,
    .card.blog-grid .blog-info {
        width: 100%;
    }

    .card.blog-grid .blog-info {
        padding: 30px;
    }

    /* TV Podcast Grid - stack vertically */
    .card.tv-podcast-grid {
        flex-direction: column;
    }

    .card.tv-podcast-grid .youtube-container,
    .card.tv-podcast-grid .tv-podcast-info {
        width: 100%;
    }

    .card.tv-podcast-grid .tv-podcast-info {
        padding: 30px;
    }

    /* Bluesky Grid - single column */
    .bluesky-grid {
        grid-template-columns: 1fr;
        width: 100%;
        left: 0;
        transform: none;
    }

    /* Card Content */
    .card-content {
        padding: 0 25px 25px 25px;
    }

    /* Books Section - full width on mobile */
    .books-row-wrapper {
        width: 100%;
        left: auto;
        transform: none;
    }

    /* Podcast Info Section - full width on mobile */
    .podcast-info-wrapper {
        width: 100%;
        left: auto;
        transform: none;
    }

    .podcast-info-section {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .podcast-info-separator {
        display: none;
    }

    /* Image Break */
    .image-break {
        height: 60vh;
        background-attachment: scroll;
    }

    .image-break-caption {
        width: 90%;
        max-width: 90%;
        padding: 20px 25px;
        font-size: 1rem;
    }
}

/* Small mobile devices (≤ 480px) */
@media (max-width: 480px) {
    .header-title h1 {
        font-size: 1.75rem;
    }

    .hero h2 {
        font-size: 1.4rem;
    }

    .social-links {
        gap: 10px;
    }

    .social-links a {
        width: 18px;
        height: 18px;
    }

    .header-nav a {
        font-size: 0.75rem;
    }

    .card.book .book-title,
    .card.blog-grid .blog-title,
    .card.tv-podcast-grid .podcast-title {
        font-size: 1.5rem;
    }

    .podcast-info-card h2 {
        font-size: 2rem;
    }
}

/* Large desktop (≥ 1600px) */
@media (min-width: 1600px) {
    .container {
        max-width: 1400px;
    }
}
