.text-center {
text-align:center;
}

.mtop0{margin-top: 0px;}
.mtop5{margin-top: 5px;}
.mtop10{margin-top: 10px;}
.mtop15{margin-top: 15px;}
.mtop20{margin-top: 20px;}
.mtop30{margin-top: 30px;}
.mtop40{margin-top: 40px;}
.mtop50{margin-top: 50px;}
.mtop60{margin-top: 60px;}
.mtop70{margin-top: 70px;}
.mtop80{margin-top: 80px;}
.mtop90{margin-top: 90px;}
.mtop100{margin-top: 100px;}

.mbot0{margin-bottom: 0px;}
.mbot5{margin-bottom: 5px;}
.mbot10{margin-bottom: 10px;}
.mbot20{margin-bottom: 20px;}
.mbot30{margin-bottom: 30px;}
.mbot40{margin-bottom: 40px;}
.mbot50{margin-bottom: 50px;}
.mbot60{margin-bottom: 60px;}
.mbot70{margin-bottom: 70px;}
.mbot80{margin-bottom: 80px;}
.mbot90{margin-bottom: 90px;}
.mbot100{margin-bottom: 100px;}

.aimage {
width:100%;
}

        /* Sponsor Cards CSS - Prefixed to avoid conflicts */
        .sponsor-grid-container {
            margin: 2rem 0 3rem 0;
        }

        .sponsor-card {
            background: #ffffff;
            border: 1px solid #e9ecef;
            border-radius: 8px;
            overflow: hidden;
            transition: all 0.3s ease;
            text-decoration: none;
            color: inherit;
            display: block;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
            height: 100%;
        }

        .sponsor-card:hover {
            background: #F2F2F2;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
            text-decoration: none;
            color: inherit;
        }

        .sponsor-card:focus {
            outline: 2px solid #A23659;
            outline-offset: 2px;
        }

        .sponsor-logo-container {
            width: 100%;
            height: 0;
            padding-bottom: 55%; /* Maintains 500x275 aspect ratio (275/500 = 0.55) */
            position: relative;
            overflow: hidden;
            background: transparent;
        }

        .sponsor-logo {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: contain;
            object-position: center;
            padding: 15px; /* Increased padding around the image */
            box-sizing: border-box;
        }

        .sponsor-info {
            padding: 20px;
        }

        .sponsor-name {
            font-size: 1.3rem;
            font-weight: 700;
            color: #212529;
            margin-bottom: 8px;
            line-height: 1.3;
        }

        .sponsor-location {
            font-size: 1rem;
            font-weight: 500;
            color: #6c757d;
            margin-bottom: 8px;
            line-height: 1.3;
        }

        .sponsor-website {
            font-size: 0.95rem;
            color: #A23659;
            margin-bottom: 15px;
            word-break: break-all;
            line-height: 1.4;
        }

        .sponsor-category {
            font-size: 0.9rem;
            color: #6c757d;
            line-height: 1.4;
            margin-top: 15px;
            padding-top: 15px;
            border-top: 1px solid #e9ecef;
        }

        .sponsor-category-label {
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .sponsor-category-name {
            margin-top: 5px;
            font-weight: 500;
            color: #495057;
        }

        /* Responsive adjustments using Foundation breakpoints */
        @media screen and (max-width: 639px) {
            .sponsor-info {
                padding: 15px;
            }
            
            .sponsor-name {
                font-size: 1.1rem;
            }
            
            .sponsor-location {
                font-size: 0.95rem;
            }
            
            .sponsor-website {
                font-size: 0.9rem;
            }
            
            .sponsor-logo {
                padding: 20px; /* Slightly less padding on mobile */
            }
        }

        @media screen and (min-width: 640px) and (max-width: 1023px) {
            .sponsor-logo-container {
                padding-bottom: 50%;
            }
        }

        /* Ensure cards have equal heights in grid */
        .cg-block-grid > * {
            display: flex;
            flex-direction: column;
        }

        /* Vendor-prefixed CSS to avoid conflicts */
        .vndr-business-locator {
            font-family: Arial, sans-serif;
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
        }
        
        .vndr-business-locator * {
            box-sizing: border-box;
        }
        
        .vndr-title {
            font-size: 24px;
            font-weight: bold;
            margin-bottom: 20px;
            color: #333;
        }
        
        .vndr-city-grid {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-bottom: 30px;
        }
        
        .vndr-city-button {
            background-color: #555; /* Changed from #666 for better contrast */
            color: white;
            border: none;
            padding: 15px 20px;
            cursor: pointer;
            font-size: 14px;
            transition: background-color 0.3s ease;
            min-width: 140px;
            text-align: center;
        }
        
        .vndr-city-button:hover {
            background-color: #444; /* Adjusted for consistent progression */
        }
        
        .vndr-city-button:active,
        .vndr-city-button.vndr-active {
            background-color: #333;
        }
        
        .vndr-search-section {
            margin-top: 30px;
        }
        
        .vndr-search-header {
            font-size: 20px;
            margin-bottom: 20px;
            color: #333;
        }
        
        .vndr-reset-link {
            color: #007acc;
            text-decoration: none;
            margin-left: 10px;
        }
        
        .vndr-reset-link:hover {
            text-decoration: underline;
        }
        
        .vndr-business-list {
            display: none;
        }
        
        .vndr-business-item {
            border: 1px solid #ccc;
            padding: 20px;
            margin-bottom: 15px;
            background-color: #fff;
        }
        
        .vndr-business-name {
            font-size: 18px;
            font-weight: bold;
            margin-bottom: 5px;
            color: #333;
        }
        
        .vndr-business-address {
            margin-bottom: 3px;
            color: #666;
        }
        
        .vndr-business-city {
            margin-bottom: 10px;
            color: #666;
        }
        
        .vndr-map-link {
            color: #007acc;
            text-decoration: none;
        }
        
        .vndr-map-link:hover {
            text-decoration: underline;
        }
        
        .vndr-loading {
            text-align: center;
            padding: 20px;
            color: #666;
        }
        
        .vndr-no-results {
            text-align: center;
            padding: 20px;
            color: #666;
            font-style: italic;
        }
        
        .vndr-error {
            text-align: center;
            padding: 20px;
            color: #d32f2f;
            background-color: #ffebee;
            border: 1px solid #ffcdd2;
            margin: 10px 0;
        }
        
        /* Responsive design */
        @media (max-width: 768px) {
            .vndr-city-grid {
                gap: 5px;
            }
            
            .vndr-city-button {
                min-width: 120px;
                padding: 12px 15px;
                font-size: 13px;
            }
        }
        
        @media (max-width: 480px) {
            .vndr-city-button {
                min-width: 100px;
                padding: 10px 12px;
                font-size: 12px;
            }
        }

/* hr */
hr {
    border: none;
    height: 1px;
    background-color: #E5E5E5;
    margin: 10px 0;
}

/* auth-style.css - Styles for authentication system */
/* Authentication System Styles */
.auth-login-container {
    max-width: 375px;
    margin: 20px auto;
    padding: 20px;
    background: #f5f5f5;
    border-radius: 5px;
}

.auth-login-form h3 {
    margin: 0 0 15px 0;
    text-align: center;
}

.auth-field {
    margin-bottom: 10px;
}

.auth-field label {
    display: block;
    margin-bottom: 3px;
    font-weight: bold;
}

.auth-field input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 3px;
    box-sizing: border-box;
}

