/* TPM Zen Stylesheet */

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #374151;
}

.zen-body {
    background: 
        linear-gradient(135deg, rgba(240, 253, 244, 0.8) 0%, rgba(255, 255, 255, 0.8) 100%),
        url('map_bg.jpg');
    background-size: contain;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    min-height: 100vh;
}

/* Map Section */
.map-section {
    padding: 4rem 0;
    background: rgba(255, 255, 255, 0.9);
    margin: 2rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 300;
    text-align: center;
    color: #065f46;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    text-align: center;
    color: #6b7280;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.recording-map {
    height: 500px;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    position: relative;
}

/* Map Legend */
.map-legend {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.legend-title {
    margin: 0 0 1rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #374151;
    text-align: center;
}

.legend-items {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
}

.legend-color {
    width: 20px;
    height: 16px;
    border-radius: 4px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.legend-label {
    color: #374151;
    font-weight: 500;
    white-space: nowrap;
}

.legend-note {
    margin: 0;
    text-align: center;
    font-size: 0.8rem;
    color: #6b7280;
    font-style: italic;
    border-top: 1px solid #e5e7eb;
    padding-top: 0.75rem;
}

/* Mobile legend adjustments */
@media (max-width: 640px) {
    .legend-items {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    
    .legend-item {
        justify-content: center;
    }
}

/* Map popup styles */
.recording-popup h3 {
    margin: 0 0 0.5rem 0;
    color: #065f46;
    font-size: 1.1rem;
    font-weight: 600;
}

.recording-popup p {
    margin: 0.25rem 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.recording-popup strong {
    color: #374151;
}

/* Compact popup styles */
.recording-popup-compact {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}

.recording-popup-compact h4 {
    margin: 0 0 0.3rem 0;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.2;
}

.popup-title-link {
    color: #065f46;
    text-decoration: none;
    transition: color 0.2s ease;
}

.popup-title-link:hover {
    color: #047857;
    text-decoration: underline;
}

.popup-location {
    margin: 0 0 0.4rem 0;
    font-size: 0.8rem;
    font-weight: 500;
    color: #6b7280;
}

.popup-teaser {
    margin: 0;
    font-size: 0.75rem;
    line-height: 1.3;
    color: #374151;
}

/* Leaflet popup customization for compact style */
.compact-popup .leaflet-popup-content-wrapper {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.compact-popup .leaflet-popup-content {
    margin: 8px 10px;
    font-size: 13px;
}

/* Noise simulation popup styles */
.noise-popup h4 {
    margin: 0 0 0.3rem 0;
    color: #374151;
    font-size: 0.9rem;
    font-weight: 600;
}

.noise-popup p {
    margin: 0.2rem 0;
    font-size: 0.8rem;
    line-height: 1.3;
}

.noise-popup strong {
    color: #1f2937;
}

.noise-note {
    font-style: italic;
    color: #6b7280;
    font-size: 0.75rem !important;
}

/* Recording page location map */
.recording-location-section {
    margin: 2rem 0;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.location-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #065f46;
    margin-bottom: 1rem;
    text-align: center;
}

.recording-location-map {
    height: 300px;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #d1d5db;
}

/* Header */
.site-header {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 50;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 4rem;
}

.logo {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-image {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #166534;
    margin-bottom: -0.25rem;
    line-height: 1.2;
}

.logo-subtitle {
    font-size: 0.75rem;
    color: #16a34a;
    font-weight: 400;
    line-height: 1.2;
}

/* Responsive logo adjustments */
@media (max-width: 640px) {
    .logo-image {
        height: 32px;
    }
    
    .logo-title {
        font-size: 1.25rem;
    }
    
    .logo-subtitle {
        font-size: 0.7rem;
    }
}

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

.nav-link {
    color: #16a34a;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.nav-link:hover {
    color: #15803d;
}

/* Main content */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1rem;
}

/* Hero section */
.hero-section {
    text-align: center;
    margin-bottom: 4rem;
}

.hero-content {
    max-width: 48rem;
    margin: 0 auto;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1rem;
}

.hero-description {
    font-size: 1.25rem;
    color: #6b7280;
    line-height: 1.7;
}

/* Recordings grid */
.recordings-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    justify-content: center;
}

/* Recording cards */
.recording-card {
    width: 350px;
    background: white;
    display: flex;
    flex-direction: column;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.recording-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.card-title-section {
    flex: 1;
}

.card-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    min-height: 3.15rem; /* Exactly 2 lines at 1.4 line-height + space for descenders */
    max-height: 3.15rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-location {
    color: #6b7280;
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.card-meta {
    text-align: right;
    flex-shrink: 0;
    margin-left: 1rem;
}

.card-duration {
    font-size: 1.5rem;
    font-weight: 700;
    color: #16a34a;
}

.card-datetime {
    font-size: 0.75rem;
    color: #9ca3af;
}

/* Wellness badges */
.card-badges {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.375rem;
    margin-bottom: 1rem;
    height: 1.75rem; /* Fixed height for exactly 1 line */
    overflow: hidden;
    align-items: center;
}

.wellness-badge {
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 9999px;
    background: #f3f4f6;
    color: #374151;
    white-space: nowrap;
    flex-shrink: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wellness-badge:nth-child(1) { background: #faf5ff; color: #7c3aed; }
.wellness-badge:nth-child(2) { background: #eff6ff; color: #2563eb; }
.wellness-badge:nth-child(3) { background: #fefce8; color: #ca8a04; }
.wellness-badge:nth-child(4) { background: #f0fdf4; color: #16a34a; }
.wellness-badge:nth-child(5) { background: #fef2f2; color: #dc2626; }
.wellness-badge:nth-child(6) { background: #eef2ff; color: #4338ca; }

.card-description {
    color: #374151;
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    height: calc(1.6em * 6);
    overflow: hidden;
    cursor: pointer;
    transition: height 0.3s ease;
    position: relative;
}

.card-description.expanded {
    height: auto;
}

.card-description.overflowing:not(.expanded)::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 1.6em;
    background: linear-gradient(transparent, white);
    pointer-events: none;
}

/* Audio section */
.card-audio-section {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: auto;
}

.audio-container {
    position: relative;
    border-radius: 0.5rem;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    aspect-ratio: 16/9;
    display: flex;
    align-items: flex-end;
    padding: 1rem;
}

.audio-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    transition: background 0.3s ease;
}

.audio-container:hover::before {
    background: rgba(0, 0, 0, 0.6);
}

.audio-player {
    width: 100%;
    height: 2.5rem;
    position: relative;
    z-index: 2;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 0.25rem;
    backdrop-filter: blur(4px);
}

.audio-duration-overlay {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 500;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.clock-icon {
    width: 0.75rem;
    height: 0.75rem;
    opacity: 1;
}

.audio-container.loading::after {
    content: 'Chargement...';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    z-index: 4;
}

.card-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-duration {
    font-size: 0.75rem;
    font-weight: 400;
    color: #6b7280;
    padding: 0.25rem 0.5rem;
}

.card-title-link {
    text-decoration: none;
    color: #1f2937;
    transition: color 0.2s ease;
}

.card-title-link:hover {
    color: #059669;
}

.card-title-link:visited {
    color: #1f2937;
}

/* Buttons */
.btn-primary {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #16a34a;
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-primary:hover {
    background: #15803d;
}

.btn-icon {
    width: 1rem;
    height: 1rem;
}

.secondary-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-secondary {
    padding: 0.5rem;
    background: transparent;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    transition: color 0.2s;
}

.btn-secondary:hover {
    color: #16a34a;
}

/* About page */
.about-container {
    max-width: 48rem;
    margin: 0 auto;
}

.about-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 2rem;
}

.about-section {
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin-bottom: 2rem;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #166534;
    margin-bottom: 1rem;
}

.section-text {
    color: #374151;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.consultation-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #16a34a;
    color: white;
    text-decoration: none;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: background-color 0.2s;
}

.consultation-link:hover {
    background: #15803d;
}

.link-icon {
    width: 1rem;
    height: 1rem;
}

.about-highlight {
    background: #f0fdf4;
    border-radius: 0.5rem;
    padding: 1.5rem;
}

.highlight-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #166534;
    margin-bottom: 0.75rem;
}

.highlight-text {
    color: #374151;
    line-height: 1.6;
}

/* Footer */
.site-footer {
    background: #14532d;
    color: white;
    padding: 3rem 0;
    margin-top: 5rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.footer-content {
    text-align: center;
}

.footer-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-description {
    color: #bbf7d0;
    margin-bottom: 1rem;
}

.footer-copyright {
    color: #86efac;
    font-size: 0.875rem;
}

/* Responsive design */
@media (max-width: 768px) {
    .nav-content {
        flex-direction: column;
        height: auto;
        padding: 1rem 0;
    }
    
    .nav-links {
        margin-top: 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1.125rem;
    }
    
    .recordings-grid {
        justify-content: center;
    }
    
    .recording-card {
        width: 100%;
        max-width: 400px;
    }
    
    .card-header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .card-meta {
        text-align: left;
        margin-left: 0;
    }
}

/* Recording page styles */
.recording-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.recording-header {
    margin-bottom: 2rem;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: #6b7280;
}

.breadcrumb-link {
    color: #059669;
    text-decoration: none;
}

.breadcrumb-link:hover {
    text-decoration: underline;
}

.breadcrumb-separator {
    color: #d1d5db;
}

.breadcrumb-current {
    color: #374151;
}

.recording-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #14532d;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.recording-location {
    font-size: 1.25rem;
    color: #6b7280;
    margin-bottom: 1rem;
}

.recording-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.recording-time-range {
    padding: 0.25rem 0.75rem;
    background: #f3f4f6;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    color: #374151;
    font-style: italic;
}

.recording-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.recording-badges {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.recording-description {
    font-size: 1.125rem;
    line-height: 1.6;
    color: #374151;
}

.recording-audio {
    margin: 1rem 0;
}

.audio-container.large {
    height: 300px;
    aspect-ratio: unset;
}

.recording-actions {
    display: flex;
    justify-content: center;
}

.recording-actions .btn-secondary {
    background: rgba(55, 65, 81, 0.8);
    color: white;
    border: 1px solid #374151;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.recording-actions .btn-secondary:hover {
    background: rgba(55, 65, 81, 0.9);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
}

@media (max-width: 768px) {
    .recording-page {
        padding: 1rem;
    }
    
    .recording-title {
        font-size: 2rem;
    }
    
    .recording-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .audio-container.large {
        height: 200px;
    }
}

/* Wellness CTA in hero */
.wellness-cta {
    margin-top: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%);
    border-radius: 1rem;
    border: 1px solid #d1fae5;
}

.wellness-cta-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
}

.wellness-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.wellness-text {
    color: #374151;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

.wellness-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #059669;
    color: white;
    text-decoration: none;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: background-color 0.2s;
}

.wellness-cta-button:hover {
    background: #047857;
}

.cta-icon {
    width: 1rem;
    height: 1rem;
}

/* Floating wellness tip banner */
.wellness-tip-banner {
    position: fixed;
    top: 80px;
    right: 1rem;
    background: #fef3c7;
    border: 1px solid #f59e0b;
    border-radius: 0.75rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    z-index: 1001;
    max-width: 350px;
    animation: slideIn 0.5s ease-out;
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.wellness-tip-content {
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    position: relative;
}

.tip-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.tip-text {
    font-size: 0.875rem;
    color: #92400e;
    line-height: 1.4;
    flex: 1;
}

.tip-link {
    background: #f59e0b;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 0.375rem;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 500;
    flex-shrink: 0;
}

.tip-link:hover {
    background: #d97706;
}

.tip-close {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: none;
    border: none;
    font-size: 1.25rem;
    color: #92400e;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Testimonials section */
.testimonials-section {
    background: #14532d;
    padding: 3rem 0;
    margin-bottom: 2rem;
}

.testimonials-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 2rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.testimonial {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.testimonial-text {
    color: #bbf7d0;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.testimonial-author {
    color: #86efac;
    font-size: 0.875rem;
    font-weight: 500;
}

.testimonials-cta {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0.75rem;
}

.testimonials-cta p {
    color: #bbf7d0;
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.testimonials-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #059669;
    color: white;
    text-decoration: none;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: background-color 0.2s;
}

.testimonials-link:hover {
    background: #047857;
}

/* Next step wellness section */
.next-step-wellness {
    margin-top: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, #fef3c7 0%, #fef9c3 100%);
    border-radius: 1rem;
    border: 1px solid #fcd34d;
}

.next-step-content {
    text-align: center;
}

.next-step-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #92400e;
    margin-bottom: 1rem;
}

.next-step-text {
    color: #78350f;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.next-step-subtitle {
    color: #a16207;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.next-step-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #f59e0b;
    color: white;
    text-decoration: none;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: background-color 0.2s;
}

.next-step-button:hover {
    background: #d97706;
}

/* Mobile responsiveness for new elements */
@media (max-width: 768px) {
    .wellness-tip-banner {
        position: relative;
        top: auto;
        right: auto;
        margin: 1rem;
        max-width: none;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .wellness-cta-content {
        align-items: stretch;
        text-align: left;
    }
}

/* TVD Attribution styles - vertical layout */
.tvd-attribution {
    text-align: center;
    margin: 2rem 0 1rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.tvd-footer-logo {
    width: 200px;
    height: auto;
    opacity: 0.8;
}

.tvd-byline {
    color: #9ca3af;
    font-size: 0.875rem;
    margin: 0;
}

.tvd-link-simple {
    color: #86efac;
    text-decoration: none;
    transition: color 0.2s ease;
}

.tvd-link-simple:hover {
    color: #bbf7d0;
    text-decoration: underline;
}

.tvd-donate-simple {
    color: #fed7aa;
    text-decoration: none;
    transition: color 0.2s ease;
}

.tvd-donate-simple:hover {
    color: #fef3c7;
    text-decoration: underline;
}


/* TVD About section styles */
.tvd-about-section {
    background: rgba(17, 24, 39, 0.8);
    border: 1px solid rgba(5, 150, 105, 0.3);
    border-radius: 1rem;
    padding: 2rem;
    margin: 3rem 0;
}

.tvd-about-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.tvd-about-logo {
    text-align: center;
}

.tvd-about-image {
    width: 300px;
    height: auto;
    opacity: 0.9;
}

.tvd-about-text {
    width: 100%;
}

.tvd-about-text .section-title {
    color: #bbf7d0;
    margin-bottom: 1rem;
}

.tvd-about-text .section-text {
    margin-bottom: 1rem;
    color: #e5e7eb;
}

.tvd-about-text .section-text strong {
    color: #bbf7d0;
    font-weight: 600;
}

.tvd-about-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
    justify-content: center;
}

.tvd-about-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: rgba(5, 150, 105, 0.2);
    color: #86efac;
    text-decoration: none;
    border-radius: 0.5rem;
    font-weight: 500;
    border: 1px solid rgba(5, 150, 105, 0.3);
    transition: all 0.2s ease;
}

.tvd-about-link:hover {
    background: rgba(5, 150, 105, 0.3);
    color: #bbf7d0;
    border-color: rgba(5, 150, 105, 0.5);
    transform: translateY(-1px);
}

.tvd-about-donate {
    background: rgba(251, 146, 60, 0.2);
    color: #fed7aa;
    border-color: rgba(251, 146, 60, 0.3);
}

.tvd-about-donate:hover {
    background: rgba(251, 146, 60, 0.3);
    color: #fef3c7;
    border-color: rgba(251, 146, 60, 0.5);
}

.tvd-about-link .link-icon {
    width: 1rem;
    height: 1rem;
}

/* Mobile responsive for TVD footer and about section */
@media (max-width: 768px) {
    .tvd-footer-logo {
        width: 160px;
    }
    
    .tvd-about-image {
        width: 250px;
    }
}

/* Blog Styles */
.blog-header {
    text-align: center;
    margin-bottom: 3rem;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.blog-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

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

.blog-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #065f46;
    margin: 0.75rem 0;
    line-height: 1.3;
}

.title-link {
    color: inherit;
    text-decoration: none;
}

.title-link:hover {
    color: #047857;
    text-decoration: underline;
}

.blog-card-excerpt {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}

.post-role {
    color: #9ca3af;
    font-size: 0.875rem;
    font-weight: 400;
}

.post-author {
    font-size: 0.875rem;
    color: #374151;
    font-weight: 500;
}

.post-date {
    font-size: 0.875rem;
    color: #6b7280;
}

.read-more-link {
    color: #059669;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
}

.read-more-link:hover {
    color: #047857;
    text-decoration: underline;
}

.breadcrumb {
    margin-bottom: 2rem;
}

.back-link {
    color: #059669;
    text-decoration: none;
    font-weight: 500;
}

.back-link:hover {
    color: #047857;
    text-decoration: underline;
}

.blog-post {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.post-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e5e7eb;
}

.post-title {
    font-size: 2rem;
    font-weight: 700;
    color: #065f46;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.post-content {
    color: #374151;
    line-height: 1.7;
}

.post-content h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #065f46;
    margin: 2rem 0 1rem 0;
}

.post-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #065f46;
    margin: 1.5rem 0 0.75rem 0;
}

.post-content p {
    margin-bottom: 1rem;
}

.post-content em {
    font-style: italic;
    color: #6b7280;
}

.post-content strong {
    font-weight: 600;
    color: #374151;
}

.post-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

.cta-section {
    margin-top: 3rem;
}

.cta-box {
    background: rgba(240, 253, 244, 0.8);
    padding: 2rem;
    border-radius: 0.5rem;
    text-align: center;
    border: 1px solid #bbf7d0;
}

.cta-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #065f46;
    margin-bottom: 1rem;
}

.cta-description {
    color: #374151;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.cta-button {
    display: inline-block;
    background: #059669;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.2s ease;
}

.cta-button:hover {
    background: #047857;
}

.empty-state {
    text-align: center;
    padding: 3rem;
    color: #6b7280;
}

/* Testimonial Generator Styles */
.testimonial-header {
    text-align: center;
    margin-bottom: 3rem;
}

.generator-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.form-section {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    height: fit-content;
}

.testimonial-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-weight: 600;
    color: #374151;
}

.form-input, .form-textarea {
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    font-size: 1rem;
    transition: border-color 0.2s ease;
}

.form-input:focus, .form-textarea:focus {
    outline: none;
    border-color: #059669;
    box-shadow: 0 0 0 2px rgba(5, 150, 105, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.char-count {
    text-align: right;
    font-size: 0.875rem;
    color: #6b7280;
}

.generate-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: #059669;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.generate-btn:hover:not(:disabled) {
    background: #047857;
}

.generate-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.preview-section {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.preview-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 1.5rem;
}

.canvas-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.canvas-wrapper {
    text-align: center;
}

.canvas-wrapper h3 {
    color: #065f46;
    margin-bottom: 1rem;
}

.preview-canvas {
    max-width: 100%;
    height: auto;
    border: 2px solid #e5e7eb;
    border-radius: 0.375rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.download-btn {
    display: inline-block;
    background: #065f46;
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.375rem;
    font-weight: 500;
    cursor: pointer;
    margin-top: 1rem;
    transition: background-color 0.2s ease;
}

.download-btn:hover {
    background: #047857;
}

.instructions {
    background: rgba(240, 253, 244, 0.8);
    padding: 2rem;
    border-radius: 0.5rem;
    border: 1px solid #bbf7d0;
}

.instructions-title {
    color: #065f46;
    margin-bottom: 1rem;
}

.instructions-list {
    color: #374151;
    padding-left: 1.5rem;
}

.instructions-list li {
    margin-bottom: 0.5rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .generator-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .canvas-container {
        flex-direction: column;
    }
    
    .preview-canvas {
        max-width: 400px;
    }
}
