/**
 * Homepage 2026 - Modern Design
 * Web Design 2026 Style
 * 
 * @package UDR_Lazio
 */

/* ============================================
   VARIABILI E FOUNDATION
   ============================================ */
:root {
    --home-2026-primary: #269B35;
    --home-2026-primary-light: #4AB85A;
    --home-2026-primary-dark: #1E7A2A;
    --home-2026-secondary: #3A6BB3;
    --home-2026-secondary-light: #5A8BC8;
    --home-2026-accent: #002741;
    --home-2026-bg: #FFFFFF;
    --home-2026-bg-alt: #F8FAFC;
    --home-2026-bg-soft: #F0F4F8;
    --home-2026-text: #1F2933;
    --home-2026-text-secondary: #4A5568;
    --home-2026-text-muted: #718096;
    --home-2026-border: #E2E8F0;
    --home-2026-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.1);
    --home-2026-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --home-2026-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --home-2026-radius-sm: 8px;
    --home-2026-radius-md: 16px;
    --home-2026-radius-lg: 24px;
    --home-2026-radius-pill: 9999px;
    --home-2026-spacing-xs: 0.5rem;
    --home-2026-spacing-sm: 1rem;
    --home-2026-spacing-md: 1.5rem;
    --home-2026-spacing-lg: 2rem;
    --home-2026-spacing-xl: 3rem;
    --home-2026-spacing-2xl: 4rem;
    --home-2026-spacing-3xl: 6rem;
}

/* ============================================
   LAYOUT BASE
   ============================================ */
.home-2026 {
    background-color: var(--home-2026-bg);
    color: var(--home-2026-text);
    line-height: 1.7;
    max-width: 1200px;
    margin: 0 auto;
    /* padding: 0 1rem; */
}

.home-2026-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--home-2026-spacing-md);
}

@media (min-width: 768px) {
    .home-2026-container {
        padding: 0 var(--home-2026-spacing-lg);
    }
}

/* ============================================
   HERO SECTION
   ============================================ */
.home-2026-hero {
    position: relative;
    padding: 0;
    background: linear-gradient(135deg, #3A6BB3 0%, #269B35 100%);
    color: white;
    overflow: visible;
    margin-bottom: 0;
}

.home-2026-hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .home-2026-hero-content {
        text-align: left;
        align-items: flex-start;
    }
}

.home-2026-hero-text {
    display: flex;
    flex-direction: column;
    gap: var(--home-2026-spacing-md);
}

.home-2026-hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    color: white;
    margin: 0;
    letter-spacing: -0.02em;
}

.home-2026-hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
    line-height: 1.6;
}

.home-2026-hero-payoff {
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    font-style: italic;
    font-weight: 600;
    color: white;
    padding: var(--home-2026-spacing-md);
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--home-2026-radius-sm);
    backdrop-filter: blur(10px);
}

.home-2026-hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--home-2026-spacing-sm);
    margin-top: var(--home-2026-spacing-sm);
}

.home-2026-hero-credit {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.9);
    margin: var(--home-2026-spacing-sm) 0 0 0;
}


/* ============================================
   MODULO TROVA ORARIO
   ============================================ */
.home-2026-orari-form-section {
    padding: 0;
    background: transparent;
    margin-top: calc(var(--home-2026-spacing-xl) * -1);
    position: relative;
    z-index: 2;
}

.home-2026-orari-form-section .home-2026-container {
    position: relative;
    padding-top: 0;
    padding-bottom: 0;
}

.home-2026-orari-form-card {
    background: var(--home-2026-bg);
    border-radius: var(--home-2026-radius-lg);
    padding: var(--home-2026-spacing-xl);
    box-shadow: var(--home-2026-shadow-lg);
    border: 2px solid var(--home-2026-primary);
    border-top: 4px solid var(--home-2026-primary);
    position: relative;
    overflow: hidden;
}

/* Pattern decorativo di sfondo */
.home-2026-orari-form-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(38, 155, 53, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(30%, -30%);
    pointer-events: none;
}

.home-2026-orari-form-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(58, 107, 179, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-30%, 30%);
    pointer-events: none;
}

.home-2026-orari-form-header {
    position: relative;
    z-index: 1;
    text-align: center;
    margin-bottom: var(--home-2026-spacing-xl);
}

.home-2026-orari-form-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--home-2026-spacing-md);
    background: linear-gradient(135deg, var(--home-2026-primary) 0%, var(--home-2026-secondary) 100%);
    border-radius: var(--home-2026-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: var(--home-2026-shadow-md);
}

.home-2026-orari-form-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    margin: 0 0 var(--home-2026-spacing-xs) 0;
    color: var(--home-2026-text);
}

.home-2026-orari-form-subtitle {
    font-size: 0.9375rem;
    color: var(--home-2026-text-muted);
    margin: 0;
}

.home-2026-orari-form {
    display: flex;
    flex-direction: column;
    gap: var(--home-2026-spacing-md);
}

.home-2026-form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--home-2026-spacing-md);
}

@media (min-width: 640px) {
    .home-2026-form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.home-2026-form-group {
    display: flex;
    flex-direction: column;
    gap: var(--home-2026-spacing-xs);
    position: relative;
}

.home-2026-form-group--full {
    grid-column: 1 / -1;
}

.home-2026-form-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--home-2026-text);
    margin: 0;
    display: flex;
    align-items: center;
    gap: var(--home-2026-spacing-xs);
}

