/* Logo size reduction - Desktop version */
.wp-block-group.is-nowrap.is-layout-flex .wp-block-image img,
.wp-block-group.is-nowrap.is-layout-flex .wp-image-496 {
    width: 70% !important;
    height: auto !important;
    max-width: 602px !important; /* Original size */
}

/* Container gap - Desktop version */
.wp-container-core-group-is-layout-369965dd {
    gap: 192px;
    flex-direction: column;
    align-items: flex-start;
}

/* Mobile Header Styles */
.jinjang-mobile-header {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--wp--preset--color--contrast);
    color: var(--wp--preset--color--base);
    z-index: 1000;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform: translateY(-100%);
    opacity: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.jinjang-mobile-header.visible {
    transform: translateY(0);
    opacity: 1;
}

.jinjang-mobile-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
}

.jinjang-mobile-logo {
    max-width: 120px;
}

.jinjang-mobile-logo img {
    max-height: 40px;
    width: auto;
}

.jinjang-mobile-menu-toggle {
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    color: var(--wp--preset--color--base);
}

.burger-icon {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--wp--preset--color--base);
    position: relative;
    transition: background-color 0.3s ease;
}

.burger-icon::before,
.burger-icon::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: var(--wp--preset--color--base);
    transition: transform 0.3s ease;
}

.burger-icon::before {
    top: -6px;
}

.burger-icon::after {
    bottom: -6px;
}

.jinjang-mobile-menu-toggle.active .burger-icon {
    background-color: transparent;
}

.jinjang-mobile-menu-toggle.active .burger-icon::before {
    transform: rotate(45deg);
    top: 0;
}

.jinjang-mobile-menu-toggle.active .burger-icon::after {
    transform: rotate(-45deg);
    bottom: 0;
}

.jinjang-mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: var(--wp--preset--color--contrast);
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1000;
}

.jinjang-mobile-menu.active {
    max-height: 100vh;
    overflow-y: auto;
}

.jinjang-mobile-nav {
    list-style: none;
    margin: 0;
    padding: 1rem;
}

.jinjang-mobile-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.jinjang-mobile-nav li {
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(var(--wp--preset--color--base-rgb), 0.1);
    padding-bottom: 0.5rem;
}

.jinjang-mobile-nav li:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.jinjang-mobile-nav a {
    color: var(--wp--preset--color--base);
    text-decoration: none;
    display: block;
    padding: 0.5rem 0;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.jinjang-mobile-nav a:hover {
    color: var(--wp--preset--color--primary);
}

/* Scroll to Top Button */
.jinjang-scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--wp--preset--color--contrast);
    color: var(--wp--preset--color--base);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

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

.jinjang-scroll-to-top:hover {
    background-color: var(--wp--preset--color--primary);
    color: var(--wp--preset--color--contrast);
}

/* Media Queries */
@media (max-width: 768px) {
    .jinjang-mobile-header {
        display: block;
    }

    /* Hide the original header on mobile */
    .site-header {
        display: none;
    }
    
    /* Mobile logo size reduction - 30% smaller than original size */
    .wp-block-group.is-nowrap.is-layout-flex .wp-block-image img,
    .wp-block-group.is-nowrap.is-layout-flex .wp-image-496 {
        width: 33% !important;
        height: auto !important;
        max-width: 421px !important; /* 70% of 602px */
    }
    
    /* Container gap - Mobile version */
    .wp-container-core-group-is-layout-369965dd {
        gap: 48px; /* Reduced gap for mobile */
    }
}

/* Remove list-style dots from blog posts */
.wp-block-post {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Blog post separator styling */
.wp-block-post .wp-block-group {
    border-bottom: 2px solid #e6e6e6 !important;
    padding-top: 20px !important;
    padding-bottom: 20px !important;
}

.wp-block-post:last-child .wp-block-group {
    border-bottom: none !important;
}

/* Comment Section Styling */
.wp-block-comments {
    max-width: 800px;
    margin: 0 auto;
}

/* Hide unnecessary fields */
.logged-in-as,
.required-field-message,
.comment-form-email,
.comment-form-url,
.comment-notes {
    display: none !important;
}

/* Comment Form Title */
.comment-reply-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #000;
}

/* Name Field Styling */
.comment-form-author {
    margin-bottom: 20px;
}

.comment-form-author label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: #000;
}

