/*
Theme Name: Kapdec Help
Theme URI: https://www.kapdec.com/help
Author: Ajay Dhul
Author Email: ajay.dhul@gmail.com
Description: A WordPress theme inspired by Kapdec Help page design with modern, clean interface and helpful navigation.
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kapdec-help
Tags: one-column, custom-menu, custom-logo, editor-style, featured-images, full-width-template, translation-ready, blog, portfolio
*/

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #37352f;
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Header Styles */
.site-header {
    background-color: #ffffff;
    border-bottom: 1px solid #e9e9e7;
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.header-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.site-logo {
    font-size: 20px;
    font-weight: 600;
    color: #37352f;
    text-decoration: none;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.site-logo .logo-image {
    height: 48px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
}

.site-logo svg.logo-image {
    height: 48px;
    width: auto;
    max-width: 220px;
}

.site-logo .custom-logo {
    height: 48px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    display: block;
}

/* Mobile Menu Toggle Button */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    z-index: 1001;
}

.menu-toggle-icon {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
}

.menu-toggle-icon span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: #37352f;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.main-navigation {
    flex: 1;
    display: flex;
    justify-content: flex-start;
    margin-left: 40px;
}

.main-navigation .nav-menu {
    list-style: none;
    display: flex;
    gap: 40px;
    align-items: center;
    margin: 0;
    padding: 0;
}

.main-navigation .nav-menu li {
    margin: 0;
    position: relative;
}

.main-navigation .nav-menu > li > a {
    color: #37352f;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s;
    padding: 8px 0;
    display: block;
    white-space: nowrap;
}

.main-navigation .nav-menu > li > a:hover {
    color: #ff4f00;
}

/* Add padding-bottom to menu items with children to create hover bridge */
.main-navigation .nav-menu .menu-item-has-children > a {
    padding-bottom: 12px;
}

/* Dropdown menu styles */
.main-navigation .nav-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    border: 1px solid #e9e9e7;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    min-width: 220px;
    padding: 12px 0;
    margin-top: 0;
    display: none;
    z-index: 1000;
    list-style: none;
}

/* Show submenu on hover */
.main-navigation .nav-menu .menu-item-has-children:hover > .sub-menu {
    display: block;
}

/* Keep submenu visible when hovering over it */
.main-navigation .nav-menu .sub-menu:hover {
    display: block;
}

.main-navigation .nav-menu .sub-menu li {
    margin: 0;
}

.main-navigation .nav-menu .sub-menu a {
    display: block;
    padding: 12px 24px;
    color: #37352f;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: all 0.2s;
    line-height: 1.5;
}

.main-navigation .nav-menu .sub-menu a:hover {
    background-color: transparent;
    color: #ff4f00;
}

.header-actions {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-shrink: 0;
}

