* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2c5f2d;
    --secondary-color: #9b4d1c;
    --accent-color: #e74c3c;
    --light-bg: #f8f9fa;
    --border-color: #e1e4e8;
    --text-color: #1f2937;
    --text-secondary: #6b7280;
    --text-tertiary: #9ca3af;
    --success-color: #27ae60;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

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

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(13, 139, 127, 0.3);
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.spinner-container {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 9999;
}

.spinner-container.show {
    display: block;
}

.app-loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    gap: 1rem;
    padding: 2rem;
}

.app-loader .spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(13, 139, 127, 0.3);
    border-top: 4px solid var(--primary-color);
}

.app-loader p {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin: 0;
}

.app-loader.hidden {
    display: none;
}

html {
    height: 100%;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-bg);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding-bottom: 100px;
    transition: background-color 0.4s;
}

@media (prefers-reduced-motion: reduce) {
    body {
        transition: none;
    }
}

.navbar {
    background-color: var(--primary-color);
    color: white;
    padding: 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 101;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    min-height: calc(2.5rem + 6px);
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 2rem;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    height: 100%;
    flex-shrink: 0;
    margin-right: auto;
}

.logo h1 {
    font-size: 2rem;
    margin: 0;
    line-height: 1;
    white-space: nowrap;
}

.hamburger-menu {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 6px;
    padding: 0;
}

.hamburger-menu span {
    width: 25px;
    height: 3px;
    background-color: white;
    border-radius: 2px;
    transition: all 0.3s;
    display: block;
}

.hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2.5rem;
    font-size: 1.1rem;
    align-items: center;
}

.nav-links a {
    color: white;
    text-decoration: none;
    transition: all 0.3s;
    padding: 0 0.9rem;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    width: auto;
    line-height: 1;
    white-space: nowrap;
    font-weight: 600;
}

.nav-links a:hover {
    background-color: rgba(255, 255, 255, 0.25);
    color: white;
    transform: translateY(-2px);
}

.nav-links a.active {
    background-color: rgba(255, 255, 255, 0.35);
    color: white;
    cursor: not-allowed;
    pointer-events: none;
    border-bottom: 3px solid white;
}

.nav-links li {
    position: relative;
}

.nav-links a.disabled-link {
    opacity: 0.5;
    cursor: not-allowed;
}

.submit-article-link {
    text-align: center;
}

.nav-links li:hover .disabled-link::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 0.6rem 0.8rem;
    border-radius: 4px;
    font-size: 0.8rem;
    z-index: 1001;
    white-space: nowrap;
    pointer-events: none;
}

.footer-nav a.disabled-link {
    opacity: 0.5;
    cursor: not-allowed;
}

.footer-nav a.disabled-link:hover {
    background-color: transparent;
}

.hero-section {
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    text-align: center;
    position: fixed;
    top: 38px;
    left: 0;
    right: 0;
    z-index: 98;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    flex-shrink: 0;
    transition: padding 0.3s ease-in-out, height 0.3s ease-in-out;
}

.articles-page, .pricing-page {
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

#app-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
}

#app-content.loaded {
    opacity: 1;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    position: relative;
    opacity: 1;
    max-height: 220px;
    overflow: hidden;
    transition: opacity 0.3s ease-in-out, max-height 0.3s ease-in-out;
}

.hero-content h2 {
    font-size: 1.8rem;
    margin-bottom: 0.2rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-align: center;
}

