/* ============================================
   Mistarhym Frontend Stylesheet
   ============================================ */

/* Variables & Reset */
:root {
    --primary: #667eea;
    --secondary: #764ba2;
    --success: #27ae60;
    --danger: #e74c3c;
    --warning: #f39c12;
    --info: #3498db;
    --accent-red: #e63946;
    --dark: #2c3e50;
    --light: #ecf0f1;
    --muted: #95a5a6;
    --border: #bdc3c7;
    --bg: #f5f7fa;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background: white;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p { margin-bottom: 1rem; }

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: var(--secondary);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-top {
    padding: 16px 0;
    border-bottom: 1px solid #eee;
}

.header-top-grid {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 15px;
}

.site-title {
    margin: 0;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.site-title a {
    text-decoration: none;
}

.site-title-text {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Search widget: icon-only, expands on click */
.search-widget {
    position: relative;
    display: flex;
    align-items: center;
}

.search-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    background: var(--bg);
    color: var(--dark);
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.3s, color 0.3s;
}

.search-toggle:hover {
    background: var(--primary);
    color: white;
}

.search-form {
    display: flex;
    align-items: center;
    overflow: hidden;
    max-width: 0;
    opacity: 0;
    margin-left: 0;
    transition: max-width 0.3s ease, opacity 0.3s ease, margin-left 0.3s ease;
}

.search-widget.active .search-form {
    max-width: 220px;
    opacity: 1;
    margin-left: 8px;
}

.search-input {
    border: none;
    background: var(--bg);
    border-radius: 50px;
    padding: 8px 14px;
    font-size: 14px;
    width: 200px;
}

.search-input:focus {
    outline: 2px solid var(--primary);
    outline-offset: -2px;
}

/* Social icons: colored circular SVG badges */
.social-icons {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    justify-content: flex-end;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--icon-color, var(--primary));
    color: white;
    transition: transform 0.25s, box-shadow 0.25s;
    flex-shrink: 0;
}

.social-icon svg {
    width: 17px;
    height: 17px;
}

.social-icon:hover {
    transform: translateY(-2px) scale(1.08);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Navigation */
.navbar {
    background: white;
    padding: 0;
}

.nav-menu {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 0;
}

.nav-link {
    display: block;
    padding: 15px 25px;
    color: var(--dark);
    transition: all 0.3s;
    border-bottom: 3px solid transparent;
    text-align: center;
    font-weight: 500;
}

.nav-link:hover {
    background: var(--bg);
    border-bottom-color: var(--primary);
    color: var(--primary);
}

.nav-link.active {
    border-bottom-color: var(--primary);
    color: var(--primary);
}

/* Main Content */
.main-content {
    padding: 40px 0;
    min-height: calc(100vh - 300px);
}

/* Grid Layouts */
.grid {
    display: grid;
    gap: 30px;
}

.grid-2 {
    grid-template-columns: 2fr 1fr;
}

.grid-2 > div,
.grid-2 > aside {
    min-width: 0;
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* Cards & Posts */
.card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background: var(--bg);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

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

.card-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    background: var(--bg);
}

.card-body {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 45px 16px 16px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.55) 55%, transparent 100%);
    color: white;
}

.card-title {
    font-size: 16px;
    font-weight: 700;
    margin: 8px 0 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-title a {
    color: white;
}

.card-title a:hover {
    color: var(--light);
    text-decoration: underline;
}

.card-meta {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.85);
}

/* Homepage Sections */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.section-header h2 {
    margin: 0;
}

.section-viewall {
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

.load-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    border: 2px solid var(--accent-red);
    color: var(--accent-red);
    font-size: 14px;
    font-weight: 700;
    padding: 12px 28px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.25s;
}

.load-more-btn svg {
    transition: transform 0.25s;
}

.load-more-btn:hover {
    background: var(--accent-red);
    color: white;
    box-shadow: 0 4px 14px rgba(230, 57, 70, 0.35);
    transform: translateY(-2px);
}

.load-more-btn:hover svg {
    transform: translateY(2px);
}

.load-more-btn:disabled {
    opacity: 0.6;
    cursor: default;
    transform: none;
    box-shadow: none;
}

/* Spotlight style */
.spotlight {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 20px;
    margin-top: 20px;
}

.spotlight-main {
    position: relative;
    display: block;
    min-height: 340px;
    border-radius: 10px;
    background-size: cover;
    background-position: center top;
    overflow: hidden;
}

.spotlight-main-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 24px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
    color: white;
}

.spotlight-main-overlay h3 {
    color: white;
    font-size: 24px;
    margin: 10px 0 8px;
}

