﻿@import url('https://cdn.jsdelivr.net/npm/@picocss/pico@2.0.6/css/pico.min.css');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap');
@charset "UTF-8";
body {
    margin: 0;
    padding: 0;
    padding-bottom: 80px;
    font-family: 'Poppins', sans-serif;
}
.main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
}
.banner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}
.banner img {
    width: 100%;
    height: auto;
    aspect-ratio: 4/1;
    object-fit: cover;
    border-radius: 8px;
}
.top-nav {
    background-color: #f5f5f5;
    padding: 8px 1rem;
    text-align: center !important;
    width: 100%;
    display: flex;
    justify-content: center !important;
}
.top-nav ul {
    list-style: none !important;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
}
.top-nav li {
    margin: 0 0.8rem;
}
.top-nav a {
    text-decoration: none;
    color: #333;
    font-size: 1.1rem;
    font-weight: 700;
}
.top-nav a:hover {
    color: #2e7d32;
}
.search-container {
    max-width: 1200px;
    margin: 0.5rem auto;
    padding: 0 1rem;
    background-color: #f9f9f9;
}
.search-wrapper {
    position: relative;
}
.search-input {
    font-size: 1.1rem;
    padding: 0.5rem;
    width: 100%;
}
.enhanced-search-input {
    font-size: 1.43rem;
    padding: 0.65rem;
    width: 100%;
}
.search-results {
    list-style: none !important;
    padding: 0;
    margin-top: 0.3rem;
    border: 1px solid #ccc;
    border-radius: 0.5rem;
    max-height: 600px;
    overflow-y: auto;
    background-color: #fafafa;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.search-results li {
    padding: 0.5rem;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1.1rem;
}
.search-results li:last-child {
    border-bottom: none;
}
.search-results li a {
    text-decoration: none;
    display: block;
    flex-grow: 1;
    transition: background-color 0.3s ease;
}
.search-results li a:hover {
    background-color: #e8f5e9;
}
.search-results li a:focus {
    outline: 2px solid #2e7d32;
    background-color: #e8f5e9;
}
.search-results li .link-icon {
    margin-left: 0.4rem;
    text-decoration: none;
    color: #555;
    font-size: 0.9rem;
}
.search-results li .link-icon:hover {
    color: #000;
}
.search-results-link {
    text-align: center;
    padding: 0.5rem;
    border-top: 1px solid #ddd;
}
.search-results-link a {
    text-decoration: none;
    color: #2e7d32;
    font-size: 1rem;
}
.search-results-link a:hover {
    text-decoration: underline;
}
.search-results-box {
    max-width: 1200px;
    margin: 1rem auto;
    padding: 1rem;
    border: 1px solid #ccc;
    border-radius: 0.5rem;
    background-color: #fafafa;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.search-results-container {
    padding: 0.5rem;
}
.search-results-list {
    list-style: none !important;
    padding: 0;
    margin: 0;
}
.search-results-list li {
    padding: 0.6rem;
    border-bottom: 1px solid #eee;
    transition: background-color 0.2s ease;
}
.search-results-list li:last-child {
    border-bottom: none;
}
.search-results-list li a {
    text-decoration: none;
    color: #333;
    display: block;
}
.search-results-list li:hover {
    background-color: #e8f5e9;
}
.highlight {
    color: #2e7d32;
    font-weight: bold;
}
.content-sections {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
.most-played-container, .highlighted-container, .recent-container {
    flex: 1;
    min-width: 300px;
    background-color: #fafafa;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 1rem;
}
.most-played-list, .highlighted-list, .recent-list {
    list-style: none !important;
    padding: 0;
    margin: 0;
}
.most-played-list li, .highlighted-list li, .recent-list li {
    padding: 0.5rem;
    border-bottom: 1px solid #eee;
}
.most-played-list li:last-child, .highlighted-list li:last-child, .recent-list li:last-child {
    border-bottom: none;
}
.most-played-list li a, .highlighted-list li a, .recent-list li a {
    text-decoration: none;
    display: block;
}
.most-played-list li a:hover, .highlighted-list li a:hover, .recent-list li a:hover {
    background-color: #e8f5e9;
}
.social-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 0.5rem;
}
.social-button {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    position: relative;
}
.social-button img.icon {
    width: 24px !important;
    height: 24px !important;
}
.social-button .count {
    font-size: 0.9rem;
    color: #555;
}
.social-button:hover .count {
    color: #333;
}
.social-button.liked .count {
    color: #2e7d32;
}
.social-button.disliked .count {
    color: #d32f2f;
}
.social-button.highlighted .count {
    color: #fbc02d;
}
.social-button.reportd .count {
    color: #757575;
}
.social-share {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    width: 100%;
    max-width: 400px;
    margin: 0.5rem auto;
}
.social-share button {
    background: none;
    border: none;
    cursor: pointer;
}
.social-share img.icon {
    width: 24px !important;
    height: 24px !important;
}
.copy-message {
    background-color: #2e7d32;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    position: fixed;
    top: 20px;
    right: 20px;
    font-size: 0.9rem;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
.error-message {
    background-color: #ffe6e6;
    color: #d32f2f;
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(211, 47, 47, 0.3);
    text-align: center;
    margin: 1rem auto;
    max-width: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}
.error-message i {
    font-size: 1.2rem;
}
.report-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 0.25rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    z-index: 10;
}
.report-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.report-menu li {
    padding: 0.5rem 1rem;
    cursor: pointer;
    font-size: 0.9rem;
}
.report-menu li:hover {
    background-color: #f0f0f0;
}
.comment-container {
    max-width: 1200px;
    margin: 1rem auto;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 0.5rem;
    background-color: #f5f5f5;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.comment-section {
    margin-top: 0.5rem;
}
.comment-section h3 {
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 0.5rem;
}
.comment-section form {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.comment-section input, .comment-section textarea {
    padding: 0.4rem;
    font-size: 0.9rem;
}
.comment-section textarea {
    resize: vertical;
    min-height: 80px;
}
.comment-section button {
    padding: 0.4rem;
    font-size: 0.9rem;
    background-color: #2e7d32;
    color: white;
    border: none;
    border-radius: 0.25rem;
    cursor: pointer;
}
.comment-section button:hover {
    background-color: #1b5e20;
}
.comment {
    border-bottom: 1px solid #eee;
    padding: 0.4rem 0;
}
.comment:last-child {
    border-bottom: none;
}
.comment p {
    margin: 0.2rem 0;
    font-size: 0.9rem;
}
.comment-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.3rem;
}
.comment-button {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.2rem;
}
.comment-button img.icon {
    width: 20px !important;
    height: 20px !important;
}
.comment-button .count {
    font-size: 0.8rem;
    color: #555;
}
.comment-button:hover .count {
    color: #333;
}
.comment-button.liked .count {
    color: #2e7d32;
}
.comment-button.disliked .count {
    color: #d32f2f;
}
.contact-container {
    max-width: 1200px;
    margin: 1rem auto;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 0.5rem;
    background-color: #f9f9f9;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.contact-container h2 {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 0.5rem;
}
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.contact-form input,
.contact-form textarea {
    padding: 0.4rem;
    font-size: 0.9rem;
}
.contact-form textarea {
    resize: vertical;
    min-height: 100px;
}
.contact-form button {
    padding: 0.4rem;
    font-size: 0.9rem;
    background-color: #2e7d32;
    color: white;
    border: none;
    border-radius: 0.25rem;
    cursor: pointer;
}
.contact-form button:hover {
    background-color: #1b5e20;
}
#contact-message {
    margin-top: 0.5rem;
    text-align: center;
    font-size: 0.9rem;
}
#contact-message.success {
    color: #2e7d32;
}
#contact-message.error {
    color: #d32f2f;
}
.audio-link, .category-link {
    cursor: pointer;
    pointer-events: auto;
}
.featured-container {
    max-width: 1200px;
    margin: 1rem auto;
    padding: 0 1rem;
}
.featured-container h2 {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 0.5rem;
}
.featured-list {
    list-style: none !important;
    padding: 0;
    border: 1px solid #ddd;
    border-radius: 0.25rem;
}
.featured-list li {
    list-style-type: none !important;
    padding: 0.4rem;
    border-bottom: 1px solid #eee;
}
.featured-list li:last-child {
    border-bottom: none;
}
.featured-list li a {
    text-decoration: none;
    display: block;
}
.featured-list li a:hover {
    background-color: #f0f0f0;
}
.categories-container {
    max-width: 1200px;
    margin: 1rem auto;
    padding: 0 1rem;
}
.categories-container h2 {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 0.5rem;
}
.category-list {
    list-style: none !important;
    padding: 0;
    border: 1px solid #ddd;
    border-radius: 0.25rem;
}
.category-list li {
    padding: 0.4rem;
    border-bottom: 1px solid #eee;
}
.category-list li:last-child {
    border-bottom: none;
}
.category-list li a {
    text-decoration: none;
    color: #333;
    display: block;
}
.category-list li a:hover {
    background-color: #f0f0f0;
}
.category-link::before {
    content: "📁 ";
    margin-right: 0.4rem;
}
.audio-link::before {
    content: "🔊 ";
    margin-right: 0.4rem;
}
.pagination {
    margin-top: 0.5rem;
    text-align: center;
}
.pagination a {
    text-decoration: none;
    color: #333;
    padding: 0.4rem 0.8rem;
    margin: 0 0.2rem;
    border: 1px solid #ddd;
    border-radius: 0.25rem;
}
.pagination a:hover {
    background-color: #f0f0f0;
}
.subcategory-list {
    list-style: none !important;
    padding: 0 0 0 0.8rem;
    margin: 0.3rem 0;
}
.subcategory-list li {
    padding: 0.2rem;
}
.subcategory-list li a {
    color: #555;
    font-size: 0.8rem;
}
.subcategory-list li a:hover {
    background-color: #f0f0f0;
}
.breadcrumb-container {
    max-width: 1200px;
    margin: 0.5rem auto;
    text-align: center !important;
}
.breadcrumb {
    margin-bottom: 0.5rem;
}
.breadcrumb ul {
    list-style: none !important;
    padding: 0;
    margin: 0;
    display: inline-flex !important;
    align-items: center;
    justify-content: center !important;
}
.breadcrumb li {
    margin-right: 0.4rem;
}
.breadcrumb li::after {
    content: "→";
    margin-left: 0.4rem;
    color: #555;
}
.breadcrumb li:last-child::after {
    content: "";
}
.breadcrumb a {
    text-decoration: none;
    color: #2e7d32;
}
.breadcrumb a:hover {
    text-decoration: underline;
}
.breadcrumb span {
    color: #333;
}
.player-container {
    max-width: 1200px;
    margin: 1rem auto;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 0.5rem;
    background-color: #f9f9f9;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.player-title {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 0.5rem;
}
.player-details {
    margin-bottom: 0.5rem;
    text-align: center;
}
.player-details p {
    margin: 0.3rem 0;
}
.player-audio {
    width: 100%;
    margin-top: 0.5rem;
}
.player-transcription {
    margin-top: 0.5rem;
    text-align: left;
    padding: 0.4rem;
    border-top: 1px solid #ddd;
}
.player-transcription p {
    margin: 0;
    font-size: 0.9rem;
}
.dynamic-player {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    border-top: 1px solid #ddd;
    padding: 0.8rem;
    box-shadow: 0 -2px 4px rgba(0,0,0,0.1);
    z-index: 2;
}
.dynamic-player h2 {
    font-size: 1.3rem;
    text-align: center;
    margin-bottom: 0.3rem;
}
.dynamic-player audio {
    width: 100%;
}
footer.footer-nav {
    background-color: #f8f8f8;
    border-top: 1px solid #ddd;
}
footer.footer-nav .main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.8rem;
    text-align: center;
}
footer.footer-nav ul {
    list-style: none !important;
    padding: 0;
    margin: 0 0 0.3rem 0;
    display: flex;
    justify-content: center !important;
}
footer.footer-nav li {
    margin: 0 0.8rem;
}
footer.footer-nav a {
    text-decoration: none;
    color: #333;
    font-size: 0.9rem;
}
footer.footer-nav a:hover {
    color: #2e7d32;
}
footer.footer-nav p {
    text-align: center;
    font-size: 0.9rem;
    color: #555;
    margin: 0.3rem 0 0;
}
@media (max-width: 600px) {
    .social-buttons, .comment-actions {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    .social-button img.icon, .comment-button img.icon {
        width: 20px !important;
        height: 20px !important;
    }
    .comment-container, .player-container, .contact-container, .search-container, .categories-container {
        padding: 0.5rem;
    }
    .comment-section input, .comment-section textarea, .comment-section button,
    .contact-form input, .contact-form textarea, .contact-form button,
    .search-input, .enhanced-search-input {
        font-size: 0.8rem;
        padding: 0.3rem;
    }
    .banner img {
        height: 100px;
    }
    .content-sections {
        flex-direction: column;
    }
    .most-played-container, .highlighted-container, .recent-container {
        min-width: 100%;
    }
    .footer-nav .main-container {
        padding: 0.5rem;
    }
    .footer-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    .footer-nav li {
        margin: 0.3rem 0;
    }
}