/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header Styles - Updated to match the preview */
.header {
    background: rgba(30, 64, 175, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: white;
    font-weight: bold;
}

.logo-icon {
    background: #fbbf24;
    color: #1e40af;
    font-weight: bold;
    font-size: 0.875rem;
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
}

.logo-text {
    color: white;
    font-size: 0.875rem;
    line-height: 1.2;
}

.logo-main {
    font-weight: bold;
}

.logo-sub {
    font-size: 0.75rem;
    opacity: 0.9;
}

.nav-desktop {
    display: none;
    align-items: center;
    gap: 1.5rem;
    flex: 1;
    justify-content: center;
}

.nav-desktop a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    white-space: nowrap;
}

.nav-desktop a:hover {
    background: rgba(255, 255, 255, 0.1);
}

.header-right {
    display: none;
    align-items: center;
    gap: 1rem;
}

.infolinka {
    color: white;
    font-size: 0.75rem;
    text-align: right;
    line-height: 1.2;
}

.phone-number {
    font-weight: bold;
    font-size: 0.875rem;
}

.search-box {
    position: relative;
}

.search-box input {
    padding: 0.5rem 0.75rem;
    border: none;
    border-radius: 0.375rem;
    background: rgba(255, 255, 255, 0.9);
    width: 12rem;
    font-size: 0.875rem;
}

