/**
 * ProlocoDigital Frontend Styles
 * Version: 1.2.0
 */

/* ==========================================================================
   BASE & RESET
   ========================================================================== */

.plx-no-results {
    text-align: center;
    padding: 40px 20px;
    color: #666;
    font-style: italic;
}

.plx-admin-notice {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 8px;
    padding: 12px 16px;
    color: #856404;
    font-size: 0.9rem;
}

/* ==========================================================================
   ARCHIVE GRID
   ========================================================================== */

.plx-archive-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 10px 0;
}

@media (min-width: 640px) {
    .plx-archive-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .plx-archive-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.plx-archive-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: #0f172a;
    display: block;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.plx-archive-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.1);
}

.plx-archive-card-img {
    width: 100%;
    height: 180px;
    background-size: cover;
    background-position: center;
    background-color: #f1f5f9;
}

.plx-archive-card-img.plx-no-img {
    background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
}

.plx-archive-card-body {
    padding: 16px;
}

.plx-archive-card-type {
    font-size: 0.75rem;
    color: #64748b;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.plx-archive-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 8px;
    line-height: 1.3;
}

.plx-archive-card-meta {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0 0 4px;
}

.plx-archive-card-desc {
    font-size: 0.85rem;
    color: #475569;
    margin: 0;
    line-height: 1.4;
}

.plx-archive-card-price {
    font-size: 1rem;
    font-weight: 700;
    color: #059669;
    margin: 8px 0 0;
}

.plx-card-small .plx-archive-card-body {
    padding: 14px;
}

/* ==========================================================================
   SINGLE CPT PAGES
   ========================================================================== */

.plx-single-wrap {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 12px;
}

.plx-single-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.plx-single-card-compact {
    max-width: 700px;
    margin: 0 auto;
}

.plx-single-hero {
    width: 100%;
    height: 320px;
    background-size: cover;
    background-position: center;
    background-color: #f1f5f9;
}

.plx-hero-sponsor {
    height: 240px;
    background-size: contain;
    background-repeat: no-repeat;
    background-color: #fff;
}

@media (max-width: 768px) {
    .plx-single-hero {
        height: 220px;
    }
}

.plx-single-body {
    padding: 24px;
}

.plx-single-type-badge {
    display: inline-block;
    background: rgba(0,0,0,0.05);
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.8rem;
    color: #475569;
    margin-bottom: 12px;
}

.plx-single-title {
    font-size: 1.8rem;
    font-weight: 800;
    margin: 0 0 16px;
    line-height: 1.2;
    color: #0f172a;
}

.plx-title-dialect {
    font-style: italic;
    color: #7c3aed;
}

.plx-single-info-box {
    background: #f8fafc;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
}

.plx-single-info-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.plx-single-info-row:last-child {
    border-bottom: none;
}

.plx-single-info-icon {
    flex-shrink: 0;
    width: 24px;
    text-align: center;
}

.plx-single-info-label {
    font-size: 0.85rem;
    color: #64748b;
    min-width: 80px;
}

.plx-single-info-value {
    font-size: 0.9rem;
    color: #0f172a;
}

.plx-single-info-value.plx-link {
    color: #0ea5e9;
    text-decoration: none;
    word-break: break-all;
}

.plx-single-info-value.plx-link:hover {
    text-decoration: underline;
}

.plx-single-content {
    font-size: 1rem;
    line-height: 1.7;
    color: #334155;
}

.plx-single-content p {
    margin-bottom: 1em;
}

.plx-single-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.plx-single-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    background: #0ea5e9;
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 12px;
    text-decoration: none;
    transition: opacity 0.15s ease, transform 0.1s ease;
}

.plx-single-btn:hover {
    opacity: 0.9;
}

.plx-single-btn:active {
    transform: scale(0.98);
}

.plx-btn-secondary {
    background: #64748b;
}

