/* ========================================================================
   Maharashtra Today - Enhanced Modern Styles
   ======================================================================== */

/* ========================================================================
   Enhanced Header Styles
   ======================================================================== */

.site-header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 999;
    transition: box-shadow 0.3s ease;
}

body.scrolled .site-header {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.header-top {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    padding: 12px 0;
    font-size: 0.813rem;
    color: #fff;
}

.header-top-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-date {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    letter-spacing: 0.3px;
}

.header-social {
    display: flex;
    gap: 15px;
}

.header-social a {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    font-size: 0.875rem;
    padding: 5px 10px;
    border-radius: 4px;
}

.header-social a:hover {
    color: #fff;
    background: rgba(211, 47, 47, 0.2);
    transform: translateY(-2px);
}

/* Top Navigation Menu */
.top-navigation {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.top-menu {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 15px;
    margin: 0;
    padding: 0;
    list-style: none;
    align-items: center;
}

.top-menu li {
    margin: 0;
    padding: 0;
    display: inline-block;
}

.top-menu a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: inline-block;
    white-space: nowrap;
}

.top-menu a:hover,
.top-menu .current-menu-item > a,
.top-menu .current_page_item > a {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.header-main {
    padding: 25px 0;
    background: #fff;
}

.header-main-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.site-branding {
    flex: 1;
}

.site-title {
    margin: 0;
    font-size: 2.25rem;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #d32f2f 0%, #c62828 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.site-title a {
    background: linear-gradient(135deg, #d32f2f 0%, #c62828 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.site-title a:hover {
    background: linear-gradient(135deg, #b71c1c 0%, #a31818 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.site-description {
    margin: 8px 0 0;
    font-size: 0.938rem;
    color: #777;
    font-weight: 400;
    letter-spacing: 0.3px;
}

.custom-logo-link {
    display: block;
    transition: transform 0.3s ease;
}

.custom-logo-link:hover {
    transform: scale(1.05);
}

.custom-logo {
    max-height: 80px;
    width: auto;
}

.header-search {
    flex-shrink: 0;
    min-width: 280px;
}

/* ========================================================================
   Enhanced Navigation Styles
   ======================================================================== */

.main-navigation {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: #fff;
    padding: 18px 20px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: background 0.3s ease;
}

.menu-toggle:hover {
    background: rgba(211, 47, 47, 0.1);
}

.menu-toggle-icon {
    display: inline-block;
    width: 24px;
    height: 2px;
    background: #fff;
    position: relative;
    transition: all 0.3s ease;
}

.menu-toggle-icon::before,
.menu-toggle-icon::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: #fff;
    left: 0;
    transition: all 0.3s ease;
}

.menu-toggle-icon::before {
    top: -7px;
}

.menu-toggle-icon::after {
    bottom: -7px;
}

.primary-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}

.primary-menu li {
    position: relative;
}

.primary-menu > li {
    margin: 0 2px;
}

.primary-menu a {
    display: block;
    padding: 18px 22px;
    color: #fff;
    font-weight: 600;
    font-size: 0.938rem;
    transition: all 0.3s ease;
    position: relative;
    letter-spacing: 0.3px;
}

.primary-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: #d32f2f;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.primary-menu a:hover,
.primary-menu .current-menu-item > a,
.primary-menu .current_page_item > a {
    color: #fff;
    background: rgba(211, 47, 47, 0.15);
}

.primary-menu a:hover::after,
.primary-menu .current-menu-item > a::after,
.primary-menu .current_page_item > a::after {
    width: 80%;
}

.primary-menu .sub-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    position: absolute;
    top: 100%;
    left: 0;
    background: #2a2a2a;
    min-width: 240px;
    display: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    border-radius: 0 0 8px 8px;
    overflow: hidden;
}

.primary-menu li:hover > .sub-menu {
    display: block;
    animation: slideDown 0.3s ease;
}

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

.primary-menu .sub-menu li {
    margin: 0;
}

.primary-menu .sub-menu a {
    padding: 14px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.875rem;
}

.primary-menu .sub-menu a::after {
    display: none;
}

.primary-menu .sub-menu a:hover {
    background: rgba(211, 47, 47, 0.2);
    padding-left: 26px;
}

/* ========================================================================
   Enhanced Search Form Styles
   ======================================================================== */

.search-form {
    display: flex;
    max-width: 320px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    overflow: hidden;
}

.search-form label {
    flex: 1;
    margin: 0;
}

.search-field {
    width: 100%;
    padding: 12px 18px;
    border: 2px solid transparent;
    border-radius: 8px 0 0 8px;
    font-size: 0.875rem;
    outline: none;
    background: #f8f8f8;
    transition: all 0.3s ease;
}

.search-field:focus {
    border-color: #d32f2f;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.1);
}

.search-submit {
    background: linear-gradient(135deg, #d32f2f 0%, #c62828 100%);
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-submit:hover {
    background: linear-gradient(135deg, #b71c1c 0%, #a31818 100%);
    transform: scale(1.05);
}

.search-submit svg {
    display: block;
}

/* ========================================================================
   Custom Header Media
   ======================================================================== */

.custom-header-media {
    margin: 0 0 50px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.custom-header-media img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.custom-header-media:hover img {
    transform: scale(1.03);
}

/* ========================================================================
   Enhanced Article Cards (Blog Layout)
   ======================================================================== */

.posts-grid {
    display: grid;
    gap: 35px;
    margin-bottom: 50px;
}

.article-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.article-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

.article-thumbnail {
    overflow: hidden;
    aspect-ratio: 16 / 9;
    position: relative;
}

.article-thumbnail::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.article-card:hover .article-thumbnail::after {
    opacity: 1;
}

.article-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.article-card:hover .article-thumbnail img {
    transform: scale(1.08);
}

/* Gradient Placeholder for Posts Without Featured Images */
.gradient-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 25%, #0f3460 50%, #16213e 75%, #1a1a2e 100%);
    background-size: 200% 200%;
    animation: gradientShift 10s ease infinite;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gradient-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    opacity: 0.3;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.article-content {
    padding: 28px;
}

.article-category {
    margin-bottom: 14px;
}

.article-category a {
    display: inline-block;
    background: linear-gradient(135deg, #d32f2f 0%, #c62828 100%);
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(211, 47, 47, 0.3);
}

.article-category a:hover {
    background: linear-gradient(135deg, #b71c1c 0%, #a31818 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.4);
}

.article-title {
    margin: 0 0 14px;
    font-size: 1.625rem;
    line-height: 1.4;
    font-weight: 800;
    letter-spacing: -0.3px;
}

.article-title a {
    color: #1a1a1a;
    transition: color 0.3s ease;
}

.article-title a:hover {
    color: #d32f2f;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    font-size: 0.875rem;
    color: #777;
    margin-bottom: 16px;
    font-weight: 500;
}

.meta-separator {
    color: #ddd;
}

.article-excerpt {
    color: #555;
    line-height: 1.75;
    margin-bottom: 20px;
    font-size: 1rem;
}

.article-excerpt p:last-child {
    margin-bottom: 0;
}

.article-footer {
    border-top: 1px solid #f0f0f0;
    padding-top: 18px;
    margin-top: 20px;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #d32f2f;
    font-weight: 700;
    font-size: 0.938rem;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
}

.read-more:hover {
    color: #b71c1c;
    gap: 12px;
}

.read-more span {
    transition: transform 0.3s ease;
}

.read-more:hover span {
    transform: translateX(4px);
}

/* ========================================================================
   Enhanced Single Article Styles
   ======================================================================== */

.single-article {
    background: #fff;
    border-radius: 12px;
    padding: 45px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.single-article-header {
    margin-bottom: 35px;
}

.single-article-header .article-category {
    margin-bottom: 18px;
}

.single-article-header .article-title {
    font-size: 2.75rem;
    margin-bottom: 20px;
    line-height: 1.3;
    font-weight: 900;
    letter-spacing: -0.5px;
}

.single-article-header .article-meta {
    font-size: 0.938rem;
    padding: 15px 0;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
}

.single-article-thumbnail {
    margin-bottom: 40px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.single-article-thumbnail-gradient {
    aspect-ratio: 16 / 9;
}

.single-article-thumbnail-gradient .gradient-placeholder {
    border-radius: 12px;
}

.single-article-thumbnail img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.single-article:hover .single-article-thumbnail img {
    transform: scale(1.02);
}

.single-article-content {
    font-size: 1.125rem;
    line-height: 1.9;
    color: #333;
}

.single-article-content p {
    margin-bottom: 1.75rem;
}

.single-article-content h2,
.single-article-content h3,
.single-article-content h4 {
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.3px;
}

.single-article-content h2 {
    font-size: 2rem;
    padding-bottom: 12px;
    border-bottom: 3px solid #d32f2f;
}

.single-article-content h3 {
    font-size: 1.625rem;
}

.single-article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 2.5rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.single-article-content blockquote {
    border-left: 5px solid #d32f2f;
    padding: 20px 25px;
    margin: 2.5rem 0;
    font-style: italic;
    color: #555;
    background: #f8f8f8;
    border-radius: 0 8px 8px 0;
    font-size: 1.125rem;
}

.single-article-content ul,
.single-article-content ol {
    margin-bottom: 1.75rem;
    padding-left: 35px;
}

.single-article-content li {
    margin-bottom: 0.75rem;
    line-height: 1.8;
}

.single-article-content a {
    color: #d32f2f;
    font-weight: 600;
    border-bottom: 2px solid rgba(211, 47, 47, 0.2);
    transition: all 0.3s ease;
}

.single-article-content a:hover {
    border-bottom-color: #d32f2f;
}

.page-links {
    margin: 2.5rem 0;
    font-weight: 700;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.page-links a,
.page-links > span {
    padding: 10px 18px;
    background: #f0f0f0;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.page-links a:hover {
    background: #d32f2f;
    color: #fff;
}

.single-article-footer {
    margin-top: 50px;
    padding-top: 35px;
    border-top: 3px solid #e5e5e5;
}

.article-tags {
    margin-bottom: 25px;
}

.tags-label {
    font-weight: 700;
    color: #333;
    margin-right: 10px;
    font-size: 1rem;
}

.article-tags a {
    display: inline-block;
    background: #f5f5f5;
    color: #555;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    margin-right: 8px;
    margin-bottom: 8px;
    transition: all 0.3s ease;
    font-weight: 600;
    border: 2px solid transparent;
}

.article-tags a:hover {
    background: #d32f2f;
    color: #fff;
    border-color: #d32f2f;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.3);
}

.share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid #e5e5e5;
}

.share-label {
    font-weight: 600;
    color: #666;
    font-size: 0.875rem;
    margin-right: 5px;
}

.share-button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.813rem;
    font-weight: 500;
    color: #fff;
    border: none;
    background: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.share-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.share-button svg {
    flex-shrink: 0;
}

.share-facebook {
    background: linear-gradient(135deg, #1877f2 0%, #0d65d9 100%);
}

.share-facebook:hover {
    background: linear-gradient(135deg, #0d65d9 0%, #084db5 100%);
}

.share-twitter {
    background: linear-gradient(135deg, #000 0%, #1a1a1a 100%);
}

.share-twitter:hover {
    background: linear-gradient(135deg, #1a1a1a 0%, #333 100%);
}

.share-linkedin {
    background: linear-gradient(135deg, #0077b5 0%, #005885 100%);
}

.share-linkedin:hover {
    background: linear-gradient(135deg, #005885 0%, #004060 100%);
}

.share-whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #1ebe57 100%);
}

.share-whatsapp:hover {
    background: linear-gradient(135deg, #1ebe57 0%, #128c44 100%);
}

.share-copy {
    background: linear-gradient(135deg, #666 0%, #555 100%);
}

.share-copy:hover {
    background: linear-gradient(135deg, #555 0%, #444 100%);
}

.share-copy.copied {
    background: linear-gradient(135deg, #4caf50 0%, #388e3c 100%);
}

.share-copy.copied .copy-text::before {
    content: '✓ ';
}

/* ========================================================================
   Enhanced Post Navigation
   ======================================================================== */

.post-navigation {
    margin: 50px 0;
    padding: 35px 0;
    border-top: 2px solid #e5e5e5;
    border-bottom: 2px solid #e5e5e5;
}

.nav-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.nav-previous,
.nav-next {
    padding: 25px;
    background: linear-gradient(135deg, #f8f8f8 0%, #f0f0f0 100%);
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.nav-previous:hover,
.nav-next:hover {
    background: #fff;
    border-color: #d32f2f;
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(211, 47, 47, 0.15);
}

.nav-next {
    text-align: right;
}

.nav-subtitle {
    display: block;
    font-size: 0.813rem;
    color: #999;
    margin-bottom: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-title {
    display: block;
    font-weight: 700;
    color: #1a1a1a;
    font-size: 1.125rem;
    line-height: 1.4;
}

/* ========================================================================
   Enhanced Pagination
   ======================================================================== */

.pagination {
    margin: 50px 0;
    text-align: center;
}

.pagination .nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 45px;
    height: 45px;
    padding: 0 16px;
    background: #f5f5f5;
    color: #333;
    border-radius: 8px;
    font-weight: 700;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.page-numbers:hover,
.page-numbers.current {
    background: linear-gradient(135deg, #d32f2f 0%, #c62828 100%);
    color: #fff;
    border-color: #d32f2f;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.3);
}

.page-numbers.dots {
    background: transparent;
    pointer-events: none;
    border: none;
}

/* ========================================================================
   Enhanced Sidebar & Widgets
   ======================================================================== */

.sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
}

.widget {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 35px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.widget:hover {
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.widget:last-child {
    margin-bottom: 0;
}

.widget-title {
    font-size: 1.375rem;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid #d32f2f;
    font-weight: 800;
    letter-spacing: -0.3px;
}

.widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget li {
    padding: 12px 0;
    border-bottom: 1px solid #f5f5f5;
    transition: all 0.3s ease;
}

.widget li:last-child {
    border-bottom: none;
}

.widget li:hover {
    padding-left: 8px;
    background: #f8f8f8;
    margin-left: -8px;
    margin-right: -8px;
    padding-right: 8px;
    border-radius: 6px;
}

.widget a {
    color: #555;
    font-weight: 500;
    transition: color 0.3s ease;
}

.widget a:hover {
    color: #d32f2f;
}

.widget_search .search-form {
    max-width: 100%;
}

.widget_categories ul,
.widget_recent_entries ul,
.widget_pages ul {
    counter-reset: widget-counter;
}

.widget_categories li,
.widget_recent_entries li {
    position: relative;
    padding-left: 30px;
}

.widget_categories li::before,
.widget_recent_entries li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #d32f2f;
    font-weight: bold;
}

/* ========================================================================
   Enhanced Comments
   ======================================================================== */

.comments-area {
    margin-top: 70px;
    padding-top: 50px;
    border-top: 3px solid #e5e5e5;
}

.comments-title {
    margin-bottom: 35px;
    font-size: 2rem;
    font-weight: 800;
}

.comment-list {
    list-style: none;
    padding: 0;
    margin: 0 0 50px;
}

.comment {
    margin-bottom: 35px;
    padding: 30px;
    background: #f8f8f8;
    border-radius: 12px;
    border-left: 4px solid #d32f2f;
    transition: all 0.3s ease;
}

.comment:hover {
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transform: translateX(5px);
}

.comment-body {
    display: flex;
    gap: 20px;
}

.comment-author .avatar {
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.comment-content {
    flex: 1;
}

.comment-author-link {
    font-weight: 700;
    font-size: 1.125rem;
    color: #1a1a1a;
}

.comment-metadata {
    font-size: 0.875rem;
    color: #999;
    margin: 5px 0 15px;
    font-weight: 500;
}

.comment-metadata a {
    color: #999;
    transition: color 0.3s ease;
}

.comment-metadata a:hover {
    color: #d32f2f;
}

.comment-text {
    line-height: 1.75;
    color: #555;
}

.reply {
    margin-top: 15px;
}

.comment-reply-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    color: #d32f2f;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 6px;
    background: rgba(211, 47, 47, 0.1);
    transition: all 0.3s ease;
}

.comment-reply-link:hover {
    background: #d32f2f;
    color: #fff;
    transform: translateY(-2px);
}

.children {
    list-style: none;
    padding-left: 50px;
    margin-top: 25px;
}

.comment-respond {
    margin-top: 50px;
    background: #f8f8f8;
    padding: 40px;
    border-radius: 12px;
}

.comment-reply-title {
    font-size: 1.75rem;
    margin-bottom: 25px;
    font-weight: 800;
}

.comment-form {
    display: grid;
    gap: 20px;
}

.comment-form-comment {
    grid-column: 1 / -1;
}

.comment-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    color: #333;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fff;
}

.comment-form input:focus,
.comment-form textarea:focus {
    border-color: #d32f2f;
    outline: none;
    box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.1);
}

.comment-form textarea {
    min-height: 180px;
    resize: vertical;
}

.form-submit {
    grid-column: 1 / -1;
}

.submit {
    background: linear-gradient(135deg, #d32f2f 0%, #c62828 100%);
    color: #fff;
    border: none;
    padding: 16px 40px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(211, 47, 47, 0.3);
}

.submit:hover {
    background: linear-gradient(135deg, #b71c1c 0%, #a31818 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(211, 47, 47, 0.4);
}

/* ========================================================================
   Enhanced Footer Styles
   ======================================================================== */

.site-footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    color: #ccc;
    margin-top: 80px;
}

.footer-widgets {
    padding: 60px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-widgets-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
}

.footer-widget-area .widget {
    background: transparent;
    border: none;
    padding: 0;
    box-shadow: none;
}

.footer-widget-area .widget:hover {
    transform: none;
}

.footer-widget-area .widget-title {
    color: #fff;
    border-color: #d32f2f;
    font-size: 1.25rem;
}

.footer-widget-area .widget a {
    color: #ccc;
    transition: all 0.3s ease;
}

.footer-widget-area .widget a:hover {
    color: #d32f2f;
    padding-left: 5px;
}

.footer-widget-area .widget li {
    border-color: rgba(255, 255, 255, 0.05);
}

.footer-bottom {
    padding: 30px 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.site-info {
    font-size: 0.938rem;
}

.site-info p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
}

.site-info a {
    color: #fff;
    font-weight: 600;
    transition: color 0.3s ease;
}

.site-info a:hover {
    color: #d32f2f;
}

.footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
}

.footer-menu a {
    color: #ccc;
    font-size: 0.938rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.footer-menu a:hover {
    color: #d32f2f;
}

/* ========================================================================
   Enhanced Scroll to Top Button
   ======================================================================== */

.scroll-to-top {
    position: fixed;
    bottom: 35px;
    right: 35px;
    background: linear-gradient(135deg, #d32f2f 0%, #c62828 100%);
    color: #fff;
    border: none;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(211, 47, 47, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    z-index: 998;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: linear-gradient(135deg, #b71c1c 0%, #a31818 100%);
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(211, 47, 47, 0.5);
}

.arrow-up {
    font-size: 26px;
    line-height: 1;
    font-weight: bold;
}

/* ========================================================================
   Enhanced Page Header
   ======================================================================== */

.page-header {
    margin-bottom: 50px;
    padding: 30px 0 25px;
    border-bottom: 3px solid #d32f2f;
    background: linear-gradient(135deg, #f8f8f8 0%, #fff 100%);
    border-radius: 12px 12px 0 0;
    padding-left: 30px;
}

.page-title {
    margin: 0;
    font-size: 2.5rem;
    font-weight: 900;
    letter-spacing: -0.5px;
}

.archive-description {
    margin-top: 15px;
    color: #666;
    font-size: 1.125rem;
    line-height: 1.6;
}

/* ========================================================================
   Enhanced No Results / 404
   ======================================================================== */

.no-results,
.error-404 {
    text-align: center;
    padding: 80px 40px;
    background: #f8f8f8;
    border-radius: 12px;
}

.no-results .page-header,
.error-404 .page-header {
    border: none;
    background: transparent;
    padding: 0;
    margin-bottom: 30px;
}

.no-results .page-content,
.error-404 .page-content {
    max-width: 650px;
    margin: 0 auto;
}

.no-results .search-form,
.error-404 .search-form {
    max-width: 100%;
    margin: 30px auto;
}

/* ========================================================================
   Enhanced Responsive Design
   ======================================================================== */

@media (max-width: 768px) {
    /* Header Top Mobile */
    .header-top-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .top-navigation {
        width: 100%;
    }

    .top-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }

    .top-menu a {
        font-size: 0.75rem;
        padding: 4px 8px;
    }

    .header-social {
        justify-content: center;
    }

    /* Share Buttons Mobile */
    .share-buttons {
        gap: 8px;
    }

    .share-button {
        font-size: 0.75rem;
        padding: 6px 12px;
        gap: 4px;
    }

    .share-button span {
        display: none;
    }

    .share-button svg {
        margin: 0;
    }

    .header-main-content {
        flex-direction: column;
        text-align: center;
    }

    .header-search {
        width: 100%;
        min-width: auto;
    }

    .search-form {
        max-width: 100%;
    }

    .site-title {
        font-size: 1.875rem;
    }

    .menu-toggle {
        display: block;
    }

    .primary-menu {
        display: none;
        flex-direction: column;
    }

    .primary-menu.toggled {
        display: flex;
    }

    .primary-menu > li {
        margin: 0;
    }

    .primary-menu a {
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .primary-menu a::after {
        display: none;
    }

    .primary-menu .sub-menu {
        position: static;
        box-shadow: none;
        background: rgba(0, 0, 0, 0.2);
        border-radius: 0;
    }

    .article-title {
        font-size: 1.375rem;
    }

    .single-article {
        padding: 30px 20px;
    }

    .single-article-header .article-title {
        font-size: 2rem;
    }

    .single-article-content {
        font-size: 1rem;
    }

    .footer-widgets-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }

    .nav-links {
        grid-template-columns: 1fr;
    }

    .nav-next {
        text-align: left;
    }

    .children {
        padding-left: 20px;
    }

    .comment-respond {
        padding: 25px 20px;
    }

    .scroll-to-top {
        width: 50px;
        height: 50px;
        bottom: 25px;
        right: 25px;
    }
}

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

    .article-title {
        font-size: 1.25rem;
    }

    .single-article-header .article-title {
        font-size: 1.75rem;
    }

    .single-article-content {
        font-size: 0.938rem;
    }

    .comment {
        padding: 20px;
    }

    .comment-body {
        flex-direction: column;
        gap: 15px;
    }
}

/* ========================================================================
   Additional Enhancements
   ======================================================================== */

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
*:focus {
    outline: 3px solid rgba(211, 47, 47, 0.3);
    outline-offset: 2px;
}

/* Loading animation for images */
img.loading {
    opacity: 0;
    transition: opacity 0.3s ease;
}

img.loaded {
    opacity: 1;
}

/* Selection color */
::selection {
    background: #d32f2f;
    color: #fff;
}

::-moz-selection {
    background: #d32f2f;
    color: #fff;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #d32f2f 0%, #c62828 100%);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #b71c1c 0%, #a31818 100%);
}
