/*
Theme Name: Supchat Theme
Description: WordPress theme based on Supchat website design
Version: 1.0
Author: Supchat
*/

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

html, body {
    width: 100%;
    overflow-x: hidden;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    background-color: var(--primary-bg);
    color: var(--text-color);
    overflow-x: hidden;
}

:root {
    --primary-bg: #1a202c;
    --secondary-bg: #2d3748;
    --sidebar-bg: #232a3b;
    --accent-color: #6366f1;
    --accent-hover: #4f46e5;
    --text-color: #e4e4e7;
    --text-secondary: #a1a1aa;
    --border-color: #4a5568;
    --accent-glow: rgba(99, 102, 241, 0.3);
}

header, .subscription-page-background header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background: #1a202c !important;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.logo img {
    height: 40px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 40px;
    margin: 0;
    padding: 0;
}

nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    padding: 5px 0;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent-color);
    transition: width 0.3s;
}

nav a:hover::after {
    width: 100%;
}

.subscription-page-background nav a {
    color: var(--text-secondary);
}

.subscription-page-background nav a:hover {
    color: var(--text-color);
}

.user-profile {
    display: inline-flex;
    align-items: center;
}

.user-info {
    display: flex;
    align-items: center;
    color: #f0f2f5; /* Light text color */
}

.user-info .fa-user-circle {
    color: #8a84ff; /* Lighter purple for the icon */
    font-size: 1.4em;
}

.user-info .username-link {
    color: #ffffff;
    text-decoration: none;
    margin: 0 12px 0 5px;
    font-weight: 500;
    font-size: 1em;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    padding: 5px 10px;
    border-radius: 5px;
}

.user-info .username-link:hover {
    color: #8a84ff; /* Lighter purple on hover */
    background-color: rgba(138, 132, 255, 0.1);
}

.btn-logout {
    background-color: var(--accent-color);
    color: white;
    padding: 8px 14px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    border: none;
    display: flex;
    align-items: center;
    transition: background-color 0.2s ease;
}

.btn-logout:hover {
    background-color: #5a54d8; /* Slightly darker purple on hover */
}

.btn-logout .fas {
    margin-right: 6px;
}

/* Removing unused dropdown styles */
.dropdown-menu,
.user-profile .dropdown-menu.active {
    display: none;
}

/* Footer Styles */
.site-footer {
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
    color: #f0f2f5;
    font-size: 0.9em;
}

.site-footer p {
    margin: 0;
}

.footer-link {
    color: #8a84ff;
    text-decoration: none;
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.footer-link:hover {
    background-color: #8a84ff;
    color: #ffffff;
    text-decoration: none;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 70px;
}

.supchat-btn {
    background-color: var(--accent-color);
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: background-color 0.3s ease;
    position: absolute;
    top: 20px;
    right: 50px;
    z-index: 1001;
}

.supchat-btn:hover {
    background-color: var(--accent-hover);
}

.admin-link {
    margin-right: 15px;
    color: #a1a1aa;
    font-size: 1.5em;
    transition: color 0.3s;
}

.admin-link:hover {
    color: #6366f1;
}

.menu-toggle {
    display: none;
    cursor: pointer;
}

.menu-toggle .fa-bars {
    font-size: 1.5rem;
    color: var(--text-color);
}

.user-profile-mobile {
    display: none;
}

@media (max-width: 1024px) {
    .header-left {
        gap: 40px;
    }

    header {
        padding: 20px;
    }

    .main-nav {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 80px;
        left: 0;
        background-color: var(--secondary-bg);
        width: 100%;
        padding: 20px;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        z-index: 10000;
        max-height: 60vh;
        overflow-y: auto;
    }

    .main-nav.active {
        display: flex;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 20px;
    }

    .menu-toggle {
        display: block;
    }

    .user-profile {
        display: none !important;
    }

    .user-profile-mobile {
        display: none; /* Hide by default */
        margin-top: 20px;
        padding-top: 20px;
        border-top: 1px solid var(--border-color);
    }

    .main-nav.active .user-profile-mobile {
        display: block; /* Show inside active mobile nav */
        border-top: 1px solid var(--border-color);
    }

    .main-nav.active .user-profile-mobile {
        display: block; /* Show inside active mobile nav */
    }
}

/* Additional WordPress specific styles */
.main-container {
    min-height: calc(100vh - 200px);
    padding: 20px;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--accent-color);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: var(--accent-hover);
}

