/* =====================================================
   NEWS WEBSITE - MAIN STYLESHEET
   Theme Colors: Red + Navy Blue (matched with logo)
   ===================================================== */

/* ---------- 1. CSS VARIABLES ---------- */
:root {
    /* Brand Colors (from logo) */
    --primary: #E31E24;
    --primary-dark: #B71C1C;
    --primary-light: #FF5A5F;
    --secondary: #2E2A6E;
    --secondary-dark: #1A1747;
    --secondary-light: #4A45A0;

    /* Neutral Colors */
    --text-dark: #1a1a1a;
    --text-body: #333333;
    --text-muted: #6c757d;
    --text-light: #999999;
    --bg-body: #f5f6f8;
    --bg-white: #ffffff;
    --bg-light: #fafafa;
    --border: #e4e6eb;
    --border-dark: #cccccc;

    /* Status */
    --success: #2e7d32;
    --danger: #c62828;
    --warning: #f9a825;
    --info: #0277bd;

    /* Fonts */
    --font-heading: 'Noto Sans Devanagari', 'Georgia', serif;
    --font-body: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, .08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, .10);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, .15);

    /* Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 14px;

    /* Layout */
    --container: 1200px;
    --transition: all .25s ease;
}

/* ---------- 2. RESET ---------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-body);
    background: var(--bg-body);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

ul, ol { list-style: none; }

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input, textarea, select {
    font-family: inherit;
    font-size: 15px;
}

/* ---------- 3. TYPOGRAPHY ---------- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    line-height: 1.3;
    font-weight: 700;
    margin-bottom: .6em;
}

h1 { font-size: 2.2rem; }
h2 { font-size: 1.7rem; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.15rem; }
h5 { font-size: 1rem; }
h6 { font-size: .9rem; }

p {
    margin-bottom: 1em;
    color: var(--text-body);
}

/* ---------- 4. CONTAINER ---------- */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -12px;
}

.col {
    flex: 1;
    padding: 0 12px;
}

/* ---------- 5. TOP BAR ---------- */
.top-bar {
    background: var(--secondary);
    color: #fff;
    font-size: 13px;
    padding: 8px 0;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.top-bar-date { color: #bbb; }

.top-bar-links {
    display: flex;
    gap: 18px;
    align-items: center;
}

.top-bar-links a {
    color: #ddd;
    font-size: 13px;
}

.top-bar-links a:hover { color: #fff; }

.top-bar-social {
    display: flex;
    gap: 10px;
}

.top-bar-social a {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 12px;
}

.top-bar-social a:hover { background: var(--primary); }

/* ---------- 6. HEADER / LOGO ---------- */
.site-header {
    background: var(--bg-white);
    padding: 18px 0;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

/* Logo Image Style */
.site-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.site-logo img {
    max-height: 70px;
    width: auto;
    object-fit: contain;
}

.site-logo-text {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--secondary);
    letter-spacing: -1px;
    line-height: 1;
}

.site-logo-text span {
    color: var(--primary);
}

.site-tagline {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 4px;
}

.header-ad {
    max-width: 468px;
    flex-shrink: 0;
}

.header-ad img {
    width: 100%;
    border-radius: var(--radius-sm);
}

/* ---------- 7. NAVIGATION ---------- */
.main-nav {
    background: var(--primary);
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: var(--shadow-md);
}

.main-nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-menu {
    display: flex;
    flex-wrap: wrap;
}

.nav-menu > li { position: relative; }

.nav-menu > li > a {
    display: block;
    color: #fff;
    padding: 15px 16px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
    white-space: nowrap;
}

.nav-menu > li > a:hover,
.nav-menu > li.active > a {
    background: var(--secondary);
}

/* Dropdown */
.nav-menu .dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 220px;
    box-shadow: var(--shadow-md);
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 99;
    border-top: 3px solid var(--secondary);
}

.nav-menu > li:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-menu .dropdown li a {
    display: block;
    padding: 10px 16px;
    color: var(--text-body);
    font-size: 14px;
    border-bottom: 1px solid var(--border);
}

.nav-menu .dropdown li a:hover {
    background: var(--bg-light);
    color: var(--primary);
    padding-left: 22px;
}

.nav-search-btn {
    color: #fff;
    font-size: 18px;
    padding: 15px 18px;
}

.nav-search-btn:hover { background: var(--secondary); }

.nav-toggle {
    display: none;
    color: #fff;
    font-size: 24px;
    padding: 12px 16px;
}

/* ---------- 8. BREAKING NEWS TICKER ---------- */
.breaking-news {
    background: var(--bg-white);
    border-bottom: 2px solid var(--primary);
    overflow: hidden;
}

.breaking-news .container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.breaking-label {
    background: var(--primary);
    color: #fff;
    padding: 12px 18px;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
    position: relative;
    flex-shrink: 0;
}

.breaking-label::after {
    content: '';
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    border-left: 10px solid var(--primary);
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
}

.breaking-ticker {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
    padding: 12px 0;
}

.breaking-ticker a {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 14px;
    display: inline-block;
    animation: ticker 25s linear infinite;
}

.breaking-ticker a:hover { color: var(--primary); }

@keyframes ticker {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* ---------- 9. SECTION HEADINGS ---------- */
.section { padding: 30px 0; }

.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
    border-bottom: 2px solid var(--border);
    padding-bottom: 10px;
}

.section-heading h2 {
    position: relative;
    margin: 0;
    font-size: 1.4rem;
    padding-left: 14px;
    color: var(--secondary);
}

.section-heading h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 24px;
    background: var(--primary);
    border-radius: 3px;
}

.section-heading .view-all {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--primary);
}

