/* Reset and base styles */
body {
    margin: 0;
    padding: 0;
    font-family: "ivystyle-sans", sans-serif;
    background: url('grid.webp') repeat;
}

/* Navbar styles */
.navbar {
    position: relative;
    width: 100%;
    background-color: transparent;
    z-index: 1000;
    margin-top: 2rem;
    margin-bottom: 0.5rem;
    opacity: 0;
    animation: slideInFromBottom 0.8s ease-out forwards;
    animation-delay: 0.1s;
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: grid;
    grid-template-columns: 200px 1fr 200px;
    align-items: center;
}

.navbar-logo {
    font-size: 1.25rem;
    font-weight: 700;
    font-family:'Epilogue', sans-serif;
}

.navbar-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: center;
}

.navbar-space {
    display: flex;
    justify-content: flex-end;
}

.nav-link, .creator-link {
    color: #333;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: background-color 0.2s ease;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
}

.nav-link:hover, .creator-link:hover {
    color: #333;
    background-color: #f4f4f4;
}

@media (max-width: 768px) {
    .navbar {
        display: none;
    }
    
    .landing-container {
        padding-top: 1rem;
    }
}

/* Newsletter results page specific body styles */
.newsletter-body {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    line-height: 1.6;
    background-color: #f9fafb;
    background-image: url("bg.svg");
    background-repeat: repeat;
    background-position: bottom;
    background-color: #edeeff;
}

h1 {
    text-align: center;
    color: var(--text-primary);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    font-weight: 700;
    font-family: 'Epilogue', sans-serif;
}

.container {
    margin: 2rem auto;
    max-width: 600px;
    background: #f9fafb;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

#apiKey {
    width: 96%;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #fff;
    font-family: 'Epilogue', sans-serif;
}

.options {
    margin: 20px 0;
}

.radio-group {
    margin: 10px 0;
}

button {
    background-color: #6A5ACD;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    font-family: system-ui;
}

button:hover {
    background-color: #90c1ff;
}

#loading {
    display: none;
    margin: 20px 0;
}

#error {
    display: none;
    color: red;
    margin: 10px 0;
}

.podcast-card {
    display: flex;
    align-items: center;
    background-color: #6A5ACD;
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 10px;
}

.podcast-card-footer-spotify {
    display: flex;
    align-items: center;
    background-color: #1DB954;
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 10px;
    margin-top: 10px;
}

.podcast-card-footer-youtube {
    display: flex;
    align-items: center;
    background-color: #FF0000;
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 10px;
    margin-top: 10px;
}

.play-button {
    background-color: #432D8C;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 16px;
}

.play-button-footer {
    background-color: #00000042;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 16px;
}

.play-icon {
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-left: 12px solid white;
    border-bottom: 8px solid transparent;
}

.podcast-info {
    color: white;
}

.latest-timestamp {
    font-size: 14px;
    font-weight: 500;
}

.category-tags {
    background-color: #6f57d0;
    padding: 4px 8px;
    border-radius: 4px;
    color: #ffffff;
}

.technical-term {
    background-color: #6f57d0;
    padding: 4px 8px;
    border-radius: 4px;
    color: #ffffff;
}

.technical-description {
    color: #6b7280;
}

.episode-title {
    font-size: 14px;
    color: #c4b8e9;
}

.episode-title-footer {
    font-size: 14px;
    color: #ffffff80;
}

:focus-visible {
    outline: 2px solid #90c1ff;
    border-radius: 6px;
}

.detailed-coverage {
    padding: 20px;
}

/* Landing Page Styles */
.landing-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 2rem;
}