.hero-content p:not(.hero-subtitle) {
    font-size: 0.65rem;
    margin-bottom: 0.5rem;
    opacity: 0.95;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 0.8rem;
    opacity: 0.95;
    color: white;
    width: 100%;
    max-width: 900px;
    font-weight: 300;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hero-filter-section {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin: 0;
}

.hero-filter-section label {
    font-weight: 600;
    color: white;
}

.hero-filter-section select {
    padding: 0.6rem 1rem;
    border: none;
    border-radius: 6px;
    font-size: 0.95rem;
    min-width: 180px;
    cursor: pointer;
    background-color: white;
    color: #333;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.hero-filter-section select:focus {
    outline: none;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.hero-filter-section input[type="date"] {
    padding: 0.6rem 1rem;
    border: none;
    border-radius: 6px;
    font-size: 0.95rem;
    cursor: pointer;
    background-color: white;
    color: #333;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.hero-filter-section input[type="date"]:focus {
    outline: none;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    position: absolute;
    right: 2rem;
    top: 0.8rem;
}

.hero-buttons .btn {
    padding: 0.3rem 0.5rem;
    font-size: 0.85rem;
    border-radius: 4px;
    transition: all 0.3s;
}

.hero-buttons .btn-primary {
    background-color: transparent;
    color: white;
    font-weight: 400;
    display: inline-flex;
    align-items: center;
}

.hero-buttons .btn-primary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
}

.hero-buttons .btn-primary.active {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    cursor: not-allowed;
    pointer-events: none;
}

.hero-buttons .btn-secondary {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
}

.hero-buttons .btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.hero-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 7.5px 2rem;
    text-align: center;
    width: 100%;
}

.hero-headline {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin: 0 0 1rem 0;
    line-height: 1.2;
    max-width: 800px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.hero-subheadline {
    font-size: 1.2rem !important;
    color: rgba(255, 255, 255, 0.9) !important;
    margin: 0 0 1.5rem 0 !important;
    max-width: 900px !important;
    font-weight: 400 !important;
    letter-spacing: 0.05em !important;
    line-height: 1.6 !important;
}

.hero-cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-cta-buttons .btn {
    transition: all 0.3s ease;
}

.hero-cta-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.hero-collapse-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    cursor: pointer;
    font-size: 1.2rem;
    padding: 5px 10px;
    border-radius: 4px;
    transition: background-color 0.3s;
    z-index: 100;
    align-self: flex-end;
    margin-right: 10px;
    margin-top: 10px;
}

.hero-collapse-btn-left {
    right: auto;
    left: 15px;
}

.hero-collapse-btn-left-down,
.hero-collapse-btn-center,
.hero-collapse-btn-right-down {
    display: none;
}

.hero-collapse-btn-center {
    right: auto;
    left: 50%;
    transform: translateX(-50%);
    margin-right: 0;
}

.hero-collapse-btn-left-down {
    right: auto;
    left: 15px;
}

.hero-collapse-btn-right-down {
    right: 15px;
    left: auto;
}