.section-heading .view-all:hover { color: var(--secondary); }

/* ---------- 10. NEWS CARD ---------- */
.news-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.news-card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: #eee;
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.news-card:hover .news-card-image img {
    transform: scale(1.08);
}

.news-card-category {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--primary);
    color: #fff;
    padding: 5px 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    border-radius: var(--radius-sm);
}

.news-card-body {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-card-title {
    font-size: 1.05rem;
    margin-bottom: 8px;
    line-height: 1.4;
}

.news-card-title a { color: var(--text-dark); }

.news-card-title a:hover { color: var(--primary); }

.news-card-excerpt {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 12px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: var(--text-light);
    border-top: 1px solid var(--border);
    padding-top: 10px;
    margin-top: auto;
}

.news-card-meta span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* ---------- 11. NEWS GRID ---------- */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 22px;
}

.news-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.news-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.news-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- 12. HERO SECTION ---------- */
.hero-section {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 22px;
    margin-bottom: 30px;
}

.hero-main {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    min-height: 420px;
    background: #000;
}

.hero-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .85;
}

.hero-main-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, .9), transparent);
    color: #fff;
}

.hero-main-content .category {
    display: inline-block;
    background: var(--primary);
    padding: 5px 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 12px;
    border-radius: var(--radius-sm);
}

