* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: url('../img_webp/sfondi/bg.webp') center/cover fixed no-repeat;
            margin: 0;
            padding: 0;
            min-height: 100vh;
            width: 100%;
            overflow-x: hidden;
        }
        
        .container {
            max-width: 1200px;
            margin: 60px auto;
            padding: 40px 20px;
            width: 100%;
            box-sizing: border-box;
        }
        
        .hero-card {
            background: white;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
            margin-bottom: 40px;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            min-height: 300px;
        }
        
        .hero-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
        }
        
        .hero-card-image {
            flex: 1;
            position: relative;
            overflow: hidden;
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
        }
        
        /* Rimuovo questi stili che non servono più */
        .hero-card-image::before,
        .tag,
        .ship-icon {
            display: none;
        }
        
        .hero-card-content {
            flex: 1;
            padding: 40px;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }
        
        .hero-title {
            font-size: 28px;
            font-weight: 700;
            color: #2c3e50;
            margin-bottom: 20px;
            line-height: 1.3;
        }
        
        .hero-description {
            color: #5a6c7d;
            font-size: 16px;
            line-height: 1.6;
            margin-bottom: 25px;
        }
        
        .read-more {
            color: #4a90e2;
            text-decoration: none;
            font-weight: 600;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            transition: color 0.3s ease;
        }
        
        .read-more:hover {
            color: #357abd;
        }
        
        .read-more-btn {
            background: none;
            border: none;
            color: #007bff;
            cursor: pointer;
            font-size: 1rem;
            padding: 0.5rem 0;
            text-decoration: none;
            transition: color 0.3s ease;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
        }
        
        .read-more-btn:hover {
            color: #0056b3;
        }
        
        .read-more-btn:focus {
            outline: 2px solid #0056b3;
            outline-offset: 2px;
        }
        
        .cards-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 30px;
            margin-top: 20px;
        }
        
        .news-card {
            background: white;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .news-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
        }
        
        .card-image {
            height: 200px;
            position: relative;
            overflow: hidden;
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
        }
        
        .card-content {
            padding: 25px;
        }
        
        .card-title {
            font-size: 18px;
            font-weight: 700;
            color: #2c3e50;
            margin-bottom: 15px;
            line-height: 1.4;
        }
        
        .card-description {
            color: #5a6c7d;
            font-size: 14px;
            line-height: 1.5;
            margin-bottom: 20px;
            display: -webkit-box;
            -webkit-line-clamp: 3;
            line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        
        .card-read-more {
            color: #4a90e2;
            text-decoration: none;
            font-weight: 600;
            font-size: 14px;
            display: inline-flex;
            align-items: center;
            gap: 6px;
            transition: color 0.3s ease;
        }
        
        .card-read-more:hover {
            color: #357abd;
        }
        
        /* Modal Styles */
        .modal {
            display: none;
            position: fixed;
            z-index: 1000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.6);
            backdrop-filter: blur(5px);
        }
        
        .modal-content {
            background-color: white;
            margin: 5% auto;
            padding: 0;
            border-radius: 16px;
            width: 90%;
            max-width: 700px;
            max-height: 80vh;
            overflow: hidden;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
            animation: modalFadeIn 0.3s ease;
        }
        
        @keyframes modalFadeIn {
            from {
                opacity: 0;
                transform: translateY(-50px) scale(0.95);
            }
            to {
                opacity: 1;
                transform: translateY(0) scale(1);
            }
        }
        
        .modal-header {
            padding: 30px 30px 0 30px;
            border-bottom: 1px solid #eee;
            position: relative;
        }
        
        .modal-close {
            position: absolute;
            right: 20px;
            top: 20px;
            color: #aaa;
            font-size: 28px;
            font-weight: bold;
            cursor: pointer;
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            transition: all 0.3s ease;
        }
        
        .modal-close:hover {
            color: #333;
            background-color: #f5f5f5;
        }
        
        .modal-title {
            font-size: 24px;
            font-weight: 700;
            color: #2c3e50;
            margin: 0 0 20px 0;
            line-height: 1.3;
            padding-right: 50px;
        }
        
        .modal-body {
            padding: 20px 30px 30px 30px;
            max-height: 60vh;
            overflow-y: auto;
        }
        
        .modal-description {
            color: #5a6c7d;
            font-size: 16px;
            line-height: 1.7;
            text-align: justify;
        }
        
        .slideshow-container {
            margin: 0;
            padding: 0;
            width: 100vw;
            position: relative;
            left: 50%;
            right: 50%;
            margin-left: -50vw;
            margin-right: -50vw;
        }
        
        .footer {
            margin: 0;
            padding: 0;
            width: 100vw;
            position: relative;
            left: 50%;
            right: 50%;
            margin-left: -50vw;
            margin-right: -50vw;
            background-color: #003366; /* Assicurati che il footer abbia un background */
        }
        
        @media (max-width: 768px) {
            .hero-card {
                flex-direction: column;
                min-height: auto;
            }
            
            .hero-card-image {
                min-height: 200px;  /* Changed from height to min-height */
                width: 100%;
                background-position: center;
                background-size: cover;
            }
            
            .hero-card-content {
                padding: 30px 25px;
            }
            
            .hero-title {
                font-size: 24px;
            }
            
            .cards-grid {
                grid-template-columns: 1fr;
                gap: 20px;
            }
            
            .modal-content {
                width: 95%;
                margin: 10% auto;
            }
            
            .modal-header,
            .modal-body {
                padding: 20px;
            }
            
            .modal-title {
                font-size: 20px;
                padding-right: 40px;
            }
        }

        .date, .card-date, .modal-date {
            display: none;
        }