.home-2026-form-label svg {
    flex-shrink: 0;
    color: var(--home-2026-primary);
    width: 18px;
    height: 18px;
}

.home-2026-form-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.home-2026-form-input,
.home-2026-form-select {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    font-family: inherit;
    color: var(--home-2026-text);
    background: var(--home-2026-bg);
    border: 2px solid var(--home-2026-border);
    border-radius: var(--home-2026-radius-md);
    transition: all 0.2s ease;
    appearance: none;
}

.home-2026-form-input--with-icon,
.home-2026-form-select--with-icon {
    padding-left: 2.75rem;
}

.home-2026-form-input-wrapper::before {
    content: '';
    position: absolute;
    left: 1rem;
    width: 20px;
    height: 20px;
    pointer-events: none;
    z-index: 1;
    opacity: 0.5;
    transition: opacity 0.2s ease;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.home-2026-form-input-wrapper:focus-within::before {
    opacity: 1;
}

/* Icone specifiche per tipo di campo */
.home-2026-form-input-wrapper--location::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24'%3E%3Cpath fill='%23269B35' d='M12 2C8.13 2 5 5.13 5 9C5 14.25 12 22 12 22C12 22 19 14.25 19 9C19 5.13 15.87 2 12 2ZM12 11.5C10.62 11.5 9.5 10.38 9.5 9C9.5 7.62 10.62 6.5 12 6.5C13.38 6.5 14.5 7.62 14.5 9C14.5 10.38 13.38 11.5 12 11.5Z'/%3E%3C/svg%3E");
}

.home-2026-form-input-wrapper--calendar::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24'%3E%3Cpath fill='%23269B35' d='M19 4H5C3.89 4 3 4.9 3 6V20C3 21.1 3.89 22 5 22H19C20.1 22 21 21.1 21 20V6C21 4.9 20.1 4 19 4ZM19 20H5V9H19V20ZM7 11H9V13H7V11ZM11 11H13V13H11V11ZM15 11H17V13H15V11Z'/%3E%3C/svg%3E");
}

.home-2026-form-input-wrapper--clock::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24'%3E%3Cpath fill='%23269B35' d='M11.99 2C6.47 2 2 6.48 2 12C2 17.52 6.47 22 11.99 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 11.99 2ZM12 20C7.58 20 4 16.42 4 12C4 7.58 7.58 4 12 4C16.42 4 20 7.58 20 12C20 16.42 16.42 20 12 20ZM12.5 7H11V13L16.25 16.15L17 14.92L12.5 12.25V7Z'/%3E%3C/svg%3E");
}

.home-2026-time-row {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
}
.home-2026-time-row .home-2026-form-input {
    flex: 1;
    min-width: 8rem;
}
.home-2026-tutti-orari-btn {
    flex-shrink: 0;
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--home-2026-primary);
    background: #fff;
    border: 2px solid var(--home-2026-primary);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.home-2026-tutti-orari-btn:hover {
    background: rgba(38, 155, 53, 0.08);
}
.home-2026-tutti-orari-btn[aria-pressed="true"],
.home-2026-tutti-orari-btn.udr-tutti-orari-btn--active {
    background: var(--home-2026-primary);
    color: #fff;
    border-color: var(--home-2026-primary);
}
.home-2026-tutti-orari-btn[aria-pressed="true"]:hover,
.home-2026-tutti-orari-btn.udr-tutti-orari-btn--active:hover {
    background: #1e7c2a;
    border-color: #1e7c2a;
}

.home-2026-form-input:focus,
.home-2026-form-select:focus {
    outline: none;
    border-color: var(--home-2026-primary);
    box-shadow: 0 0 0 3px rgba(38, 155, 53, 0.1);
}

.home-2026-form-input::placeholder {
    color: var(--home-2026-text-muted);
}

.home-2026-form-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%234A5568' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.home-2026-form-error {
    font-size: 0.875rem;
    color: #E53E3E;
    margin-top: var(--home-2026-spacing-xs);
    display: none;
}

.home-2026-form-error[aria-hidden="false"] {
    display: block;
}

.home-2026-form-hint {
    font-size: 0.875rem;
    color: var(--home-2026-text-muted);
    margin-top: var(--home-2026-spacing-xs);
}

.home-2026-form-actions {
    margin-top: var(--home-2026-spacing-sm);
    display: flex;
    justify-content: flex-start;
    gap: var(--home-2026-spacing-sm);
    flex-wrap: wrap;
}

@media (min-width: 640px) {
    .home-2026-form-actions {
        justify-content: flex-start;
    }
}

/* ============================================
   BOTTONI
   ============================================ */
.home-2026-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    text-decoration: none;
    border: none;
    border-radius: var(--home-2026-radius-pill);
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    min-height: 48px;
}

.home-2026-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(38, 155, 53, 0.3);
}

.home-2026-btn-primary {
    background: var(--home-2026-primary);
    color: white;
}

.home-2026-btn-primary:hover {
    background: var(--home-2026-primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--home-2026-shadow-md);
}

