/*!
Theme Name: SMANN Theme
Description: Professional blog theme matching exact design specifications
Version: 1.0.4
Author: Development Team
*/

@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");

/* === RESET & BASE === */
* { margin: 0; padding: 0; box-sizing: border-box; }

/* Force scroll behavior - CRITICAL FIX */
html {
    overflow-y: scroll !important;
    height: 100%;
    overflow-x: hidden !important;
    max-width: 100vw;
}

body {
    overflow-y: auto !important;
    min-height: 100vh;
    height: auto !important;
    font-family: "Inter", sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
    padding-top: 80px;
}

/* Prevent caching of scroll behavior */
.single .container,
.single .content-wrapper,
.single .main-content {
    overflow: visible !important;
    height: auto !important;
    min-height: auto !important;
}

/* Comments section force display */
#comments {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* === HEADER STYLES (SOLID WHITE BACKGROUND) === */
#mainNavbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    padding: 20px 0;
    z-index: 1000;
}

#mainNavbar.scrolled {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
    padding: 15px 0;
}

.navbar-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.navbar-left {
    display: flex;
    align-items: center;
    gap: 30px;
}

.header-logo img,
.custom-logo {
    height: 45px;
    width: auto;
    transition: all 0.3s ease;
}

#mainNavbar.scrolled .header-logo img,
#mainNavbar.scrolled .custom-logo {
    height: 40px;
}

.navbar-nav {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 5px;
    margin: 0;
    padding: 0;
}

.navbar-nav .nav-link,
.navbar-nav a {
    color: #333333;
    font-weight: 600;
    font-size: 16px;
    padding: 10px 20px;
    margin: 0 5px;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
    text-shadow: none;
    text-decoration: none;
    display: block;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active,
.navbar-nav a:hover,
.navbar-nav a.current-menu-item {
    color: #3969e7;
    background: rgba(116, 91, 231, 0.1);
}

.navbar-nav .nav-link::after,
.navbar-nav a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #3969e7;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after,
.navbar-nav a:hover::after,
.navbar-nav a.current-menu-item::after {
    width: 60%;
}

.header-buttons {
    display: flex;
    gap: 12px;
    align-items: center;
}

.Primary-button,
.Primary-border-button {
    padding: 0 24px;
    font-size: 14px;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 600;
    line-height: 46px;
    min-width: 160px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.Primary-button {
    background: #3969e7;
    color: #ffffff;
    border: 1px solid #3969e7;
}

.Primary-border-button {
    background: transparent;
    color: #3969e7;
    border: 1px solid #3969e7;
}

.Primary-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(116, 91, 231, 0.3);
    color: #ffffff;
    text-decoration: none;
}

.Primary-border-button:hover {
    background: #3969e7;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(116, 91, 231, 0.3);
    text-decoration: none;
}

/* Mobile Header */
.navbar-toggler {
    display: none;
    border: none;
    background: transparent;
    padding: 0;
    width: 30px;
    height: 30px;
    cursor: pointer;
}

.navbar-toggler-icon {
    display: block;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(51, 51, 51, 0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

@media (max-width: 992px) {
    .header-buttons .Primary-button {
            color: #fff;
        margin-bottom: 15px;
        border-radius: 25px;
        padding: 2px 65px;
}
	 .mobile-view-1 a.Primary-border-button{
        border-radius: 25px;
        padding: 2px 65px;
}
.desktop-view-1 {
    display: none;
}
    .navbar-toggler { display: block; }
    
    .navbar-left {
        width: 100%;
        justify-content: space-between;
    }
    
    .navbar-nav {
        position: absolute;
        top: 100%;
        left: 20px;
        right: 20px;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        border-radius: 15px;
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        gap: 8px;
        display: none;
    }
    
    .navbar-nav.show { display: flex; }
    
    .navbar-nav a {
        text-align: center;
        width: 100%;
        padding: 8px 65px;
        border-radius: 12px;
        margin: 2px 0;
    }
    
    /* .header-buttons {
        position: absolute;
        top: 100%;
        left: 20px;
        right: 20px;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        border-radius: 15px;
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        margin-top: 10px;
        display: none;
    } */
    
    .header-buttons.show { display: block; }
    
    .Primary-button,
    .Primary-border-button {
        width: 100%;
        max-width: 250px;
    }
    
    .header-logo img,
    .custom-logo {
        height: 35px;
    }
    
    #mainNavbar.scrolled .header-logo img,
    #mainNavbar.scrolled .custom-logo {
        height: 32px;
    }
}

/* === PAGE STRUCTURE === */
.page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container, .content-wrapper, .main-content {
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    flex: 1;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin: 40px 0 80px 0;
    align-items: start;
}

.main-content {
    min-width: 0;
}

.sidebar {
    position: static;
    max-height: none;
    overflow-y: visible;
}

/* === BLOG POSTS === */
.posts-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.post-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    border-color: rgba(57, 105, 231, 0.2);
}

.post-featured-image {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #f8f9fa;
}

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

.post-card:hover .post-featured-image img {
    transform: scale(1.05);
}

.post-content {
    padding: 25px;
}

.post-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.3;
    margin-bottom: 12px;
}

