/*
Theme Name: Tema Scout
Theme URI: https://example.com
Author: Il tuo nome
Author URI: https://example.com
Description: Tema WordPress personalizzato per gruppi scout. Design pulito, moderno e responsive con colori ispirati allo scoutismo.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tema-scout
Tags: scout, scoutismo, responsive, moderno, custom-menu, featured-images, post-formats
*/

/* Reset e Stili Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

/* Container principale */
.site-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    background: linear-gradient(135deg, #2d5016 0%, #4a7c2a 100%);
    color: #fff;
    padding: 2rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: relative;
    z-index: 10;
}

/* Banner Header */
.header-banner {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(45, 80, 22, 0.7), rgba(74, 124, 42, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.banner-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.banner-subtitle {
    font-size: 1.3rem;
    opacity: 0.95;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Logo AGESCI */
.site-branding {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.agesci-logo-link {
    display: inline-block;
    flex-shrink: 0;
}

.agesci-logo {
    height: 60px;
    width: auto;
    display: block;
}

.site-title {
    font-size: 2rem;
    margin: 0;
    display: inline-block;
}

.site-title a {
    color: #fff;
    text-decoration: none;
}

.site-description {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-top: 0.5rem;
}

/* Navigazione */
.main-navigation {
    background-color: rgba(255, 255, 255, 0.1);
    margin-top: 1rem;
    padding: 0.5rem 0;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.main-navigation a {
    color: #fff;
    text-decoration: none;
    padding: 0.5rem 1rem;
    display: block;
    transition: background-color 0.3s;
}

.main-navigation a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

/* Logo nel menu */
.menu-logo {
    height: 20px;
    width: auto;
    vertical-align: middle;
    margin-right: 0.5rem;
    display: inline-block;
}

/* Menu mobile */
.menu-toggle {
    display: none;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #fff;
    padding: 0.5rem 1rem;
    cursor: pointer;
    border-radius: 4px;
}

/* Contenuto principale */
.site-main {
    background: #fff;
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    max-width: 100%;
}

/* Articoli */
.post {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e0e0e0;
}

.post:last-child {
    border-bottom: none;
}

.entry-header {
    margin-bottom: 1.5rem;
}

.entry-title {
    font-size: 2rem;
    color: #2d5016;
    margin-bottom: 0.5rem;
}

.entry-title a {
    color: #2d5016;
    text-decoration: none;
}

.entry-title a:hover {
    color: #4a7c2a;
}

.entry-meta {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.entry-meta span {
    margin-right: 1rem;
}

.post-thumbnail {
    margin-bottom: 1.5rem;
}

.post-thumbnail img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.entry-content {
    line-height: 1.8;
}

.entry-content p {
    margin-bottom: 1rem;
}

.entry-content h2,
.entry-content h3 {
    color: #2d5016;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.read-more {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1.5rem;
    background-color: #4a7c2a;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.read-more:hover {
    background-color: #2d5016;
}

/* Sidebar */
.sidebar {
    background: #f9f9f9;
    padding: 1.5rem;
    border-radius: 8px;
}

/* Immagini nella sidebar */
.sidebar-images {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sidebar-image-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.sidebar-image-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.sidebar-image-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.widget {
    margin-bottom: 2rem;
}

.widget:last-child {
    margin-bottom: 0;
}

.widget-title {
    font-size: 1.3rem;
    color: #2d5016;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #4a7c2a;
}

.widget ul {
    list-style: none;
}

.widget li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e0e0e0;
}

.widget li:last-child {
    border-bottom: none;
}

.widget a {
    color: #333;
    text-decoration: none;
}

.widget a:hover {
    color: #4a7c2a;
}

/* Footer */
.site-footer {
    background-color: #2d5016;
    color: #fff;
    padding: 2rem 0;
    margin-top: 2rem;
    text-align: center;
}

.site-footer a {
    color: #fff;
    text-decoration: none;
}

.site-footer a:hover {
    text-decoration: underline;
}

/* Paginazione */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 2rem 0;
}

.pagination a,
.pagination span {
    padding: 0.5rem 1rem;
    border: 1px solid #e0e0e0;
    text-decoration: none;
    color: #333;
    border-radius: 4px;
}

.pagination .current {
    background-color: #4a7c2a;
    color: #fff;
    border-color: #4a7c2a;
}

.pagination a:hover {
    background-color: #f0f0f0;
}

/* Form di ricerca */
.search-form {
    display: flex;
    gap: 0.5rem;
}

.search-form input[type="search"] {
    flex: 1;
    padding: 0.5rem;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
}

.search-form input[type="submit"] {
    padding: 0.5rem 1.5rem;
    background-color: #4a7c2a;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

/* Responsive */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .main-navigation ul {
        flex-direction: column;
        display: none;
        gap: 0;
    }
    
    .main-navigation.toggled ul {
        display: flex;
    }
    
    .site-title {
        font-size: 1.5rem;
    }
    
    .site-main {
        padding: 1rem;
    }

    .agesci-logo {
        height: 45px;
    }

    .header-banner {
        height: 300px;
    }

    .banner-title {
        font-size: 1.8rem;
    }

    .banner-subtitle {
        font-size: 1rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-image {
        height: 350px;
    }

    .homepage-slider {
        height: 300px;
    }

    .slider-controls {
        bottom: 1rem;
        padding: 0.3rem 0.5rem;
        gap: 0.5rem;
    }

    .slider-prev,
    .slider-next {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }

    .slider-dot {
        width: 10px;
        height: 10px;
    }

    .unita-grid {
        grid-template-columns: 1fr;
    }

    .bacheca-postit {
        gap: 1rem;
        padding: 0.5rem;
    }

    .postit-item {
        width: 100%;
        max-width: 280px;
        min-height: 180px;
        padding: 1rem;
    }

    .calendario-table {
        font-size: 0.9rem;
    }

    .calendario-table td {
        padding: 0.5rem;
    }
}

/* Badge Scout */
.scout-badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background-color: #4a7c2a;
    color: #fff;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-right: 0.5rem;
}

/* Commenti */
.comments-area {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
}

.comments-title {
    font-size: 1.5rem;
    color: #2d5016;
    margin-bottom: 2rem;
}

.comment-list {
    list-style: none;
    margin-bottom: 2rem;
}

.comment {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f9f9f9;
    border-radius: 8px;
}

.comment-author {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.comment-author .avatar {
    border-radius: 50%;
    margin-right: 1rem;
}

.comment-meta {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
}

.comment-content {
    line-height: 1.8;
}

.comment-reply-link {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.3rem 1rem;
    background-color: #4a7c2a;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9rem;
}

.comment-reply-link:hover {
    background-color: #2d5016;
}

.comment-form {
    margin-top: 2rem;
}

.comment-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.comment-form input[type="submit"] {
    padding: 0.75rem 2rem;
    background-color: #4a7c2a;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
}

.comment-form input[type="submit"]:hover {
    background-color: #2d5016;
}

/* Utilities */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

/* Galleria immagini scout */
.scout-gallery {
    margin: 3rem 0;
    padding: 2rem 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    aspect-ratio: 4/3;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent, rgba(45, 80, 22, 0.7));
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    transition: opacity 0.3s;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-icon {
    font-size: 2rem;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* Homepage Hero Section */
.hero-section {
    margin-bottom: 3rem;
}

.hero-image {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

/* Slider Homepage */
.slider-section {
    margin: 3rem 0;
}

.homepage-slider {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    margin-bottom: 0;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide-item.active {
    opacity: 1;
    z-index: 1;
}

.slide-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


/* Controlli Slider */
.slider-controls {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(0, 0, 0, 0.5);
    padding: 0.5rem 1rem;
    border-radius: 30px;
}

.slider-prev,
.slider-next {
    background: rgba(255, 255, 255, 0.8);
    border: none;
    color: #2d5016;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    font-weight: bold;
}

.slider-prev:hover,
.slider-next:hover {
    background: #fff;
    transform: scale(1.1);
}

.slider-dots {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.slider-dot.active {
    background: #fff;
    transform: scale(1.2);
    border-color: #4a7c2a;
}

.slider-dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.4));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.hero-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    opacity: 0.95;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    max-width: 800px;
    margin: 0 auto;
}

/* Sezione Presentazione */
.presentation-section {
    padding: 3rem 0;
    background: #fff;
}

.presentation-content {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
}

.presentation-content h2 {
    color: #2d5016;
    margin-bottom: 1.5rem;
}

.presentation-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* Sezione Unità */
.unita-section {
    padding: 3rem 0;
    background: #f9f9f9;
}

.section-title {
    font-size: 2rem;
    color: #2d5016;
    text-align: center;
    margin-bottom: 2rem;
}

.unita-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.unita-card {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.unita-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.unita-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.unita-card h3 {
    color: #2d5016;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.unita-link {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1.5rem;
    background-color: #4a7c2a;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.unita-link:hover {
    background-color: #2d5016;
}

/* Logo Branca nelle pagine */
.branca-logo-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.branca-logo {
    max-width: 200px;
    height: auto;
    display: inline-block;
}

/* Logo Unità nelle pagine */
.entry-title-wrapper {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.unita-logo {
    height: 60px;
    width: auto;
    display: block;
    flex-shrink: 0;
}

.entry-title {
    margin: 0;
    flex: 1;
}

/* Pagine Unità */
.unita-page {
    margin-bottom: 3rem;
}

.unita-presentation {
    margin-bottom: 3rem;
    padding: 2rem;
    background: #f9f9f9;
    border-radius: 8px;
}

/* Bacheca Avvisi */
.bacheca-avvisi {
    margin: 3rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, #d4a574 0%, #c19a6b 100%);
    border-radius: 8px;
    position: relative;
    min-height: 300px;
}

.homepage-avvisi {
    margin: 3rem auto;
}

.bacheca-avvisi::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,0,0,0.03) 2px, rgba(0,0,0,0.03) 4px),
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(0,0,0,0.03) 2px, rgba(0,0,0,0.03) 4px);
    border-radius: 8px;
    pointer-events: none;
}

.avviso-widget {
    margin-bottom: 1.5rem;
}

.avviso-title {
    color: #2d5016;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

/* Bacheca Post-it */
.bacheca-postit {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding: 1rem;
    min-height: 200px;
}

.postit-item {
    position: relative;
    width: 250px;
    min-height: 200px;
    padding: 1.5rem;
    background: #ffeb3b;
    box-shadow: 
        0 4px 8px rgba(0,0,0,0.2),
        0 2px 4px rgba(0,0,0,0.1),
        inset 0 -2px 0 rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: default;
    z-index: 1;
}

.postit-item:hover {
    transform: rotate(0deg) scale(1.05) !important;
    box-shadow: 
        0 6px 12px rgba(0,0,0,0.3),
        0 3px 6px rgba(0,0,0,0.2),
        inset 0 -2px 0 rgba(0,0,0,0.1);
    z-index: 10;
}

/* Puntina */
.postit-pin {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, #c62828 0%, #8e0000 100%);
    border-radius: 50% 50% 50% 0;
    transform: translateX(-50%) rotate(-45deg);
    box-shadow: 
        0 2px 4px rgba(0,0,0,0.3),
        inset -2px -2px 0 rgba(0,0,0,0.2);
    z-index: 2;
}

.postit-pin::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
}

.postit-title {
    margin: 1.5rem 0 0.5rem 0;
    color: #333;
    font-size: 1.1rem;
    font-weight: bold;
    border-bottom: 2px solid rgba(0,0,0,0.1);
    padding-bottom: 0.5rem;
}

.postit-content {
    color: #333;
    line-height: 1.6;
    font-size: 0.95rem;
}

.postit-content p {
    margin: 0.5rem 0;
}

.postit-content p:first-child {
    margin-top: 0;
}

.postit-content p:last-child {
    margin-bottom: 0;
}

/* Varianti colori post-it */
.postit-item:nth-child(3n+1) {
    background: #ffeb3b; /* Giallo */
}

.postit-item:nth-child(3n+2) {
    background: #ffccbc; /* Arancione chiaro */
}

.postit-item:nth-child(3n+3) {
    background: #c8e6c9; /* Verde chiaro */
}

.no-avvisi {
    color: #666;
    font-style: italic;
    text-align: center;
    padding: 2rem;
}

/* Calendario Eventi */
.calendario-eventi {
    margin: 3rem 0;
    padding: 2rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.calendario-base {
    margin-top: 1.5rem;
}

.calendario-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.calendario-current {
    color: #2d5016;
    text-align: center;
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    flex: 1;
}

.calendario-nav {
    background: #4a7c2a;
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.calendario-nav span {
    line-height: 1;
}

.calendario-nav:hover,
.calendario-nav:focus {
    background: #2d5016;
}

.calendario-nav:focus {
    outline: 2px solid #2d5016;
    outline-offset: 2px;
}

.calendario-base.calendario-loading .calendario-body {
    opacity: 0.5;
    pointer-events: none;
}

.calendario-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
    table-layout: fixed; /* Forza la larghezza fissa delle colonne */
}

.calendario-table th {
    background-color: #4a7c2a;
    color: #fff;
    padding: 0.75rem;
    text-align: center;
    font-weight: bold;
}

.calendario-table td {
    padding: 1rem;
    text-align: center;
    border: 1px solid #e0e0e0;
    background: #fff;
    transition: background-color 0.3s;
}

.calendario-day {
    cursor: pointer;
    position: relative;
    vertical-align: top;
    padding: 0.5rem;
    min-height: 80px;
    width: 14.28%; /* Larghezza fissa per ogni colonna (100% / 7 giorni) */
    word-wrap: break-word;
    overflow: hidden;
}

.calendario-day:hover {
    background-color: #e8f5e9;
}

.calendario-day.today {
    background-color: #4a7c2a;
    color: #fff;
    font-weight: bold;
    border: 2px solid #2d5016;
}

.calendario-day.today .day-number {
    color: #fff;
}

.calendario-day.has-events {
    background-color: #fff9c4;
    border: 2px solid #ffc107;
}

.calendario-day.has-events.today {
    background-color: #6b8e23;
    border-color: #4a7c2a;
}

.day-number {
    display: block;
    font-weight: bold;
    margin-bottom: 0.25rem;
}

.day-events {
    margin-top: 0.25rem;
    font-size: 0.75rem;
}

.event-title {
    background-color: #4a7c2a;
    color: #fff;
    padding: 0.2rem 0.4rem;
    margin-bottom: 0.2rem;
    border-radius: 3px;
    cursor: pointer;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: background-color 0.2s;
    max-width: 100%;
    display: block;
    font-size: 0.7rem;
    line-height: 1.2;
}

.event-title:hover {
    background-color: #2d5016;
}

.event-more {
    color: #4a7c2a;
    font-weight: bold;
    font-size: 0.7rem;
    text-align: center;
    margin-top: 0.2rem;
}

/* Modal Eventi (Admin) */
.event-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.event-modal {
    background: #fff;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.event-modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #4a7c2a;
    color: #fff;
    border-radius: 8px 8px 0 0;
}

.event-modal-header h3 {
    margin: 0;
    color: #fff;
}

.event-modal-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 30px;
    height: 30px;
}

.event-modal-body {
    padding: 1.5rem;
}

.event-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #333;
}

.event-form input[type="text"],
.event-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.event-form textarea {
    resize: vertical;
    min-height: 100px;
}

.event-modal-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.event-modal-actions button {
    flex: 1;
    padding: 0.75rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s;
}

.btn-save {
    background-color: #4a7c2a;
    color: #fff;
}

.btn-save:hover {
    background-color: #2d5016;
}

.btn-delete {
    background-color: #d32f2f;
    color: #fff;
}

.btn-delete:hover {
    background-color: #b71c1c;
}

.btn-cancel {
    background-color: #e0e0e0;
    color: #333;
}

.btn-cancel:hover {
    background-color: #bdbdbd;
}

/* Popup Eventi (Visitatori) */
.event-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.event-popup {
    background: #fff;
    border-radius: 8px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.event-popup-header {
    padding: 1.5rem;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #4a7c2a;
    color: #fff;
    border-radius: 8px 8px 0 0;
}

.event-popup-header h3 {
    margin: 0;
    color: #fff;
}

.event-popup-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 30px;
    height: 30px;
}

.event-popup-body {
    padding: 1.5rem;
}

.evento-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e0e0e0;
}

.evento-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.evento-titolo {
    color: #2d5016;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.evento-testo {
    color: #666;
    line-height: 1.6;
}

/* Eventi esistenti nel modal */
.eventi-esistenti {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e0e0e0;
}

.eventi-esistenti h4 {
    color: #2d5016;
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.evento-esistente-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem;
    background: #f5f5f5;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

.btn-edit-event {
    background-color: #4a7c2a;
    color: #fff;
    border: none;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.85rem;
}

.btn-edit-event:hover {
    background-color: #2d5016;
}

/* Pulsanti aggiungi e azioni frontend */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.btn-add-avviso,
.btn-add-foto {
    background-color: #4a7c2a;
    color: #fff;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
}

.btn-add-avviso:hover,
.btn-add-foto:hover {
    background-color: #2d5016;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.btn-add-avviso .dashicons,
.btn-add-foto .dashicons {
    font-size: 1.2rem;
}

/* Azioni post-it */
.postit-actions {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    display: flex;
    gap: 0.25rem;
    opacity: 0;
    transition: opacity 0.3s;
}

.postit-item:hover .postit-actions {
    opacity: 1;
}

.btn-edit-avviso,
.btn-delete-avviso {
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    padding: 0.25rem;
    border-radius: 3px;
    cursor: pointer;
    color: #333;
    transition: all 0.2s;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-edit-avviso:hover {
    background-color: #4a7c2a;
    color: #fff;
}

.btn-delete-avviso:hover {
    background-color: #d32f2f;
    color: #fff;
}

.btn-edit-avviso .dashicons,
.btn-delete-avviso .dashicons {
    font-size: 16px;
    line-height: 1;
}

/* Galleria grid */
.galleria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .galleria-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 0.75rem;
    }
}

.galleria-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.galleria-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.galleria-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    cursor: pointer;
    transition: transform 0.3s;
}

.galleria-item img:hover {
    transform: scale(1.05);
}

.foto-didascalia {
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.95);
    font-size: 0.9rem;
    color: #333;
}

.foto-actions {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    opacity: 0;
    transition: opacity 0.3s;
}

.galleria-item:hover .foto-actions {
    opacity: 1;
}

.btn-delete-foto {
    background-color: rgba(211, 47, 47, 0.9);
    border: none;
    padding: 0.5rem;
    border-radius: 50%;
    cursor: pointer;
    color: #fff;
    transition: all 0.2s;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-delete-foto:hover {
    background-color: #b71c1c;
    transform: scale(1.1);
}

.btn-delete-foto .dashicons {
    font-size: 20px;
    line-height: 1;
}

/* Modal Frontend */
.frontend-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
}

.frontend-modal {
    background: #fff;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.frontend-modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #4a7c2a;
    color: #fff;
    border-radius: 8px 8px 0 0;
}

.frontend-modal-header h3 {
    margin: 0;
    color: #fff;
}

.frontend-modal-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 30px;
    height: 30px;
}

.frontend-modal-body {
    padding: 1.5rem;
}

.avviso-form label,
.foto-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #333;
}