.spotlight-main-meta {
    font-size: 13px;
    opacity: 0.9;
}

.spotlight-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.spotlight-list-item {
    display: flex;
    gap: 12px;
    align-items: center;
}

.spotlight-list-thumb {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    border-radius: 8px;
    background-size: cover;
    background-position: center top;
    background-color: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.spotlight-list-text h4 {
    font-size: 14px;
    margin: 0 0 4px;
    color: var(--dark);
    line-height: 1.3;
}

.spotlight-list-meta {
    font-size: 12px;
    color: var(--muted);
}

/* Carousel style */
.carousel-wrap {
    position: relative;
    margin-top: 20px;
    min-width: 0;
}

.carousel-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
}

.carousel-track::-webkit-scrollbar {
    height: 6px;
}

.carousel-track::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 10px;
}

.carousel-card {
    flex: 0 0 220px;
    scroll-snap-align: start;
    border-radius: 10px;
    overflow: hidden;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s;
}

.carousel-card:hover {
    transform: translateY(-3px);
}

.carousel-card-img {
    height: 130px;
    background-size: cover;
    background-position: center top;
    background-color: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-card-body {
    padding: 12px;
}

.carousel-card-body h4 {
    font-size: 14px;
    margin: 6px 0 4px;
    color: var(--dark);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.carousel-card-meta {
    font-size: 12px;
    color: var(--muted);
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #eee;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-prev {
    left: -14px;
}

.carousel-next {
    right: -14px;
}

/* List style */
.section-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.section-list-item {
    display: flex;
    align-items: center;
    gap: 14px;
    background: white;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 10px;
    transition: box-shadow 0.2s;
}

.section-list-item:hover {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.section-list-thumb {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    border-radius: 6px;
    background-size: cover;
    background-position: center top;
    background-color: var(--bg);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.section-list-body {
    flex: 1;
    min-width: 0;
}

.section-list-body h4 {
    font-size: 15px;
    margin: 4px 0 2px;
    color: var(--dark);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.section-list-meta {
    font-size: 12px;
    color: var(--muted);
}

/* Featured Slider */
.featured-slider {
    position: relative;
    margin-bottom: 40px;
    border-radius: 8px;
    overflow: hidden;
}

.slider-container {
    position: relative;
    height: 400px;
    background: var(--bg);
    overflow: hidden;
}

.slider-item {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s;
}

.slider-item.active {
    opacity: 1;
}

.slider-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.slider-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    color: white;
    padding: 40px 20px;
    z-index: 10;
}

.slider-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--accent-red);
}

.slider-meta {
    font-size: 14px;
    opacity: 0.9;
}

.slider-controls {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
    z-index: 20;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.slider-dot.active {
    background: white;
    width: 30px;
    border-radius: 5px;
}

/* Post Types */
.post-type {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 10px;
    text-transform: uppercase;
    background: #e0e0e0;
    color: #333;
}

.post-type-audio {
    background: #ffd89b;
    color: #c7922c;
}

.post-type-video {
    background: #cffbf6;
    color: #0b7a7a;
}

.post-type-lyrics {
    background: #f0bfff;
    color: #7a0b7a;
}

.post-type-article {
    background: #e0e0e0;
    color: #333;
}

/* Sidebar */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-section {
    background: var(--bg);
    border-radius: 8px;
    padding: 20px;
}

.sidebar-section h3 {
    font-size: 18px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
}

/* Sidebar Playlist Player */
.playlist-player {
    text-align: center;
}

.playlist-cover {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 8px;
    background-color: white;
    background-size: cover;
    background-position: center top;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.playlist-cover-fallback {
    font-size: 40px;
    opacity: 0.4;
}

.playlist-title {
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.playlist-progress-row {
    margin-bottom: 12px;
}

.playlist-time-row {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: var(--muted);
    margin-top: 4px;
}

.playlist-progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 3px;
    cursor: pointer;
    overflow: hidden;
}

.playlist-progress-fill {
    height: 100%;
    width: 0%;
    background: var(--accent-red);
    border-radius: 3px;
}

.playlist-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.playlist-volume {
    display: flex;
    align-items: center;
    gap: 4px;
}

.playlist-volume-slider {
    width: 50px;
    accent-color: var(--accent-red);
}

.playlist-transport {
    display: flex;
    align-items: center;
    gap: 4px;
}

.playlist-btn-icon {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    border-radius: 50%;
    transition: background 0.2s;
}

.playlist-btn-icon:hover {
    background: rgba(0, 0, 0, 0.08);
}

.playlist-btn-play {
    background: var(--accent-red);
    color: white;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
}

.playlist-btn-play .icon-play {
    margin-left: 2px;
}

.playlist-track-list {
    list-style: none;
    padding: 0;
    margin: 14px 0 0;
    max-height: 260px;
    overflow-y: auto;
    text-align: left;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.playlist-track-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 4px;
    cursor: pointer;
    border-radius: 6px;
}

.playlist-track-item:hover {
    background: rgba(0, 0, 0, 0.05);
}

.playlist-track-item.active {
    background: rgba(230, 57, 70, 0.1);
}

.playlist-track-thumb {
    width: 32px;
    height: 32px;
    border-radius: 4px;
    background-color: white;
    background-size: cover;
    background-position: center top;
    flex-shrink: 0;
}

.playlist-track-title {
    font-size: 13px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.post-list {
    list-style: none;
}

.post-list li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.post-list li:last-child {
    border-bottom: none;
}

.post-list a {
    font-size: 14px;
    font-weight: 500;
}

.sidebar-section .post-list a {
    color: var(--accent-red);
}

.sidebar-section .post-list a:hover {
    color: var(--secondary);
}

.post-list-views {
    font-size: 12px;
    color: var(--muted);
}

/* Single Post */
.post-header {
    margin-bottom: 30px;
    text-align: center;
}

.post-title {
    font-size: 36px;
    margin-bottom: 15px;
}

.post-info {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    color: var(--muted);
    font-size: 14px;
}

.post-featured-img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    object-position: center top;
    border-radius: 8px;
    margin-bottom: 30px;
}

.post-content {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

.post-content p {
    margin-bottom: 20px;
}

.post-content h2 {
    margin-top: 30px;
    margin-bottom: 15px;
}

.post-content a {
    text-decoration: underline;
}

.post-content img {
    margin: 20px 0;
    border-radius: 8px;
}

/* Custom Audio Player (Waveplayer) */
.waveplayer {
    background: white;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.waveplayer-body {
    display: flex;
    gap: 20px;
    align-items: stretch;
}

.waveplayer-cover {
    position: relative;
    width: 35%;
    max-width: 200px;
    aspect-ratio: 1 / 1;
    flex-shrink: 0;
    border-radius: 10px;
    background-size: cover;
    background-position: center top;
    background-color: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.waveplayer-cover-fallback {
    font-size: 42px;
    opacity: 0.5;
}

.waveplayer-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
}

.waveplayer-header-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 10px;
}

.waveplayer-title {
    font-size: 20px;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.waveplayer-date {
    font-size: 12px;
    color: var(--muted);
    white-space: nowrap;
    flex-shrink: 0;
}

.waveplayer-tag {
    align-self: flex-start;
    background: var(--bg);
    color: var(--primary);
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 12px;
    white-space: nowrap;
}

.waveplayer-wave-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.waveplayer-play {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent-red);
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s;
}

.waveplayer-play:hover {
    transform: scale(1.08);
}

.waveplayer-play .icon-play {
    margin-left: 2px;
}

.waveplayer-canvas {
    flex: 1;
    width: 100%;
    min-width: 0;
    height: 50px;
    display: block;
    cursor: pointer;
    border-radius: 4px;
}

.waveplayer-duration {
    flex-shrink: 0;
    font-size: 11px;
    color: var(--muted);
    min-width: 34px;
    text-align: right;
}

.waveplayer-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;
}

.waveplayer-volume {
    display: flex;
    align-items: center;
    gap: 8px;
}

.waveplayer-mute {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--muted);
    display: flex;
    padding: 4px;
}

.waveplayer-mute:hover {
    color: var(--dark);
}

.waveplayer-volume-slider {
    width: 80px;
    accent-color: var(--accent-red);
}

.waveplayer-votes {
    display: flex;
    gap: 8px;
}

.waveplayer-vote {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--bg);
    border: none;
    border-radius: 20px;
    padding: 6px 12px;
    font-size: 13px;
    color: var(--muted);
    cursor: pointer;
    transition: all 0.2s;
}

.waveplayer-vote:hover {
    background: #e8e8e8;
}

.waveplayer-vote.active {
    background: var(--accent-red);
    color: white;
}

.waveplayer-vote .count {
    font-weight: 600;
    min-width: 8px;
}

.waveplayer-download {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--bg);
    color: var(--dark);
    transition: background 0.2s;
}

.waveplayer-download:hover {
    background: var(--accent-red);
    color: white;
}

/* Video Container */
.video-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 20px 0;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 8px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: black;
}