.home-2026-btn-primary:active {
    transform: translateY(0);
}

.home-2026-btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.home-2026-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: white;
    transform: translateY(-1px);
}

/* Pulsante secondario per il form (outline style) */
.home-2026-orari-form .home-2026-btn-secondary {
    background: transparent;
    color: var(--home-2026-primary);
    border: 2px solid var(--home-2026-primary);
}

.home-2026-orari-form .home-2026-btn-secondary:hover {
    background: var(--home-2026-primary);
    color: white;
    border-color: var(--home-2026-primary);
    transform: translateY(-1px);
    box-shadow: var(--home-2026-shadow-md);
}

.home-2026-orari-form .home-2026-btn-secondary:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(38, 155, 53, 0.3);
}

.home-2026-btn-search {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--home-2026-spacing-xs);
    position: relative;
    overflow: hidden;
}

.home-2026-btn-search svg {
    flex-shrink: 0;
}

.home-2026-btn-search::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.home-2026-btn-search:hover::before {
    left: 100%;
}

@media (min-width: 640px) {
    .home-2026-btn-search {
        width: auto;
        min-width: 160px;
    }
}

/* Stile responsive per pulsanti nel form */
@media (max-width: 639px) {
    .home-2026-orari-form .home-2026-form-actions .home-2026-btn {
        width: 100%;
    }
}

/* ============================================
   SEZIONI
   ============================================ */
.home-2026-section {
    padding: var(--home-2026-spacing-3xl) 0;
}

.home-2026-section--alt {
    background: var(--home-2026-bg-alt);
}

.home-2026-section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--home-2026-text);
    margin: 0 0 var(--home-2026-spacing-md) 0;
    text-align: center;
    letter-spacing: -0.02em;
}

.home-2026-section-subtitle {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    font-weight: 600;
    color: var(--home-2026-text);
    margin: var(--home-2026-spacing-lg) 0 var(--home-2026-spacing-md) 0;
}

.home-2026-section-intro {
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    color: var(--home-2026-text-secondary);
    margin: 0 0 var(--home-2026-spacing-xl) 0;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.home-2026-section-cta {
    text-align: center;
    margin-top: var(--home-2026-spacing-xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--home-2026-spacing-sm);
}

.home-2026-section-cta--stacked {
    flex-direction: column;
}

@media (min-width: 640px) {
    .home-2026-section-cta--stacked {
        flex-direction: row;
        justify-content: center;
    }
}

/* ============================================
   PARTNER LOGOS / APP LINKS
   ============================================ */
.home-2026-partner-logos {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--home-2026-spacing-md);
    margin-top: var(--home-2026-spacing-xl);
}

@media (min-width: 640px) {
    .home-2026-partner-logos {
        grid-template-columns: repeat(3, 1fr);
    }
}

.home-2026-app-link {
    display: flex;
    align-items: center;
    gap: var(--home-2026-spacing-md);
    padding: var(--home-2026-spacing-md);
    background: var(--home-2026-bg);
    border: 1px solid var(--home-2026-border);
    border-radius: var(--home-2026-radius-md);
    text-decoration: none;
    color: var(--home-2026-text);
    transition: all 0.2s ease;
}

.home-2026-app-link:hover {
    border-color: var(--home-2026-primary);
    box-shadow: var(--home-2026-shadow-md);
    transform: translateY(-2px);
}

.home-2026-app-link-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.home-2026-app-link-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.home-2026-app-link-label {
    font-weight: 600;
    color: var(--home-2026-text);
}

.home-2026-app-link-subtitle {
    font-size: 0.875rem;
    color: var(--home-2026-text-muted);
}

/* ============================================
   VIDEO
   ============================================ */
.home-2026-video-container {
    margin: var(--home-2026-spacing-xl) 0;
    border-radius: var(--home-2026-radius-lg);
    overflow: hidden;
    box-shadow: var(--home-2026-shadow-lg);
    background: var(--home-2026-bg-alt);
}

.home-2026-video {
    width: 100%;
    height: auto;
    display: block;
}

/* ============================================
   FEATURE LIST
   ============================================ */
.home-2026-feature-list {
    list-style: none;
    padding: 0;
    margin: var(--home-2026-spacing-lg) 0;
    display: grid;
    gap: var(--home-2026-spacing-sm);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.home-2026-feature-list li {
    padding-left: var(--home-2026-spacing-lg);
    position: relative;
    color: var(--home-2026-text-secondary);
}

.home-2026-feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--home-2026-primary);
    font-weight: 700;
}

.home-2026-highlight-box {
    background: linear-gradient(135deg, rgba(38, 155, 53, 0.1) 0%, rgba(58, 107, 179, 0.1) 100%);
    border-left: 4px solid var(--home-2026-primary);
    padding: var(--home-2026-spacing-lg);
    border-radius: var(--home-2026-radius-md);
    margin: var(--home-2026-spacing-xl) 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--home-2026-text);
    text-align: center;
}

/* ============================================
   CARDS
   ============================================ */
.home-2026-card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--home-2026-spacing-lg);
    margin-top: var(--home-2026-spacing-xl);
}

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

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

.home-2026-card-grid--2 {
    grid-template-columns: 1fr;
}

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