.hero-collapse-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.hero-section.collapsed {
    padding: 8px 15px;
    height: 40px;
    min-height: 40px;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.hero-section.collapsed .hero-content {
    opacity: 0;
    max-height: 0;
}

.hero-section.collapsed .hero-collapse-btn,
.hero-section.collapsed .hero-collapse-btn-left {
    display: none;
}

.hero-section.collapsed .hero-collapse-btn-left-down {
    display: block;
    position: absolute;
    left: 15px;
    top: 8px;
    margin: 0;
    padding: 5px 10px;
}

.hero-section.collapsed .hero-collapse-btn-center {
    display: block;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 8px;
    margin: 0;
    padding: 5px 10px;
}

.hero-section.collapsed .hero-collapse-btn-right-down {
    display: block;
    position: absolute;
    right: 15px;
    top: 8px;
    margin: 0;
    padding: 5px 10px;
}

.pricing-intro-section {
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-value-proposition {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.login-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
}

.login-modal.show {
    display: flex;
}

.login-modal-content {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    position: relative;
}

.close-modal {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 2rem;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
    transition: color 0.3s;
}

.close-modal:hover {
    color: #000;
}

#login-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-group-error {
    color: #dc2626;
    font-size: 0.875rem;
}

.form-group input {
    padding: 0.6rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group input.input-error {
    border-color: #dc2626;
    background-color: #fee2e2;
}

.checkbox-row {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.checkbox-row div {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.forgot-password {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
}

.forgot-password:hover {
    text-decoration: underline;
}

.login-footer {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.9rem;
}

.login-footer a {
    color: var(--primary-color);
    text-decoration: none;
}

.login-footer a:hover {
    text-decoration: underline;
}

.login-modal.modal-background {
    background-color: rgba(0, 0, 0, 0.2);
    pointer-events: none;
}

.login-modal.modal-background .login-modal-content {
    opacity: 0.5;
}

.login-register-modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
}

.login-register-modal.show {
    display: flex;
}

.vote-signup-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    background-color: transparent;
}

.vote-signup-modal.show {
    display: block;
}

.vote-signup-modal.modal-background {
    background-color: rgba(0, 0, 0, 0.2);
    z-index: 1001;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    align-items: center;
    justify-content: center;
    display: block;
    position: fixed;
}

.vote-signup-modal.modal-background .vote-signup-modal-content {
    opacity: 0.5;
}

.vote-register-modal {
    display: none;
    position: fixed;
    z-index: 1002;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    overflow: auto;
    padding: 0.5rem 0;
}

.vote-register-modal.show {
    display: block;
}

.vote-reset-password-modal {
    display: none;
    position: fixed;
    z-index: 1002;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    overflow: auto;
    padding: 0.5rem 0;
}

.vote-reset-password-modal.show {
    display: block;
}

.vote-reset-password-modal .vote-signup-modal-content {
    margin: 0 auto;
    margin-top: 0.5vh;
}

.vote-register-modal .vote-signup-modal-content {
    margin: 0 auto;
    margin-top: 0.5vh;
}

.vote-signup-modal-content {
    background-color: white;
    padding: 1rem;
    border-radius: 8px;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    position: relative;
}

.vote-signup-close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 2rem;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
    transition: color 0.3s;
}

.vote-signup-close:hover {
    color: #000;
}

#vote-signup-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#vote-register-form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.checkbox-group {
    flex-direction: row !important;
    align-items: center;
    gap: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
    margin: 0;
    width: auto;
}

.button-group {
    flex-direction: row !important;
    gap: 0.5rem;
    justify-content: center;
}

.button-group button {
    flex: 1;
}

.vote-signup-links {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    margin-top: 1rem;
    margin-bottom: 0;
    justify-content: center;
}

.vote-signup-link {
    color: #007bff;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.vote-signup-link:hover {
    color: #0056b3;
    text-decoration: underline;
}

.btn {
    padding: 0.6rem 1.2rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
}

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

.btn-primary:hover {
    background-color: #1e3c1f;
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: white;
}

.btn-secondary:hover {
    background-color: #643212;
}

.login-link {
    cursor: pointer;
    color: white;
}

.login-link:hover {
    text-decoration: underline;
}

.trust-section {
    background-color: #f8f9fa;
    padding: 3rem 0;
    margin: 2rem 0;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

.trust-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    padding: 0 1rem;
}

.trust-card {
    text-align: center;
    padding: 1.5rem;
}