.video-poster {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--dark);
    background-size: cover;
    background-position: center top;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.video-poster-fallback {
    font-size: 48px;
    opacity: 0.6;
}

.video-play-btn {
    position: absolute;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--accent-red);
    color: white;
    border: 4px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
    transition: transform 0.2s;
}

.video-play-btn:hover {
    transform: scale(1.08);
}

.video-play-btn svg {
    margin-left: 3px;
}

/* Footer */
.footer {
    background: var(--dark);
    color: white;
    margin-top: 60px;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: white;
    margin-bottom: 15px;
    font-size: 16px;
    background: var(--accent-red);
    padding: 10px 15px;
    border-radius: 4px;
    text-align: center;
}

.footer-section p {
    font-size: 14px;
    color: #bdc3c7;
    margin-bottom: 10px;
}

.footer-section a {
    color: #3498db;
}

.footer-section a:hover {
    text-decoration: underline;
}

.footer-meta {
    font-size: 13px;
}

.footer .post-list li a {
    color: white;
}

.footer .post-list li a:hover {
    color: #3498db;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 20px;
    text-align: center;
    font-size: 13px;
    color: #7f8c8d;
}

.footer-bottom a {
    color: #3498db;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.pagination a, .pagination span {
    display: inline-block;
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: 4px;
    transition: all 0.3s;
}