.avviso-form input[type="text"],
.avviso-form textarea,
.foto-form input[type="text"],
.foto-form input[type="file"] {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.avviso-form textarea {
    resize: vertical;
    min-height: 100px;
}

.frontend-modal-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.frontend-modal-actions button {
    flex: 1;
    padding: 0.75rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s;
}

.no-avvisi,
.no-galleria {
    text-align: center;
    color: #999;
    font-style: italic;
    padding: 2rem;
}

/* Progress bar upload */
.upload-progress {
    margin: 1rem 0;
}

.progress-bar {
    width: 100%;
    height: 30px;
    background-color: #e0e0e0;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4a7c2a 0%, #6ba83d 100%);
    width: 0%;
    transition: width 0.3s ease;
}

.progress-text {
    text-align: center;
    color: #333;
    font-size: 0.9rem;
    margin: 0;
}

.file-count {
    display: block;
    margin-top: 0.5rem;
    color: #666;
    font-size: 0.85rem;
}

/* Lightbox */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-image-container {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    max-height: 85vh;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.5);
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid #fff;
    color: #fff;
    font-size: 2.5rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    line-height: 1;
    padding: 0;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.lightbox-caption {
    color: #fff;
    text-align: center;
    margin-top: 1rem;
    font-size: 1.1rem;
    background: rgba(0, 0, 0, 0.7);
    padding: 1rem 2rem;
    border-radius: 8px;
    max-width: 80vw;
}

/* Controlli navigazione lightbox */
.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid #fff;
    color: #fff;
    font-size: 3rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    line-height: 1;
    padding: 0;
    z-index: 100001;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-counter {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    background: rgba(0, 0, 0, 0.7);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: bold;
    z-index: 100001;
}

/* Responsive lightbox */
@media (max-width: 768px) {
    .lightbox-close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
        font-size: 2rem;
    }
    
    .lightbox-content img {
        max-height: 70vh;
    }
    
    .lightbox-caption {
        font-size: 0.9rem;
        padding: 0.75rem 1rem;
    }
    
    .lightbox-prev,
    .lightbox-next {
        width: 45px;
        height: 45px;
        font-size: 2rem;
    }
    
    .lightbox-prev {
        left: 10px;
    }
    
    .lightbox-next {
        right: 10px;
    }
    
    .lightbox-counter {
        top: 10px;
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
    }
}