.btn-primary {
    background-color: var(--accent-color);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
}

.alert {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
}

.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.alert-error {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.alert-warning {
    color: #856404;
    background-color: #fff3cd;
    border-color: #ffeaa7;
}

.alert-info {
    color: #0c5460;
    background-color: #d1ecf1;
    border-color: #bee5eb;
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 80vh;
    min-height: 600px;
    overflow: hidden;
}

.slider-container {
    position: relative;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

.slide-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slide-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-background.no-image {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 32, 44, 0.8), rgba(45, 55, 72, 0.9));
}

.slide-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: white;
}

.slide-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 0.95em;
    opacity: 0.9;
}

.slide-category {
    background: var(--accent-color);
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 500;
}

.slide-date {
    display: flex;
    align-items: center;
    gap: 5px;
}

.slide-title {
    font-size: 3.5em;
    font-weight: 700;
    margin: 20px 0;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.slide-title a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.slide-title a:hover {
    color: var(--accent-color);
}

.slide-excerpt {
    font-size: 1.2em;
    line-height: 1.6;
    margin: 20px 0;
    opacity: 0.9;
    max-width: 600px;
}

.slide-author {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 20px 0;
    font-size: 1em;
    opacity: 0.9;
}

.slide-read-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--accent-color);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1em;
    margin-top: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.slide-read-more:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

.slide-read-more i {
    transition: transform 0.3s ease;
}

.slide-read-more:hover i {
    transform: translateX(5px);
}

/* Slider Navigation */
.slider-nav {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 3;
}