.trust-stat {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.trust-label {
    font-size: 1rem;
    color: #666;
    font-weight: 500;
}

.how-it-works-section {
    padding: 3rem 0;
    background-color: white;
}

.how-it-works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.how-it-works-column {
    padding: 2rem;
    background-color: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.how-it-works-column h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    margin-top: 0;
}

.how-it-works-list {
    margin: 0;
    padding-left: 1.5rem;
    list-style-position: inside;
}

.how-it-works-list li {
    margin-bottom: 1rem;
    color: #333;
    line-height: 1.6;
}

.articles-header {
    margin-bottom: 1.5rem;
    padding: 1rem 0;
}

.articles-controls {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: nowrap;
    justify-content: center;
}

.search-box {
    width: 100%;
}

.search-box input {
    width: 100%;
    max-width: 400px;
}

.filters-box {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-section {
    background-color: #f8f9fa;
    padding: 4rem 0;
    margin-top: 4rem;
    border-top: 1px solid #e0e0e0;
}

.faq-section h2 {
    text-align: center;
    font-size: 2rem;
    color: #333;
    margin-bottom: 3rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 0 1rem;
}

.faq-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.faq-item h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin: 0 0 1rem 0;
}

.faq-item p {
    color: #666;
    margin: 0;
    line-height: 1.6;
    font-size: 0.95rem;
}

.faq-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.faq-item a:hover {
    text-decoration: underline;
}

.container {
    max-width: 95%;
    margin: 0 auto;
    padding: 0 2rem 2rem 2rem;
    flex: 1;
    width: 100%;
    overflow: visible;
}

.header-section {
    text-align: center;
    margin-bottom: 1rem;
}

.header-section h2 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.header-section p {
    color: #666;
    font-size: 1.0rem;
}

.filter-section {
    margin-bottom: 0.5rem;
    padding: 0.5rem 2rem;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.filter-section .filter-row-combined {
    display: flex;
    gap: 1.25rem;
    align-items: flex-end;
    flex-wrap: nowrap;
    background: #fff;
    padding: 1.25rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.filter-section .search-box-wrapper {
    flex: 2;
    min-width: 0;
}

.filter-section .filter-item {
    flex: 1;
    min-width: 0;
}

.filter-section .filter-item.filter-button-group {
    flex: 0 0 auto;
}

.filter-label {
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
}

#article-search {
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 0.95rem;
    min-width: 300px;
    background: white;
    transition: all 0.3s ease;
}

#article-search:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(44, 95, 45, 0.1);
}

#article-search::placeholder {
    color: var(--text-tertiary);
}

#clear-search {
    padding: 0.5rem 0.75rem;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    cursor: pointer;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    font-size: 1rem;
}

#clear-search:hover {
    background: var(--light-bg);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

#category-dropdown,
#start-date-filter,
#end-date-filter {
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 0.95rem;
    width: 100%;
    cursor: pointer;
    background: white;
    color: var(--text-color);
    transition: all 0.3s ease;
}

#category-dropdown option {
    padding: 0.75rem;
    color: var(--text-color);
}

#category-dropdown:hover,
#start-date-filter:hover,
#end-date-filter:hover {
    border-color: var(--primary-color);
}

#category-dropdown:focus,
#start-date-filter:focus,
#end-date-filter:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(44, 95, 45, 0.1);
}

.articles-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    margin-bottom: 3rem;
    padding-top: 0.125rem;
    justify-content: space-around;
    align-items: stretch;
}

.empty-state {
    flex-basis: 100%;
    text-align: center;
    padding: 3rem 2rem;
    color: var(--text-secondary);
}

.empty-state-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.6;
}

.empty-state h3 {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.error-state {
    flex-basis: 100%;
    text-align: center;
    padding: 2rem;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 10px;
    margin: 1rem 0;
}

.error-state h3 {
    color: #dc2626;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.error-state p {
    color: #991b1b;
    margin-bottom: 1rem;
}

.error-state button {
    padding: 0.75rem 1.5rem;
    background: #dc2626;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.error-state button:hover {
    background: #991b1b;
}

.empty-state p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.loading-skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.loading-placeholder {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3rem;
}

.loading-placeholder .spinner {
    width: 40px;
    height: 40px;
    border-width: 4px;
}

.article-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    flex: 0 1 calc(25% - 2rem);
    min-width: 280px;
    min-height: 100%;
    padding: 1.5rem;
    position: relative;
    animation: fadeInUp 0.5s ease-out forwards;
}

.article-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
    z-index: 10;
}