/* Hero Unità */
.unita-hero-section {
    margin: 2rem 0 3rem 0;
    width: 100%;
}

.unita-hero-image {
    position: relative;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.unita-hero-image-wrapper {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.unita-hero-image-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.1) 0%,
        rgba(0, 0, 0, 0.2) 50%,
        rgba(0, 0, 0, 0.4) 100%
    );
    z-index: 1;
    pointer-events: none;
}

.unita-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.95) contrast(1.05);
    transition: transform 0.5s ease, filter 0.5s ease;
}

.unita-hero-image:hover img {
    transform: scale(1.03);
    filter: brightness(1) contrast(1.1);
}

.unita-hero-didascalia {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.6) 70%, transparent 100%);
    color: #fff;
    text-align: center;
    padding: 2.5rem 2rem 2rem;
    z-index: 2;
}

.unita-hero-didascalia p {
    margin: 0.5rem 0;
    font-size: 1.1rem;
    line-height: 1.7;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.unita-hero-didascalia p:first-child {
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 0.75rem;
}

.unita-hero-didascalia p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .unita-hero-image-wrapper {
        height: 300px;
    }
    
    .unita-hero-didascalia {
        padding: 2rem 1.5rem 1.5rem;
    }
    
    .unita-hero-didascalia p {
        font-size: 1rem;
    }
    
    .unita-hero-didascalia p:first-child {
        font-size: 1.2rem;
    }
}