.home-2026-card {
    background: var(--home-2026-bg);
    border: 1px solid var(--home-2026-border);
    border-radius: var(--home-2026-radius-lg);
    padding: var(--home-2026-spacing-xl);
    box-shadow: var(--home-2026-shadow-sm);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: var(--home-2026-spacing-md);
}

.home-2026-card:hover {
    box-shadow: var(--home-2026-shadow-lg);
    transform: translateY(-4px);
    border-color: var(--home-2026-primary);
}

.home-2026-card-icon {
    font-size: 3rem;
    line-height: 1;
}

.home-2026-card-title {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    font-weight: 700;
    color: var(--home-2026-text);
    margin: 0;
}

.home-2026-card-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--home-2026-spacing-xs);
    flex-grow: 1;
}

.home-2026-card-list li {
    padding-left: var(--home-2026-spacing-md);
    position: relative;
    color: var(--home-2026-text-secondary);
    font-size: 0.9375rem;
}

.home-2026-card-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--home-2026-primary);
    font-weight: 700;
}

.home-2026-card p {
    color: var(--home-2026-text-secondary);
    margin: 0;
    line-height: 1.7;
}

/* ============================================
   UDR SECTION - ENHANCED
   ============================================ */

/* Controlli ricerca e selezione */
.home-2026-udr-controls {
    display: flex;
    flex-direction: column;
    gap: var(--home-2026-spacing-md);
    margin-bottom: var(--home-2026-spacing-xl);
    padding: var(--home-2026-spacing-lg);
    background: var(--home-2026-bg);
    border: 1px solid var(--home-2026-border);
    border-radius: var(--home-2026-radius-lg);
    box-shadow: var(--home-2026-shadow-sm);
}

@media (min-width: 768px) {
    .home-2026-udr-controls {
        flex-direction: row;
        align-items: flex-start;
        gap: var(--home-2026-spacing-lg);
        padding: var(--home-2026-spacing-xl);
    }
}

@media (min-width: 1024px) {
    .home-2026-udr-controls {
        margin-bottom: var(--home-2026-spacing-2xl);
        align-items: flex-start;
    }
}

/* Input ricerca comune */
.home-2026-udr-search-wrapper {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.home-2026-udr-search-label {
    display: block;
    font-weight: 600;
    color: var(--home-2026-text);
    margin-bottom: var(--home-2026-spacing-xs);
    font-size: 0.9375rem;
    line-height: 1.4;
    min-height: 1.3125rem; /* Allinea altezza label */
}

.home-2026-udr-search-input-wrapper {
    position: relative;
}

.home-2026-udr-search-input {
    width: 100%;
    padding: 0.875rem 1.125rem;
    font-size: 1rem;
    font-family: inherit;
    border: 2px solid var(--home-2026-border);
    border-radius: var(--home-2026-radius-sm);
    background: var(--home-2026-bg);
    color: var(--home-2026-text);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    height: 48px;
    box-sizing: border-box;
    line-height: 1.5;
    margin: 0;
}

@media (min-width: 1024px) {
    .home-2026-udr-search-input {
        padding: 1rem 1.25rem;
        font-size: 1.0625rem;
        height: 52px;
    }
}

.home-2026-udr-search-input:focus {
    outline: none;
    border-color: var(--home-2026-primary);
    box-shadow: 0 0 0 3px rgba(38, 155, 53, 0.1);
}

.home-2026-udr-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 0.25rem;
    background: var(--home-2026-bg);
    border: 2px solid var(--home-2026-border);
    border-radius: var(--home-2026-radius-sm);
    box-shadow: var(--home-2026-shadow-lg);
    max-height: 300px;
    overflow-y: auto;
    z-index: 100;
    display: none;
}

