/* Custom styles for blog project */

/* Consent banner */
.consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--pico-card-background-color);
    border-top: 1px solid var(--pico-muted-border-color);
    padding: 1rem 1.5rem;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}
.consent-inner {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}
.consent-inner p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--pico-muted-color);
    flex: 1;
}
.consent-actions {
    display: flex;
    gap: 0.5rem;
}
.consent-btn {
    padding: 0.4rem 1.2rem;
    border-radius: 6px;
    border: none;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
}
.consent-btn.accept { background: var(--pico-primary); color: #fff; }
.consent-btn.reject { background: var(--pico-muted-border-color); color: var(--pico-color); }

[x-cloak] { display: none !important; }

/* Theme toggle button */
.theme-btn {
    background: none;
    border: 1px solid var(--pico-muted-border-color);
    border-radius: 8px;
    padding: 0.3rem 0.6rem;
    font-size: 1.1rem;
    cursor: pointer;
    line-height: 1;
    transition: border-color 0.2s;
}
.theme-btn:hover {
    border-color: var(--pico-primary);
}

/* Skills grid */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.skills-grid h3 {
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.skills-grid ul {
    list-style: none;
    padding: 0;
}

.skills-grid li {
    padding: 0.25rem 0;
    font-size: 0.9rem;
}

/* Contact list */
.contact-list {
    list-style: none;
    padding: 0;
}

.contact-list li {
    padding: 0.5rem 0;
}

/* Tagline */
.tagline {
    font-size: 1.2rem;
    color: var(--pico-muted-color);
    margin-bottom: 1.5rem;
}

/* Bio */
.bio {
    margin-bottom: 2rem;
    line-height: 1.8;
}

/* Alpine.js cloak */
[x-cloak] {
    display: none !important;
}

/* Tools grid (for tools index page) */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.tool-card {
    padding: 1.5rem;
    border: 1px solid var(--pico-muted-border-color);
    border-radius: var(--pico-border-radius);
    transition: border-color 0.2s;
}

.tool-card:hover {
    border-color: var(--pico-primary);
}

.tool-card h3 {
    margin-bottom: 0.5rem;
}

.tool-card p {
    font-size: 0.9rem;
    color: var(--pico-muted-color);
    margin-bottom: 1rem;
}