/* Form Contatto */
.contatto-unita,
.contatto-gruppo {
    margin: 3rem 0;
    padding: 2rem 0;
}

.contatto-form {
    max-width: 800px;
    margin: 2rem auto 0;
    padding: 2rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #2d5016;
    font-size: 1rem;
}

.form-group .required {
    color: #d32f2f;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4a7c2a;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-actions {
    margin-top: 2rem;
    text-align: center;
}

.btn-submit {
    background-color: #4a7c2a;
    color: #fff;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    min-width: 200px;
}

.btn-submit:hover:not(:disabled) {
    background-color: #2d5016;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.btn-submit:disabled {
    background-color: #999;
    cursor: not-allowed;
    transform: none;
}

.form-message {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 4px;
    text-align: center;
    font-weight: bold;
}

.form-message.success {
    background-color: #c8e6c9;
    color: #2e7d32;
    border: 2px solid #4caf50;
}

.form-message.error {
    background-color: #ffcdd2;
    color: #c62828;
    border: 2px solid #f44336;
}

.eventi-list {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid #e0e0e0;
}

.eventi-list h4 {
    color: #2d5016;
    margin-bottom: 1rem;
}

.eventi-content {
    line-height: 1.8;
}

.eventi-content ul {
    list-style: none;
    padding-left: 0;
}