/* Main title animation - slide in from bottom like feature cards */
@keyframes titleSlideIn {
    0% {
        transform: translateY(50px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.main-title {
    font-size: 3.5rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.2;
    margin-bottom: 4rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    
    /* Remove typing animation properties */
    /* Add slide-in animation */
    opacity: 0;
    animation: titleSlideIn 1.2s ease-out forwards;
    animation-delay: 0.3s; /* Slight delay before animation starts */
}

/* Adjust for smaller screens */
@media (max-width: 768px) {
    .main-title {
        font-size: 2.5rem;
    }
}

/* Upload section */
.upload-section {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 4rem;
    opacity: 0;
    animation: slideInFromBottom 0.8s ease-out forwards;
    animation-delay: 0.5s;
}

.upload-control {
    background: #f4f4f4;
    padding: 1rem 2rem;
    border-radius: 2rem;
    position: relative;
    flex: 1;
    max-width: 400px;
    transition: background-color 0.2s ease;
}

.upload-control:hover {
    background: #ebebeb;
}

.upload-control.drag-over {
    background: #ebebeb;
}

.file-upload-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.upload-text {
    color: #333;
    font-size: 1rem;
}

.create-digest-btn {
    background: #000;
    color: white;
    padding: 1rem 2rem;
    border-radius: 2rem;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    white-space: nowrap;
    min-width: 140px;
}

.create-digest-btn[disabled] {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Container for carousel and fixed gradients */
.cards-container {
    position: relative;
    margin: 4rem 0;
    opacity: 0;
    animation: slideInFromBottom 0.8s ease-out forwards;
    animation-delay: 0.7s;
}

/* Simplified carousel styles */
.cards-carousel {
    margin: 4rem calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    width: 100vw;
    position: relative;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-behavior: smooth;
}

.cards-track {
    display: flex;
    gap: 1rem;
    padding-left: calc(50vw - 50% + 4rem);
    padding-right: 2rem;
    width: max-content;
}

/* Feature card animations */
@keyframes slideInFromBottom {
    0% {
        transform: translateY(30px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.feature-card {
    width: 200px;
    height: 210px;
    padding: 1.5rem;
    border-radius: 0.75rem;
    color: white;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    opacity: 0;
    animation: slideInFromBottom 0.8s ease-out forwards;
}

/* Staggered animation delay for each card */
.feature-card:nth-child(1) { animation-delay: 0.2s; }
.feature-card:nth-child(2) { animation-delay: 0.4s; }
.feature-card:nth-child(3) { animation-delay: 0.6s; }
.feature-card:nth-child(4) { animation-delay: 0.8s; }
.feature-card:nth-child(5) { animation-delay: 1.0s; }
.feature-card:nth-child(6) { animation-delay: 1.2s; }
.feature-card:nth-child(7) { animation-delay: 1.4s; }
.feature-card:nth-child(8) { animation-delay: 1.6s; }
.feature-card:nth-child(9) { animation-delay: 1.8s; }
.feature-card:nth-child(10) { animation-delay: 2.0s; }

/* Base card and all variations */
.feature-card.dark { 
    background: linear-gradient(135deg, #2F3B2F, #1a211a); 
}
.feature-card.pink { 
    background: linear-gradient(135deg, #FF90E8, #e06bc9); 
}
.feature-card.coral { 
    background: linear-gradient(135deg, #FF7262, #d14e3e); 
}
.feature-card.yellow { 
    background: linear-gradient(135deg, #FFB800, #cc9400); 
}
.feature-card.blue { 
    background: linear-gradient(135deg, #90C1FF, #5e9de0); 
}
.feature-card.purple { 
    background: linear-gradient(135deg, #74c3a4, #4e9a7d); 
}
.feature-card.teal { 
    background: linear-gradient(135deg, #FF9E4F, #d17a2d); 
}
.feature-card.sage { 
    background: linear-gradient(135deg, #63b7c1, #428891); 
}
.feature-card.rust { 
    background: linear-gradient(135deg, #ff9090, #d56767); 
}
.feature-card.navy { 
    background: linear-gradient(135deg, #FFB890, #d38b63); 
}
.feature-card.olive { 
    background: linear-gradient(135deg, #62CFFF, #37a3d1); 
}

/* Additional selectors to ensure coverage */
.feature-card:nth-child(2) { 
    background: linear-gradient(135deg, #9890ff, #6c64d1); 
}
.feature-card:nth-child(3) { 
    background: linear-gradient(135deg, #FF7262, #d14e3e); 
}
.feature-card:nth-child(4) { 
    background: linear-gradient(135deg, #FFB800, #cc9400); 
}

.feature-card h3 {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 600;
    font-family: 'Epilogue', sans-serif;
    margin-top: 14px;
}

.feature-card p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.4;
    opacity: 0.9;
    overflow: hidden;
}

/* Bottom section */
.bottom-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    background: #E5EBE9;
    padding: 1.5rem;
    border-radius: 1rem;
    margin-top: 2rem;
    opacity: 0;
    animation: slideInFromBottom 0.8s ease-out forwards;
    animation-delay: 2.2s;
}

.api-info {
    flex: 2;
    line-height: 1.6rem;
}

.api-info p {
    margin: 0;
}

.api-info a {
    color: inherit;
    text-decoration: underline;
}

.api-input {
    flex: 1;
}

.api-input input {
    width: 100%;
    padding: 0.75rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .main-title {
        font-size: 2.5rem;
    }

    .upload-section {
        flex-direction: column;
    }

    .bottom-section {
        flex-direction: column;
        text-align: center;
    }
}

/* Add these new styles */
.info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 0.5rem;
    cursor: help;
    position: relative;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #6b7280;
    color: white;
    font-size: 12px;
    font-style: italic;
}

.tooltip {
    visibility: hidden;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 100%;
    width: 200px;
    background: #333;
    color: white;
    padding: 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: normal;
    z-index: 10;
    margin-bottom: 0.5rem;
}

.info-icon:hover .tooltip {
    visibility: visible;
}

.file-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f8fafc;
    border: 2px solid #6f57d0;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-top: 1rem;
}

.file-name {
    flex: 1;
    font-size: 0.875rem;
    color: #374151;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-right: 1rem;
}

.remove-file {
    background: none;
    border: none;
    color: #6b7280;
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0.25rem;
}

.remove-file:hover {
    color: #dc2626;
}

.loading-indicator {
    display: none;
    background: #f8fafc;
    border: 2px solid #6f57d0;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-top: 1rem;
    align-items: center;
}

.loading-spinner {
    width: 1.5rem;
    height: 1.5rem;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #6f57d0;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .landing-container {
        padding: 1rem;
    }
}

@media (max-width: 640px) {
    .landing-container {
        padding: 1rem;
    }
}

/* Add loading state styles */
.button-loader {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.error-message {
    display: none;
    color: #dc2626;
    background: #fee2e2;
    padding: 1rem;
    border-radius: 0.5rem;
    margin-top: 1rem;
    text-align: center;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Update validation styles to use outline instead of border */
.upload-control.error {
    outline: 2px solid rgba(220, 38, 38, 0.5);
}

.api-input.error input {
    outline: 2px solid rgba(220, 38, 38, 0.5);
}

/* Add smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Features Showcase Styles */
.features-showcase {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 3rem 0;
    align-items: center;
}

.feature-block.reverse {
    direction: rtl;
}

.feature-block.reverse > * {
    direction: ltr;
}

.feature-text {
    padding-right: 1rem;
}

.feature-text h2 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 700;
    font-family: 'Epilogue', sans-serif;
}

.feature-text p {
    font-size: 1.125rem;
    line-height: 1.5;
    color: #666;
}

.feature-visual {
    border-radius: 1rem;
    overflow: hidden;
}

.feature-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Newsletter Mockup */
.newsletter-mockup {
    width: 80%;
    height: 80%;
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    position: relative;
}

/* Speaker Mockup */
.speaker-mockup {
    width: 80%;
    height: 80%;
    display: flex;
    gap: 1rem;
}

/* Social Mockup */
.social-mockup {
    width: 80%;
    height: 80%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

/* Chapters Mockup */
.chapters-mockup {
    width: 80%;
    height: 80%;
    background: #2F3B2F;
    border-radius: 0.5rem;
    position: relative;
}

@media (max-width: 968px) {
    .feature-block {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 2rem 0;
    }

    .feature-text h2 {
        font-size: 2rem;
    }

    .feature-visual {
        height: 300px;
    }
}

.example-showcase {
    padding: 4rem 0;
    background-color: #E5EBE9;
    width: 100%;
    margin: 0;
    overflow: visible;
    border-radius: 2rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

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

.example-header {
    max-width: 1200px;
    margin: 0 auto 3rem auto;
    padding: 0 2rem;
    text-align: center;
}
.upload-icon {
    margin-right: 8px;
}

.example-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    font-family: 'Epilogue', sans-serif;
}

.example-header p {
    font-size: 1.125rem;
    color: #666;
}

.example-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

.example-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.card-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    position: relative;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.card-content {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.card-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: #f4f4f4;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.card-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
}

.card-host {
    font-size: 0.875rem;
    color: #666;
    margin: 0;
}

.card-description {
    font-size: 1rem;
    line-height: 1.5;
    color: #444;
    margin: 0;
    
}

.card-link {
    color: #2F3B2F;
    font-weight: 500;
    font-size: 0.875rem;
}

@media (max-width: 968px) {
    .example-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .example-grid {
        grid-template-columns: 1fr;
    }
} 

.site-footer {
    background-color: #2F3B2F;
    color: #fff;
    padding: 4rem 0;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.footer-column h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #fff;
    font-family: 'Epilogue', sans-serif;
}

.footer-column p {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 51%);
}

.footer-column a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.4);
    text-underline-offset: 2px;
    transition: all 0.2s ease;
}

.footer-column a:hover {
    color: #fff;
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-column {
        text-align: center;
    }
}

.hero-product {
    padding: 6rem 0;
    max-width: 1400px;
    margin: 6rem auto 0;
    background-color: #f8f9fa;
    border-radius: 2rem;
    overflow: hidden;
    position: relative;
}

.hero-product-header {
    text-align: center;
    margin-bottom: 5rem;
    padding: 0 2rem;
}

.hero-product-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    max-width: 800px;
    margin: 0 auto 1.5rem;
    line-height: 1.2;
    font-family: 'Epilogue', sans-serif;
}

.hero-product-header p {
    font-size: 1.125rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
}

.hero-product-images {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4rem;
    padding: 0 2rem;
}

.hero-block {
    width: 100%;
    max-width: 1000px;
    display: flex;
    align-items: center;
    gap: 3rem;
    position: relative;
}

.hero-block:nth-child(2) {
    flex-direction: row-reverse;
}

.hero-image {
    flex: 1;
    height: 400px;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    flex: 1;
}

.hero-content h3 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
    font-family: 'Epilogue', sans-serif;
}

.hero-content p {
    font-size: 1.125rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-block .create-digest-btn {
    text-align: center;
    text-decoration: none;
    background: #000;
    color: white;
    padding: 1rem 2rem;
    border-radius: 2rem;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    white-space: nowrap;
    min-width: 140px;
    transition: background-color 0.2s ease, transform 0.2s ease;
    display: inline-block;
}

.hero-block .create-digest-btn:hover {
    background: #90c1ff;
    transform: translateY(-3px);
}

@media (max-width: 992px) {
    .hero-block, .hero-block:nth-child(2) {
        flex-direction: column;
    }
    
    .hero-image {
        width: 100%;
        max-width: 600px;
    }
    
    .hero-content {
        text-align: center;
        max-width: 600px;
    }
}

.hero-block:nth-child(2) .hero-image:hover {
    /* Remove hover effect */
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Newsletter Results Container Styles */
.newsletter-results-container {
    position: relative;
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
    background-color: #f8f9fa;
    border-radius: 2rem;
    overflow: hidden;
    display: flex;
}

.newsletter-container {
    display: flex;
    flex-direction: column;
    flex: 1;
    max-width: calc(100% - 220px);
    margin: 0 auto;
    position: relative;
}

.newsletter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    margin-bottom: 1rem;
}

.back-button {
    background: #000;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: background-color 0.2s ease;
    position: fixed;
    left: 20px;
    top: 20px;
    z-index: 10;
}

.back-button:hover {
    background: #90c1ff;
}

.nav-sidebar {
    width: 200px;
    position: sticky;
    top: 20px;
    height: calc(100vh - 40px);
    overflow-y: auto;
    padding: 20px;
    margin-right: 20px;
    background: #fff;
    border-radius: 8px;
}

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

.nav-sidebar li {
    margin-bottom: 0;
}

.nav-sidebar a {
    display: block;
    padding: 6px 10px;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.nav-sidebar a:hover {
    background-color: #f3f0ff;
}

.nav-sidebar a.active {
    background-color: #1cb98d;
    color: white;
}

.nav-sidebar .nav-title {
    font-weight: 700;
    font-size: 1.1em;
    margin-top: 0;
    margin-bottom: 16px;
}

.nav-sidebar .nav-section {
    font-weight: 600;
    margin-top: 16px;
    color: #1cb98d;
}

.nav-sidebar .nav-subsection {
    padding-left: 15px;
    font-size: 0.9em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.newsletter {
    background: white;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 2rem;
    color: #333;
    line-height: 1.5;
}

.newsletter h1 {
    font-size: 2.2em;
    color: #1a1a1a;
    margin: 0.5em 0;
    line-height: 1.2;
    text-align: center;
}

.newsletter h2 {
    font-size: 1.6em;
    color: #1db98d;
    margin: 1em 0 0.5em 0;
}

.newsletter h3 {
    font-size: 1.2em;
    color: #1a1a1a;
    margin: 0;
}

.quick-summary {
    background: #f5f5f5;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    color: #333;
}

.anchors {
    color: #1cb98d;
    margin-right: 6px;
    font-size: 22px;
}

.speaker {
    background: #f5f5f5;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    color: #333;
}

.speaker-profile {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: #333;
}

.speaker-title {
    margin: 0;
    background-color: #000000;
    border-radius: 6px;
    padding: 4px 14px;
    text-align: left;
    margin-top: 5px;
    color: white;
    display: inline-block;
}

.speaker-quote {
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    font-style: italic;
    color: #4b5563;
    margin: 15px 0;
}

.chapter {
    background: #ffffff;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    color: #333;
}

.chapter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
}

.chapter-meta {
    font-size: 0.9em;
    color: #6b7280;
}

.timestamp {
    background: #17b98d;
    padding: 4px 8px;
    border-radius: 4px;
    margin-right: 10px;
    color: white;
}

.duration {
    color: #000;
}

.key-insights {
    background: #f5f5f5;
    padding: 25px;
    border-radius: 8px;
    margin: 20px 0;
    position: relative;
    color: #333;
}

.insight-card {
    background: white;
    padding: 15px;
    border-radius: 8px;
    margin: 10px 0;
    color: #333;
}

.resources {
    background: #f5f5f5;
    padding: 25px;
    border-radius: 8px;
    margin-top: 30px;
    color: #333;
}

.resource-section {
    background: white;
    padding: 15px;
    border-radius: 8px;
    margin: 10px 0;
    color: #333;
}

.resource-section ul {
    list-style-type: none;
    padding-left: 0;
    margin: 10px 0;
    color: #333;
}

.resource-section li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
    color: #333;
}

.resource-section li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: #000;
}

/* Categories and technical terms */
.category-tags {
    background-color: #1cb98d;
    padding: 6px 12px;
    border-radius: 4px;
    color: #ffffff;
    display: inline-block;
    margin: 4px 8px 4px 0;
    font-size: 0.9em;
}

.technical-term {
    background-color: #1cb98d;
    padding: 6px 12px;
    border-radius: 4px;
    color: #ffffff;
    display: inline-block;
    margin: 8px 0 4px 0;
    font-size: 0.9em;
}

.technical-description {
    color: #333;
    margin-bottom: 16px;
}

/* Hide the newsletter results container by default */
.newsletter-results-container {
    display: none;
}

/* When showing results, hide the landing container */
body.showing-results .landing-container,
body.showing-results .navbar,
body.showing-results .site-footer {
    display: none;
}

body.showing-results .newsletter-results-container {
    display: block;
}

/* Responsive adjustments for the newsletter display */
@media (max-width: 992px) {
    .newsletter-results-container {
        flex-direction: column;
    }
    
    .nav-sidebar {
        display: none;
    }
    
    .newsletter-container {
        padding: 0 1rem;
        max-width: 100%;
    }
    
    .newsletter {
        padding: 20px;
    }
    
    .newsletter h1 {
        font-size: 1.8em;
    }
} 