.btn {
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.btn-login {
    background-color: transparent;
    color: #37352f;
    border: none;
    padding: 10px 20px;
    font-weight: 500;
}

.btn-login:hover {
    color: #ff4f00;
    background-color: transparent;
}

.btn-primary {
    background-color: #ff4f00;
    color: #ffffff;
    padding: 10px 24px;
    font-weight: 600;
    border-radius: 6px;
}

.btn-primary:hover {
    background-color: #cc3f00;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 79, 0, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: #37352f;
    border: 1px solid #e9e9e7;
}

.btn-secondary:hover {
    background-color: transparent;
}

/* Content Wrapper */
.content-wrapper {
    display: flex;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    gap: 40px;
}

/* Sidebar */
.help-sidebar {
    width: 280px;
    flex-shrink: 0;
    position: sticky;
    top: 80px;
    height: fit-content;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    overflow-x: hidden;
    padding: 40px 0 0 0;
}

.help-sidebar::-webkit-scrollbar {
    width: 6px;
}

.help-sidebar::-webkit-scrollbar-track {
    background: transparent;
}

.help-sidebar::-webkit-scrollbar-thumb {
    background: #e9e9e7;
    border-radius: 3px;
}

.help-sidebar::-webkit-scrollbar-thumb:hover {
    background: #d4d4d1;
}

/* Sidebar Search */
.sidebar-search {
    margin-bottom: 8px;
    padding: 0 16px 0 0;
}

.sidebar-search-input-wrapper {
    display: flex;
    align-items: center;
    background-color: transparent;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 6px;
    padding: 8px 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    gap: 8px;
}

.sidebar-search-input-wrapper:hover {
    background-color: transparent;
    border-color: rgba(0, 0, 0, 0.2);
}

.sidebar-search-input-wrapper .search-icon {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    color: #787774;
}

.sidebar-search-placeholder {
    font-size: 14px;
    color: #787774;
    flex: 1;
    pointer-events: none;
}

.sidebar-nav {
    background-color: #ffffff;
}

.sidebar-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu-section {
    margin-bottom: 32px;
}

.menu-section:last-child {
    margin-bottom: 0;
}

.menu-section-title {
    font-size: 12px;
    font-weight: 600;
    color: #787774;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 12px 0;
    padding: 16px 16px 0 16px;
}

.menu-section:first-child .menu-section-title {
    padding-top: 80px;
}

/* Reduce padding when sidebar search is present */
.help-sidebar.has-sidebar-search .menu-section:first-child .menu-section-title {
    padding-top: 12px;
}

.menu-section-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu-section-list > li {
    margin: 0;
}

.menu-section-list > li > a {
    display: block;
    padding: 8px 16px;
    color: #37352f;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-radius: 4px;
    transition: background-color 0.2s;
    position: relative;
}

.menu-section-list > li > a:hover {
    background-color: #f7f6f3;
    color: #37352f;
}

.menu-section-list > li > a.active {
    background-color: #f7f6f3;
    color: #ff4f00;
    font-weight: 600;
}

.menu-section-list > li > a .chevron-icon {
    position: absolute;
    right: 16px;
    width: 8px;
    height: 8px;
    fill: #787774;
    transition: transform 0.2s ease;
    --direction: 1;
}

.menu-section-list > li.has-children.open > a .chevron-icon {
    transform: rotate(90deg) scaleX(var(--direction));
}

.sub-menu > li > a .chevron-icon {
    position: absolute;
    right: 16px;
    width: 8px;
    height: 8px;
    fill: #787774;
    transition: transform 0.2s ease;
    --direction: 1;
}

.sub-menu > li.has-children.open > a .chevron-icon {
    transform: rotate(90deg) scaleX(var(--direction));
}

.sub-menu {
    list-style: none;
    margin: 4px 0 0 0;
    padding: 0 0 0 16px;
    display: block;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    will-change: max-height;
}

/* Chevron icon styles are defined above */

.menu-section-list > li.has-children.open > .sub-menu {
    max-height: 1000px;
}

/* Arrow for subcategories only */
/* Chevron icon styles are defined above */

.menu-section-list > li.has-children.open > .sub-menu.posts-menu {
    max-height: 1000px;
}

.menu-section-list > li.active-category > .sub-menu {
    display: block;
}

.menu-section-list > li.active-category > .sub-menu.posts-menu {
    display: block;
}

/* Show posts menu for subcategories when parent is open */
.sub-menu > li.has-children.open > .sub-menu.posts-menu {
    max-height: 1000px;
}

.sub-menu > li.active-category > .sub-menu {
    display: block;
}

.sub-menu > li.active-category > .sub-menu.posts-menu {
    display: block;
}

/* Show posts menu for any category with posts when it's open */
li.has-children.open > .sub-menu.posts-menu {
    max-height: 1000px;
}

li.active-category > .sub-menu.posts-menu {
    display: block;
}

.sub-menu li {
    margin: 0;
}

.sub-menu a {
    display: block;
    padding: 6px 16px;
    color: #787774;
    text-decoration: none;
    font-size: 13px;
    border-radius: 4px;
    transition: all 0.2s;
    position: relative;
}

/* Post count removed - using chevron icon instead */

.sub-menu a:hover {
    background-color: #f7f6f3;
    color: #37352f;
}

.sub-menu a.active {
    background-color: #f7f6f3;
    color: #ff4f00;
    font-weight: 500;
}

/* Posts in sidebar */
.sub-menu.posts-menu {
    padding-left: 24px;
    margin-top: 4px;
    display: none;
}

/* Show posts menu when parent category is open - for all nesting levels */
.menu-section-list > li.has-children.open > .sub-menu.posts-menu,
.menu-section-list > li.active-category > .sub-menu.posts-menu,
.sub-menu > li.has-children.open > .sub-menu.posts-menu,
.sub-menu > li.active-category > .sub-menu.posts-menu,
.sub-menu li.has-children.open > .sub-menu.posts-menu,
.sub-menu li.active-category > .sub-menu.posts-menu,
li.has-children.open > .sub-menu.posts-menu,
li.active-category > .sub-menu.posts-menu {
    display: block !important;
    max-height: 1000px;
}

.sub-menu .post-item {
    margin: 0;
    border: none;
    background: none;
    padding: 0;
}

.sub-menu .post-item a {
    padding: 4px 16px;
    color: #787774;
    text-decoration: none;
    font-size: 13px;
    border: none;
    border-radius: 4px;
    transition: all 0.2s;
    font-weight: 400;
    display: block;
    background: none;
    margin: 0 -16px;
}

.sub-menu .post-item a:hover {
    background-color: #f7f6f3;
    color: #37352f;
}

.sub-menu .post-item a.active {
    background-color: #f7f6f3;
    color: #ff4f00;
    font-weight: 500;
    padding: 4px 16px;
    border-radius: 4px;
    margin: 0 -16px;
}

/* Main Content */
.site-main {
    flex: 1;
    min-height: calc(100vh - 200px);
    min-width: 0;
    padding-top: 40px;
}

/* Hero Section */
.hero-section {
    max-width: 100%;
    margin: 0 auto;
    padding: 80px 0 60px;
    text-align: center;
}

.hero-title {
    font-size: 56px;
    font-weight: 700;
    color: #37352f;
    margin-bottom: 24px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 20px;
    color: #787774;
    margin-bottom: 48px;
}

/* Hero Tags */
.hero-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 24px 0 48px;
}