.hero-main-content h2 {
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.hero-main-content h2 a { color: #fff; }

.hero-main-content h2 a:hover { color: var(--primary-light); }

.hero-main-content .meta {
    color: #ccc;
    font-size: 13px;
}

.hero-side {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hero-side-item {
    display: flex;
    gap: 12px;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.hero-side-item:hover { box-shadow: var(--shadow-md); }

.hero-side-item img {
    width: 110px;
    height: 90px;
    object-fit: cover;
    flex-shrink: 0;
}

.hero-side-item .body {
    padding: 10px 12px 10px 0;
    flex: 1;
}

.hero-side-item h4 {
    font-size: .95rem;
    margin-bottom: 5px;
    line-height: 1.35;
}

.hero-side-item h4 a { color: var(--text-dark); }

.hero-side-item h4 a:hover { color: var(--primary); }

.hero-side-item .meta {
    font-size: 12px;
    color: var(--text-light);
}

/* ---------- 13. SIDEBAR ---------- */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.widget {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

.widget-title {
    font-size: 1.1rem;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border);
    position: relative;
    color: var(--secondary);
}

.widget-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 50px;
    height: 2px;
    background: var(--primary);
}

/* Trending list */
.trending-list li {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.trending-list li:last-child { border-bottom: none; }

.trending-list .rank {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--border);
    line-height: 1;
    min-width: 32px;
}

.trending-list h4 {
    font-size: .92rem;
    margin: 0;
    line-height: 1.4;
}

.trending-list h4 a { color: var(--text-dark); }

.trending-list h4 a:hover { color: var(--primary); }

/* ---------- 14. ARTICLE / NEWS DETAILS ---------- */
.article-wrapper {
    display: grid;
    grid-template-columns: 2.2fr 1fr;
    gap: 30px;
    padding: 30px 0;
}

.article-header { margin-bottom: 20px; }

.article-category {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    padding: 5px 14px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    margin-bottom: 14px;
}

.article-title {
    font-size: 2rem;
    line-height: 1.25;
    margin-bottom: 14px;
    color: var(--secondary);
}

.article-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    font-weight: 400;
    margin-bottom: 16px;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
    padding: 12px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    font-size: 13px;
    color: var(--text-muted);
}

.article-meta .author {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--text-dark);
}

.article-meta .author img {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
}

.article-featured-image {
    margin: 20px 0;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.article-featured-image img { width: 100%; }

.article-featured-image figcaption {
    background: var(--bg-light);
    padding: 10px 16px;
    font-size: 13px;
    color: var(--text-muted);
    font-style: italic;
}

.article-content {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--text-body);
}

.article-content p { margin-bottom: 1.4em; }

.article-content h2,
.article-content h3 {
    margin-top: 1.6em;
    color: var(--secondary);
}

.article-content img {
    border-radius: var(--radius-sm);
    margin: 1em 0;
}

.article-content blockquote {
    border-left: 4px solid var(--primary);
    background: var(--bg-light);
    padding: 16px 20px;
    margin: 1.5em 0;
    font-style: italic;
    color: var(--text-muted);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.article-content a {
    color: var(--primary);
    text-decoration: underline;
}

/* ---------- 15. SHARE BUTTONS ---------- */
.share-buttons {
    display: flex;
    gap: 10px;
    padding: 20px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin: 24px 0;
}

.share-buttons span {
    font-weight: 600;
    color: var(--text-muted);
    margin-right: 8px;
    align-self: center;
}

.share-buttons a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 15px;
    transition: var(--transition);
}

.share-buttons a:hover { transform: translateY(-3px); }

.share-facebook { background: #1877f2; }
.share-twitter { background: #1da1f2; }
.share-whatsapp { background: #25d366; }
.share-telegram { background: #0088cc; }
.share-linkedin { background: #0a66c2; }

/* ---------- 16. TAGS ---------- */
.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 20px 0;
}

.tags a {
    background: var(--bg-light);
    border: 1px solid var(--border);
    color: var(--text-body);
    padding: 5px 12px;
    font-size: 13px;
    border-radius: 20px;
    transition: var(--transition);
}

.tags a:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* ---------- 17. COMMENTS ---------- */
.comments-section {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 24px;
    margin-top: 30px;
    box-shadow: var(--shadow-sm);
}

.comment-item {
    display: flex;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}

.comment-item:last-child { border-bottom: none; }

.comment-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--secondary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
}

.comment-body .name {
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.comment-body .date {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 8px;
}

.comment-form {
    margin-top: 24px;
}

.comment-form textarea,
.comment-form input {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    resize: vertical;
}

.comment-form textarea:focus,
.comment-form input:focus {
    outline: none;
    border-color: var(--primary);
}

/* ---------- 18. BUTTONS ---------- */
.btn {
    display: inline-block;
    padding: 10px 22px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    background: var(--primary-dark);
    color: #fff;
}

.btn-secondary {
    background: var(--secondary);
    color: #fff;
}

.btn-secondary:hover {
    background: var(--secondary-dark);
    color: #fff;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: #fff;
}

/* ---------- 19. PAGINATION ---------- */
.pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 30px 0;
}

.pagination a,
.pagination span {
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-body);
    font-weight: 600;
    font-size: 14px;
}

.pagination a:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.pagination .active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* ---------- 20. BREADCRUMBS ---------- */
.breadcrumbs {
    background: var(--bg-white);
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    font-size: 13px;
}

.breadcrumbs ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.breadcrumbs li { color: var(--text-muted); }

.breadcrumbs li + li::before {
    content: '›';
    margin-right: 8px;
    color: var(--text-light);
    font-size: 16px;
}

.breadcrumbs a { color: var(--text-muted); }

.breadcrumbs a:hover { color: var(--primary); }

.breadcrumbs .active { color: var(--text-dark); font-weight: 600; }

/* ---------- 21. QUIZ ---------- */
.quiz-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.quiz-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.quiz-card img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.quiz-card-body { padding: 18px; }

.quiz-badge {
    display: inline-block;
    background: var(--secondary);
    color: #fff;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
}

/* Quiz question */
.quiz-question {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
}

.quiz-question h3 {
    margin-bottom: 18px;
    color: var(--secondary);
}

.quiz-options label {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    margin-bottom: 10px;
    cursor: pointer;
    transition: var(--transition);
}

.quiz-options label:hover {
    border-color: var(--primary-light);
    background: var(--bg-light);
}

.quiz-options input[type="radio"] {
    accent-color: var(--primary);
    width: 18px;
    height: 18px;
}

.quiz-options label.selected {
    border-color: var(--primary);
    background: rgba(227, 30, 36, .05);
}

/* ---------- 22. EXIT POLL ---------- */
.poll-box {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 24px;
}

.poll-box h3 {
    color: var(--secondary);
    margin-bottom: 18px;
}

.poll-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    margin-bottom: 10px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.poll-option:hover {
    border-color: var(--primary);
}

.poll-option input {
    display: none;
}

.poll-option.selected {
    border-color: var(--primary);
    background: rgba(227, 30, 36, .05);
}

.poll-option .option-text {
    font-weight: 600;
    position: relative;
    z-index: 2;
}

.poll-option .option-percent {
    font-weight: 700;
    color: var(--primary);
    position: relative;
    z-index: 2;
}

.poll-option .progress-bar {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background: rgba(227, 30, 36, .1);
    z-index: 1;
    transition: width .6s ease;
}

/* ---------- 23. FOOTER ---------- */
.site-footer {
    background: var(--secondary);
    color: #ccc;
    padding: 50px 0 0;
    margin-top: 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 30px;
    padding-bottom: 40px;
}

.footer-col h4 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: var(--primary);
}

.footer-about p {
    color: #aaa;
    font-size: 14px;
    margin-bottom: 16px;
}

.footer-logo {
    max-height: 60px;
    margin-bottom: 16px;
    background: #fff;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #aaa;
    font-size: 14px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-light);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 14px;
    color: #aaa;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-bottom {
    background: var(--secondary-dark);
    padding: 18px 0;
    text-align: center;
    font-size: 13px;
    color: #999;
    border-top: 1px solid rgba(255, 255, 255, .05);
}

.footer-bottom a { color: #ccc; }

.footer-bottom a:hover { color: var(--primary-light); }

/* ---------- 24. SEARCH FORM ---------- */
.search-form {
    display: flex;
    gap: 0;
    max-width: 500px;
    width: 100%;
}

.search-form input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-right: none;
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
    outline: none;
}

.search-form input:focus {
    border-color: var(--primary);
}

.search-form button {
    background: var(--primary);
    color: #fff;
    padding: 0 22px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-weight: 600;
    transition: var(--transition);
}

.search-form button:hover {
    background: var(--primary-dark);
}

/* ---------- 25. UTILITIES ---------- */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }
.text-muted { color: var(--text-muted); }
.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }

.py-2 { padding: 16px 0; }
.py-3 { padding: 24px 0; }
.py-4 { padding: 32px 0; }

.d-flex { display: flex; }
.d-none { display: none; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }

.badge {
    display: inline-block;
    padding: 3px 10px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 20px;
}

.badge-primary { background: var(--primary); color: #fff; }
.badge-secondary { background: var(--secondary); color: #fff; }
.badge-success { background: var(--success); color: #fff; }
.badge-danger { background: var(--danger); color: #fff; }
.badge-warning { background: var(--warning); color: #fff; }

/* ---------- 26. SCROLL TO TOP ---------- */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 46px;
    height: 46px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    cursor: pointer;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: var(--secondary);
    transform: translateY(-4px);
}

/* ---------- 27. SKELETON LOADER ---------- */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton 1.5s infinite;
    border-radius: var(--radius-sm);
}

@keyframes skeleton {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}