.home-2026-udr-search-result {
    padding: 0.75rem 1rem;
    cursor: pointer;
    border-bottom: 1px solid var(--home-2026-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.15s ease;
}

.home-2026-udr-search-result:last-child {
    border-bottom: none;
}

.home-2026-udr-search-result:hover,
.home-2026-udr-search-result:focus,
.home-2026-udr-search-result--selected {
    background: var(--home-2026-bg-soft);
    outline: none;
}

.home-2026-udr-search-result .comune-name {
    font-weight: 600;
    color: var(--home-2026-text);
}

.home-2026-udr-search-result .comune-udr {
    font-size: 0.875rem;
    color: var(--home-2026-text-secondary);
    margin-left: var(--home-2026-spacing-sm);
}

.home-2026-udr-search-result--no-results {
    color: var(--home-2026-text-muted);
    font-style: italic;
    cursor: default;
}

/* Selector UDR */
.home-2026-udr-selector-wrapper {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .home-2026-udr-selector-wrapper {
        flex: 0 0 300px;
    }
}

@media (min-width: 1024px) {
    .home-2026-udr-selector-wrapper {
        flex: 0 0 320px;
    }
}

.home-2026-udr-selector-label {
    display: block;
    font-weight: 600;
    color: var(--home-2026-text);
    margin-bottom: var(--home-2026-spacing-xs);
    font-size: 0.9375rem;
    line-height: 1.4;
    min-height: 1.3125rem; /* Allinea altezza label - stessa altezza della label input */
}

/* Select UDR styling */
.home-2026-udr-selector-wrapper .udr-select {
    width: 100%;
    padding: 0.875rem 1.125rem;
    font-size: 1rem;
    font-family: inherit;
    border: 2px solid var(--home-2026-border);
    border-radius: var(--home-2026-radius-sm);
    background: var(--home-2026-bg);
    color: var(--home-2026-text);
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%231F2933' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
    height: 48px;
    box-sizing: border-box;
    line-height: 1.5;
    margin: 0;
    vertical-align: top;
}

@media (min-width: 1024px) {
    .home-2026-udr-selector-wrapper .udr-select {
        padding: 1rem 1.25rem;
        padding-right: 2.75rem;
        font-size: 1.0625rem;
        height: 52px;
    }
}

.home-2026-udr-selector-wrapper .udr-select:hover {
    border-color: var(--home-2026-primary);
}

.home-2026-udr-selector-wrapper .udr-select:focus {
    outline: none;
    border-color: var(--home-2026-primary);
    box-shadow: 0 0 0 3px rgba(38, 155, 53, 0.1);
}

/* Toggle Mappa/Elenco (Mobile) */
.home-2026-udr-view-toggle {
    display: none;
    gap: var(--home-2026-spacing-sm);
    justify-content: center;
    margin-bottom: var(--home-2026-spacing-lg);
}

@media (max-width: 1023px) {
    .home-2026-udr-view-toggle {
        display: flex;
    }
}

.home-2026-udr-toggle-btn {
    flex: 1;
    max-width: 200px;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    color: var(--home-2026-text-secondary);
    background: var(--home-2026-bg);
    border: 2px solid var(--home-2026-border);
    border-radius: var(--home-2026-radius-sm);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--home-2026-spacing-xs);
}

.home-2026-udr-toggle-btn:hover {
    border-color: var(--home-2026-primary);
    color: var(--home-2026-primary);
}

.home-2026-udr-toggle-btn--active {
    background: var(--home-2026-primary);
    color: white;
    border-color: var(--home-2026-primary);
}

.home-2026-udr-toggle-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(38, 155, 53, 0.2);
}

/* Layout sezione UDR */
.home-2026-udr-section-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--home-2026-spacing-xl);
}

@media (min-width: 1024px) {
    .home-2026-udr-section-content {
        grid-template-columns: 1.5fr 1fr;
        gap: var(--home-2026-spacing-2xl);
        align-items: start;
    }
}

/* Vista Mappa/Elenco */
.home-2026-udr-view {
    min-height: 400px;
}

.home-2026-udr-view--map {
    /* Mappa visibile di default su desktop */
}

@media (max-width: 1023px) {
    .home-2026-udr-view--map[hidden] {
        display: none !important;
    }
}

.home-2026-udr-view--list {
    display: none;
}

@media (max-width: 1023px) {
    .home-2026-udr-view--list:not([hidden]) {
        display: block;
    }
}

.home-2026-udr-map-wrapper {
    min-height: 400px;
    border-radius: var(--home-2026-radius-lg);
    overflow: hidden;
    box-shadow: var(--home-2026-shadow-md);
    background: var(--home-2026-bg-alt);
}

@media (min-width: 1024px) {
    .home-2026-udr-map-wrapper {
        min-height: 600px;
        max-height: 80vh;
        position: sticky;
        top: var(--home-2026-spacing-lg);
    }
}

/* Accessibilità SVG - Focus visible */
.udr-interactive-map path[tabindex="0"]:focus {
    outline: 3px solid var(--home-2026-primary);
    outline-offset: 2px;
}

.udr-interactive-map path[tabindex="0"][aria-pressed="true"] {
    outline: 3px solid var(--home-2026-primary);
    outline-offset: 2px;
}

/* Vista Elenco Cards */
.home-2026-udr-list-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--home-2026-spacing-md);
}

.home-2026-udr-list-card {
    background: var(--home-2026-bg);
    border: 2px solid var(--home-2026-border);
    border-radius: var(--home-2026-radius-md);
    padding: var(--home-2026-spacing-lg);
    cursor: pointer;
    transition: all 0.2s ease;
}

.home-2026-udr-list-card:hover {
    border-color: var(--home-2026-primary);
    box-shadow: var(--home-2026-shadow-md);
    transform: translateY(-2px);
}

.home-2026-udr-list-card:focus {
    outline: none;
    border-color: var(--home-2026-primary);
    box-shadow: 0 0 0 3px rgba(38, 155, 53, 0.2);
}

.home-2026-udr-list-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--home-2026-spacing-sm);
    margin-bottom: var(--home-2026-spacing-sm);
}

.home-2026-udr-list-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--home-2026-text);
    margin: 0;
    flex: 1;
}