.tag-badge {
    display: inline-block;
    padding: 6px 16px;
    color: #37352f;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-radius: 20px;
    border-width: 1px;
    border-style: solid;
    transition: all 0.2s;
    white-space: nowrap;
}

/* Yellow tag */
.tag-badge.tag-yellow {
    background-color: #fef3c7;
    border-color: #fde68a;
}

/* Blue tag */
.tag-badge.tag-blue {
    background-color: #dbeafe;
    border-color: #bfdbfe;
}

/* Red tag */
.tag-badge.tag-red {
    background-color: #fee2e2;
    border-color: #fecaca;
}

/* Orange tag */
.tag-badge.tag-orange {
    background-color: #fed7aa;
    border-color: #fdba74;
}

.tag-badge:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Hero Search Bar */
.hero-search {
    max-width: 680px;
    margin: 32px auto 32px;
}

.search-form {
    width: 100%;
}

.search-input-wrapper {
    display: flex;
    align-items: center;
    background-color: #f7f6f3;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 28px;
    padding: 0 20px;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    min-height: 56px;
}

.search-input-wrapper:focus-within {
    background-color: #f7f6f3;
    border-color: rgba(0, 0, 0, 0.15);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    outline: none;
}

.search-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: #37352f;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
}

.search-icon svg {
    width: 100%;
    height: 100%;
}

.search-field {
    flex: 1;
    border: none;
    outline: none;
    padding: 0;
    font-size: 16px;
    color: #37352f;
    background: transparent;
    font-family: inherit;
    line-height: 1.5;
}

.search-field::placeholder {
    color: #787774;
}

.search-submit {
    display: none;
}

/* Popular Topics Section */
.popular-topics {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 0 80px;
}

.section-title {
    font-size: 18px;
    font-weight: 600;
    color: #37352f;
    margin-bottom: 24px;
}

.topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 60px;
}

