.elementor-23165 .elementor-element.elementor-element-0a0320f > .elementor-container{max-width:500px;}.elementor-23165 .elementor-element.elementor-element-04b0e7a{width:var( --container-widget-width, 97.556% );max-width:97.556%;--container-widget-width:97.556%;--container-widget-flex-grow:0;}@media(max-width:1024px){.elementor-23165 .elementor-element.elementor-element-04b0e7a{width:var( --container-widget-width, 960px );max-width:960px;--container-widget-width:960px;--container-widget-flex-grow:0;}}/* Start custom CSS for html, class: .elementor-element-04b0e7a */:root {
    --primary-color: #4A90E2;
    --secondary-color: #2E5984;
    --accent-color: #6BB6FF;
    --text-color: #333;
    --text-light: #666;
    --border-radius: 8px;
    --transition: all 0.3s ease;
    --light-background: #f8f8f8;
    --border-color: #e0e0e0;
}

body {
    margin: 0;
    background-color: var(--light-background);
    font-family: -apple-system, BlinkMacMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.page-title {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--accent-color);
    display: block;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.deliberations-main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    line-height: 1.6;
    color: var(--text-color);
}

.search-section {
    background: var(--secondary-color);
    border-radius: var(--border-radius);
    padding: 30px;
    margin-bottom: 30px;
}

.search-container {
    max-width: 900px;
    margin: 0 auto;
}

.search-module {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    background: white;
    border-radius: var(--border-radius);
    padding: 20px;
    gap: 20px;
}

.search-module-input {
    width: 100%;
    border: 2px solid var(--border-color);
    padding: 16px 20px;
    font-size: 16px;
    border-radius: var(--border-radius);
    outline: none;
    color: var(--text-color);
    background: white;
    transition: var(--transition);
    box-sizing: border-box;
}

.search-module-input:focus {
    border-color: var(--primary-color);
}

.search-module-input::placeholder {
    color: var(--text-light);
}

.filter-dropdowns {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
}

.filter-select {
    flex: 1;
    min-width: 200px;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    background-color: white;
    font-size: 14px;
    color: var(--text-color);
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg fill="%23666" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    cursor: pointer;
    transition: var(--transition);
}

.filter-select:hover {
    border-color: var(--accent-color);
}

.filter-select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.reset-btn {
    border: none;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
    white-space: nowrap;
    min-width: 140px;
    background: var(--text-light);
    color: white;
    margin-left: 10px;
}

.reset-btn:hover {
    background: var(--text-color);
    transform: translateY(-2px);
}

.stats-section {
    background: white;
    padding: 30px 20px;
    text-align: center;
    margin-bottom: 30px;
}

.stats-card {
    display: inline-block;
    background: white;
    padding: 30px 40px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.stats-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.stats-label {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 5px;
}

.section-title {
    color: var(--text-color);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--primary-color);
}

.deliberations-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-height: 700px;
    overflow-y: auto;
    padding-right: 10px;
}

.deliberations-container::-webkit-scrollbar {
    width: 8px;
}

.deliberations-container::-webkit-scrollbar-track {
    background: var(--light-background);
}

.deliberations-container::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

.deliberations-container::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

.deliberation-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 24px;
    transition: var(--transition);
    border-left: 4px solid var(--primary-color);
    word-break: break-word;
}

.deliberation-card:hover {
    transform: translateY(-2px);
    border-left-color: var(--accent-color);
}

.deliberation-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    gap: 15px;
    flex-wrap: wrap;
}

.deliberation-number {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0;
}

.deliberation-date {
    background: var(--primary-color);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.deliberation-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 10px 0;
}

.deliberation-theme {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 8px;
}

.deliberation-rapporteur {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 15px;
}

.deliberation-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.pdf-link {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.pdf-link:hover {
    background: var(--secondary-color);
    transform: translateY(-1px);
}

.loading-message,
.error-message,
.no-results {
    text-align: center;
    padding: 40px 20px;
    border-radius: var(--border-radius);
    font-style: italic;
    background: var(--light-background);
    color: var(--text-light);
}

.error-message {
    background: #fff5f5;
    color: #dc3545;
    border: 1px solid #fed7d7;
}

.no-results {
    background: #fffbf0;
    color: #ffc107;
    border: 1px solid #feebc8;
}

/* --- Pagination Styles --- */
#pagination-controls {
    text-align: center;
    margin-top: 30px;
    padding: 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px; /* Space between buttons and text */
}

#pagination-controls button {
    background-color: white;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    padding: 10px 15px;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: var(--transition);
    min-width: 40px; /* Ensure buttons have a consistent minimum width */
}

#pagination-controls button:hover:not(:disabled) {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-1px);
}

#pagination-controls button:disabled {
    background-color: var(--light-background);
    color: var(--text-light);
    border-color: var(--border-color);
    cursor: not-allowed;
    opacity: 0.7;
}

#pagination-controls button.current-page { /* This class would need to be added by JS if you want different styling for current page button beyond disabled */
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    cursor: default;
}

#pagination-controls span {
    color: var(--text-color);
    font-size: 1rem;
    margin: 0 5px; /* Adjust spacing around ellipsis and page info */
}

/* Removed inline styles for pagination from JS and added classes/CSS here */


@media (max-width: 768px) {
    .search-module {
        padding: 15px;
        gap: 15px;
    }

    .filter-dropdowns {
        flex-direction: column;
        gap: 10px;
    }

    .filter-select {
        width: 100%;
        min-width: unset;
    }

    .reset-btn {
        width: 100%;
        margin-left: 0;
        margin-top: 10px;
    }

    .search-section {
        padding: 20px;
    }

    .deliberation-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .deliberations-container {
        max-height: unset;
        overflow-y: visible;
    }

    .page-title {
        font-size: 2.2rem;
        margin-top: 25px;
        margin-bottom: 20px;
    }

    #pagination-controls {
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .deliberation-card {
        padding: 16px;
    }

    .section-title {
        font-size: 1.3rem;
    }

    .page-title {
        font-size: 1.8rem;
    }
}/* End custom CSS */