/* guides.css - 垂钓攻略目录与详情页样式 */
.guides-page {
    max-width: 1120px;
    margin: 0 auto;
    padding: 40px 20px 80px;
}

.guides-hero {
    background: linear-gradient(135deg, #1e3a5f 0%, #2a6f62 100%);
    color: #fff;
    border-radius: 20px;
    padding: 36px 32px;
    margin-bottom: 28px;
}

.guides-hero h1 {
    font-size: 32px;
    font-weight: 900;
    margin: 0 0 10px;
    line-height: 1.25;
}

.guides-hero p {
    font-size: 16px;
    line-height: 1.65;
    margin: 0 0 20px;
    opacity: 0.92;
    max-width: 720px;
}

.guides-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.guides-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.guides-hero-btn.primary {
    background: #fff;
    color: #1e3a5f;
}

.guides-filter-bar {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 20px 24px;
    margin-bottom: 32px;
}

.guides-search-form {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
}

.guides-search-input {
    flex: 1;
    min-width: 0;
    padding: 11px 14px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    font-size: 15px;
}

.guides-search-btn {
    padding: 11px 22px;
    border: 0;
    border-radius: 10px;
    background: #1e3a5f;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
}

.guides-pills-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}

.guides-pills-label {
    font-size: 13px;
    font-weight: 700;
    color: #6b7280;
    margin-right: 4px;
}

.guides-pill {
    display: inline-flex;
    align-items: center;
    padding: 5px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    background: #f3f4f6;
    color: #374151;
}

.guides-pill.active,
.guides-pill:hover {
    background: #1e3a5f;
    color: #fff;
}

.guides-section-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin: 36px 0 18px;
    gap: 12px;
    flex-wrap: wrap;
}

.guides-section-header h2 {
    font-size: 22px;
    font-weight: 800;
    color: #111827;
    margin: 0;
}

.guides-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}

.guide-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 22px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.guide-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
    border-color: #cbd5e1;
}

.guide-card-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.guide-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    background: #e0f2fe;
    color: #0369a1;
}

.guide-badge.season {
    background: #dcfce7;
    color: #15803d;
}

.guide-badge.reading {
    background: #f3f4f6;
    color: #4b5563;
}

.guide-card-title {
    font-size: 18px;
    font-weight: 800;
    color: #111827;
    margin: 0 0 10px;
    line-height: 1.4;
}

.guide-card-summary {
    font-size: 14px;
    color: #4b5563;
    line-height: 1.65;
    margin: 0 0 16px;
}

.guide-card-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    padding-top: 12px;
    border-top: 1px solid #f3f4f6;
    font-size: 13px;
    color: #6b7280;
}

.guide-fish-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.guide-fish-tag {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 2px 8px;
    font-size: 12px;
    color: #334155;
    font-weight: 600;
}

/* Curated Detail Page */
.guide-detail-wrap {
    max-width: 840px;
    margin: 0 auto;
    padding: 40px 20px 80px;
}

.guide-breadcrumb {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 20px;
}

.guide-breadcrumb a {
    color: #1d4ed8;
    text-decoration: none;
    font-weight: 600;
}

.guide-detail-header {
    margin-bottom: 28px;
}

.guide-detail-header h1 {
    font-size: 32px;
    font-weight: 900;
    color: #0f172a;
    line-height: 1.3;
    margin: 12px 0 14px;
}

.guide-summary-box {
    background: #f0fdf4;
    border-left: 4px solid #16a34a;
    padding: 16px 20px;
    border-radius: 0 12px 12px 0;
    color: #14532d;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 28px;
}

.guide-cards-two-col {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.guide-info-panel {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 20px 22px;
}

.guide-info-panel h2 {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 12px;
}

.guide-info-panel ul {
    margin: 0;
    padding-left: 18px;
    color: #334155;
    line-height: 1.75;
    font-size: 15px;
}

.guide-section-block {
    margin: 32px 0;
}

.guide-section-block h2 {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 12px;
    scroll-margin-top: 88px;
}

.guide-section-block p {
    font-size: 16px;
    line-height: 1.8;
    color: #374151;
    margin: 0;
}

@media (max-width: 640px) {
    .guides-hero {
        padding: 24px 20px;
    }
    .guides-hero h1,
    .guide-detail-header h1 {
        font-size: 24px;
    }
    .guides-grid {
        grid-template-columns: 1fr;
    }
}