/* Price Box */
.plx-single-price-box {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.plx-price-item {
    background: linear-gradient(135deg, #059669, #10b981);
    color: #fff;
    padding: 12px 16px;
    border-radius: 12px;
    text-align: center;
}

.plx-price-label {
    display: block;
    font-size: 0.75rem;
    opacity: 0.9;
    margin-bottom: 4px;
}

.plx-price-value {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
}

/* Dialect specific */
.plx-dialect-translation {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f3e8ff;
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.plx-dialect-arrow {
    font-size: 1.5rem;
    color: #7c3aed;
}

.plx-dialect-text {
    font-size: 1.3rem;
    font-weight: 600;
    color: #5b21b6;
}

.plx-dialect-context {
    background: #faf5ff;
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.plx-dialect-context h4 {
    margin: 0 0 8px;
    font-size: 0.9rem;
    color: #7c3aed;
}

.plx-dialect-context p {
    margin: 0;
    color: #475569;
}

/* Discount specific */
.plx-discount-badge {
    display: inline-block;
    background: linear-gradient(135deg, #dc2626, #ef4444);
    color: #fff;
    font-size: 2rem;
    font-weight: 800;
    padding: 16px 24px;
    border-radius: 16px;
    margin-bottom: 20px;
}

.plx-discount-conditions {
    background: #fef3c7;
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.plx-discount-conditions h4 {
    margin: 0 0 8px;
    font-size: 0.9rem;
    color: #b45309;
}

.plx-discount-conditions p {
    margin: 0;
    color: #78350f;
}

.plx-related-sponsor {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #e2e8f0;
    font-size: 0.9rem;
    color: #64748b;
}

.plx-related-sponsor a {
    color: #0ea5e9;
    text-decoration: none;
    font-weight: 600;
}

/* Proposta specific */
.plx-proposta-status {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.plx-status-approved {
    background: #d1fae5;
    color: #065f46;
}

.plx-status-pending {
    background: #fef3c7;
    color: #92400e;
}

.plx-proposta-meta {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 16px;
}

/* ==========================================================================
   CONTACTS
   ========================================================================== */

.plx-contacts-wrap {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px 12px;
}

.plx-contacts-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    text-align: center;
}

.plx-contacts-logo {
    padding: 24px 24px 0;
}

.plx-contacts-logo img {
    max-width: 150px;
    height: auto;
}

.plx-contacts-body {
    padding: 24px;
}

.plx-contacts-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 0 8px;
    color: #0f172a;
}

.plx-contacts-localita {
    font-size: 1rem;
    color: #64748b;
    margin: 0 0 20px;
}

.plx-contacts-info {
    text-align: left;
    background: #f8fafc;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
}

.plx-contact-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.plx-contact-row:last-child {
    border-bottom: none;
}

.plx-contact-icon {
    flex-shrink: 0;
    font-size: 1.2rem;
}

.plx-contact-text {
    font-size: 0.95rem;
    color: #334155;
}

.plx-contact-link {
    color: #0ea5e9;
    text-decoration: none;
}

.plx-contact-link:hover {
    text-decoration: underline;
}

.plx-contacts-social {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.plx-social-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    color: #fff;
    transition: opacity 0.15s ease;
}

.plx-social-btn:hover {
    opacity: 0.9;
}

.plx-social-fb {
    background: #1877f2;
}

.plx-social-ig {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.plx-social-wa {
    background: #25d366;
}

/* ==========================================================================
   FORMS
   ========================================================================== */

.plx-form-wrap,
.plx-booking-wrap,
.plx-mailtest-wrap {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px 12px;
}

.plx-form-card,
.plx-booking-card,
.plx-mailtest-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.plx-form-header,
.plx-booking-header {
    text-align: center;
    margin-bottom: 24px;
}

.plx-form-header h2,
.plx-booking-header h3,
.plx-mailtest-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 8px;
    color: #0f172a;
}

.plx-form-header p,
.plx-booking-header p {
    font-size: 0.95rem;
    color: #64748b;
    margin: 0;
}

.plx-form-message {
    padding: 14px 16px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.plx-form-success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.plx-form-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.plx-form-field {
    margin-bottom: 18px;
}

.plx-form-field label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
}

.plx-form-field input[type="text"],
.plx-form-field input[type="email"],
.plx-form-field input[type="tel"],
.plx-form-field input[type="date"],
.plx-form-field input[type="number"],
.plx-form-field select,
.plx-form-field textarea {
    width: 100%;
    padding: 12px 14px;
    font-size: 1rem;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    background: #fff;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.plx-form-field input:focus,
.plx-form-field select:focus,
.plx-form-field textarea:focus {
    outline: none;
    border-color: #0ea5e9;
    box-shadow: 0 0 0 3px rgba(14,165,233,0.1);
}

.plx-form-row {
    display: flex;
    gap: 16px;
}

.plx-form-half {
    flex: 1;
}

@media (max-width: 600px) {
    .plx-form-row {
        flex-direction: column;
        gap: 0;
    }
}

.plx-form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.plx-form-checkbox label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-weight: 400;
    cursor: pointer;
}

.plx-form-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
}

.plx-form-submit {
    margin-top: 24px;
}

.plx-form-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 14px 24px;
    background: #0ea5e9;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: opacity 0.15s ease, transform 0.1s ease;
}

.plx-form-btn:hover {
    opacity: 0.9;
}

.plx-form-btn:active {
    transform: scale(0.98);
}

.plx-btn-booking {
    background: linear-gradient(135deg, #059669, #10b981);
}

/* ==========================================================================
   BOOKING DASHBOARD
   ========================================================================== */

.plx-dashboard-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 12px;
}

.plx-dashboard-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 20px;
}

.plx-dashboard-filters {
    margin-bottom: 20px;
}

.plx-filter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.plx-filter-form select {
    padding: 10px 14px;
    font-size: 0.95rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: #fff;
}

.plx-filter-btn {
    padding: 10px 20px;
    background: #0ea5e9;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
}

.plx-dashboard-table-wrap {
    overflow-x: auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.plx-dashboard-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.plx-dashboard-table th,
.plx-dashboard-table td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

.plx-dashboard-table th {
    background: #f8fafc;
    font-weight: 700;
    color: #374151;
}

.plx-dashboard-table tr:hover {
    background: #f8fafc;
}

.plx-status-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
}

.plx-status-confirmed {
    background: #d1fae5;
    color: #065f46;
}

.plx-status-cancelled {
    background: #fee2e2;
    color: #991b1b;
}

.plx-status-pending {
    background: #fef3c7;
    color: #92400e;
}

.plx-action-link {
    color: #0ea5e9;
    text-decoration: none;
    font-weight: 600;
}

.plx-action-link:hover {
    text-decoration: underline;
}

.plx-dashboard-pagination {
    margin-top: 20px;
    text-align: center;
}

.plx-dashboard-pagination .page-numbers {
    display: inline-block;
    padding: 8px 14px;
    margin: 0 4px;
    background: #fff;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    text-decoration: none;
    color: #374151;
}

.plx-dashboard-pagination .page-numbers.current {
    background: #0ea5e9;
    color: #fff;
    border-color: #0ea5e9;
}

/* ==========================================================================
   HOME MOBILE
   ========================================================================== */

.plx-mobile-home {
    max-width: 480px;
    margin: 0 auto;
    padding: 16px;
    font-family: system-ui, -apple-system, sans-serif;
}

.plx-mobile-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.plx-mobile-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 12px;
}

.plx-mobile-header-text h1 {
    font-size: 1.3rem;
    font-weight: 800;
    margin: 0 0 4px;
    color: #0f172a;
}

.plx-mobile-header-text p {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0;
}

.plx-mobile-stats {
    display: flex;
    justify-content: space-around;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 20px;
}

.plx-mobile-stat {
    text-align: center;
}

.plx-stat-num {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
}

.plx-stat-label {
    display: block;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
}

.plx-mobile-menu {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 24px;
}

.plx-mobile-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 12px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #0f172a;
    text-decoration: none;
    transition: transform 0.1s ease, box-shadow 0.15s ease;
}

