﻿header {
    color: black;
}

.editoria-section {
    position: relative;
    min-height: 100vh;
    margin-top: -116px;
    padding-bottom: 100px;
    display: flex;
    align-items: center;
    color: #fff;
    background-image: url('/images/wallpaper/editoria-cestriecon.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    overflow: hidden;
}

.editoria-header {
    margin-top: 200px;
    color: black;
}

.editoria-header h1 {
    font-weight: bold;
}

/* Griglia */
#editoriaGrid {
    display: grid;
    gap: 20px;
}

.grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-cols-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* Card */
.libro-card {
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 8px;
    background: #fff;
}

    .libro-card p {
        color: black;
        text-align: justify;
        font-size: 0.85rem;
    }
    
    .libro-card p a {
        display: block;
        color: blue;
        text-align: right;
        font-size: 0.85rem;
    }

.desc-full {
    margin-top: 10px;
    color: #3b3542;
}

.mostra-piu,
.mostra-meno {
    cursor: pointer;
    color: var(--brand-darkblue);
    font-weight: 600;
}

.libro-img {
    width: 100%;
    height: auto;
    border-radius: 6px;
}

/* Pulsanti griglia */
.grid-options {
    margin-bottom: 20px;
    display: flex;
    gap: 10px;
}

.grid-btn {
    border: 1px solid #ccc;
    padding: 6px 10px;
    border-radius: 6px;
    cursor: pointer;
}

    .grid-btn:hover {
        background: #e9e9e9;
    }

.editoria-note {
    margin-top: 40px;
    padding: 40px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 10px;
}

    .editoria-note p {
        color: white;
        text-align: justify;
        font-size: 1.1rem;
    }