.post-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-title a:hover {
    color: #3969e7;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
}

.post-meta a {
    color: #666;
    text-decoration: none;
}

.post-meta a:hover {
    color: #3969e7;
}

.post-excerpt {
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #3969e7;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.read-more:hover {
    text-decoration: underline;
    gap: 12px;
}

/* === SINGLE POST === */
.single-post {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
    margin-bottom: 40px;
}

.single-post .post-featured-image {
    aspect-ratio: 16/9;
    margin-bottom: 0;
}

.single-post .post-content {
    padding: 40px;
}

.single-post .post-title {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.single-post .post-meta {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.post-content-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

.post-content-text h1,
.post-content-text h2,
.post-content-text h3,
.post-content-text h4,
.post-content-text h5,
.post-content-text h6 {
    margin: 30px 0 15px 0;
    color: #1a1a1a;
}

.post-content-text p {
    margin-bottom: 20px;
}

.post-content-text img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

/* === SIDEBAR & WIDGETS === */
.widget {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    border: 1px solid #f0f0f0;
}

.widget-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #3969e7;
    position: relative;
}

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

.widget ul li {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
}

.widget ul li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.widget a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.widget a:hover {
    color: #3969e7;
}

/* === SEARCH WIDGET STYLING === */
.widget_search .wp-block-search,
.widget_search form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.widget_search label {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    display: block;
}

.widget_search input[type="search"],
.widget_search .wp-block-search__input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8fafc;
    box-sizing: border-box;
}

.widget_search input[type="search"]:focus,
.widget_search .wp-block-search__input:focus {
    outline: none;
    border-color: #3969e7;
    background: white;
    box-shadow: 0 0 0 3px rgba(57, 105, 231, 0.1);
}

.widget_search input[type="submit"],
.widget_search .wp-block-search__button {
    background: linear-gradient(135deg, #3969e7 0%, #5b47d6 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(57, 105, 231, 0.3);
        margin-top: 12px;
}

.widget_search input[type="submit"]:hover,
.widget_search .wp-block-search__button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(57, 105, 231, 0.4);
}

/* === PAGINATION === */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin: 40px 0;
    padding: 0;
    list-style: none;
}

.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    color: #666;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.page-numbers:hover,
.page-numbers.current {
    background: #3969e7;
    color: #fff;
    border-color: #3969e7;
}

.page-numbers.prev,
.page-numbers.next {
    width: auto;
    padding: 0 15px;
    font-size: 14px;
}

