/* Latvia Namedays Plugin - Theme Mediator Compatible Styles */
.latvia-namedays-display {
    background: #ffffff;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.latvia-namedays-display:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Single line content styling */
.namedays-content {
    color: #34495e;
    line-height: 1.6;
    font-size: 16px;
}

.namedays-content strong {
    color: #2c3e50;
    font-weight: 600;
}

/* List format keeps separate date header */
.format-list .namedays-date {
    margin: 0 0 15px 0;
    color: #2c3e50;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
    border-bottom: 2px solid #3498db;
    padding-bottom: 8px;
    display: inline-block;
}

.format-list .namedays-label {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 10px;
}

.format-list .namedays-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.format-list .namedays-list li {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    padding: 8px 12px;
    margin: 6px 0;
    color: #495057;
    font-size: 15px;
    transition: all 0.2s ease;
    position: relative;
    padding-left: 30px;
}

.format-list .namedays-list li:before {
    content: "•";
    color: #3498db;
    font-weight: bold;
    position: absolute;
    left: 12px;
    top: 8px;
}

.format-list .namedays-list li:hover {
    background: #e3f2fd;
    border-color: #3498db;
    transform: translateX(3px);
}

.no-namedays {
    color: #6c757d;
    font-style: italic;
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border: 1px dashed #dee2e6;
    border-radius: 6px;
}

/* Header/inline specific styling */
.header-namedays {
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    box-shadow: none;
}

.header-namedays .namedays-content {
    font-size: 14px;
    color: inherit;
}

.header-namedays .namedays-content strong {
    color: inherit;
    font-weight: 600;
}

/* Widget specific styles */
.widget .latvia-namedays-display {
    background: transparent;
    border: none;
    padding: 0;
    margin: 0 0 15px 0;
    box-shadow: none;
}

.widget .namedays-content {
    font-size: 14px;
}

/* Responsive design */
@media (max-width: 768px) {
    .latvia-namedays-display {
        padding: 15px;
        margin: 15px 0;
    }
    
    .namedays-content {
        font-size: 15px;
    }
    
    .format-list .namedays-date {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .latvia-namedays-display {
        padding: 12px;
    }
    
    .namedays-content {
        font-size: 14px;
    }
}