.article-card-content {
    padding: 0;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.article-card-content h3 {
    color: var(--text-color);
    margin: 0 0 1rem 0;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: -0.3px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 3.5rem;
    transition: color 0.3s ease;
}

.article-card:hover .article-card-content h3 {
    color: var(--primary-color);
}

.article-card-content p {
    color: var(--text-secondary);
    margin: 0 0 1.2rem 0;
    line-height: 1.6;
    font-size: 0.95rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 4.5rem;
}

.article-author {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.8rem;
    transition: color 0.3s ease;
}

.article-author:hover {
    color: var(--secondary-color);
}

.article-publish-date {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    font-weight: 500;
    flex: 1;
    text-align: right;
    transition: color 0.3s ease;
}

.article-publish-date-new {
    background-color: #ff6b6b;
    color: white;
    padding: 0.3rem 0.6rem;
    border-radius: 3px;
    font-size: 0.7rem;
    font-weight: 600;
}

.article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid #f0f0f0;
    gap: 0.5rem;
}

.article-vote-buttons {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    background: #f8f9fa;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
}

.vote-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    transition: all 0.2s ease;
    font-size: 0.8rem;
    padding: 0.1rem 0.2rem;
    color: var(--text-secondary);
}

.vote-btn:hover {
    color: var(--primary-color);
    transform: scale(1.1);
}

.vote-icon {
    font-size: 1rem;
    display: block;
}

.vote-count {
    font-size: 0.8rem;
    color: var(--text-color);
    font-weight: 600;
}

.article-views {
    font-size: 0.8rem;
    color: var(--text-tertiary);
    font-weight: 500;
}

.pagination-container {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 2rem 0;
    flex-wrap: wrap;
    z-index: 10;
    position: relative;
}

.pagination-btn {
    padding: 0.3rem 0.6rem;
    border: 1px solid var(--border-color);
    background-color: white;
    color: var(--primary-color);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.9rem;
    z-index: 10;
    position: relative;
}

.pagination-btn:hover {
    background-color: var(--primary-color);
    color: white;
}

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

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-bottom {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin: 0;
    z-index: 10;
    position: relative;
    align-items: center;
    width: 100%;
}

#sticky-footer {
    position: sticky;
    bottom: 0;
    background-color: var(--primary-color);
    color: white;
    padding: 5px 0;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
    z-index: 50;
    width: 100%;
    min-height: 38px;
    flex-shrink: 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

#sticky-footer #pagination-bottom {
    flex: 1;
    display: flex;
    justify-content: center;
}

.footer-links {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-size: 0.8rem;
    opacity: 0.9;
    transition: all 0.2s;
    font-weight: 500;
}

.footer-links a:hover {
    opacity: 1;
    text-decoration: underline;
}

.footer-separator {
    color: white;
    font-size: 0.8rem;
    opacity: 0.5;
}

#sticky-footer #items-per-page {
    padding: 0.15rem 0.3rem;
    border: 1px solid white;
    background-color: white;
    color: var(--primary-color);
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.75rem;
}

#sticky-footer #items-per-page:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

.marketing-sidebar {
    position: fixed;
    top: 38px;
    left: -400px;
    width: 400px;
    height: calc(100vh - 38px);
    background-color: white;
    border-right: 1px solid #e0e0e0;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    transition: left 0.3s ease;
    z-index: 100;
    padding: 2rem 1.5rem;
}

.marketing-sidebar.visible {
    left: 0;
}

.trust-section-sidebar h3, .how-it-works-section-sidebar h3, .faq-section-sidebar h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
    color: var(--text-color);
}

.trust-card-sidebar {
    background: #f0f4f0;
    border-radius: 8px;
    margin-bottom: 1rem;
    padding: 1rem;
    text-align: center;
}

.how-it-works-column-sidebar {
    margin-bottom: 1.5rem;
}