.auth-button {
    width: 100%;
    padding: 10px;
    background: #222222;
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
}

.auth-button:hover {
    background: #333333;
}

.auth-message {
    padding: 8px;
    margin-bottom: 10px;
    border-radius: 3px;
    text-align: center;
}

.auth-error {
    background: #ffe6e6;
    color: #d63384;
}

.auth-success {
    background: #e6ffe6;
    color: #0f5132;
}

.auth-logout-container {
    text-align: right;
    margin-bottom: 10px;
}

.auth-logout-form {
    display: inline;
}

.auth-logout-button {
    padding: 5px 10px;
    font-size: 16px;
    background: #222222;
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    text-decoration: none;
}

.auth-logout-button:hover {
    background: #333333;
    color:#FFFFFF;
}

.backbutton {
    padding: 5px 10px;
    font-size: 16px;
    background: #A23659;
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    text-decoration: none;
}

.backbutton:hover {
    background: #8B2E4A;
    color:#FFFFFF;
}

@media (max-width: 639px) {
    .content-main {
        text-align: center;
    }
    
    .auth-login-container {
        text-align: left; /* Reset text alignment inside the container */
        display: inline-block;
        width: calc(100vw - 2rem);
        max-width: 500px;
        margin: 20px auto;
    }
}

.small-only {
  display: none;
}