.mobile-menu-btn {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger {
    display: block;
    width: 1.5rem;
    height: 2px;
    background: white;
    position: relative;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: white;
    transition: 0.3s;
}

.hamburger::before {
    top: -6px;
}

.hamburger::after {
    top: 6px;
}

.nav-mobile {
    display: none;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-mobile.active {
    display: flex;
}

.nav-mobile a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 0;
    font-size: 0.875rem;
    font-weight: 500;
}

.nav-mobile a:hover {
    color: #fbbf24;
}

.mobile-contact {
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-contact div {
    color: white;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.mobile-contact input {
    width: 100%;
    padding: 0.5rem;
    border: none;
    border-radius: 0.375rem;
    background: rgba(255, 255, 255, 0.9);
}

/* Main Content */
.main-content {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    min-height: calc(100vh - 80px);
    padding: 2rem 0;
}

.hero-section {
    padding: 2rem 0 3rem 0;
    text-align: center;
}

.hero-content {
    color: white;
}

.hero-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-btn {
    background: white;
    color: #1e40af;
    border: none;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.hero-btn:hover {
    background: #f3f4f6;
    transform: translateY(-1px);
}

/* Search Section Styles */
.search-section {
    padding: 0 0 2rem 0;
}

.search-container {
    max-width: 32rem;
    margin: 0 auto;
    position: relative;
}

.search-title {
    font-size: 1.75rem;
    font-weight: bold;
    color: white;
    margin-bottom: 2rem;
    text-align: center;
    line-height: 1.3;
}

.search-form {
    display: flex;
    gap: 0.5rem;
    align-items: stretch;
    margin-bottom: 1.5rem;
}

#main-search {
    flex: 1;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    border: none;
    border-radius: 0.5rem;
    background: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.search-btn {
    background: white;
    color: #1e40af;
    border: none;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.search-btn:hover {
    background: #f3f4f6;
    transform: translateY(-1px);
}

/* Error and Info Messages */
.error-message {
    background: #fee;
    border: 1px solid #fcc;
    padding: 1rem;
    border-radius: 0.5rem;
    color: #c33;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 500;
}

.search-results-info {
    color: white;
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.search-results-info strong {
    color: #fbbf24;
}

/* No Results Styles */
.no-results {
    background: white;
    border-radius: 1rem;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 0 auto;
}

.no-results h2 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #1e40af;
    margin-bottom: 1rem;
}

.no-results p {
    color: #6b7280;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.search-tips {
    background: #f8fafc;
    border-radius: 0.5rem;
    padding: 1.5rem;
    text-align: left;
    border-left: 4px solid #3b82f6;
}

.search-tips p {
    color: #374151;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.search-tips ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.search-tips li {
    color: #6b7280;
    padding: 0.25rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.search-tips li::before {
    content: '•';
    color: #3b82f6;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.data-boxes-section {
    padding-bottom: 3rem;
}

.data-boxes-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: white;
    margin-bottom: 1.5rem;
    margin-top: 2rem;
    text-align: center;
}

.results-title {
    color:white;
}
.data-boxes-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

/* Card Styles - Updated to match the preview */
.card {
    background: white;
    border-radius: 0.5rem;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    position: relative;
}

.card:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

.databox-card {
    position: relative;
}

.databox-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.company-name {
    font-size: 1.125rem;
    font-weight: bold;
    color: #1e40af;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 600;
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.databox-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.info-row {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #4b5563;
}

.info-row .label {
    font-weight: 600;
    color: #374151;
    min-width: 2rem;
}

.databox-id {
    background: #f3f4f6;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-family: monospace;
    color: #1d4ed8;
    font-size: 0.875rem;
}

.category-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 600;
    background: #dbeafe;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
    display: inline-block;
    margin-top: 0.5rem;
}

.detail-btn {
    width: 100%;
    background: #2563eb;
    color: white;
    border: none;
    padding: 0.75rem;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 1rem;
}

.detail-btn:hover {
    background: #1d4ed8;
}

/* Contact Page Styles */
.contact-page,
.magazine-page,
.detail-page {
    padding: 2rem 0 3rem 0;
}

.page-header {
    text-align: center;
    color: white;
    margin-bottom: 3rem;
}

.page-header h1 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1rem;
    opacity: 0.9;
}

.contact-content {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: #374151;
}

.form-group input,
.form-group textarea {
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 1rem;
}

.form-group textarea {
    min-height: 7.5rem;
    resize: vertical;
}

.submit-btn {
    background: #2563eb;
    color: white;
    border: none;
    padding: 0.75rem;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background: #1d4ed8;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.info-icon {
    background: #dbeafe;
    padding: 0.75rem;
    border-radius: 0.5rem;
    font-size: 1.25rem;
}

.info-item h3 {
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.25rem;
}

.info-item p {
    color: #6b7280;
    font-size: 0.875rem;
}

/* FAQ */
.faq {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item h4 {
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.5rem;
}

.faq-item p {
    color: #6b7280;
    font-size: 0.875rem;
}

/* Magazine Page Styles */
.featured-section {
    margin-bottom: 3rem;
}

.featured-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

.featured-article {
    background: white;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.featured-article:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.article-header {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    padding: 1.5rem;
}

.featured-badge {
    background: #fbbf24;
    color: #92400e;
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    display: inline-block;
}

.article-header h3 {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.article-header p {
    color: #bfdbfe;
}

.article-footer {
    padding: 1.5rem;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 1rem;
}

.article-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1rem;
}

.read-btn {
    background: #2563eb;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.read-btn:hover {
    background: #1d4ed8;
}

.articles-section {
    margin-bottom: 3rem;
}

.articles-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.articles-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.article-card {
    background: white;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.article-card:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.article-card .article-header {
    background: none;
    color: inherit;
    padding: 1.5rem 1.5rem 0.75rem 1.5rem;
}

.article-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.read-time {
    font-size: 0.75rem;
    color: #6b7280;
}

.article-card h3 {
    font-size: 1.125rem;
    font-weight: bold;
    color: #1e40af;
    line-height: 1.4;
}

.article-content {
    padding: 0 1.5rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.article-content p {
    color: #6b7280;
    font-size: 0.875rem;
    line-height: 1.5;
}

.read-more-btn {
    background: none;
    color: #2563eb;
    border: 1px solid #e5e7eb;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: auto;
}

.read-more-btn:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
}

.newsletter-section {
    margin-bottom: 2rem;
}

.newsletter-content {
    text-align: center;
}

.newsletter-content h3 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #1e40af;
    margin-bottom: 1rem;
}

.newsletter-content p {
    color: #6b7280;
    margin-bottom: 1.5rem;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 24rem;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 0.5rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
}

.newsletter-form button {
    background: #2563eb;
    color: white;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.newsletter-form button:hover {
    background: #1d4ed8;
}

/* Detail Page Styles */
.back-section {
    margin-bottom: 1.5rem;
}

.back-btn {
    background: rgba(255, 255, 255, 0.9);
    color: #1d4ed8;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    border: 1px solid #bfdbfe;
    transition: all 0.3s;
    display: inline-block;
}

.back-btn:hover {
    background: white;
    color: #1e40af;
}

.detail-container {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.detail-header {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    color: white;
    padding: 2rem;
}

.company-info h1 {
    font-size: 1.875rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.company-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #bfdbfe;
}

.company-meta code {
    background: rgba(37, 99, 235, 0.5);
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
}

.detail-content {
    display: grid;
    gap: 2rem;
    padding: 2rem;
    grid-template-columns: 1fr;
}

.info-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.info-item .label {
    font-weight: 600;
    color: #374151;
}

.services-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.service-badge {
    padding: 0.25rem 0.75rem;
    background: #dbeafe;
    color: #1d4ed8;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
}

.certifications-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.cert-badge {
    padding: 0.25rem 0.75rem;
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.contact-icon {
    font-size: 1.25rem;
    color: #6b7280;
    margin-top: 0.125rem;
}

.contact-item .label {
    font-weight: 600;
    color: #374151;
}

.contact-item p {
    color: #6b7280;
    margin: 0;
}

.web-link {
    color: #2563eb !important;
}

.databox-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.banking-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.account-number {
    font-family: monospace;
    font-weight: 600;
}

/* Setup Page Styles */
.setup-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding-bottom: 3rem;
}

.info-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    margin-top: 1.5rem;
}

.info-highlight {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 0.5rem;
    border-left: 4px solid #3b82f6;
}

.highlight-icon {
    font-size: 2rem;
    background: #dbeafe;
    padding: 0.75rem;
    border-radius: 0.5rem;
    flex-shrink: 0;
}

.info-highlight h3 {
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.25rem;
}

.info-highlight p {
    color: #6b7280;
    font-size: 0.875rem;
}

.step-guide {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 1.5rem;
}

.step {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.step-number {
    background: #3b82f6;
    color: white;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-content h3 {
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

.step-content p {
    color: #6b7280;
    margin-bottom: 0.75rem;
}

.step-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.step-content li {
    color: #6b7280;
    padding: 0.25rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.step-content li::before {
    content: '✓';
    color: #10b981;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.locations-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    margin-top: 1.5rem;
}

.location-card {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
    text-align: center;
}

.location-card h3 {
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.75rem;
    font-size: 1.125rem;
}

.location-card p {
    color: #6b7280;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.location-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.location-card li {
    color: #6b7280;
    padding: 0.25rem 0;
    font-size: 0.875rem;
}

.location-btn {
    background: #3b82f6;
    color: white;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: background-color 0.3s;
    display: inline-block;
}

.location-btn:hover {
    background: #2563eb;
}

.documents-section {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    margin-top: 1.5rem;
}

.document-type h3 {
    font-weight: 600;
    color: #111827;
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.document-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.document-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e5e7eb;
    font-size: 0.875rem;
}

.document-list li:last-child {
    border-bottom: none;
}

.help-section {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    border: 1px solid #93c5fd;
}

.help-content {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    margin-top: 1.5rem;
}

.help-contact h3,
.help-links h3 {
    font-weight: 600;
    color: #1e40af;
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.help-contact p {
    color: #1e40af;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.help-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.help-links li {
    margin-bottom: 0.5rem;
}

.help-links a {
    color: #2563eb;
    text-decoration: none;
    font-size: 0.875rem;
}

.help-links a:hover {
    text-decoration: underline;
}

/* Footer Styles */
.footer {
    background: #1e40af;
    color: white;
}

.footer-content {
    display: grid;
    gap: 2rem;
    padding: 3rem 0;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-description {
    color: #bfdbfe;
    font-size: 0.875rem;
    line-height: 1.6;
}

.footer-title {
    font-weight: bold;
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: #bfdbfe;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    color: #bfdbfe;
}

.footer-bottom {
    border-top: 1px solid #1d4ed8;
    padding: 2rem 0;
    text-align: center;
    color: #bfdbfe;
}

/* Responsive Design */
@media (min-width: 768px) {
    .nav-desktop {
        display: flex;
    }
    
    .header-right {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: none;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .detail-content {
        grid-template-columns: 2fr 1fr;
    }
    
    .newsletter-form {
        flex-direction: row;
    }
    
    .data-boxes-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .featured-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .articles-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Utility Classes */
.hidden {
    display: none;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Map Styles */
.map-container {
    margin-top: 1rem;
    border-radius: 0.5rem;
    overflow: hidden;
    border: 1px solid #e5e7eb;
}

#map {
    height: 300px;
    width: 100%;
    background: #f9fafb;
}

.address-text {
    color: #6b7280;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

@media (max-width: 768px) {
    #map {
        height: 250px;
    }
}

/* Home Articles Section - Specific styles to avoid conflicts */
.home-articles-section {
    padding: 2rem 0 3rem 0;
    margin-bottom: 2rem;
}

.home-articles-container {
    max-width: 1200px;
    margin: 0 auto;
}

.home-articles-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    margin-bottom: 2rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.home-articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.home-article-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.home-article-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.home-article-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.home-article-category {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.home-article-date {
    color: #64748b;
    font-size: 0.875rem;
    font-weight: 500;
}

.home-article-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-article-excerpt {
    color: #64748b;
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-article-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem;
    margin-top: auto;
}

.home-article-meta {
    flex: 1;
}

.home-article-author {
    color: #64748b;
    font-size: 0.75rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.home-article-btn {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.home-article-btn:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
    text-decoration: none;
    color: white;
}

.home-articles-more {
    text-align: center;
    margin-top: 2rem;
}

.home-articles-more-btn {
    background: rgba(255, 255, 255, 0.9);
    color: #1d4ed8;
    text-decoration: none;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.home-articles-more-btn:hover {
    background: white;
    color: #1e40af;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-decoration: none;
}

/* Responsive design for home articles */
@media (max-width: 1024px) {
    .home-articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .home-articles-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .home-article-card {
        padding: 1.25rem;
    }
    
    .home-articles-title {
        font-size: 1.25rem;
        margin-bottom: 1.5rem;
    }
    
    .home-article-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .home-article-btn {
        align-self: stretch;
        text-align: center;
    }
}

@media (max-width: 640px) {
    .home-articles-section {
        padding: 1.5rem 0 2rem 0;
    }
    
    .home-article-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

/* Related Articles Section in Article Detail */
.related-articles-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

.related-articles-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1.5rem;
    text-align: center;
}

.related-articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.related-article-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid #e5e7eb;
}

.related-article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.related-article-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.related-article-category {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.related-article-date {
    color: #6b7280;
    font-size: 0.875rem;
}

.related-article-title {
    margin-bottom: 0.75rem;
}

.related-article-title a {
    color: #1f2937;
    text-decoration: none;
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.4;
    display: block;
    transition: color 0.2s ease;
}

.related-article-title a:hover {
    color: #667eea;
}

.related-article-excerpt {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.related-article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #f3f4f6;
}

.related-article-author {
    color: #6b7280;
    font-size: 0.875rem;
}

.related-article-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.related-article-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* Similar Data Boxes Section in Detail */
.similar-databoxes-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

.similar-databoxes-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    text-align: center;
}

.similar-databoxes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.similar-databox-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid #e5e7eb;
}

.similar-databox-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.similar-databox-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.similar-databox-name {
    font-weight: 600;
    color: #1f2937;
    font-size: 1rem;
    line-height: 1.4;
    flex: 1;
    margin-right: 1rem;
}

.similar-status-badge {
    background: #10b981;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    flex-shrink: 0;
}

.similar-databox-info {
    margin-bottom: 1.5rem;
}

.similar-info-row {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.similar-label {
    margin-right: 0.5rem;
    width: 20px;
    flex-shrink: 0;
}

.similar-databox-id {
    font-family: 'Courier New', monospace;
    background: #f3f4f6;
    padding: 0.125rem 0.375rem;
    border-radius: 4px;
    font-size: 0.8125rem;
}

.similar-address {
    color: #6b7280;
    line-height: 1.4;
}

.similar-detail-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
}

.similar-detail-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* Login Page Styles */
.login-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 1rem;
}

.login-quick-access {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
}

.login-quick-access h2 {
    color: white;
    margin-bottom: 0.75rem;
}

.login-quick-access p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

.login-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.login-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.2s ease;
    text-align: center;
    min-width: 200px;
    justify-content: center;
}

.login-btn.primary {
    background: white;
    color: #10b981;
}

.login-btn.primary:hover {
    background: #f9fafb;
    transform: translateY(-1px);
}

.login-btn.secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.login-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

.login-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.method-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.2s ease;
}

.method-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: #3b82f6;
}

.method-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    text-align: center;
}

.method-card h3 {
    color: #1e40af;
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    text-align: center;
}

.method-card p {
    color: #64748b;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    text-align: center;
}

.method-card ul {
    list-style: none;
    padding: 0;
}

.method-card li {
    color: #475569;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    padding-left: 1.25rem;
    position: relative;
}

.method-card li:before {
    content: "✓";
    color: #10b981;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.security-tips {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    border: none;
}

.security-tips h2 {
    color: white;
    margin-bottom: 1rem;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.tip-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.tip-icon {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.tip-icon.warning {
    color: #fbbf24;
}

.tip-icon.success {
    color: #10b981;
}

.tip-icon.info {
    color: #60a5fa;
}

.tip-content h3 {
    color: white;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.tip-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
    line-height: 1.5;
}

.faq-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1rem;
}

.faq-item {
    background: #f8fafc;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.faq-item h3 {
    background: #3b82f6;
    color: white;
    padding: 1rem 1.25rem;
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}

.faq-answer {
    padding: 1.25rem;
}

.faq-answer p {
    margin-bottom: 0.75rem;
    color: #374151;
}

.faq-answer ul {
    list-style: none;
    padding: 0;
    margin-bottom: 0.75rem;
}

.faq-answer li {
    color: #4b5563;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    padding-left: 1.25rem;
    position: relative;
}

.faq-answer li:before {
    content: "•";
    color: #3b82f6;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.alert {
    padding: 0.75rem 1rem;
    border-radius: 6px;
    font-size: 0.875rem;
    margin-top: 1rem;
}

.alert.warning {
    background: #fef3c7;
    border: 1px solid #f59e0b;
    color: #92400e;
}

.help-section {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: white;
    border: none;
}

.help-section h2 {
    color: white;
    margin-bottom: 1rem;
}

.help-contacts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.contact-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-card h3 {
    color: white;
    margin-bottom: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
}

.contact-card p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.contact-card a {
    color: #fbbf24;
    text-decoration: none;
}

.contact-card a:hover {
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .related-articles-grid,
    .similar-databoxes-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .related-article-footer {
        flex-direction: column;
        gap: 0.75rem;
        align-items: flex-start;
    }
    
    .similar-databox-header {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .similar-databox-name {
        margin-right: 0;
    }
    
    .login-buttons {
        flex-direction: column;
    }
    
    .login-btn {
        min-width: auto;
    }
    
    .login-methods,
    .tips-grid,
    .help-contacts {
        grid-template-columns: 1fr;
    }
}

/* Notari styles */
.notari-stats {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
}

.stat-item {
    display: flex;
    /*flex-direction: column;*/
    align-items: center;
    padding: 1rem 2rem;
    background: white;
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 1.5rem;
    font-weight: bold;
    color: #1e40af;
}

.stat-label {
    font-size: 0.9rem;
    color: #6b7280;
    /*margin-top: 0.25rem;*/
}

.notari-list {
    display: grid;
    gap: 1.5rem;
    margin: 2rem 0;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.notar-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.notar-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: #1e40af;
}

.notar-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.notar-name {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e40af;
}

.notar-name a {
    color: #1e40af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.notar-name a:hover {
    color: #3b82f6;
}

.notar-ico {
    background: #f3f4f6;
    color: #6b7280;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.notar-content {
    margin: 1rem 0;
}

.notar-detail {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.75rem;
    gap: 0.5rem;
}

.detail-icon {
    font-size: 1rem;
    width: 1.25rem;
    flex-shrink: 0;
    margin-top: 0.125rem;
    color: #f59e0b;
}

.detail-text {
    flex: 1;
    line-height: 1.5;
    color: #374151;
}

.detail-text a {
    color: #1e40af;
    text-decoration: none;
}

.detail-text a:hover {
    text-decoration: underline;
}

.detail-text code {
    background: #f3f4f6;
    padding: 0.125rem 0.25rem;
    border-radius: 0.25rem;
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
    color: #1d4ed8;
}

.notar-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.detail-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: #1e40af;
    color: white;
    text-decoration: none;
    border-radius: 0.375rem;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 0.875rem;
}

.detail-btn:hover {
    background: #3b82f6;
    transform: translateX(2px);
}

.notar-views {
    color: #6b7280;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Notar detail styles */
.notar-detail {
    max-width: 800px;
    margin: 0 auto;
}

.notar-detail-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--border-color);
}

.notar-detail-title {
    margin: 0 0 1rem 0;
    font-size: 2rem;
    font-weight: 700;
    color: var(--heading-color);
}

.notar-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.meta-label {
    font-weight: 500;
}

.meta-value {
    color: var(--text-color);
}

.notar-detail-content {
    margin: 2rem 0;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    
    margin: 2rem 0 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-info {
    background: var(--card-background);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    padding: 2rem;
    margin: 2rem 0;
}

.contact-grid {
    display: grid;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-label {
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-value {
    font-size: 1.1rem;
    line-height: 1.5;
}

.contact-value a {
    color: var(--primary-color);
    text-decoration: none;
}

.contact-value a:hover {
    text-decoration: underline;
}

.contact-value code {
    background: var(--code-background);
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-family: 'Courier New', monospace;
}

.office-hours {
    background: var(--accent-background);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    padding: 2rem;
    margin: 2rem 0;
}

.office-hours-content {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-top: 1rem;
}

.notar-actions {
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
    flex-wrap: wrap;
    justify-content: center;
}

.back-btn, .call-btn, .email-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.back-btn {
    background: var(--secondary-background);
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

.back-btn:hover {
    background: var(--border-color);
}

.call-btn {
    background: #10b981;
    color: white;
}

.call-btn:hover {
    background: #059669;
}

.email-btn {
    background: var(--primary-color);
    color: white;
}

.email-btn:hover {
    background: var(--primary-hover);
}

.seo-info {
    background: var(--card-background);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    padding: 2rem;
    margin: 3rem 0;
}

.seo-content p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.seo-content ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.seo-content li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .notari-list {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .notar-card {
        padding: 1.25rem;
    }
    
    .notar-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .notar-footer {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .detail-btn {
        width: 100%;
        justify-content: center;
    }
    
    .notar-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .notar-actions {
        flex-direction: column;
    }
    
    .back-btn, .call-btn, .email-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Enhanced FAQ Styles */
.faq-enhanced {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.faq-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-color: #3b82f6;
}

.faq-question {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
}

.faq-icon {
    font-size: 1.25rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
}

.faq-question h4 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    flex: 1;
    line-height: 1.4;
}

.faq-answer {
    padding: 1.25rem;
    background: white;
    border-top: 1px solid #e2e8f0;
}

.faq-answer p {
    margin: 0;
    color: #374151;
    font-size: 0.875rem;
    line-height: 1.6;
}

/* Responsive FAQ */
@media (max-width: 768px) {
    .faq-question {
        padding: 1rem;
        gap: 0.5rem;
    }
    
    .faq-icon {
        font-size: 1rem;
        min-width: 2rem;
        height: 2rem;
        padding: 0.375rem;
    }
    
    .faq-question h4 {
        font-size: 0.875rem;
    }
    
    .faq-answer {
        padding: 1rem;
    }
}

/* PSČ Styles */
.psc-section {
    padding: 2rem 0;
}

.psc-container {
    max-width: 1200px;
    margin: 0 auto;
}

.psc-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    justify-items: center;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem;
}

.psc-card {
    background: white;
    border-radius: 0.75rem;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    width: 100%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.psc-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: #3b82f6;
}

.psc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.psc-number {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.psc-label {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.psc-value {
    font-size: 1.5rem;
    font-weight: bold;
    color: #1e40af;
}

.psc-stats {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #64748b;
    background: #f8fafc;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    border: 1px solid #e2e8f0;
    white-space: nowrap;
}

.stat-icon {
    font-size: 1rem;
}

.psc-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.psc-okresy {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.psc-okresy .label {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 500;
}

.psc-okresy .value {
    color: #374151;
    font-size: 0.875rem;
}

.psc-footer {
    display: flex;
    justify-content: center;
    margin-top: auto;
}

.psc-detail-btn {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.psc-detail-btn:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
    text-decoration: none;
    color: white;
}

/* Statistics */
.stats-section {
    padding: 2rem 0;
    background: rgba(255, 255, 255, 0.1);
    margin: 2rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 0.75rem;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.stat-icon {
    font-size: 2rem;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    -webkit-background-clip: text;
    /*-webkit-text-fill-color: transparent;*/
    background-clip: text;
}

.stat-content {
    flex: 1;
}

.stat-number {
    /*font-size: 1.5rem;*/
    font-weight: bold;
    color: #1e40af;
    /*line-height: 1;*/
}

.stat-label {
    font-size: 0.875rem;
    color: #64748b;
    /*margin-top: 0.25rem;*/
}

/* Search Form */
.search-form {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 0 auto;
}

.search-row {
    display: flex;
    gap: 1rem;
    align-items: stretch;
    flex-wrap: wrap;
}

.search-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.search-select {
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 1rem;
    background: white;
    min-width: 200px;
}

.search-btn {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-btn:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

/* PSČ Detail Styles 
.psc-detail-section {
    padding: 2rem 0;
}
*/
.psc-detail-container {
    max-width: 1200px;
    margin: 0 auto;
}

.psc-info-card {
    background: white;
    border-radius: 0.75rem;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

.psc-info-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    gap: 2rem;
}

.psc-number-large {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.psc-number-large .psc-label {
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.psc-number-large .psc-value {
    font-size: 2.5rem;
    font-weight: bold;
    color: #1e40af;
}

.psc-stats-large {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.psc-stats-large .stat-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #f8fafc;
    padding: 1rem 1.25rem;
    border-radius: 0.5rem;
    flex: 1;
    min-width: 140px;
    justify-content: center;
}

.psc-stats-large .stat-icon {
    font-size: 1.25rem;
}

.psc-stats-large .stat-content {
    display: flex;
    /*flex-direction: column;*/
    gap: 0.25rem;
}

.psc-stats-large .stat-number {
    /*font-size: 1.25rem;*/
    font-weight: bold;
    color: #1e40af;
}

.psc-stats-large .stat-label {
    font-size: 1.5rem;
    color: #64748b;
}

.psc-info-content {
    border-top: 1px solid #e2e8f0;
    padding-top: 1.5rem;
}

.info-row {
    display: flex;
    /*flex-direction: column;*/
    gap: 0.5rem;
}

.info-label {
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 500;
}

.info-value {
    color: #374151;
    font-size: 1rem;
}

/* Obce Section */
.obce-section {
    margin-bottom: 2rem;
}

.section-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    margin-bottom: 1.5rem;
}

.obce-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
}

.obec-card {
    background: white;
    border-radius: 0.5rem;
    padding: 1.25rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.obec-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.obec-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    gap: 1rem;
}

.obec-name h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1e40af;
    margin: 0;
    line-height: 1.3;
}

.obec-badges {
    display: flex;
    gap: 0.5rem;
}

.badge {
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 500;
}

.badge.okres {
    background: #f3f4f6;
    color: #374151;
}

.obec-content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.obec-detail {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.detail-icon {
    font-size: 1rem;
    margin-top: 0.125rem;
}

.detail-text {
    color: #374151;
    font-size: 0.875rem;
    line-height: 1.4;
}

/* Navigation */
.navigation-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
}

.nav-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.nav-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.back-btn {
    background: #6b7280;
    color: white;
}

.back-btn:hover {
    background: #4b5563;
    transform: translateY(-1px);
    text-decoration: none;
    color: white;
}

.search-btn {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
}

.search-btn:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
    text-decoration: none;
    color: white;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 3rem 1rem;
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.no-results-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.no-results h3 {
    font-size: 1.25rem;
    color: #374151;
    margin-bottom: 0.5rem;
}

.no-results p {
    color: #64748b;
    margin-bottom: 1.5rem;
}

.reset-btn {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.reset-btn:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
    text-decoration: none;
    color: white;
}

/* Medium screens */
@media (max-width: 1024px) {
    .psc-list {
        grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
        gap: 1.5rem;
    }
    
    .psc-card {
        max-width: 450px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .psc-list {
        grid-template-columns: 1fr;
        gap: 1rem;
        justify-items: stretch;
    }
    
    .psc-card {
        max-width: none;
        width: 100%;
    }
    
    .psc-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .psc-stats {
        flex-direction: row;
        align-items: center;
        gap: 1rem;
        width: 100%;
        justify-content: space-between;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .search-form {
        margin: 0 1rem;
    }
    
    .search-row {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .search-select {
        min-width: auto;
        width: 100%;
    }
    
    .psc-info-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    
    .psc-stats-large {
        gap: 1rem;
        width: 100%;
    }
    
    .psc-stats-large .stat-item {
        justify-content: center;
        flex: 1;
        min-width: 120px;
    }
    
    .obce-list {
        grid-template-columns: 1fr;
    }
    
    .nav-buttons {
        flex-direction: column;
    }
    
    .nav-btn {
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .psc-number-large .psc-value {
        font-size: 2rem;
    }
}

/* ========================================
   PSČ SPECIFIC STYLES - NO CONFLICTS
   ======================================== */

/* PSČ Search Section */
.psc-search-section {
    padding: 0 0 2rem 0;
}

.psc-search-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.psc-search-form {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.psc-search-row {
    display: flex;
    gap: 1rem;
    align-items: stretch;
    flex-wrap: nowrap;
}

.psc-search-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 1rem;
    background: white;
}

.psc-search-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.psc-search-select {
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 1rem;
    background: white;
    min-width: 200px;
}

.psc-search-select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.psc-search-btn {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.psc-search-btn:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

/* PSČ Statistics Section */
.psc-stats-section {
    /*padding: 2rem 0;*/
    /*background: rgba(255, 255, 255, 0.1);*/
    /*margin: 2rem 0;*/
}

.psc-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.psc-stat-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 0.75rem;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.psc-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.psc-stat-card .psc-stat-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
}

.psc-stat-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.psc-stat-number {
    font-size: 1.5rem;
    font-weight: bold;
    color: #1e40af;
}

.psc-stat-label {
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 500;
}

/* PSČ Cards */
.psc-card {
    background: white;
    border-radius: 0.75rem;
    padding: 1.25rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    width: 100%;
    max-width: 350px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.psc-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: #3b82f6;
}

.psc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.psc-number {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.psc-label {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.psc-value {
    font-size: 1.5rem;
    font-weight: bold;
    color: #1e40af;
}

.psc-stats {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.psc-stat-item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    color: #64748b;
    background: #f8fafc;
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    border: 1px solid #e2e8f0;
    white-space: nowrap;
}

.psc-stat-icon {
    font-size: 1rem;
}

.psc-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.psc-okresy {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.psc-footer {
    display: flex;
    justify-content: center;
    margin-top: auto;
}

.psc-detail-btn {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.psc-detail-btn:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
    text-decoration: none;
    color: white;
}

/* PSČ List Grid */
.psc-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
    justify-items: center;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem;
}

/* PSČ Responsive Design */
@media (max-width: 1024px) {
    .psc-list {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1.25rem;
    }
    
    .psc-card {
        max-width: 320px;
    }
    
    .psc-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .psc-list {
        grid-template-columns: 1fr;
        gap: 1rem;
        justify-items: stretch;
    }
    
    .psc-card {
        max-width: none;
        width: 100%;
    }
    
    .psc-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .psc-stats {
        flex-direction: row;
        align-items: center;
        gap: 1rem;
        width: 100%;
        justify-content: space-between;
    }
    
    .psc-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .psc-search-form {
        margin: 0 1rem;
    }
    
    .psc-search-row {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .psc-search-select {
        min-width: auto;
        width: 100%;
    }
}

@media (max-width: 640px) {
    .psc-stats-grid {
        grid-template-columns: 1fr;
    }
}

/* PSČ Pagination Styles */
.pagination {
    margin-top: 2rem;
    padding: 2rem 0;
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.pagination-info {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.pagination-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.pagination-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-width: 2.5rem;
    height: 2.5rem;
}

.pagination-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    color: white;
}

.pagination-btn.active {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    border-color: #3b82f6;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.pagination-btn.active:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

/* No Results Styles */
.no-results {
    text-align: center;
    padding: 3rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin: 2rem 0;
}

.no-results-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.7;
}

.no-results h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.no-results p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
}

.reset-btn {
    display: inline-block;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.reset-btn:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
    text-decoration: none;
    color: white;
}

/* Pagination Responsive */
@media (max-width: 768px) {
    .pagination-links {
        gap: 0.25rem;
    }
    
    .pagination-btn {
        padding: 0.375rem 0.5rem;
        font-size: 0.75rem;
        min-width: 2rem;
        height: 2rem;
    }
    
    .pagination-info {
        font-size: 0.75rem;
        margin-bottom: 0.75rem;
    }
}

#home-banner-section {
    margin: 0 auto !important;
    padding: 0 1rem;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    position: relative;
    z-index: 1;
    margin-bottom: 3rem;
}

#home-banner-section .home-banner-inner {
    width: 100%;
    max-width: 970px;
    display: flex;
    justify-content: center;
}

#home-banner-section .home-banner-iframe {
    width: 100%;
    aspect-ratio: 970 / 250;
    min-height: 250px;
    border: 0;
    border-radius: 16px;
}

@media (max-width: 600px) {
    #home-banner-section {
        padding: 0 0.5rem;
    }
}