/* === COMMENTS SECTION STYLING === */
#comments {
    margin-top: 50px;
    font-family: 'Inter', sans-serif;
    color: #333;
    max-width: 100%;
    box-sizing: border-box;
}

.comments-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #3969e7;
}

.commentlist {
    list-style: none;
    padding: 0;
    margin: 0;
    max-width: 100%;
}

.commentlist li {
    background: #fff;
    border: 1px solid #e0e0e0;
    margin-bottom: 25px;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
    max-width: 100%;
    transition: all 0.3s ease;
}

.commentlist li:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    border-color: rgba(57, 105, 231, 0.2);
}

.commentlist li.bypostauthor {
    border-color: #3969e7;
    background: #f8faff;
}

.commentlist li p {
    margin: 15px 0;
    line-height: 1.6;
    color: #555;
    font-size: 1rem;
}

.comment-author {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.comment-author img.avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
    border: 3px solid #f0f0f0;
    transition: all 0.3s ease;
}

.commentlist li:hover .comment-author img.avatar {
    border-color: #3969e7;
}

.comment-author .fn {
    font-weight: 700;
    font-size: 1.1rem;
    color: #1a1a1a;
    text-decoration: none;
}

.comment-author .fn:hover {
    color: #3969e7;
}

.says {
    display: none;
}

.comment-meta {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.comment-meta a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.comment-meta a:hover {
    color: #3969e7;
}

.comment-reply-link {
    background: #3969e7;
    color: #fff !important;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    margin-top: 10px;
}

.comment-reply-link:hover {
    background: #2c5187;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(57, 105, 231, 0.3);
}

/* === COMMENT FORM STYLING === */
#reply-title {
    font-weight: 700;
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    gap: 10px;
}

#cancel-comment-reply-link {
    background: #f5f5f5;
    color: #666;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

#cancel-comment-reply-link:hover {
    background: #e0e0e0;
    color: #333;
}

#respond {
    margin-top: 50px;
    max-width: 100%;
    background: #fff;
    border: 1px solid #e0e0e0;
    padding: 35px;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(57, 105, 231, 0.1);
    box-sizing: border-box;
}

.comment-form-author,
.comment-form-email,
.comment-form-url {
    margin-bottom: 20px;
}

.comment-form-author label,
.comment-form-email label,
.comment-form-url label,
.comment-form-comment label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 1rem;
}

.required {
    color: #e74c3c;
    font-weight: 700;
}

#respond input[type="text"],
#respond input[type="email"],
#respond input[type="url"] {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    background: #f8fafc;
    box-sizing: border-box;
}

#respond input[type="text"]:focus,
#respond input[type="email"]:focus,
#respond input[type="url"]:focus {
    outline: none;
    border-color: #3969e7;
    background: white;
    box-shadow: 0 0 0 3px rgba(57, 105, 231, 0.1);
}

#respond textarea {
    width: 100%;
    padding: 15px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    min-height: 120px;
    resize: vertical;
    transition: all 0.3s ease;
    background: #f8fafc;
    box-sizing: border-box;
}

#respond textarea:focus {
    outline: none;
    border-color: #3969e7;
    background: white;
    box-shadow: 0 0 0 3px rgba(57, 105, 231, 0.1);
}

.comment-form-cookies-consent {
    margin: 20px 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.comment-form-cookies-consent input[type="checkbox"] {
    margin-top: 3px;
    accent-color: #3969e7;
}

.comment-form-cookies-consent label {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #666;
    margin-bottom: 0;
}

#respond input[type="submit"] {
    background: linear-gradient(135deg, #3969e7 0%, #5b47d6 100%);
    border: none;
    color: white;
    padding: 14px 32px;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(57, 105, 231, 0.3);
    margin-top: 10px;
}

#respond input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(57, 105, 231, 0.4);
}

.comment-notes {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 25px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #3969e7;
}

.form-allowed-tags {
    display: none;
}

