/* StackCapybara AI News Feed Premium Style */

.sc-archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.sc-archive-card {
    background: radial-gradient(circle at 50% 0%, rgba(56, 189, 248, 0.08), transparent 60%), 
                linear-gradient(145deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)), 
                rgba(15, 23, 42, 0.3);
    border: 1px solid rgba(56, 189, 248, 0.12);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.sc-archive-card:hover {
    border-color: rgba(56, 189, 248, 0.4);
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(56, 189, 248, 0.15);
}

.sc-hp-card__tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.2);
    padding: 4px 10px;
    border-radius: 999px;
    width: fit-content;
    margin-bottom: 0.5rem;
}

.sc-archive-card__title {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0;
}

.sc-archive-card__title a {
    color: #f8fafc;
    text-decoration: none;
    transition: color 0.2s ease;
}

.sc-archive-card__title a:hover {
    color: #38bdf8;
}

.sc-archive-card__excerpt p {
    font-size: 0.9rem;
    color: #94a3b8;
    line-height: 1.5;
    margin: 0;
    flex-grow: 1;
}

.sc-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: auto;
    padding-top: 0.5rem;
}

.sc-tag-pill {
    font-size: 0.75rem;
    color: #94a3b8;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 500;
}

.sc-archive-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.sc-archive-card__date {
    font-size: 0.75rem;
    color: #64748b;
}

.sc-card-btn {
    font-size: 0.8rem;
    color: #38bdf8;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.sc-card-btn:hover {
    color: #7dd3fc;
    text-decoration: underline;
}

.sc-archive-filters {
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 16px;
}

.sc-search-wrap {
    position: relative;
    width: 100%;
    max-width: 500px;
}

.sc-search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: rgba(255, 255, 255, 0.35);
    pointer-events: none;
    transition: color 0.3s ease;
}

.sc-search-wrap input {
    width: 100%;
    padding: 12px 20px 12px 46px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(15, 23, 42, 0.6);
    color: #f8fafc;
    font-size: 0.95rem;
    outline: none;
    transition: all 0.3s ease;
}

.sc-search-wrap input:focus {
    border-color: #38bdf8;
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.2);
}

.sc-search-wrap input:focus + .sc-search-icon {
    color: #38bdf8;
}

.sc-filter-row {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sc-filter-col {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sc-filter-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
}

.sc-tags-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sc-tag-btn {
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: #94a3b8;
    padding: 6px 14px;
    border-radius: 999px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.sc-tag-btn:hover, .sc-tag-btn.active {
    border-color: #38bdf8;
    background: rgba(56, 189, 248, 0.1);
    color: #f8fafc;
}
