/* ==============================
   Additional Styles
   ============================== */

/* Admin notice for Polylang */
.rotarius-admin-notice {
    background: #f0f9ff;
    border-left: 4px solid #0ea5e9;
    padding: 1rem;
    margin: 1rem 0;
}
.rotarius-admin-notice p {
    margin: 0;
}

/* Smooth page transitions */
.page-content {
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Form error styling */
.form-error {
    color: #dc2626;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
}

/* Info panel transitions */
.info-panel {
    display: none;
    animation: fadeIn 0.5s ease;
}
.info-panel.active {
    display: grid;
}

/* News archive header */
.archive-header {
    padding-top: 8rem;
    padding-bottom: 3rem;
    text-align: center;
}
.archive-header h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
}
.archive-header p {
    color: #6b7280;
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 4rem;
    padding: 2rem 0;
}
.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.9375rem;
    font-weight: 500;
    transition: all 0.2s;
}
.pagination a {
    background: white;
    border: 1px solid #e5e7eb;
    color: #374151;
}
.pagination a:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
}
.pagination .current {
    background: #111827;
    color: white;
}

/* Solution detail page */
.solution-hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: flex-end;
    padding: 8rem 0 4rem;
    color: white;
    overflow: hidden;
}
.solution-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.solution-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.solution-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 60%, rgba(0,0,0,0.1) 100%);
}
.solution-hero-content {
    position: relative;
    z-index: 2;
}
.solution-hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1rem;
}
.solution-hero-content p {
    font-size: 1.25rem;
    opacity: 0.85;
    max-width: 600px;
    line-height: 1.6;
}