.slider-prev,
.slider-next {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2em;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.slider-prev:hover,
.slider-next:hover {
    background: var(--accent-color);
    transform: scale(1.1);
}

.slider-dots {
    display: flex;
    gap: 8px;
    align-items: center;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: white;
    border-color: white;
    transform: scale(1.3);
}

/* Posts Section */
.posts-section {
    padding: 80px 0;
}

.section-title {
    text-align: left;
    font-size: 2.5em;
    color: var(--text-color);
    margin-bottom: 60px;
    font-weight: 700;
}

/* Modern Posts Grid */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.post-card {
    background: var(--secondary-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    min-height: 450px;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.post-thumbnail {
    overflow: hidden;
    position: relative;
}

.post-thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.post-card:hover .post-thumbnail img {
    transform: scale(1.05);
}

.post-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.entry-title {
    font-size: 1.4em;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.3;
}

.entry-title a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.entry-title a:hover {
    color: var(--accent-color);
}

.entry-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 0.9em;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.entry-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.entry-summary {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent-color);
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.read-more-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
}

.read-more-btn i {
    transition: transform 0.3s ease;
}

.read-more-btn:hover i {
    transform: translateX(3px);
}

/* Pagination */
.pagination {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 0 5px;
    background: var(--secondary-bg);
    color: var(--text-color);
    text-decoration: none;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
}

/* No Results */
.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    background: var(--secondary-bg);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.no-results-icon {
    font-size: 4em;
    color: var(--accent-color);
    margin-bottom: 20px;
    opacity: 0.7;
}

.no-results .page-title {
    color: var(--text-color);
    margin-bottom: 15px;
}

.no-results .page-content p {
    color: var(--text-secondary);
    font-size: 1.1em;
}

/* Single Post Styles */
.single-post-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.single-post {
    background: var(--primary-bg);
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    border: none;
    margin: 0;
}

.single-post-header {
    padding: 60px 40px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    z-index: 1;
}

.post-categories {
    position: absolute;
    top: 20px;
    right: 20px;
    margin-bottom: 0;
}

.post-categories a {
    display: inline-block;
    background: var(--accent-color);
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 0.9em;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
}

.post-categories a:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

.single-post-title {
    font-size: 2.5em;
    font-weight: 700;
    color: var(--text-color);
    margin: 20px 0;
    line-height: 1.2;
}

.single-post-meta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 0.95em;
}

.meta-item i {
    color: var(--accent-color);
}

.meta-item.tags span {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.meta-item.tags a {
    color: var(--accent-color);
    text-decoration: none;
    padding: 2px 8px;
    border-radius: 12px;
    border: 1px solid var(--accent-color);
    font-size: 0.85em;
    transition: all 0.3s ease;
}

.meta-item.tags a:hover {
    background: var(--accent-color);
    color: white;
}

.single-post-thumbnail {
    width: 100%;
    max-width: 600px;
    margin: 0 auto 40px auto;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.single-post-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.single-post-thumbnail:hover img {
    transform: scale(1.02);
}

.single-post-content {
    padding: 60px 40px;
    line-height: 1.8;
    font-size: 1.1em;
}

.single-post-content h2,
.single-post-content h3,
.single-post-content h4,
.single-post-content h5,
.single-post-content h6 {
    color: var(--text-color);
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

.single-post-content p {
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.single-post-content ul,
.single-post-content ol {
    margin-bottom: 20px;
    padding-left: 30px;
}

.single-post-content li {
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.single-post-content blockquote {
    border-left: 4px solid var(--accent-color);
    padding-left: 20px;
    margin: 30px 0;
    font-style: italic;
    color: var(--text-secondary);
}

.single-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

.single-post-footer {
    padding: 60px 40px;
    border-top: 1px solid var(--border-color);
}

.post-navigation {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 40px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: var(--secondary-bg);
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-color);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    flex: 1;
    max-width: calc(50% - 10px);
}

.nav-link:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: white;
}

.nav-link:hover .nav-title {
    color: white;
}

.nav-link i {
    font-size: 1.2em;
    color: var(--accent-color);
}

.nav-link:hover i {
    color: white;
}

.nav-content {
    flex: 1;
}

.nav-label {
    display: block;
    font-size: 0.85em;
    color: var(--text-secondary);
    margin-bottom: 5px;
}

.nav-link:hover .nav-label {
    color: rgba(255, 255, 255, 0.8);
}

.nav-title {
    display: block;
    font-weight: 600;
    color: var(--text-color);
    line-height: 1.3;
}

.prev-post {
    text-align: left;
}

.next-post {
    text-align: right;
    flex-direction: row-reverse;
}

.comments-section {
    border-top: 1px solid var(--border-color);
    padding-top: 40px;
}

/* Related Posts */
.related-posts {
    margin-top: 60px;
    padding: 40px 0;
}

.related-posts-title {
    text-align: center;
    font-size: 1.8em;
    color: var(--text-color);
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.related-posts-title i {
    color: var(--accent-color);
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.related-post-card {
    background: var(--secondary-bg);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.related-post-thumbnail {
    overflow: hidden;
}

.related-post-thumbnail img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-post-card:hover .related-post-thumbnail img {
    transform: scale(1.05);
}

.related-post-content {
    padding: 20px;
}

.related-post-title {
    font-size: 1.1em;
    font-weight: 600;
    margin-bottom: 10px;
}

.related-post-title a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-post-title a:hover {
    color: var(--accent-color);
}

.related-post-meta {
    font-size: 0.9em;
    color: var(--text-secondary);
}

/* Comments Styling */
.comments-section {
    margin-top: 60px;
    padding: 40px 20px;
    background: var(--secondary-bg);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.comments-area {
    max-width: 100%;
}

.comments-title {
    font-size: 1.8em;
    color: var(--text-color);
    margin-bottom: 40px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.comments-title:before {
    content: '';
    width: 4px;
    height: 30px;
    background: var(--accent-color);
    border-radius: 2px;
}

.comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comment {
    margin-bottom: 30px;
    padding: 30px;
    background: var(--primary-bg);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.comment:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.comment-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.comment-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--accent-color);
}

.comment-author .fn {
    font-weight: 600;
    color: var(--text-color);
    font-size: 1.1em;
}

.comment-meta {
    font-size: 0.9em;
    color: var(--text-secondary);
    margin-left: auto;
}

.comment-meta time {
    color: var(--accent-color);
}

.comment-content {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1em;
    margin-bottom: 20px;
}

.comment-content p {
    margin-bottom: 15px;
}

.comment-content p:last-child {
    margin-bottom: 0;
}

.reply {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.comment-reply-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent-color);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 0.9em;
    font-weight: 500;
    transition: all 0.3s ease;
}

.comment-reply-link:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

/* Comment Form */
.comment-form {
    margin-top: 40px;
    padding: 30px;
    background: var(--primary-bg);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.comment-form-comment,
.comment-form-author,
.comment-form-email,
.comment-form-url {
    margin-bottom: 20px;
}

.comment-form label {
    display: block;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 8px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    background: var(--secondary-bg);
    color: var(--text-color);
    font-size: 1em;
    transition: all 0.3s ease;
}

.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.comment-form textarea {
    min-height: 120px;
    resize: vertical;
}

.comment-form .form-submit {
    margin-top: 30px;
}

.comment-form .submit {
    background: var(--accent-color);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.comment-form .submit:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

/* Slider JavaScript will be added */
.slider-auto-play {
    /* Auto-play functionality */
}

/* Responsive Design */
@media (max-width: 1024px) {
    .slide-title {
        font-size: 2.8em;
    }

    .slide-excerpt {
        font-size: 1.1em;
    }
}

@media (max-width: 768px) {
    .hero-slider {
        height: 70vh;
        min-height: 500px;
    }

    .slide-content {
        padding: 60px 20px;
    }

    .slide-title {
        font-size: 2.2em;
    }

    .slide-excerpt {
        font-size: 1em;
    }

    .slide-meta {
        flex-direction: column;
        gap: 10px;
    }

    .slider-nav {
        bottom: 20px;
        gap: 15px;
    }

    .slider-prev,
    .slider-next {
        width: 40px;
        height: 40px;
        font-size: 1em;
    }

    .posts-section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2em;
    }

    .posts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .post-content {
        padding: 20px;
    }

    .entry-title {
        font-size: 1.2em;
    }

    .entry-meta {
        flex-direction: column;
        gap: 8px;
    }

    .single-post-container {
        padding: 0 15px;
    }

    .single-post {
        margin: 20px 0;
        border-radius: 12px;
    }

    .single-post-header {
        padding: 30px 20px;
    }

    .single-post-title {
        font-size: 1.3em;
        line-height: 1.3;
    }

    .single-post-meta {
        gap: 12px;
        flex-direction: column;
        align-items: center;
    }

    .single-post-content {
        padding: 30px 20px;
        font-size: 1em;
        line-height: 1.6;
    }

    .single-post-footer {
        padding: 30px 20px;
    }

    .post-categories {
        top: 15px;
        right: 20px;
        font-size: 0.8em;
    }

    .post-categories a {
        padding: 6px 12px;
        font-size: 0.8em;
    }

    .read-more-btn {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
        min-height: 48px;
        padding: 14px 20px;
    }

    .read-more-btn span {
        flex: 1;
        text-align: center;
    }

    .post-navigation {
        flex-direction: column;
        gap: 15px;
    }

    .nav-link {
        max-width: 100%;
        padding: 15px;
    }

    .prev-post,
    .next-post {
        text-align: center;
    }

    .next-post {
        flex-direction: row;
    }

    .single-post-title {
        font-size: 1.5em;
        line-height: 1.3;
    }

    .single-post-content {
        font-size: 1em;
        line-height: 1.6;
    }

    .single-post-content h2 {
        font-size: 1.3em;
    }

    .single-post-content h3 {
        font-size: 1.2em;
    }

    .related-posts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}