.home-2026-udr-list-card-badge {
    flex-shrink: 0;
    padding: 0.25rem 0.75rem;
    border-radius: var(--home-2026-radius-pill);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.home-2026-udr-list-card-badge.active {
    background: rgba(38, 155, 53, 0.1);
    color: var(--home-2026-primary);
}

.home-2026-udr-list-card-badge.inactive {
    background: rgba(113, 128, 150, 0.1);
    color: var(--home-2026-text-muted);
}

.home-2026-udr-list-card-description {
    color: var(--home-2026-text-secondary);
    margin: 0;
    font-size: 0.9375rem;
}

/* Card UDR Dettaglio Migliorata */
.home-2026-udr-card-wrapper {
    grid-column: 1 / -1;
    position: sticky;
    top: var(--home-2026-spacing-lg);
    align-self: start;
}

@media (min-width: 1024px) {
    .home-2026-udr-card-wrapper {
        grid-column: 2;
    }
}

.home-2026-udr-card {
    background: var(--home-2026-bg);
    border: 1px solid var(--home-2026-border);
    border-radius: var(--home-2026-radius-lg);
    padding: var(--home-2026-spacing-xl);
    box-shadow: var(--home-2026-shadow-md);
    max-height: 80vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--home-2026-border) transparent;
}

.home-2026-udr-card::-webkit-scrollbar {
    width: 8px;
}

.home-2026-udr-card::-webkit-scrollbar-track {
    background: transparent;
}

.home-2026-udr-card::-webkit-scrollbar-thumb {
    background: var(--home-2026-border);
    border-radius: 4px;
}

.home-2026-udr-card::-webkit-scrollbar-thumb:hover {
    background: var(--home-2026-text-muted);
}

@media (min-width: 1024px) {
    .home-2026-udr-card {
        padding: var(--home-2026-spacing-xl);
    }
}

.home-2026-udr-card-header {
    display: flex;
    flex-direction: column;
    gap: var(--home-2026-spacing-md);
    margin-bottom: var(--home-2026-spacing-lg);
    padding-bottom: var(--home-2026-spacing-md);
    border-bottom: 2px solid var(--home-2026-border);
}

@media (min-width: 640px) {
    .home-2026-udr-card-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }
}

.home-2026-udr-card-header-content {
    flex: 1;
    min-width: 0;
}

.home-2026-udr-card-title {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    font-weight: 700;
    color: var(--home-2026-text);
    margin: 0 0 var(--home-2026-spacing-xs) 0;
}

.home-2026-udr-card-badge {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    border-radius: var(--home-2026-radius-pill);
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: var(--home-2026-spacing-xs);
}

.home-2026-udr-card-badge.active {
    background: rgba(38, 155, 53, 0.15);
    color: var(--home-2026-primary);
}

.home-2026-udr-card-badge.inactive {
    background: rgba(113, 128, 150, 0.15);
    color: var(--home-2026-text-muted);
}

.home-2026-udr-card-cta {
    display: inline-block;
    padding: 0.625rem 1.25rem;
    background: var(--home-2026-primary);
    color: white;
    text-decoration: none;
    border-radius: var(--home-2026-radius-sm);
    font-weight: 600;
    font-size: 0.9375rem;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.home-2026-udr-card-cta:hover {
    background: var(--home-2026-primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--home-2026-shadow-sm);
}

.home-2026-udr-card-cta:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(38, 155, 53, 0.3);
}

.home-2026-udr-card-body {
    margin-bottom: var(--home-2026-spacing-lg);
}

.home-2026-udr-card-description {
    color: var(--home-2026-text-secondary);
    line-height: 1.7;
    margin: 0 0 var(--home-2026-spacing-md) 0;
}

.home-2026-udr-card-description a {
    color: var(--home-2026-primary);
    text-decoration: underline;
}

.home-2026-udr-card-description a:hover {
    color: var(--home-2026-primary-dark);
}

/* Comuni Preview */
.home-2026-udr-card-comuni {
    margin-top: var(--home-2026-spacing-md);
    padding-top: var(--home-2026-spacing-md);
    border-top: 1px solid var(--home-2026-border);
}

.home-2026-udr-card-comuni-label {
    display: block;
    font-weight: 600;
    color: var(--home-2026-text);
    margin-bottom: var(--home-2026-spacing-xs);
    font-size: 0.9375rem;
}

.home-2026-udr-card-comuni-list {
    list-style: none;
    padding: 0;
    margin: var(--home-2026-spacing-sm) 0 0 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: var(--home-2026-spacing-xs);
}

.home-2026-udr-card-comuni-list li {
    padding: 0.375rem 0.625rem;
    background: var(--home-2026-bg-soft);
    border-radius: var(--home-2026-radius-sm);
    font-size: 0.875rem;
    color: var(--home-2026-text-secondary);
}

.home-2026-udr-card-comuni-toggle {
    background: none;
    border: none;
    color: var(--home-2026-primary);
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    padding: 0.5rem 0;
    text-decoration: underline;
    font-family: inherit;
}

.home-2026-udr-card-comuni-toggle:hover {
    color: var(--home-2026-primary-dark);
}

.home-2026-udr-card-comuni-toggle:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(38, 155, 53, 0.2);
    border-radius: 2px;
}

/* Pulsante Trova il tuo orario */
.home-2026-udr-card-orari-cta {
    margin-top: var(--home-2026-spacing-lg);
    padding-top: var(--home-2026-spacing-lg);
    border-top: 1px solid var(--home-2026-border);
}

.home-2026-udr-card-orari-btn {
    display: none;
    align-items: center;
    justify-content: center;
    gap: var(--home-2026-spacing-xs);
    width: 100%;
    padding: 1rem 1.5rem;
    background: var(--home-2026-primary);
    color: white;
    text-decoration: none;
    border-radius: var(--home-2026-radius-sm);
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s ease;
    box-shadow: var(--home-2026-shadow-sm);
}