.how-it-works-column-sidebar h4 {
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.filter-group-header {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 0.5rem;
}

.faq-sidebar {
    position: fixed;
    top: 38px;
    right: -400px;
    width: 400px;
    height: calc(100vh - 38px);
    background-color: white;
    border-left: 1px solid #e0e0e0;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    transition: right 0.3s ease;
    z-index: 100;
    padding: 2rem 1.5rem;
}

.faq-sidebar.visible {
    right: 0;
}

.sidebar-close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #999;
    transition: color 0.3s;
}

.sidebar-close-btn:hover {
    color: #333;
}

.trust-section-sidebar,
.how-it-works-section-sidebar,
.faq-section-sidebar {
    margin-bottom: 2.5rem;
}

.trust-section-sidebar h3,
.how-it-works-section-sidebar h3,
.faq-section-sidebar h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
    color: var(--text-color);
}

.trust-card-sidebar {
    background: #f0f4f0;
    border-radius: 8px;
    margin-bottom: 1rem;
    padding: 1.2rem;
    text-align: center;
    transition: transform 0.2s;
}

.trust-card-sidebar:hover {
    transform: translateY(-2px);
}

.trust-stat-sidebar {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.3rem;
}

.trust-label-sidebar {
    font-size: 1rem;
    color: #666;
    font-weight: 500;
}

.how-it-works-grid-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.how-it-works-column-sidebar {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    margin-bottom: 1rem;
}

.how-it-works-column-sidebar h4 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    margin-top: 0;
}

.how-it-works-list {
    margin: 0;
    padding-left: 1.2rem;
}

.how-it-works-list li {
    margin-bottom: 0.8rem;
    color: #444;
    line-height: 1.5;
    font-size: 1rem;
}

.faq-items-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item-sidebar {
    background-color: #f8f9fa;
    padding: 1rem;
    border-radius: 6px;
}

.faq-item-sidebar h4 {
    font-size: 1.15rem;
    color: var(--primary-color);
    margin: 0 0 0.5rem 0;
}

.faq-item-sidebar p {
    margin: 0;
    color: #666;
    font-size: 1rem;
    line-height: 1.5;
}

.faq-item-sidebar a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
}

.faq-item-sidebar a:hover {
    text-decoration: underline;
}

.marketing-toggle-btn {
    position: fixed;
    top: 180px;
    left: 2rem;
    padding: 0.8rem 1.5rem;
    background-color: var(--secondary-color);
    color: white;
    border: 2px solid var(--secondary-color);
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    z-index: 98;
    font-size: 1.1rem;
}

.faq-toggle-btn {
    position: fixed;
    top: 180px;
    right: 2rem;
    padding: 0.8rem 1.5rem;
    background-color: var(--secondary-color);
    color: white;
    border: 2px solid var(--secondary-color);
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    z-index: 98;
    font-size: 1.1rem;
}

.marketing-toggle-btn:hover,
.faq-toggle-btn:hover {
    background-color: #643212;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.marketing-toggle-btn.hidden,
.faq-toggle-btn.hidden {
    display: none !important;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.footer-nav a {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-nav a:hover {
    color: var(--primary-color);
}

.not-found-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 200px);
    padding: 2rem;
}

.not-found-content {
    text-align: center;
}

.not-found-content h1 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.not-found-content p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
}

.pricing-cards {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin: 2rem 0;
}

.pricing-card {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 2rem;
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.pricing-card h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin: 1rem 0 0.5rem 0;
    font-weight: 700;
}

.pricing-card .price {
    font-size: 2.5rem;
    color: var(--primary-color);
    font-weight: 700;
    margin: 1rem 0 0.25rem 0;
}

.pricing-card .subtitle {
    color: #666;
    font-size: 0.9rem;
    margin: 0 0 1.5rem 0;
}

.pricing-card .features {
    list-style: none;
    margin: 1.5rem 0;
    padding: 0;
    text-align: left;
}

.pricing-card .features li {
    padding: 0.6rem 0;
    color: #555;
    font-size: 0.95rem;
}