@media (max-width: 768px) {
  .small-only {
    display: inline; /* or block, inline-block depending on your needs */
  }
}

.jfwelcome-description {
font-size:20px;
}

        .article-system {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
            background: #fff;
        }

        .article-header {
            display: flex;
            justify-content: flex-end;
            align-items: center;
            margin-bottom: 40px;
            padding-bottom: 20px;
            border-bottom: 2px solid #f0f0f0;
        }

        .article-header-buttons {
            display: flex;
            gap: 10px;
        }

        .article-logout-button {
            padding: 5px 10px;
            font-size: 16px;
            background: #222222;
            color: white;
            border: none;
            border-radius: 3px;
            cursor: pointer;
            text-decoration: none;
        }

        .article-logout-button:hover {
            background: #111111;
            color: #FFFFFF;
        }

        .article-back-button {
            padding: 5px 10px;
            font-size: 16px;
            background: #A23659;
            color: white;
            border: none;
            border-radius: 3px;
            cursor: pointer;
            text-decoration: none;
        }

        .article-back-button:hover {
            background: #8B2E4A;
            color: #FFFFFF;
        }

        .article-controls {
            margin-bottom: 30px;
            background: #f8f9fa;
            padding: 20px;
            border-radius: 8px;
        }

        .article-controls form {
            display: flex;
            flex-wrap: wrap;
            gap: 15px;
            align-items: center;
            justify-content: space-between;
        }

        .article-search-container {
            display: flex;
            gap: 10px;
            flex: 1;
            min-width: 300px;
        }

        .article-search-input {
            flex: 1;
            padding: 12px 16px;
            border: 2px solid #e1e5e9;
            border-radius: 8px;
            font-size: 16px;
        }

        .article-search-input:focus {
            outline: none;
            border-color: #222222;
        }

        .article-category-select, .article-sort-select {
            padding: 12px 16px;
            border: 2px solid #e1e5e9;
            border-radius: 8px;
            font-size: 16px;
            background: white;
            min-width: 150px;
            cursor: pointer;
        }

        .article-search-button {
            background: #222222;
            color: white;
            border: none;
            padding: 12px 20px;
            border-radius: 8px;
            font-size: 16px;
            cursor: pointer;
            transition: background-color 0.3s ease;
        }

        .article-search-button:hover {
            background: #111111;
        }

        .article-list {
            display: flex;
            flex-direction: column;
            gap: 50px;
            margin-top: 30px;
        }

        .article-card {
            display: flex;
            background: #ffffff;
            border-radius: 12px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
            overflow: hidden;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            min-height: 200px;
        }

        .article-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
        }

        .article-card.clickable {
            cursor: pointer;
        }

        .article-image-container {
            position: relative;
            width: 400px;
            height: 225px; /* 16:9 ratio (400/225 = 1.777...) */
            flex-shrink: 0;
            overflow: hidden;
            background: #f8f9fa;
        }

        .article-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s ease;
        }

        .article-card.clickable:hover .article-image {
            transform: scale(1.05);
        }

        .article-category-badge {
            display: inline-block;
            background-color: #333333;
            color: white;
            padding: 4px 8px;
            border-radius: 4px;
            font-size: 0.8em;
            font-weight: 600;
            margin-top: 10px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            align-self: flex-start; /* Prevents badge from stretching */
        }

        .article-content {
            padding: 0 24px 24px 24px; /* No top padding at all */
            flex: 1;
            display: flex;
            flex-direction: column;
            /* Remove justify-content: space-between; */
        }

        .article-card-title {
            font-size: 1.8rem;
            font-weight: 700;
            color: #2c3e50;
            margin: 0 0 16px 0; /* Ensure no top margin */
            line-height: 1.3;
            padding-top: 0; /* Explicitly no top padding */
        }

        .article-excerpt {
            color: #6c757d;
            font-size: 1rem;
            line-height: 1.6;
            margin: 0 0 20px 0;
            flex: 1; /* This will push the category badge to the bottom */
        }