.home-2026-udr-card-orari-btn:hover {
    background: var(--home-2026-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--home-2026-shadow-md);
    color: white;
}

.home-2026-udr-card-orari-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(38, 155, 53, 0.3);
}

.home-2026-udr-card-orari-btn--secondary {
    background: transparent;
    color: var(--home-2026-primary);
    border: 2px solid var(--home-2026-primary);
    margin-top: var(--home-2026-spacing-sm);
}

.home-2026-udr-card-orari-btn--secondary:hover {
    background: var(--home-2026-primary);
    color: white;
    border-color: var(--home-2026-primary);
}

/* Link "Cerca questa UDR negli orari" disattivato */
#udrCardFindUDRScheduleLink,
.udrCardFindUDRScheduleLink {
    display: none !important;
}

/* Documenti raggruppati */
.home-2026-udr-card-footer {
    padding-top: var(--home-2026-spacing-md);
    border-top: 1px solid var(--home-2026-border);
}

.home-2026-udr-card-documents {
    display: flex;
    flex-direction: column;
    gap: var(--home-2026-spacing-lg);
}

.home-2026-udr-card-doc-group h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--home-2026-text);
    margin: 0 0 var(--home-2026-spacing-sm) 0;
}

.home-2026-udr-card-doc-group ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--home-2026-spacing-xs);
}

.home-2026-udr-card-doc-group a {
    color: var(--home-2026-primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: var(--home-2026-spacing-xs);
    padding: 0.5rem 0;
    transition: color 0.2s ease;
}

.home-2026-udr-card-doc-group a:hover {
    color: var(--home-2026-primary-dark);
    text-decoration: underline;
}

.home-2026-udr-card-doc-empty {
    color: var(--home-2026-text-muted);
    font-style: italic;
    margin: 0;
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ============================================
   DOCUMENTI
   ============================================ */
.home-2026-doc-filters {
    display: flex;
    flex-wrap: wrap;
    gap: var(--home-2026-spacing-sm);
    justify-content: center;
    margin: var(--home-2026-spacing-xl) 0;
}

.home-2026-filter-btn {
    padding: 0.625rem 1.25rem;
    font-size: 0.9375rem;
    font-weight: 600;
    font-family: inherit;
    color: var(--home-2026-text-secondary);
    background: var(--home-2026-bg);
    border: 2px solid var(--home-2026-border);
    border-radius: var(--home-2026-radius-pill);
    cursor: pointer;
    transition: all 0.2s ease;
}

.home-2026-filter-btn:hover {
    border-color: var(--home-2026-primary);
    color: var(--home-2026-primary);
}

.home-2026-filter-btn--active {
    background: var(--home-2026-primary);
    color: white;
    border-color: var(--home-2026-primary);
}

.home-2026-filter-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(38, 155, 53, 0.2);
}

.home-2026-doc-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--home-2026-spacing-lg);
    margin-top: var(--home-2026-spacing-xl);
}

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

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

.home-2026-doc-card {
    background: var(--home-2026-bg);
    border: 1px solid var(--home-2026-border);
    border-radius: var(--home-2026-radius-lg);
    padding: var(--home-2026-spacing-lg);
    box-shadow: var(--home-2026-shadow-sm);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: var(--home-2026-spacing-md);
}

.home-2026-doc-card:hover {
    box-shadow: var(--home-2026-shadow-md);
    transform: translateY(-2px);
    border-color: var(--home-2026-primary);
}

.home-2026-doc-card-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--home-2026-text);
    margin: 0;
}

.home-2026-doc-card-excerpt {
    color: var(--home-2026-text-secondary);
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.6;
    flex-grow: 1;
}

.home-2026-doc-card-link {
    color: var(--home-2026-primary);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9375rem;
    transition: color 0.2s ease;
}

.home-2026-doc-card-link:hover {
    color: var(--home-2026-primary-dark);
    text-decoration: underline;
}

.home-2026-doc-card[data-category*="all"] {
    display: block;
}

/* ============================================
   FAQ
   ============================================ */
.home-2026-faq-list {
    display: flex;
    flex-direction: column;
    gap: var(--home-2026-spacing-sm);
    margin-top: var(--home-2026-spacing-xl);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.home-2026-faq-item {
    background: var(--home-2026-bg);
    border: 1px solid var(--home-2026-border);
    border-radius: var(--home-2026-radius-md);
    overflow: hidden;
    transition: all 0.2s ease;
}

.home-2026-faq-item:hover {
    border-color: var(--home-2026-primary);
}

.home-2026-faq-question {
    width: 100%;
    padding: var(--home-2026-spacing-lg);
    font-size: 1.125rem;
    font-weight: 600;
    font-family: inherit;
    text-align: left;
    color: var(--home-2026-text);
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--home-2026-spacing-md);
    transition: background 0.2s ease;
}

.home-2026-faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--home-2026-primary);
    font-weight: 300;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.home-2026-faq-question[aria-expanded="true"]::after {
    content: '−';
    transform: rotate(180deg);
}

.home-2026-faq-question:hover {
    background: var(--home-2026-bg-alt);
}