.plx-mobile-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

.plx-btn-eventi { border-left: 4px solid #f59e0b; }
.plx-btn-luoghi { border-left: 4px solid #10b981; }
.plx-btn-strutture { border-left: 4px solid #8b5cf6; }
.plx-btn-sponsor { border-left: 4px solid #0ea5e9; }
.plx-btn-sconti { border-left: 4px solid #ef4444; }
.plx-btn-itinerari { border-left: 4px solid #14b8a6; }
.plx-btn-cucina { border-left: 4px solid #f97316; }
.plx-btn-dialetto { border-left: 4px solid #6366f1; }
.plx-btn-news { border-left: 4px solid #3b82f6; }
.plx-btn-proposte { border-left: 4px solid #22c55e; }
.plx-btn-contatti { border-left: 4px solid #64748b; }

.plx-mobile-section {
    margin-bottom: 24px;
}

.plx-mobile-section h2 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 12px;
    color: #0f172a;
}

.plx-mobile-events {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.plx-mobile-event-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px;
    text-decoration: none;
    color: #0f172a;
    position: relative;
}

.plx-mobile-event-card h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0 0 4px;
    padding-right: 70px;
}

.plx-mobile-event-card p {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0;
}

.plx-event-date-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #fef3c7;
    color: #b45309;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 700;
}

.plx-mobile-footer {
    text-align: center;
    padding: 20px;
    font-size: 0.8rem;
    color: #94a3b8;
}

/* ==========================================================================
   EVENTI (existing shortcodes)
   ========================================================================== */

.plx-eventi-wrapper {
    margin: 30px 0;
    padding: 0 10px;
}

.plx-eventi-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.plx-eventi-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 768px) {
    .plx-eventi-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.plx-event-card {
    background: linear-gradient(135deg, #ffffff, #f7fbff);
    border: 1px solid #e9eef3;
    border-radius: 14px;
    padding: 12px;
    text-decoration: none;
    color: #222;
    display: block;
    transition: box-shadow 0.2s ease;
}

.plx-event-card:hover {
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.plx-event-img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 10px;
}

.plx-event-name {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 6px;
}

.plx-event-meta {
    font-size: 0.85rem;
    color: #444;
    margin-bottom: 6px;
}

.plx-event-date-tag {
    display: inline-block;
    background: #0055aa;
    color: #fff;
    font-size: 0.75rem;
    padding: 3px 8px;
    border-radius: 999px;
    margin-bottom: 8px;
}

.plx-event-btn {
    display: inline-block;
    margin-top: 8px;
    padding: 6px 12px;
    background: #007bff;
    color: #fff;
    font-size: 0.85rem;
    border-radius: 6px;
    text-decoration: none;
}

/* ==========================================================================
   HOME MENU
   ========================================================================== */

.plx-home-wrap {
    font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    max-width: 1100px;
    margin: 0 auto;
    padding: 18px 12px 26px;
}

.plx-home-hero {
    border-radius: 18px;
    padding: 18px 18px 16px;
    background: linear-gradient(135deg, #0f172a, #111827);
    color: #fff;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(0,0,0,0.18);
    position: relative;
    overflow: hidden;
}

.plx-home-hero:before {
    content: "";
    position: absolute;
    inset: -60px -60px auto auto;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(99,102,241,0.45), transparent 62%);
    transform: rotate(25deg);
}

.plx-home-hero-inner {
    position: relative;
    z-index: 2;
}

.plx-home-hero-badge {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,0.10);
    font-size: 12px;
    letter-spacing: 0.2px;
}

.plx-home-hero-title {
    margin: 10px 0 6px;
    font-size: 26px;
    line-height: 1.15;
}

.plx-home-hero-text {
    margin: 0 0 10px;
    color: rgba(255,255,255,0.88);
    font-size: 14px;
    max-width: 62ch;
}

.plx-home-hero-meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px;
    color: rgba(255,255,255,0.82);
    font-size: 12px;
}

.plx-home-hero-meta span {
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
}

.plx-featured-section {
    margin-top: 16px;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 18px;
    padding: 14px;
    box-shadow: 0 10px 22px rgba(0,0,0,0.06);
}

.plx-featured-section h2 {
    margin: 0 0 10px;
    font-size: 16px;
    color: #0f172a;
}

.plx-featured-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 10px;
}

@media (min-width: 768px) {
    .plx-featured-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.plx-featured-card {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    min-height: 160px;
    text-decoration: none;
    color: #fff;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    box-shadow: 0 10px 22px rgba(0,0,0,0.10);
}

.plx-featured-card.no-img-fallback {
    background: linear-gradient(135deg, #111827, #334155);
}

.plx-featured-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,0.62));
}

.plx-featured-card-content {
    position: relative;
    z-index: 2;
    padding: 12px;
    width: 100%;
}

.plx-featured-card-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: rgba(255,255,255,0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-bottom: 8px;
}

.plx-featured-card-type {
    font-size: 11px;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.plx-featured-card-title {
    font-size: 14px;
    font-weight: 700;
    margin-top: 3px;
    line-height: 1.15;
}

.plx-featured-card-meta {
    margin-top: 6px;
    font-size: 12px;
    opacity: 0.92;
}

.plx-home-grid {
    margin-top: 16px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

@media (min-width: 768px) {
    .plx-home-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.plx-home-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 18px;
    padding: 14px;
    text-decoration: none;
    color: #0f172a;
    box-shadow: 0 10px 22px rgba(0,0,0,0.06);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.plx-home-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(0,0,0,0.08);
}

.plx-home-card-header {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.plx-home-card-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
    flex: 0 0 42px;
}

.plx-home-card-title {
    font-size: 15px;
    font-weight: 800;
    margin: 0 0 4px;
}

.plx-home-card-desc {
    margin: 0;
    color: rgba(15,23,42,0.78);
    font-size: 13px;
    line-height: 1.35;
}

.plx-home-card-footer {
    margin-top: 10px;
    font-size: 12px;
    color: rgba(15,23,42,0.72);
}

.plx-home-card--news .plx-home-card-icon { background: linear-gradient(45deg, #6366f1, #818cf8); }
.plx-home-card--luoghi .plx-home-card-icon { background: linear-gradient(45deg, #10b981, #34d399); }
.plx-home-card--eventi .plx-home-card-icon { background: linear-gradient(45deg, #f59e0b, #fbbf24); }
.plx-home-card--itinerari .plx-home-card-icon { background: linear-gradient(45deg, #14b8a6, #2dd4bf); }
.plx-home-card--strutture .plx-home-card-icon { background: linear-gradient(45deg, #8b5cf6, #a78bfa); }
.plx-home-card--sponsor .plx-home-card-icon { background: linear-gradient(45deg, #0ea5e9, #38bdf8); }
.plx-home-card--sconti .plx-home-card-icon { background: linear-gradient(45deg, #ef4444, #f87171); }
.plx-home-card--cucina .plx-home-card-icon { background: linear-gradient(45deg, #f97316, #fb923c); }
.plx-home-card--dialetto .plx-home-card-icon { background: linear-gradient(45deg, #3b82f6, #60a5fa); }
.plx-home-card--proposte .plx-home-card-icon { background: linear-gradient(45deg, #22c55e, #86efac); }

/* ==========================================================================
   SINGLE EVENT (existing)
   ========================================================================== */

.plx-single-event-wrap {
    max-width: 980px;
    margin: 0 auto;
    padding: 14px 10px;
    font-family: inherit;
    color: #0f172a;
}

.plx-single-event-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(2,6,23,0.06);
}

.plx-single-event-hero {
    width: 100%;
    height: 360px;
    background: #f1f5f9;
    background-size: cover;
    background-position: center;
}

@media (max-width: 780px) {
    .plx-single-event-hero {
        height: 230px;
    }
}

.plx-single-event-body {
    padding: 18px 18px 10px 18px;
}

.plx-single-event-title {
    margin: 0;
    font-size: 1.8rem;
    line-height: 1.15;
    font-weight: 800;
}

.plx-single-event-meta {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.plx-single-event-pill {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    padding: 6px 10px;
    background: rgba(0,0,0,0.04);
    border-radius: 999px;
    border: 1px solid rgba(0,0,0,0.06);
    font-size: 0.92rem;
    color: rgba(15,23,42,0.90);
}

.plx-single-event-content {
    margin-top: 12px;
    font-size: 1rem;
    line-height: 1.55;
    color: rgba(15,23,42,0.90);
}

.plx-single-event-cta {
    margin-top: 14px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.plx-single-event-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.10);
    background: #0ea5e9;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.08s ease, opacity 0.08s ease;
}

.plx-single-event-btn:hover {
    opacity: 0.92;
}

.plx-single-event-btn:active {
    transform: scale(0.98);
}

.plx-single-event-correlati {
    margin-top: 26px;
}

.plx-single-event-correlati h3 {
    margin: 0 0 12px;
    font-size: 1.2rem;
}

.plx-correlati-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

@media (min-width: 768px) {
    .plx-correlati-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.plx-correlato-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: #0f172a;
    transition: box-shadow 0.15s ease;
}

.plx-correlato-card:hover {
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.plx-correlato-img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.plx-correlato-body {
    padding: 10px;
}

.plx-correlato-title {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.plx-correlato-date {
    font-size: 0.8rem;
    color: #666;
}