.topic-card {
    background-color: #ffffff;
    border: 1px solid #e9e9e7;
    border-radius: 8px;
    padding: 24px;
    text-decoration: none;
    color: #37352f;
    transition: all 0.2s;
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.topic-card:hover {
    border-color: #ff4f00;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.topic-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    font-size: 32px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.topic-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.topic-content h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
    color: #37352f;
}

.topic-content p {
    font-size: 14px;
    color: #787774;
}

/* Kapdec Academy Section */
.academy-section {
    max-width: 100%;
    margin: 0 auto;
    padding: 60px 24px;
    background-color: #f7f6f3;
    border-radius: 12px;
    margin-bottom: 60px;
    text-align: center;
}

.academy-section h2 {
    font-size: 32px;
    font-weight: 700;
    color: #37352f;
    margin-bottom: 16px;
}

.academy-section p {
    font-size: 18px;
    color: #787774;
    margin-bottom: 24px;
}

/* What's New Section */
.whats-new {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 0 80px;
}

.new-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.new-item {
    background-color: #ffffff;
    border: 1px solid #e9e9e7;
    border-radius: 8px;
    padding: 24px;
    text-decoration: none;
    color: #37352f;
    transition: all 0.2s;
}

.new-item:hover {
    border-color: #ff4f00;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.new-item h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.new-item p {
    font-size: 14px;
    color: #787774;
}

/* Footer */
.site-footer {
    background-color: #ffffff;
    border-top: 1px solid #e9e9e7;
    padding: 60px 0 40px;
    margin-top: 80px;
}

.footer-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.footer-top {
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.footer-logo .logo-image {
    height: 40px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

.footer-tagline {
    font-size: 14px;
    color: #787774;
    margin: 0;
}

.social-links {
    display: flex;
    gap: 16px;
    align-items: center;
}

.social-links a.social-icon {
    color: #787774;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
    width: 32px;
    height: 32px;
}

.social-links a.social-icon svg {
    width: 100%;
    height: 100%;
}

.social-links a.social-icon:hover {
    color: #ff4f00;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 14px;
    font-weight: 600;
    color: #37352f;
    margin-bottom: 16px;
}

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

.footer-section ul li {
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section a {
    color: #787774;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-section a:hover {
    color: #37352f;
}

.footer-bottom {
    border-top: 1px solid #e9e9e7;
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
    color: #787774;
    margin: 0;
}

/* Contact Section */
.contact-section {
    background-color: #ffffff;
    border: 1px solid #e9e9e7;
    border-radius: 8px;
    padding: 40px;
    text-align: center;
    margin-bottom: 40px;
}

.contact-section h2 {
    font-size: 24px;
    font-weight: 600;
    color: #37352f;
    margin-bottom: 24px;
}

.contact-options {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.contact-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #37352f;
}

.contact-option span {
    font-size: 24px;
    margin-bottom: 4px;
}

.contact-option strong {
    font-size: 14px;
    font-weight: 600;
}

.contact-option p {
    font-size: 12px;
    color: #787774;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .content-wrapper {
        flex-direction: column;
        gap: 24px;
    }
    
    .help-sidebar {
        width: 100%;
        position: relative;
        top: 0;
        max-height: none;
        padding: 16px 0;
    }
    
    .sidebar-nav {
        border: 1px solid #e9e9e7;
        border-radius: 8px;
        padding: 16px;
    }
}

@media (max-width: 1024px) {
    .menu-toggle {
        display: flex;
        order: 2;
    }
    
    .main-navigation {
        order: 3;
        width: 100%;
        display: none;
    }
    
    .main-navigation.active {
        display: block;
    }
    
    .main-navigation .nav-menu {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        width: 100%;
    }
    
    .main-navigation .nav-menu > li {
        width: 100%;
        border-bottom: 1px solid #e9e9e7;
    }
    
    .main-navigation .nav-menu .sub-menu {
        position: static;
        box-shadow: none;
        border: none;
        border-top: 1px solid #e9e9e7;
        margin-top: 0;
        padding-left: 20px;
        display: none;
    }
    
    .main-navigation .nav-menu .menu-item-has-children.open > .sub-menu {
        display: block;
    }
    
    .header-actions {
        gap: 12px;
        order: 2;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
        order: 2;
    }
    
    .header-container {
        flex-wrap: wrap;
        gap: 16px;
    }
    
    .main-navigation {
        order: 3;
        width: 100%;
        display: none;
    }
    
    .main-navigation.active {
        display: block;
    }
    
    .main-navigation .nav-menu {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        width: 100%;
    }
    
    .main-navigation .nav-menu > li {
        width: 100%;
        border-bottom: 1px solid #e9e9e7;
    }
    
    .main-navigation .nav-menu .sub-menu {
        position: static;
        box-shadow: none;
        border: none;
        border-top: 1px solid #e9e9e7;
        margin-top: 0;
        padding-left: 20px;
        display: none;
    }
    
    .main-navigation .nav-menu .menu-item-has-children.open > .sub-menu {
        display: block;
    }
    
    .header-actions {
        order: 2;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .hero-search {
        max-width: 100%;
        margin: 24px auto 24px;
    }
    
    .hero-tags {
        margin: 20px 0 32px;
        gap: 6px;
    }
    
    .tag-badge {
        font-size: 13px;
        padding: 5px 12px;
    }
    
    .search-input-wrapper {
        flex-wrap: wrap;
    }
    
    .search-field {
        width: 100%;
        padding: 12px 0;
    }
    
    .search-submit {
        width: 100%;
        margin: 8px 4px 4px;
    }
    
    .main-navigation {
        display: none;
    }
    
    .topics-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .contact-options {
        flex-direction: column;
        gap: 24px;
    }
    
    .content-wrapper {
        padding: 0 16px;
    }
    
    /* Page Mobile */
    .page-header {
        margin-bottom: 48px;
    }
    
    .page-title {
        font-size: 40px;
        line-height: 1.15;
    }
    
    .page-entry-content {
        font-size: 16px;
        line-height: 1.75;
    }
    
    .page-entry-content p {
        font-size: 16px;
        margin: 0 0 24px 0;
    }
    
    .page-entry-content h2 {
        font-size: 32px;
        margin: 48px 0 24px;
        line-height: 1.25;
    }
    
    .page-entry-content h3 {
        font-size: 24px;
        margin: 40px 0 20px;
        line-height: 1.3;
    }
    
    .page-entry-content h4 {
        font-size: 20px;
        margin: 32px 0 16px;
    }
    
    .page-entry-content blockquote {
        font-size: 16px;
        margin: 32px 0;
        padding-left: 24px;
    }
    
    .page-entry-content img {
        margin: 32px 0;
    }
    
    .page-entry-content hr {
        margin: 48px 0;
    }
    
    /* Single Post Mobile */
    .entry-title {
        font-size: 32px;
    }
    
    .entry-excerpt {
        font-size: 18px;
    }
    
    .entry-content h2 {
        font-size: 24px;
        margin: 32px 0 16px;
    }
    
    .entry-content h3 {
        font-size: 20px;
        margin: 24px 0 12px;
    }
    
    .nav-links {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .nav-next {
        text-align: left;
    }
    
    .share-buttons {
        flex-direction: column;
    }
    
    .share-button {
        width: 100%;
    }
    
    /* Search Results Mobile */
    .search-results-section {
        margin-top: 32px;
    }
    
    .search-result-item {
        padding: 16px 0;
    }
    
    .search-result-title {
        font-size: 16px;
    }
    
    .search-result-path {
        font-size: 12px;
    }
    
    .search-result-excerpt {
        font-size: 13px;
    }
    
    .search-pagination {
        margin-top: 32px;
        padding-top: 24px;
    }
    
    .search-no-results {
        margin-top: 32px;
        padding: 40px 0;
    }
    
    .no-results-message {
        font-size: 15px;
    }
    
    /* Search Modal Mobile */
    .search-modal-content {
        width: 95%;
        height: 500px;
    }
    
    .search-modal-inner {
        padding: 20px;
    }
    
    .search-modal-pills {
        gap: 6px;
    }
    
    .search-modal-pill {
        font-size: 13px;
        padding: 5px 12px;
    }
    
    .search-modal-results-list {
        max-height: 300px;
    }
    
    .search-modal-results-list .search-result-title {
        font-size: 14px;
    }
    
    .search-modal-results-list .search-result-excerpt {
        font-size: 12px;
    }
}

/* Category Archive Styles */
.category-breadcrumb {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e9e9e7;
}

.breadcrumb-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #787774;
}

.breadcrumb-list li {
    display: flex;
    align-items: center;
}

.breadcrumb-list a {
    color: #787774;
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb-list a:hover {
    color: #37352f;
}

.breadcrumb-separator {
    margin: 0 8px;
    color: #9b9a97;
}

.category-back-link {
    margin-bottom: 24px;
}

.category-back-link a {
    color: #787774;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.category-back-link a:hover {
    color: #37352f;
}

.category-header {
    margin-bottom: 40px;
}

.category-title {
    font-size: 36px;
    font-weight: 700;
    color: #37352f;
    margin: 0 0 8px 0;
    line-height: 1.2;
}

.category-subtitle {
    font-size: 20px;
    color: #37352f;
    margin: 0 0 24px 0;
    font-weight: 500;
}

.category-description-section {
    margin-top: 32px;
}

.category-section-title {
    font-size: 16px;
    font-weight: 600;
    color: #37352f;
    margin: 0 0 12px 0;
}

.category-description {
    font-size: 16px;
    color: #787774;
    line-height: 1.6;
}

.category-description p {
    margin: 0 0 16px 0;
}

.category-description p:last-child {
    margin-bottom: 0;
}

.category-articles-section {
    margin-top: 48px;
}

.articles-heading {
    font-size: 24px;
    font-weight: 700;
    color: #37352f;
    margin: 0 0 24px 0;
    padding-bottom: 16px;
    border-bottom: 1px solid #e9e9e7;
}

.category-posts-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.category-post-item {
    padding: 20px 0;
    border-bottom: 1px solid #e9e9e7;
    transition: background-color 0.2s;
}

.category-post-item:first-child {
    border-top: 1px solid #e9e9e7;
}

.category-post-item:hover {
    background-color: transparent;
}

.category-post-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.category-post-title a {
    color: #37352f;
    text-decoration: none;
    transition: color 0.2s;
}

.category-post-title a:hover {
    color: #ff4f00;
}

.category-post-excerpt {
    font-size: 14px;
    color: #787774;
    line-height: 1.6;
    margin: 0;
}

.posts-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.post-item {
    background-color: #ffffff;
    border: 1px solid #e9e9e7;
    border-radius: 8px;
    padding: 24px;
    transition: all 0.2s;
}

.post-item:hover {
    border-color: #ff4f00;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.entry-header {
    margin-bottom: 16px;
}

.entry-title {
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 8px 0;
}

.entry-title a {
    color: #37352f;
    text-decoration: none;
    transition: color 0.2s;
}

.entry-title a:hover {
    color: #ff4f00;
}

.entry-meta {
    font-size: 14px;
    color: #787774;
}

.entry-content {
    font-size: 16px;
    line-height: 1.6;
    color: #37352f;
    margin-bottom: 16px;
}

.entry-content p {
    margin: 0 0 12px 0;
}

.entry-footer {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #f7f6f3;
}

.read-more {
    color: #ff4f00;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.2s;
}

.read-more:hover {
    color: #cc3f00;
}

.pagination {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid #e9e9e7;
}

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

.pagination .page-numbers {
    display: inline-block;
    padding: 8px 12px;
    color: #37352f;
    text-decoration: none;
    border: 1px solid #e9e9e7;
    border-radius: 4px;
    transition: all 0.2s;
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
    background-color: #ff4f00;
    color: #ffffff;
    border-color: #ff4f00;
}

.no-posts {
    text-align: center;
    padding: 60px 24px;
}

.no-posts h1 {
    font-size: 32px;
    font-weight: 700;
    color: #37352f;
    margin-bottom: 16px;
}

.no-posts p {
    font-size: 16px;
    color: #787774;
    margin-bottom: 24px;
}

/* Search Results Styles */
/* Search Results Section */
.search-results-section {
    margin-top: 48px;
}

.search-results-header {
    margin-bottom: 24px;
}

.search-results-count {
    font-size: 14px;
    color: #787774;
    margin: 0;
}

.search-results-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.search-result-item {
    padding: 20px 0;
    border-bottom: 1px solid #e9e9e7;
    transition: background-color 0.2s;
}

.search-result-item:first-child {
    border-top: 1px solid #e9e9e7;
}

.search-result-item:hover {
    background-color: transparent;
}

.search-result-content {
    max-width: 100%;
}

.search-result-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.search-result-title a {
    color: #37352f;
    text-decoration: none;
    transition: color 0.2s;
}

.search-result-title a:hover {
    color: #ff4f00;
}

.search-result-path {
    font-size: 13px;
    color: #787774;
    margin-bottom: 8px;
    line-height: 1.4;
}

.search-result-excerpt {
    font-size: 14px;
    color: #787774;
    line-height: 1.6;
    margin: 0;
}

.search-pagination {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid #e9e9e7;
}

.search-no-results {
    margin-top: 48px;
    text-align: center;
    padding: 60px 0;
}

.no-results-message {
    font-size: 16px;
    color: #787774;
    margin: 0;
}

/* Search Modal */
.search-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.search-modal.active {
    display: block;
    opacity: 1;
}

.search-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
}

.search-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 680px;
    height: 600px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

.search-modal-close {
    display: none;
}

.search-modal-inner {
    padding: 24px;
    overflow-y: auto;
    flex: 1;
}

.search-modal-search-section {
    margin-bottom: 24px;
}

.search-input-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.search-input-root {
    display: flex;
    align-items: center;
    background-color: #f7f6f3;
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 0;
    padding: 8px 12px;
    gap: 8px;
    transition: all 0.2s ease;
}

.search-input-root:focus-within {
    background-color: #ffffff;
    border-bottom-color: rgba(0, 0, 0, 0.2);
    box-shadow: none;
}

.search-input-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #787774;
}

.search-input-icon svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

.search-input-field {
    flex: 1;
    border: none;
    outline: none;
    padding: 0;
    font-size: 14px;
    color: #37352f;
    background: transparent;
    font-family: inherit;
}

.search-input-field::placeholder {
    color: #787774;
}

.search-modal-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.search-modal-pill {
    display: inline-block;
    padding: 6px 16px;
    color: #37352f;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-radius: 20px;
    border-width: 1px;
    border-style: solid;
    transition: all 0.2s;
    white-space: nowrap;
}

.search-modal-pill.tag-yellow {
    background-color: #fef3c7;
    border-color: #fde68a;
}

.search-modal-pill.tag-blue {
    background-color: #dbeafe;
    border-color: #bfdbfe;
}

.search-modal-pill.tag-red {
    background-color: #fee2e2;
    border-color: #fecaca;
}

.search-modal-pill.tag-orange {
    background-color: #fed7aa;
    border-color: #fdba74;
}

.search-modal-pill:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.search-modal-results-section {
    margin-top: 24px;
}

.search-modal-results-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e9e9e7;
}

.search-results-count {
    font-size: 13px;
    color: #787774;
    font-weight: 400;
}

.search-modal-results-list {
    max-height: 400px;
    overflow-y: auto;
}

.search-modal-results-list .search-result-item {
    padding: 0;
    border-bottom: none;
    transition: background-color 0.2s;
}

.search-modal-results-list .search-result-item a {
    display: block;
    padding: 16px 0;
    text-decoration: none;
    color: inherit;
}

.search-modal-results-list .search-result-item:hover {
    background-color: transparent;
}

.search-modal-results-list .search-result-item:hover a {
    background-color: transparent;
}

.search-modal-results-list .search-result-content {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.search-modal-results-list .search-result-link {
    flex: 1;
    min-width: 0;
}

.search-modal-results-list .search-result-title {
    font-size: 15px;
    font-weight: 500;
    margin: 0;
    line-height: 1.4;
    color: #37352f;
}

.search-modal-results-list .search-result-item:hover .search-result-title {
    color: #ff4f00;
}

.search-modal-results-list .spacer {
    min-height: 10px;
}

.search-modal-results-list .search-result-excerpt {
    font-size: 13px;
    color: #787774;
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.search-modal-results-list .search-result-type {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    flex-shrink: 0;
    padding-top: 2px;
}

.search-modal-results-list .search-result-type-label {
    font-size: 12px;
    color: #787774;
    font-weight: 400;
}

.search-modal-results-list .divider {
    margin: 0;
    border: none;
    border-top: 1px solid #e9e9e7;
}

/* Default Posts in Search Modal */
.search-modal-default-posts {
    margin-top: 24px;
}

.search-modal-default-posts .search-results-header {
    margin-bottom: 24px;
}

.search-modal-default-posts .search-results-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-height: 400px;
    overflow-y: auto;
}

.search-modal-default-posts .search-result-item {
    padding: 20px 0;
    border-bottom: 1px solid #e9e9e7;
    transition: background-color 0.2s;
}

.search-modal-default-posts .search-result-item:first-child {
    border-top: 1px solid #e9e9e7;
}

.search-modal-default-posts .search-result-item:hover {
    background-color: transparent;
}

.search-modal-default-posts .search-result-content {
    max-width: 100%;
}

.search-modal-default-posts .search-result-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.search-modal-default-posts .search-result-title a {
    color: #37352f;
    text-decoration: none;
    transition: color 0.2s;
}

.search-modal-default-posts .search-result-title a:hover {
    color: #ff4f00;
}

.search-modal-default-posts .search-result-path {
    font-size: 13px;
    color: #787774;
    margin-bottom: 8px;
    line-height: 1.4;
}

.search-modal-default-posts .search-result-excerpt {
    font-size: 14px;
    color: #787774;
    line-height: 1.6;
    margin: 0;
}

.entry-meta .category-links {
    margin-left: 16px;
}

.entry-meta .category-links a {
    color: #787774;
    text-decoration: none;
    font-size: 13px;
    margin-right: 8px;
    transition: color 0.2s;
}

.entry-meta .category-links a:hover {
    color: #ff4f00;
}

/* Page Styles */
.page-content {
    max-width: 100%;
    padding-top: 0;
}

.page-header {
    margin-bottom: 80px;
    padding-bottom: 0;
}

.page-title {
    font-size: 64px;
    font-weight: 700;
    color: #37352f;
    line-height: 1.1;
    margin: 0;
    letter-spacing: -0.02em;
}

.page-entry-content {
    font-size: 18px;
    line-height: 1.8;
    color: #37352f;
    max-width: 100%;
}

.page-entry-content p {
    margin: 0 0 32px 0;
    font-size: 18px;
    line-height: 1.8;
}

.page-entry-content h2 {
    font-size: 40px;
    font-weight: 700;
    color: #37352f;
    margin: 80px 0 32px 0;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.page-entry-content h3 {
    font-size: 32px;
    font-weight: 600;
    color: #37352f;
    margin: 64px 0 24px 0;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.page-entry-content h4 {
    font-size: 24px;
    font-weight: 600;
    color: #37352f;
    margin: 48px 0 20px 0;
    line-height: 1.4;
}

.page-entry-content ul,
.page-entry-content ol {
    margin: 32px 0;
    padding-left: 32px;
}

.page-entry-content ul li,
.page-entry-content ol li {
    margin: 16px 0;
    line-height: 1.8;
    font-size: 18px;
}

.page-entry-content a {
    color: #ff4f00;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
}

.page-entry-content a:hover {
    border-bottom-color: #ff4f00;
}

.page-entry-content blockquote {
    border-left: 3px solid #e9e9e7;
    padding: 0 0 0 32px;
    margin: 48px 0;
    background-color: transparent;
    border-radius: 0;
    font-style: normal;
    color: #37352f;
    font-size: 20px;
    line-height: 1.7;
}

.page-entry-content img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 48px 0;
}

.page-entry-content code {
    background-color: #f7f6f3;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 16px;
    color: #37352f;
}

.page-entry-content pre {
    background-color: #f7f6f3;
    padding: 24px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 32px 0;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 14px;
    line-height: 1.6;
    color: #37352f;
}

.page-entry-content pre code {
    background-color: transparent;
    padding: 0;
    border-radius: 0;
}

.page-entry-content hr {
    border: none;
    border-top: 1px solid #e9e9e7;
    margin: 64px 0;
}

/* Single Post Styles */
.single-post {
    max-width: 100%;
    padding-top: 24px;
}

/* Breadcrumb */
.breadcrumb {
    font-size: 14px;
    color: #787774;
    margin-top: 0;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e9e9e7;
}

.breadcrumb a {
    color: #787774;
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: #37352f;
}

.breadcrumb-separator {
    margin: 0 8px;
    color: #9b9a97;
}

.breadcrumb-current {
    color: #37352f;
    font-weight: 500;
}

/* Entry Header */
.entry-header {
    margin-bottom: 32px;
}

.entry-title {
    font-size: 48px;
    font-weight: 700;
    color: #37352f;
    line-height: 1.2;
    margin: 0 0 16px 0;
}

.entry-excerpt {
    display: none;
}

/* Entry Content */
.entry-content {
    font-size: 16px;
    line-height: 1.8;
    color: #37352f;
    max-width: 100%;
}

.entry-content p {
    margin: 0 0 20px 0;
}

.entry-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: #37352f;
    margin: 48px 0 24px 0;
    line-height: 1.3;
}

.entry-content h3 {
    font-size: 24px;
    font-weight: 600;
    color: #37352f;
    margin: 36px 0 16px 0;
    line-height: 1.4;
}

.entry-content h4 {
    font-size: 20px;
    font-weight: 600;
    color: #37352f;
    margin: 28px 0 12px 0;
    line-height: 1.4;
}

.entry-content ul,
.entry-content ol {
    margin: 20px 0;
    padding-left: 24px;
}

.entry-content ul li,
.entry-content ol li {
    margin: 8px 0;
    line-height: 1.8;
}

.entry-content ul {
    list-style-type: disc;
}

.entry-content ol {
    list-style-type: decimal;
}

.entry-content a {
    color: #ff4f00;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
}

.entry-content a:hover {
    border-bottom-color: #ff4f00;
}

.entry-content blockquote {
    border-left: 4px solid #e9e9e7;
    padding: 16px 24px;
    margin: 24px 0;
    background-color: #f7f6f3;
    border-radius: 4px;
    font-style: italic;
    color: #787774;
}

.entry-content code {
    background-color: #f7f6f3;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 14px;
    color: #37352f;
}

.entry-content pre {
    background-color: #f7f6f3;
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 24px 0;
    border: 1px solid #e9e9e7;
}

.entry-content pre code {
    background: none;
    padding: 0;
    border-radius: 0;
}

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

.entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
}

.entry-content table th,
.entry-content table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid #e9e9e7;
}

.entry-content table th {
    font-weight: 600;
    background-color: #f7f6f3;
    color: #37352f;
}

.entry-content table tr:hover {
    background-color: transparent;
}

.entry-content hr {
    border: none;
    border-top: 1px solid #e9e9e7;
    margin: 32px 0;
}

/* Entry Footer */
.entry-footer {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid #e9e9e7;
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.tags-label {
    font-size: 14px;
    color: #787774;
    font-weight: 500;
    margin-right: 4px;
}

.tag-link {
    display: inline-block;
    padding: 4px 12px;
    background-color: #f7f6f3;
    color: #37352f;
    text-decoration: none;
    font-size: 13px;
    border-radius: 16px;
    border: 1px solid #e9e9e7;
    transition: all 0.2s;
}

.tag-link:hover {
    background-color: #ff4f00;
    color: #ffffff;
    border-color: #ff4f00;
}

/* Most Read Section */
.most-read-section {
    margin-top: 64px;
    padding-top: 48px;
    border-top: 1px solid #e9e9e7;
}

.most-read-heading {
    font-size: 24px;
    font-weight: 700;
    color: #37352f;
    margin: 0 0 32px 0;
    line-height: 1.2;
}

.most-read-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.most-read-item {
    padding: 20px 0;
    border-bottom: 1px solid #e9e9e7;
    transition: background-color 0.2s;
}

.most-read-item:first-child {
    border-top: 1px solid #e9e9e7;
}

.most-read-item:hover {
    background-color: transparent;
}

.most-read-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.most-read-title a {
    color: #37352f;
    text-decoration: none;
    transition: color 0.2s;
}

.most-read-title a:hover {
    color: #ff4f00;
}

.most-read-excerpt {
    font-size: 14px;
    color: #787774;
    line-height: 1.6;
    margin: 0;
}

/* Share Article Section */
.share-article-section {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid #e9e9e7;
}

.share-question {
    font-size: 18px;
    font-weight: 600;
    color: #37352f;
    margin: 0 0 16px 0;
}

.share-article {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.share-label {
    font-size: 14px;
    font-weight: 600;
    color: #37352f;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.share-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    background-color: #f7f6f3;
    color: #37352f;
    text-decoration: none;
    border: 1px solid #e9e9e7;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
    width: 44px;
    height: 44px;
}

.share-button:hover {
    background-color: #ff4f00;
    color: #ffffff;
    border-color: #ff4f00;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(255, 79, 0, 0.2);
}

.share-button .share-icon {
    display: block;
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.share-facebook:hover {
    background-color: #1877f2;
    border-color: #1877f2;
}

.share-twitter:hover {
    background-color: #000000;
    border-color: #000000;
}

.share-linkedin:hover {
    background-color: #0077b5;
    border-color: #0077b5;
}

.share-pinterest:hover {
    background-color: #bd081c;
    border-color: #bd081c;
}

/* Post Navigation */
.post-navigation {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid #e9e9e7;
}

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

.nav-previous,
.nav-next {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

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

.nav-label {
    font-size: 12px;
    color: #787774;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.nav-previous a,
.nav-next a {
    color: #37352f;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-previous a:hover,
.nav-next a:hover {
    color: #ff4f00;
}

.page-links {
    margin: 24px 0;
    padding: 16px 0;
    border-top: 1px solid #e9e9e7;
    border-bottom: 1px solid #e9e9e7;
}

.page-links a {
    display: inline-block;
    padding: 4px 8px;
    margin: 0 4px;
    color: #37352f;
    text-decoration: none;
    border: 1px solid #e9e9e7;
    border-radius: 4px;
    transition: all 0.2s;
}

.page-links a:hover {
    background-color: transparent;
    border-color: #ff4f00;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-0 {
    margin-bottom: 0;
}

.mt-0 {
    margin-top: 0;
}