.article-meta {
    display: flex;
    justify-content: flex-start; /* left aligned as you mentioned */
    color: #868e96;
    font-size: 0.9rem;
    margin-top: 5px; /* Small gap between category and date */
}

        .article-date {
            font-style: italic;
        }

        .article-card.cartoon {
            flex-direction: column;
            text-align: center;
            background: #f8f9fa;
            cursor: default;
            min-height: auto;
        }

        .article-card.cartoon:hover {
            transform: none;
        }

        .article-card.cartoon .article-image-container {
            width: 100%;
            max-width: 750px;
            height: auto;
            aspect-ratio: 1/1; /* Perfect square ratio */
            position: relative;
            background: #f8f9fa;
            margin: 0 auto;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .article-card.cartoon .article-image {
            max-width: 90%;
            max-height: 90%;
            width: auto;
            height: auto;
            object-fit: contain;
            position: static;
            transform: none;
        }

        .article-card.cartoon .article-image:hover {
            transform: none;
        }

        .article-card.cartoon .article-content {
            padding: 20px;
            text-align: center;
            background: #f8f9fa;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }

        .article-cartoon-text {
            background: #ffffff;
            border: 2px solid #e9ecef;
            border-radius: 8px;
            padding: 15px;
            margin-top: 15px;
            font-size: 1.1rem;
            line-height: 1.6;
            color: #495057;
            font-style: italic;
            display: none;
            max-width: 500px;
        }

        .article-cartoon-button {
            background: #222222;
            color: white;
            border: none;
            padding: 12px 24px;
            border-radius: 6px;
            font-size: 1rem;
            cursor: pointer;
            transition: background-color 0.3s ease;
            margin-top: 15px;
        }

        .article-cartoon-button:hover {
            background: #111111;
        }

        .article-cartoon-button.active {
            background: #333333;
        }

        .article-card.cartoon .article-meta {
            justify-content: center;
            margin-top: 15px;
        }

        .article-disclaimer {
            background: #f8f9fa;
            border-left: 4px solid #6c757d;
            padding: 12px 16px;
            margin-top: 20px;
            font-size: 0.9rem;
            color: #6c757d;
            font-style: italic;
            line-height: 1.4;
        }

        .article-no-results {
            text-align: center;
            padding: 60px 20px;
            color: #6c757d;
        }

        .article-no-results-icon {
            font-size: 4rem;
            margin-bottom: 20px;
            opacity: 0.5;
        }

        .article-no-results-text {
            font-size: 1.2rem;
            margin: 0;
        }

        @media (max-width: 768px) {
            .article-system {
                padding: 15px;
            }

            .article-header {
                justify-content: flex-end;
            }

            .article-controls form {
                flex-direction: column;
                align-items: stretch;
            }

            .article-search-container {
                min-width: auto;
            }

            .article-card {
                flex-direction: column;
                min-height: auto;
            }

            .article-image-container {
                width: 100%;
                height: 225px; /* Maintain 16:9 on mobile for articles */
            }

            .article-card.cartoon .article-image-container {
                width: 100%;
                max-width: 400px; /* Smaller on mobile but still responsive */
            }

            .article-card-title {
                font-size: 1.4rem;
            }
        }

        @media (max-width: 480px) {
            .article-search-container {
                flex-direction: column;
            }

            .article-category-select,
            .article-sort-select {
                min-width: auto;
            }
        }

        .article-display {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            max-width: 800px;
            margin: 0 auto;
            padding: 40px 20px;
            background: #fff;
            line-height: 1.7;
        }

        .article-display-header {
            margin-bottom: 40px;
        }

        .article-display-title {
            font-size: 2rem;
            font-weight: 700;
            color: #2c3e50;
            margin: 0 0 20px 0;
            line-height: 1.3;
        }

        .article-display-date-only {
            margin-bottom: 30px;
            padding-bottom: 20px;
            border-bottom: 1px solid #e9ecef;
            color: #6c757d;
            font-size: 0.9rem;
            font-style: italic;
        }

        .article-display-image-container {
            width: 100%;
            margin-bottom: 40px;
            border-radius: 12px;
            overflow: hidden;

        }

        .article-display-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .article-display-content {
            color: #495057;
            font-size: 1.1rem;
            line-height: 1.7;
            margin: 0;
        }

        .article-display-back {
            display: inline-block;
            background: #6c757d;
            color: white;
            text-decoration: none;
            padding: 12px 24px;
            border-radius: 6px;
            font-weight: 600;
            transition: background-color 0.3s ease;
            margin-top: 40px;
        }

        .article-display-back:hover {
            background: #5a6268;
            text-decoration: none;
            color: white;
        }

        .article-display-navigation {
            margin-top: 60px;
            padding-top: 30px;
            border-top: 1px solid #e9ecef;
            text-align: center;
        }

        .article-disclaimer-stock {
            background: #f8f9fa;
            border-left: 4px solid #6c757d;
            padding: 15px 20px;
            margin-top: 30px;
            font-size: 16px;
            color: #6c757d;
            font-style: italic;
            line-height: 1.5;
        }

        .article-disclaimer-legal {
            background: #f1f3f4;
            border: 1px solid #dee2e6;
            padding: 20px;
            margin-top: 40px;
            font-size: 16px;
            color: #495057;
            line-height: 1.6;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .article-display {
                padding: 20px 15px;
            }

            .article-display-title {
                font-size: 1.8rem;
            }

            .article-display-image-container {
                height: 250px;
                margin-bottom: 30px;
            }

            .article-display-content {
                font-size: 1.05rem;
            }
        }

        @media (max-width: 480px) {
            .article-display-title {
                font-size: 1.5rem;
            }

            .article-display-image-container {
                height: 200px;
            }

            .article-display-content {
                font-size: 1rem;
                line-height: 1.7;
            }
        }

        .poll-container {
            max-width: 1000px;
            margin: 20px auto;
            font-family: Arial, sans-serif;
            padding: 20px;
        }

        .poll-title {
            font-size: 24px;
            font-weight: bold;
            margin-bottom: 10px;
            text-align: center;
        }

        .poll-description {
            font-size: 18px;
            color: #666;
            margin-bottom: 20px;
            text-align: center;
        }

        .poll-notice {
            font-size: 16px;
            color: #555;
            text-align: center;
            margin-bottom: 20px;
            padding: 12px;
            background: #f8f9fa;
            border-radius: 6px;
            border-left: 4px solid #007bff;
        }

        .poll-notice.poll-closed {
            background: #f8d7da;
            border-left-color: #dc3545;
            color: #721c24;
        }

        .poll-auth-warning {
            background: #fff3cd;
            color: #856404;
            border: 1px solid #ffeaa7;
            border-radius: 6px;
            padding: 15px;
            margin-bottom: 20px;
            text-align: center;
        }

        .poll-already-voted {
            background: #F2F2F2;
            color: #222222;
            border: 1px solid #993353;
            border-radius: 6px;
            padding: 15px;
            margin-bottom: 20px;
            text-align: center;
        }

        .poll-options {
            display: grid;
            grid-template-columns: 1fr;
            gap: 15px;
            margin-bottom: 20px;
        }

        @media (min-width: 768px) {
            .poll-options {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        .poll-option {
            border: 2px solid #ddd;
            border-radius: 8px;
            padding: 15px;
            background: white;
            cursor: pointer;
            text-align: center;
            transition: all 0.3s ease;
        }

        .poll-option:hover:not(.poll-disabled) {
            border-color: #222222;
        }

        .poll-option:focus {
            outline: 2px solid #007bff;
            outline-offset: 2px;
        }

        .poll-option.poll-selected {
            border-color: #222222;
            background: #f5f5f5;
        }

        .poll-option.poll-voted {
            border-color: #993353;
            background: #F2F2F2;
        }

        .poll-option.poll-disabled {
            opacity: 0.6;
            cursor: not-allowed;
        }

        .poll-option-image {
            width: 100%;
            max-width: 325px;
            object-fit: cover;
            border-radius: 6px;
            margin-bottom: 10px;
        }

        .poll-option-text {
            font-size: 16px;
            font-weight: bold;
            margin-bottom: 5px;
        }

        .poll-option-alt {
            font-size: 14px;
            color: #666;
        }

        .poll-vote-button {
            background: #222222;
            color: white;
            border: none;
            padding: 12px 30px;
            font-size: 16px;
            border-radius: 6px;
            cursor: pointer;
            display: block;
            margin: 20px auto;
            transition: background-color 0.3s ease;
        }

        .poll-vote-button:hover:not(:disabled) {
            background: #333333;
        }

        .poll-vote-button:focus {
            outline: 2px solid #007bff;
            outline-offset: 2px;
        }

        .poll-vote-button:disabled {
            background: #999;
            cursor: not-allowed;
        }

        .poll-message {
            text-align: center;
            padding: 15px;
            border-radius: 6px;
            margin: 15px 0;
        }

        .poll-message.poll-success {
            background: #d4edda;
            color: #155724;
        }

        .poll-message.poll-error {
            background: #f8d7da;
            color: #721c24;
        }

        .poll-results {
            margin-top: 20px;
        }

        .poll-results h3 {
            text-align: center;
            margin-bottom: 20px;
        }

        .poll-result-item {
            background: white;
            border: 1px solid #ddd;
            border-radius: 6px;
            padding: 15px;
            margin-bottom: 10px;
        }

        .poll-result-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 8px;
        }

        .poll-result-bar {
            height: 20px;
            background: #e9ecef;
            border-radius: 10px;
            overflow: hidden;
        }

        .poll-result-fill {
            height: 100%;
            background: #222222;
            border-radius: 10px;
            transition: width 0.5s ease;
        }

        .poll-voted-indicator {
            background: #993353;
            color: white;
            padding: 2px 8px;
            border-radius: 12px;
            font-size: 12px;
            margin-left: 8px;
        }

        .poll-total-votes {
            text-align: center;
            margin-top: 15px;
            font-size: 16px;
            color: #666;
        }

        .sr-only {
            position: absolute;
            width: 1px;
            height: 1px;
            padding: 0;
            margin: -1px;
            overflow: hidden;
            clip: rect(0, 0, 0, 0);
            white-space: nowrap;
            border: 0;
        }

        .poll-list-container {
            max-width: 900px;
            margin: 20px auto;
            font-family: Arial, sans-serif;
            padding: 20px;
        }

        .poll-list-title {
            font-size: 28px;
            font-weight: bold;
            margin-bottom: 30px;
            text-align: center;
            color: #222222;
        }

        .poll-section {
            margin-bottom: 40px;
        }

        .poll-section h2 {
            font-size: 22px;
            color: #222222;
            margin-bottom: 20px;
            border-bottom: 2px solid #993353;
            padding-bottom: 8px;
        }

        .poll-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 20px;
        }

        @media (min-width: 768px) {
            .poll-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        .poll-card {
            background: white;
            border: 2px solid #ddd;
            border-radius: 8px;
            padding: 20px;
            transition: all 0.3s ease;
            text-decoration: none;
            color: inherit;
            display: block;
        }

        .poll-card:hover {
            border-color: #222222;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
            text-decoration: none;
            color: inherit;
        }

        .poll-card:focus {
            outline: 2px solid #007bff;
            outline-offset: 2px;
        }

        .poll-card.poll-closed {
            border-color: #993353;
            opacity: 0.8;
        }

        .poll-card.poll-closed:hover {
            border-color: #993353;
        }

        .poll-card-title {
            font-size: 22px;
            font-weight: bold;
            margin-bottom: 8px;
            color: #222222;
        }

        .poll-card-description {
            font-size: 18px;
            color: #666;
            margin-bottom: 12px;
            line-height: 1.4;
        }

        .poll-card-status {
            font-size: 16px;
            padding: 4px 8px;
            border-radius: 4px;
            font-weight: bold;
            display: inline-block;
        }

        .poll-card-status.poll-active {
            background: #F2F2F2;
            color: #222222;
        }

        .poll-card-status.poll-ending-soon {
            background: #fff3cd;
            color: #856404;
        }

        .poll-card-status.poll-closed {
            background: #993353;
            color: white;
        }

        .poll-card-date {
            font-size: 14px;
            color: #666;
            margin-top: 8px;
        }

        .poll-empty-message {
            text-align: center;
            color: #666;
            font-style: italic;
            padding: 40px 20px;
            background: #f8f9fa;
            border-radius: 8px;
        }

        .poll-error-message {
            background: #f8d7da;
            color: #721c24;
            border: 1px solid #f5c6cb;
            border-radius: 6px;
            padding: 15px;
            margin: 20px 0;
            text-align: center;
        }

        .sr-only {
            position: absolute;
            width: 1px;
            height: 1px;
            padding: 0;
            margin: -1px;
            overflow: hidden;
            clip: rect(0, 0, 0, 0);
            white-space: nowrap;
            border: 0;
        }

.article-card > * {
    margin-top: 0 !important;
    padding-top: 10px !important;
}

.article-content > *:first-child {
    margin-top: 0 !important;
    padding-top: 10px !important;
}

.article-display img {
width:100%;
}