.pricing-card .checkmark {
    color: var(--success-color);
    font-weight: bold;
    margin-right: 0.5rem;
}

.pricing-card.platinum {
    border-color: var(--primary-color);
    border-width: 2px;
}

.pricing-card.featured {
    border-color: var(--accent-color);
    border-width: 2px;
}

.pricing-card .badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--primary-color);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.pricing-section {
    padding: 0 0 2rem 0;
}

.pricing-section h2 {
    text-align: center;
    font-size: 2rem;
    color: #333;
    margin-top: 0;
    margin-bottom: 1rem;
}

.section-heading {
    text-align: center;
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.section-description {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.contact-page {
    background-color: white;
    display: block;
    min-height: calc(100vh - 100px);
    width: 100%;
    padding-top: 0;
}

.about-page {
    background-color: white;
    display: block;
    min-height: calc(100vh - 100px);
    width: 100%;
    padding-top: 0;
}

.contact-page .container,
.submit-page .container {
    padding: 2rem;
    background-color: white;
    margin: 0 auto;
    max-width: 600px;
    width: 100%;
}

.about-page .container {
    padding: 2rem 0 0 0;
    background-color: transparent;
    margin: 0;
    margin-top: 0;
    max-width: 100%;
    width: 100%;
    transition: margin-top 0.3s ease-in-out;
}

.form-container {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #D4AF37;
}

.form-container h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.form-container p {
    color: #666;
    font-size: 1rem;
    margin-bottom: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.form-group label {
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(13, 139, 127, 0.1);
}

.form-group.checkbox {
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
}

.form-group.checkbox input {
    margin: 0;
    width: auto;
}

.form-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.form-buttons .btn {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 4px;
    text-align: center;
    display: none;
}

.form-message.success {
    display: block;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    display: block;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.char-count {
    font-size: 0.85rem;
    color: #999;
    text-align: right;
    margin-top: 0.25rem;
}

#submission-section,
#link-insertion-section {
    max-width: 50%;
    margin: 0 auto;
}

.about-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.about-section > h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.about-section > .lead {
    font-size: 1.3rem;
    color: #666;
    text-align: center;
    margin-bottom: 3rem;
    font-style: italic;
}

.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.about-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #D4AF37;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.about-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: #D4AF37;
}

.about-card h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin: 0 0 1.5rem 0;
    font-weight: 700;
}

.about-card p {
    color: #555;
    font-size: 1rem;
    line-height: 1.8;
    margin: 0;
    flex-grow: 1;
}

.about-list {
    margin: 0;
    padding-left: 1.5rem;
    list-style-position: outside;
}

.about-list li {
    margin-bottom: 1rem;
    color: #555;
    font-size: 1rem;
    line-height: 1.8;
}

.about-list li strong {
    color: var(--primary-color);
    font-weight: 700;
}

.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e3c1f 100%);
    padding: 3.5rem 2rem;
    border-radius: 12px;
    text-align: center;
    margin-top: 4rem;
}

.cta-section h3 {
    color: white;
    font-size: 2rem;
    margin-bottom: 2rem;
    font-weight: 700;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.3s ease;
    background-color: #D4AF37;
    color: var(--primary-color);
    border: 2px solid #D4AF37;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
}

.cta-buttons .btn:hover {
    background-color: transparent;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

@keyframes slideInModal {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideOutRight {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(100%);
    }
}

.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10001;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 400px;
}

.toast {
    padding: 1rem 1.5rem;
    background: white;
    border-left: 4px solid var(--primary-color);
    border-radius: 6px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: slideInRight 0.3s ease-out;
    min-width: 280px;
}

.toast.toast-success {
    border-left-color: var(--success-color);
}

.toast.toast-error {
    border-left-color: var(--accent-color);
}

.toast.toast-info {
    border-left-color: #3b82f6;
}