/* === NESTED COMMENTS === */
.commentlist ul.children {
    margin-left: 40px;
    margin-top: 20px;
    padding-left: 0;
    list-style: none;
    border-left: 2px solid #e0e0e0;
    padding-left: 30px;
}

/* === FOOTER (FULL WIDTH) === */
.footer-section {
    background: #1a1a1a;
    color: #ffffff;
    padding: 80px 0 0 0;
    margin-top: 60px;
}

.footer-section .container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr 0.8fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand {
    margin-bottom: 30px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    height: 40px;
}

.footer-description {
    color: #a0a0a0;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 25px;
    font-weight: 400;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #3969e7 0%, #a855f7 100%);
    border-radius: 50%;
    color: white; 
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(116, 91, 231, 0.3);
    /* display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 2px solid #3969e7;
    border-radius: 50%;
    color: #3969e7;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 20px; */
}

.social-icon:hover {
    background: #3969e7;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(116, 91, 231, 0.3);
}

.footer-links {
    margin-bottom: 30px;
}

.footer-title {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.3;
}

.footer-link-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-link-list li {
    margin-bottom: 12px;
}

.footer-link {
    color: #a0a0a0;
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: #3969e7;
    text-decoration: underline;
}

.footer-contact {
    margin-bottom: 30px;
}

.contact-info p {
    color: #a0a0a0;
    font-size: 16px;
    margin-bottom: 12px;
    line-height: 1.5;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-icon {
    font-size: 20px;
    color: #3969e7;
    flex-shrink: 0;
}

.contact-info a {
    color: #a0a0a0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #3969e7;
}

.footer-download {
    margin-bottom: 30px;
}

.app-store-badges {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
}

.store-badge {
    transition: transform 0.3s ease;
    display: block;
}

.store-badge:hover {
    transform: translateY(-2px);
}

.store-badge img {
    height: 60px;
    width: auto;
    border-radius: 8px;
}

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

.footer-bottom .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-divider {
    height: 1px;
    background: #333333;
    margin-bottom: 20px;
}

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

.footer-legal-links {
    margin-bottom: 15px;
}

.legal-link {
    color: #a0a0a0;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: color 0.3s ease;
}

.legal-link:hover {
    color: #3969e7;
    text-decoration: underline;
}

.separator {
    color: #404040;
    margin: 0 15px;
    font-weight: 300;
}

.footer-copyright {
    color: #808080;
    font-size: 14px;
    font-weight: 400;
}
#block-4 ol.wp-block-latest-comments {
    padding-left: 20px;
}
.mobile-view-1 {
    display: none;
}
/* === RESPONSIVE === */
@media (max-width: 768px) {
    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
        margin: 30px 0 60px 0;
    }
    
    .sidebar {
        position: static;
        max-height: none;
        overflow-y: visible;
    }
    
    .post-content {
        padding: 20px;
    }
    
    .single-post .post-content {
        padding: 25px;
    }
    
    .single-post .post-title {
        font-size: 1.8rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-legal-links {
        display: flex;
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .separator {
        display: none;
    }
    
    .comment-author img.avatar {
        width: 40px;
        height: 40px;
        margin-right: 12px;
    }
    
    .commentlist li {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    #respond {
        padding: 25px;
        margin-top: 40px;
    }
    
    .commentlist ul.children {
        margin-left: 20px;
        padding-left: 20px;
    }
    
    #reply-title {
        font-size: 1.5rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .post-title {
        font-size: 1.2rem;
    }
    
    .single-post .post-title {
        font-size: 1.6rem;
    }
    
    .widget {
        padding: 20px;
    }
    
    .pagination {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .page-numbers {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    
    .commentlist li {
        padding: 15px;
    }
    
    #respond {
        padding: 20px;
    }
    
    .commentlist ul.children {
        margin-left: 15px;
        padding-left: 15px;
    }
    
    .comment-author {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .comment-author img.avatar {
        margin-right: 0;
    }
}