.home-2026-faq-question:focus {
    outline: none;
    box-shadow: inset 0 0 0 3px rgba(38, 155, 53, 0.2);
}

.home-2026-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.home-2026-faq-answer[aria-hidden="false"] {
    max-height: 1000px;
}

.home-2026-faq-content {
    padding: 0 var(--home-2026-spacing-lg) var(--home-2026-spacing-lg);
    color: var(--home-2026-text-secondary);
    line-height: 1.7;
}

/* ============================================
   CONTATTI FORM
   ============================================ */
.home-2026-contact-form {
    max-width: 800px;
    margin: var(--home-2026-spacing-xl) auto 0;
    display: flex;
    flex-direction: column;
    gap: var(--home-2026-spacing-md);
}

.home-2026-form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    font-family: inherit;
    color: var(--home-2026-text);
    background: var(--home-2026-bg);
    border: 2px solid var(--home-2026-border);
    border-radius: var(--home-2026-radius-md);
    transition: all 0.2s ease;
    min-height: 120px;
    resize: vertical;
}

.home-2026-form-textarea:focus {
    outline: none;
    border-color: var(--home-2026-primary);
    box-shadow: 0 0 0 3px rgba(38, 155, 53, 0.1);
}

.home-2026-checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: var(--home-2026-spacing-sm);
}

.home-2026-checkbox-group input[type="checkbox"] {
    margin-top: 0.25rem;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.home-2026-checkbox-label {
    font-size: 0.9375rem;
    color: var(--home-2026-text-secondary);
    cursor: pointer;
    line-height: 1.5;
}

/* ============================================
   UTILITY
   ============================================ */
.home-2026-empty-state {
    text-align: center;
    padding: var(--home-2026-spacing-2xl);
    color: var(--home-2026-text-muted);
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */
@media (max-width: 767px) {
    .home-2026-hero {
        padding: var(--home-2026-spacing-xl) 0;
    }
    
    .home-2026-section {
        padding: var(--home-2026-spacing-2xl) 0;
    }
    
    .home-2026-orari-form-card {
        padding: var(--home-2026-spacing-lg);
    }
}

/* ============================================
   ACCESSIBILITÀ
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ============================================
   SINGOLO DOCUMENTO (udr_documento)
   ============================================ */
.single-udr-documento.home-2026 {
    padding-bottom: var(--home-2026-spacing-2xl);
}

/* Header documento: sfondo chiaro, barra accent, titolo leggibile. Non sticky per non sovrapporsi alla navbar in scroll */
.home-2026-doc-header {
    position: static;
    background: var(--home-2026-bg-alt);
    border-bottom: 1px solid var(--home-2026-border);
    padding: var(--home-2026-spacing-xl) 0;
    margin-bottom: 0;
}

.home-2026-doc-header::before {
    content: '';
    display: block;
    height: 4px;
    background: linear-gradient(90deg, var(--home-2026-primary) 0%, var(--home-2026-secondary) 100%);
    margin-bottom: var(--home-2026-spacing-lg);
}

.home-2026-doc-header-inner {
    padding-top: 0;
    padding-bottom: 0;
}

.home-2026-doc-categories {
    display: flex;
    flex-wrap: wrap;
    gap: var(--home-2026-spacing-xs);
    margin-bottom: var(--home-2026-spacing-sm);
}

.home-2026-doc-category-badge {
    display: inline-block;
    padding: 0.35em 0.85em;
    font-size: 0.8125rem;
    font-weight: 600;
    background: var(--home-2026-primary);
    color: #fff;
    border-radius: var(--home-2026-radius-pill);
}

.home-2026-doc-title {
    margin: 0 0 var(--home-2026-spacing-md);
    color: var(--home-2026-text);
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.home-2026-doc-back {
    display: inline-block;
    font-size: 0.9375rem;
    color: var(--home-2026-secondary);
    text-decoration: none;
    font-weight: 600;
}

.home-2026-doc-back:hover {
    color: var(--home-2026-primary);
    text-decoration: underline;
}

.home-2026-doc-thumbnail {
    padding: var(--home-2026-spacing-lg) 0;
    background: var(--home-2026-bg-alt);
}

/* Immagine documento: responsiva (max-width 100%, aspect ratio preservato) */
.home-2026-doc-thumbnail .home-2026-doc-thumbnail-img,
.home-2026-doc-thumbnail .wp-post-image {
    max-width: 100%;
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--home-2026-radius-md);
    object-fit: contain;
}

@media (max-width: 767px) {
    .home-2026-doc-thumbnail .home-2026-container {
        padding-left: var(--home-2026-spacing-sm);
        padding-right: var(--home-2026-spacing-sm);
    }
}

.home-2026-doc-content {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--home-2026-text);
}

.home-2026-doc-content p {
    margin-bottom: var(--home-2026-spacing-md);
}

.home-2026-doc-content p:last-child {
    margin-bottom: 0;
}

.home-2026-doc-download {
    margin-top: var(--home-2026-spacing-lg);
}

.home-2026-doc-footer {
    margin-top: var(--home-2026-spacing-xl);
    padding-top: var(--home-2026-spacing-lg);
    border-top: 1px solid var(--home-2026-border);
}