.toast-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.toast-message {
    color: var(--text-color);
    font-weight: 500;
    flex: 1;
}

.toast-close {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-secondary);
    font-size: 1.2rem;
    padding: 0;
    flex-shrink: 0;
    transition: color 0.2s ease;
}

.toast-close:hover {
    color: var(--text-color);
}

.toast.closing {
    animation: slideOutRight 0.3s ease-out forwards;
}

.article-modal-full {
    animation: fadeIn 0.3s ease-out;
}

.article-modal-full > div {
    animation: slideInModal 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-backdrop {
    animation: fadeIn 0.3s ease-out;
}

button, input, select {
    transition: all 0.3s ease;
}

button:active {
    transform: scale(0.98);
}

.pagination-btn {
    transition: all 0.2s ease;
}

.pagination-btn:hover:not(.active) {
    background-color: var(--light-bg);
    transform: translateY(-1px);
}

.pagination-btn.active {
    animation: fadeInUp 0.3s ease-out;
}

@media (max-width: 768px) {
    .about-section {
        padding: 2rem 1rem;
    }

    .about-section > h2 {
        font-size: 2rem;
    }

    .about-section > .lead {
        font-size: 1.1rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .cta-section {
        padding: 2rem 1rem;
    }

    .cta-section h3 {
        font-size: 1.5rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .cta-buttons .btn {
        width: 100%;
    }

    .contact-page .container {
        max-width: 90%;
    }
    
    #submission-section,
    #link-insertion-section {
        max-width: 90%;
    }
    
    .filter-section {
        padding: 0.375rem 1.5rem;
        gap: 1rem;
    }
    
    .filter-section .filter-row-combined {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .filter-section .search-box-wrapper {
        gap: 0.5rem;
    }
    
    .filter-section .filter-group {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .filter-section .filter-item {
        gap: 0.35rem;
    }
    
    .filter-section .filter-item.filter-button-group {
        justify-content: center;
    }
    
    .filter-label {
        font-size: 0.75rem;
    }
    
    #article-search,
    #category-dropdown,
    #start-date-filter,
    #end-date-filter {
        font-size: 16px;
    }
    
    .articles-grid {
        justify-content: center;
    }

    .article-card {
        flex: 0 1 calc(50% - 1.5rem);
        min-width: 200px;
    }

    .nav-links {
        gap: 1rem;
        font-size: 0.95rem;
    }

    .marketing-sidebar,
    .faq-sidebar {
        width: 100%;
        right: -100%;
    }

    .marketing-toggle-btn,
    .faq-toggle-btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }

    .logo h1 {
        font-size: 1.5rem;
    }

    .hero-headline {
        font-size: 1rem;
    }

    .hero-subheadline {
        font-size: 9pt !important;
    }
}

@media (max-width: 480px) {
    .article-card {
        flex: 0 1 100%;
        min-width: 100%;
    }

    .articles-grid {
        gap: 1.5rem;
    }

    .nav-links {
        gap: 0.5rem;
        font-size: 0.85rem;
    }

    .nav-links a {
        padding: 0 0.5rem;
        height: 35px;
    }
    
    .toast-container {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }
    
    .toast {
        min-width: auto;
        width: 100%;
    }
    
    .toast-message {
        font-size: 0.9rem;
    }

    .logo h1 {
        font-size: 1.2rem;
    }

    .hero-headline {
        font-size: 0.95rem;
    }

    .hero-subheadline {
        font-size: 8pt !important;
    }
}

.footer-logoff-btn {
    padding: 8px 16px;
    background-color: #dc3545;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    margin-top: 10px;
    transition: background-color 0.3s ease;
}

.footer-logoff-btn:hover {
    background-color: #c82333;
}

.footer-logoff-btn:active {
    background-color: #bd2130;
}

input.invalid, textarea.invalid, select.invalid {
    border: 2px solid #dc3545 !important;
    background-color: #fff8f8 !important;
}
