body {
    background-color: #fdf0d5;
    color: #003049;
    margin: 0;
    padding: 0;
}

.section-divider {
    width: 100%;
    height: 3px;
    background-color: #003049;
}

.spacer-section {
    height: 5vh;
    background-color: #fdf0d5;
}

/* sezione iniziale */
.hero-section {
    margin-top: 5vh;
    margin-bottom: 5vh;
    position: relative;
    width: 100vw;
    height: 50vh;
    background-image: url("/img/riconoscimenti.png");
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7); /* overlay scuro */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
}

.hero-text {
    color: white;
    max-width: 900px;
    padding: 1rem;
}

.hero-text h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.hero-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.hero-text p {
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        height: 45vh;
    }

    .hero-text h2 {
        font-size: 2rem;
    }

    .hero-text h3 {
        font-size: 1.4rem;
    }

    .hero-text p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-section {
        height: 38vh;
    }

    .hero-text h2 {
        font-size: 1.6rem;
    }

    .hero-text h3 {
        font-size: 1.2rem;
    }

    .hero-text p {
        font-size: 0.95rem;
    }
}

/* Sezione riconoscimenti */
.recognition-section {
    background-color: #fdf0d5;
    padding: 2rem 0;
}

.recognition-section .card {
    border-radius: 0;
    border: none;
    overflow: hidden;
    background-color: #fdf0d5;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 500px;
    display: flex;
    flex-direction: column;
}

.recognition-section .card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.2);
}

.recognition-section .card-body {
    background-color: #fdf0d5;
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.recognition-section .card-header-custom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.recognition-section .source-badge {
    background-color: #780000;
    color: #ffffff;
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.5px;
    border-radius: 0;
    text-transform: uppercase;
}

.recognition-section .publication-date {
    color: #669bbc;
    font-size: 12px;
}

.recognition-section .card-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: #003049;
    line-height: 1.3;
}

.recognition-section .card-title:hover {
    text-decoration: underline;
}

.recognition-section .card-text {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
    color: #003049;
    flex-grow: 1;
}

.recognition-section .card-action {
    margin-top: auto;
    margin-bottom: 15px;
}

.recognition-section .btn {
    border: 1px solid #c1121f;
    color: #c1121f;
    background-color: transparent;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 0;
    text-decoration: none;
    display: inline-block;
    width: 100%;
    text-align: center;
}

.recognition-section .btn:hover {
    background-color: #780000;
    color: #ffffff;
    transform: translateY(-1px);
}

.recognition-section .btn-primary {
    background-color: transparent;
    border: 1px solid #c1121f;
    color: #c1121f;
}

.recognition-section .btn-primary:hover {
    background-color: #780000;
    color: #ffffff;
}

/* Footer del Card */
.recognition-section .card-footer-custom {
    background-color: #fdf0d5;
    border-top: 1px solid rgba(0, 48, 73, 0.1);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.recognition-section .time-ago {
    color: #669bbc;
    font-size: 12px;
}

.recognition-section .time-ago i {
    margin-right: 5px;
}

.recognition-section .link-indicator {
    color: #c1121f;
}

/* Stato vuoto */
.recognition-section .empty-state {
    padding: 100px 0;
}

.recognition-section .empty-content {
    text-align: center;
}

.recognition-section .empty-icon {
    margin-bottom: 30px;
}

.recognition-section .empty-icon i {
    font-size: 4rem;
    color: #669bbc;
}

.recognition-section .empty-content h3 {
    color: #003049;
    margin-bottom: 15px;
}

.recognition-section .empty-content p {
    color: #669bbc;
}

/* Paginazione */
.view-list {
    background-color: #fdf0d5;
}

.view-list .pagination {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
}

.view-list .pagination li {
    margin: 0 5px;
}

.view-list .pagination li a,
.view-list .pagination li span {
    display: inline-block;
    padding: 10px 15px;
    font-size: 14px;
    color: #007bff;
    background-color: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.view-list .pagination li a:hover,
.view-list .pagination li span:hover {
    background-color: #007bff;
    color: #ffffff;
}

.view-list .pagination .active span {
    background-color: #007bff;
    color: #ffffff;
    border-color: #007bff;
}

/* Responsive */
@media (max-width: 768px) {
    .recognition-header h2 {
        font-size: 1.5rem;
    }

    .recognition-header .header-subtitle {
        font-size: 16px;
    }

    .recognition-section {
        padding: 1rem;
    }

    .recognition-section .card-title {
        font-size: 1.2rem;
    }

    .recognition-section .card-text {
        font-size: 13px;
    }

    .recognition-section .card:hover {
        transform: none;
    }
}
