.guides-hero {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f0f23 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.guides-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(19, 161, 116, 0.3) 0%, transparent 60%);
    animation: heroGlow 8s ease-in-out infinite;
}

@keyframes heroGlow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.guides-hero .hero-content {
    position: relative;
    z-index: 1;
}

.guides-hero h1 {
    color: #fff;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
}

.guides-hero p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
    max-width: 600px;
}

.guides-container {
    width: 90%;
    max-width: 1400px;
    margin: 40px auto;
}

.guides-filter {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.filter-group {
    flex: 1;
    min-width: 200px;
}

.filter-group h3 {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.filter-select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #495057;
    background: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-select:hover {
    border-color: #13A174;
}

.filter-select:focus {
    outline: none;
    border-color: #13A174;
}

.guides-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.guide-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.guide-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(19, 161, 116, 0.15);
}

.guide-card.featured-guide {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.guide-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.guide-card.featured-guide .guide-image {
    height: 100%;
}

.guide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.guide-card:hover .guide-image img {
    transform: scale(1.05);
}

.guide-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, #F88A28 0%, #e67820 100%);
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.guide-content {
    padding: 25px;
}

.guide-meta {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}

.guide-type {
    background: #f8f9fa;
    color: #6c757d;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.guide-difficulty {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.guide-difficulty.beginner {
    background: #d4edda;
    color: #155724;
}

.guide-difficulty.intermediate {
    background: #fff3cd;
    color: #856404;
}

.guide-difficulty.advanced {
    background: #f8d7da;
    color: #721c24;
}

.guide-title {
    font-size: 20px;
    color: #1a1a2e;
    margin-bottom: 12px;
    line-height: 1.4;
    font-weight: 700;
}

.guide-card.featured-guide .guide-title {
    font-size: 24px;
}

.guide-description {
    color: #495057;
    line-height: 1.6;
    font-size: 14px;
    margin-bottom: 15px;
}

.guide-stats {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.stat {
    color: #6c757d;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.guide-topics {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.topic {
    background: linear-gradient(135deg, rgba(19, 161, 116, 0.1) 0%, rgba(13, 138, 95, 0.1) 100%);
    color: #13A174;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
}

.guide-link {
    color: #13A174;
    font-weight: 600;
    text-decoration: none;
    font-size: 14px;
    display: inline-block;
    transition: all 0.3s ease;
}

.guide-link:hover {
    color: #0d8a5f;
    transform: translateX(5px);
}

.guides-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 30px 0;
}

.page-btn {
    width: 45px;
    height: 45px;
    border: 2px solid #e9ecef;
    background: #fff;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #495057;
}

.page-btn:hover {
    border-color: #13A174;
    color: #13A174;
}

.page-btn.active {
    background: #13A174;
    border-color: #13A174;
    color: #fff;
}

.page-btn.next {
    width: auto;
    padding: 0 20px;
}

@media (max-width: 1024px) {
    .guide-card.featured-guide {
        grid-column: span 1;
        grid-template-columns: 1fr;
    }

    .guide-card.featured-guide .guide-image {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .guides-hero {
        height: 200px;
        padding: 20px;
    }

    .guides-hero h1 {
        font-size: 32px;
    }

    .guides-hero p {
        font-size: 14px;
    }

    .guides-container {
        width: 95%;
        margin: 20px auto;
    }

    .guides-filter {
        flex-direction: column;
        padding: 20px;
    }

    .filter-group {
        min-width: 100%;
    }

    .guides-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .guide-image {
        height: 180px;
    }

    .guide-content {
        padding: 20px;
    }

    .guide-title {
        font-size: 18px;
    }

    .guide-card.featured-guide .guide-title {
        font-size: 20px;
    }

    .guide-description {
        font-size: 13px;
    }

    .page-btn {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
}