.eventi-content li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.eventi-content li:before {
    content: "📅";
    position: absolute;
    left: 0;
}

/* Galleria Unità */
.galleria-unita {
    margin: 3rem 0;
    padding: 2rem;
    background: #f9f9f9;
    border-radius: 8px;
}

.no-gallery {
    color: #666;
    font-style: italic;
    text-align: center;
    padding: 2rem;
}

@media (max-width: 768px) {
    .calendario-mese {
        overflow-x: auto;
    }

    .calendario-header {
        gap: 0.5rem;
    }

    .calendario-nav {
        width: 34px;
        height: 34px;
        font-size: 1.1rem;
    }

    .calendario-current {
        font-size: 1.25rem;
    }
 
    .calendario-table {
        min-width: 600px;
        font-size: 0.85rem;
    }

    .calendario-day {
        min-height: 70px;
        padding: 0.35rem;
    }

    .day-number {
        font-size: 1rem;
    }

    .day-events {
        font-size: 0.75rem;
    }

    .event-title {
        white-space: normal;
        font-size: 0.7rem;
        padding: 0.25rem 0.35rem;
    }

    .event-more {
        font-size: 0.65rem;
    }
}

/* Documenti Unità */
.documenti-unita {
    margin: 3rem 0;
}

.documenti-lista {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.documento-item {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.documento-info {
    max-width: 70%;
}

.documento-nome {
    margin: 0 0 0.35rem 0;
    color: #2d5016;
    font-size: 1.1rem;
}

.documento-meta {
    color: #757575;
    font-size: 0.9rem;
}

.documento-download {
    text-decoration: none;
    background: #4a7c2a;
    color: #fff;
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    font-weight: bold;
    transition: background 0.3s ease, transform 0.2s ease;
}

.documento-download:hover {
    background: #2d5016;
    transform: translateY(-2px);
}

.documento-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.documento-delete {
    border: 1px solid #d32f2f;
    background: #fff5f5;
    color: #c62828;
    padding: 0.45rem 0.9rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.documento-delete:hover {
    background: #d32f2f;
    color: #fff;
}

.documenti-upload-form {
    margin-bottom: 2rem;
    padding: 1.5rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: #f5f8f1;
}

.documenti-upload-label {
    display: block;
    font-weight: bold;
    color: #2d5016;
    margin-bottom: 0.75rem;
}

.documenti-upload-form input[type="file"] {
    display: block;
    margin-bottom: 0.75rem;
}

.documenti-upload-help {
    color: #757575;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.no-documenti {
    padding: 1.5rem;
    text-align: center;
    color: #888;
    border: 1px dashed #d0d0d0;
    border-radius: 8px;
    background: #fafafa;
}

@media (max-width: 768px) {
    .documento-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .documento-info {
        max-width: 100%;
    }
}