.pagination a:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    text-decoration: none;
}

.pagination .active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* Search Results */
.search-results {
    display: grid;
    gap: 20px;
}

.search-result {
    padding: 20px;
    border: 1px solid #eee;
    border-radius: 8px;
    background: white;
}

.search-result-title {
    font-size: 20px;
    margin-bottom: 10px;
}

.search-result-title a {
    color: var(--dark);
}

.search-result-title a:hover {
    color: var(--primary);
}

.search-result-meta {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 10px;
}

.search-result-excerpt {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

.no-results {
    text-align: center;
    padding: 60px 20px;
    color: var(--muted);
}

.no-results h2 {
    margin-bottom: 10px;
}

/* Badges & Status */
.badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.badge-primary {
    background: #def;
    color: #036;
}

.badge-success {
    background: #d4edda;
    color: #155724;
}

.badge-danger {
    background: #f8d7da;
    color: #721c24;
}

/* Responsive */
@media (max-width: 768px) {
    .spotlight {
        grid-template-columns: 1fr;
    }

    .spotlight-main {
        min-height: 220px;
    }

    .carousel-arrow {
        display: none;
    }

    .carousel-card {
        flex-basis: 170px;
    }

    .section-header h2 {
        font-size: 20px;
    }

    .waveplayer-title {
        font-size: 16px;
    }

    .waveplayer-cover {
        max-width: 140px;
    }

    .waveplayer-tag {
        display: none;
    }

    .waveplayer-controls {
        justify-content: center;
    }

    .waveplayer-volume-slider {
        width: 60px;
    }

    .header-top {
        padding: 12px 0;
    }

    .header-top-grid {
        gap: 8px;
    }

    .site-title-text {
        font-size: 20px;
    }

    .search-toggle {
        width: 32px;
        height: 32px;
    }

    .search-toggle svg {
        width: 17px;
        height: 17px;
    }

    .search-widget.active .search-form {
        max-width: 140px;
    }

    .search-input {
        width: 130px;
        padding: 6px 12px;
        font-size: 13px;
    }

    .social-icons {
        gap: 6px;
    }

    .social-icon {
        width: 28px;
        height: 28px;
    }

    .social-icon svg {
        width: 14px;
        height: 14px;
    }
    
    .nav-menu {
        flex-wrap: wrap;
    }
    
    .nav-link {
        padding: 10px 15px;
        font-size: 14px;
    }
    
    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }
    
    .post-title {
        font-size: 24px;
    }
    
    .slider-title {
        font-size: 18px;
    }
    
    .slider-container {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .waveplayer-body {
        flex-direction: column;
    }

    .waveplayer-cover {
        width: 100%;
        max-width: 100%;
        aspect-ratio: 16 / 9;
    }

    .waveplayer-header-row {
        flex-wrap: wrap;
    }

    .site-title-text {
        font-size: 17px;
    }

    .search-widget.active .search-form {
        max-width: 110px;
    }

    .search-input {
        width: 100px;
    }

    .social-icons {
        gap: 5px;
    }

    .social-icon {
        width: 26px;
        height: 26px;
    }

    .social-icon svg {
        width: 13px;
        height: 13px;
    }
    
    .post-info {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 360px) {
    .site-title-text {
        font-size: 14px;
    }

    .search-widget.active .search-form {
        max-width: 90px;
    }

    .search-input {
        width: 80px;
    }
}