.comment-form-author input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e6e6e6;
    border-radius: 4px;
    font-family: inherit;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.comment-form-author input:focus {
    outline: none;
    border-color: #000;
}

/* Comment Text Field Styling */
.comment-form-comment {
    margin-bottom: 20px;
}

.comment-form-comment label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: #000;
}

.comment-form-comment textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e6e6e6;
    border-radius: 4px;
    min-height: 150px;
    font-family: inherit;
    font-size: 16px;
    line-height: 1.6;
    transition: border-color 0.3s ease;
    resize: vertical;
}

.comment-form-comment textarea:focus {
    outline: none;
    border-color: #000;
}

/* Submit Button */
.form-submit {
    margin-top: 20px;
}

.wp-block-button__link {
    background-color: #000 !important;
    color: #fff !important;
    font-size: 16px !important;
    padding: 12px 24px !important;
    border-radius: 4px !important;
    border: none !important;
    cursor: pointer !important;
    transition: background-color 0.3s ease !important;
    text-transform: none !important;
    font-weight: 500 !important;
}

.wp-block-button__link:hover {
    background-color: #333 !important;
}

/* Individual Comments Styling */
.wp-block-comment-template {
    margin: 0;
    padding: 0;
    list-style: none;
}

.wp-block-comment-template li {
    margin-bottom: 30px;
    padding: 25px;
    background: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #e6e6e6;
}

/* Comment Author */
.wp-block-comment-author-name {
    font-weight: 700;
    font-size: 18px;
    color: #000;
    margin-bottom: 5px;
    display: inline-block;
}

/* Comment Date */
.wp-block-comment-date {
    font-size: 14px;
    color: #666;
    margin-left: 10px;
}

/* Comment Content */
.wp-block-comment-content {
    margin-top: 15px;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

/* Comment Reply Link */
.wp-block-comment-reply-link {
    display: inline-block;
    margin-top: 15px;
    font-size: 14px;
    color: #000;
    text-decoration: none;
    font-weight: 500;
}

.wp-block-comment-reply-link:hover {
    text-decoration: underline;
}

/* Nested Comments */
.wp-block-comment-template .wp-block-comment-template {
    margin-left: 40px;
    margin-top: 20px;
}

/* Comment Section Container */
.wp-block-group.is-layout-constrained {
    padding-left: 20px;
    padding-right: 20px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .comment-reply-title {
        font-size: 24px;
    }
    
    .wp-block-button__link {
        width: 100%;
    }

    .wp-block-comment-template .wp-block-comment-template {
        margin-left: 20px;
    }

    .wp-block-comment-template li {
        padding: 15px;
    }
}

/* Post Navigation - New Modern Design */
.post-navigation-wrapper {
    display: flex !important;
    justify-content: space-between !important;
    gap: 24px;
    max-width: 1200px;
    margin: 40px auto !important;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

.wp-block-post-navigation-link {
    flex: 1;
    max-width: calc(50% - 12px);
    margin: 0 !important;
}

.wp-block-post-navigation-link a {
    display: block !important;
    padding: 24px;
    background: #ffffff;
    border-radius: 12px;
    text-decoration: none !important;
    color: #333333;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
    box-sizing: border-box;
}

/* Navigation Labels */
.wp-block-post-navigation-link.has-text-align-left a::before {
    content: '← Previous Post';
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #666;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wp-block-post-navigation-link.has-text-align-right a::before {
    content: 'Next Post →';
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #666;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: right;
}

/* Post Titles in Navigation */
.wp-block-post-navigation-link a {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
}

.wp-block-post-navigation-link.has-text-align-right {
    text-align: right;
}

/* Hover Effects */
.wp-block-post-navigation-link a:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    color: #000000;
    background: #f8f8f8;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .post-navigation-wrapper {
        flex-direction: column !important;
        gap: 16px;
        margin: 32px auto !important;
    }

    .wp-block-post-navigation-link {
        width: 100% !important;
        max-width: 100%;
    }

    .wp-block-post-navigation-link a {
        padding: 20px;
        font-size: 16px;
    }

    .wp-block-post-navigation-link a::before {
        font-size: 12px;
        margin-bottom: 6px;
    }

    .wp-block-post-navigation-link.has-text-align-right {
        text-align: left;
    }

    .wp-block-post-navigation-link.has-text-align-right a::before {
        content: '← Previous Post';
        text-align: left;
    }
} 