/*
 Theme Name:   GeneratePress DrBitech
 Template:     generatepress
 Description:  DrBitech style child theme for GeneratePress
 Author:       Bitnami User
 Version:      1.0.0
*/

/* DrBitech Style Customizations */

/* General Body and Background */
body {
    background-color: #f8f9fa; /* Light grey background like DrBitech */
    color: #212529;
    font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Apple SD Gothic Neo", "Malgun Gothic", "맑은 고딕", "Nanum Gothic", "Noto Sans KR", "Noto Sans CJK KR", arial, 돋움, Dotum, Tahoma, Geneva, sans-serif;
}

/* Header Styles */
.site-header {
    background-color: #ffffff;
    box-shadow: 0 0 8px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 100;
}

.inside-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    max-width: 1728px;
    margin: 0 auto;
}

/* Navigation */
.main-navigation {
    background: transparent;
}

.main-navigation .main-nav ul li a {
    color: #212529;
    font-weight: 500;
    font-size: 1.1rem;
}

.main-navigation .main-nav ul li:hover > a, 
.main-navigation .main-nav ul li.current-menu-item > a {
    color: #12b886; /* DrBitech Green */
    background: transparent;
}

/* Post Grid Layout (DrBitech Card Style) */
.generate-columns-container {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    padding: 3rem 0;
    justify-content: center;
    align-items: stretch;
}

/* Home/Archive card polish */
.blog .site-main,
.archive .site-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    background: radial-gradient(circle at 20% 20%, rgba(18, 184, 134, 0.06), transparent 35%),
                radial-gradient(circle at 80% 10%, rgba(15, 72, 103, 0.05), transparent 32%),
                #f7f9fb;
    border-radius: 18px;
    padding-bottom: 2rem;
}

/* Dark mode: prevent light-mode backdrop from leaking */
body.dark-mode.blog .site-main,
body.dark-mode.archive .site-main {
    background: transparent;
}

body.dark-mode.blog .content-area,
body.dark-mode.archive .content-area {
    background: transparent;
}

body.dark-mode.blog .site-content,
body.dark-mode.archive .site-content {
    background-color: #121212;
}

.blog .type-post, .archive .type-post {
    border: 1px solid rgba(16, 68, 92, 0.08);
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(12, 41, 31, 0.08);
    background: linear-gradient(180deg, #ffffff 0%, #fdfefe 100%);
}

.blog .type-post:hover, .archive .type-post:hover {
    box-shadow: 0 22px 70px rgba(12, 41, 31, 0.12);
    border-color: rgba(18, 184, 134, 0.25);
    transform: translateY(-4px);
}

.blog .inside-article, .archive .inside-article {
    padding: 0;
}

.blog .inside-article .entry-header,
.archive .inside-article .entry-header {
    padding: 1.1rem 1.25rem 0.35rem;
    margin: 0;
}

.blog .inside-article .entry-summary,
.archive .inside-article .entry-summary {
    padding: 0 1.25rem 0.75rem;
    height: auto;
    line-height: 1.6;
}

.blog .inside-article .entry-meta,
.archive .inside-article .entry-meta {
    padding: 0.85rem 1.25rem 1rem;
    border-top: 1px solid #edf1f3;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.blog .inside-article .entry-meta > span,
.archive .inside-article .entry-meta > span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #495057;
}

/* Remove comments link on cards */
.blog .inside-article .entry-meta .comments-link,
.archive .inside-article .entry-meta .comments-link {
    display: none;
}

/* Keep category text but disable its link */
.blog .inside-article .entry-meta .cat-links a,
.archive .inside-article .entry-meta .cat-links a {
    pointer-events: none;
    color: #495057;
    text-decoration: none;
    cursor: default;
}

/* Tighten summary clamp for consistent height */
.blog .entry-summary,
.archive .entry-summary {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.6;
    min-height: calc(1.6em * 3);
    max-height: calc(1.6em * 3);
}

.blog .entry-summary p,
.archive .entry-summary p {
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog .entry-title,
.archive .entry-title {
    font-size: 1.25rem;
    margin: 0 0 0.35rem;
    letter-spacing: -0.01em;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: calc(1.4em * 2);
}

.blog .entry-title a,
.archive .entry-title a {
    color: #0b1320;
}

.blog .entry-title a:hover,
.archive .entry-title a:hover {
    color: #0f9b75;
    text-decoration: none;
}

@media (max-width: 768px) {
    .blog .site-main,
    .archive .site-main {
        padding: 0 1rem 1.5rem;
        border-radius: 12px;
        background: #f7f9fb;
    }

    .generate-columns-container {
        gap: 20px;
        padding: 2rem 0;
    }
}

/* Layout: 2 columns on desktop */
.blog .type-post, .archive .type-post {
    margin-bottom: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    width: calc(50% - 16px);
    box-sizing: border-box;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    height: 100%;
}

@media (max-width: 768px) {
    .blog .type-post, .archive .type-post {
        width: 100%;
    }
}

.inside-article {
    padding: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

/* Image Aspect Ratio */
.post-image {
    margin: 0 !important;
    position: relative;
    width: 100%;
    padding-top: 52.35%; /* DrBitech-like aspect ratio */
    background-color: #f8f9fa;
    overflow: hidden;
}

.post-image img, 
.post-image a img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.blog .type-post:hover .post-image img {
    transform: scale(1.05);
}

/* Content Area */
.entry-header {
    padding: 1.25rem 1rem 0.5rem 1rem;
    margin-top: 0;
}

.entry-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    word-break: keep-all;
}

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

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

.entry-summary {
    padding: 0 1rem;
    font-size: 0.95rem;
    color: #495057;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 4.8rem;
}

/* AI Body Summary block (single post) */
.drbitech-ai-body-summary {
    margin: 0 0 1.75rem;
    padding: 1rem 1.25rem;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.04);
}

.drbitech-ai-body-summary__title {
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: #0ca678;
    margin: 0 0 0.5rem;
    text-transform: uppercase;
}

.drbitech-ai-body-summary__list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.55rem;
}

.drbitech-ai-body-summary__list li {
    position: relative;
    padding-left: 1.2rem;
    color: #343a40;
    line-height: 1.6;
    font-weight: 500;
}

.drbitech-ai-body-summary__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.7em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #12b886;
    transform: translateY(-50%);
}

/* Left share/like bar for single posts */
.drbitech-left-share {
    position: sticky;
    top: 120px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 14px;
    box-shadow: 0 8px 22px rgba(0,0,0,0.06);
}

.drbitech-like-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    background: #fff;
    cursor: pointer;
    font-weight: 700;
    color: #212529;
    transition: all 0.2s ease;
}

.drbitech-like-count {
    font-weight: 700;
    color: #0ca678;
}

.drbitech-like-btn:hover {
    border-color: #12b886;
    color: #0ca678;
}

.drbitech-like-btn.is-liked {
    background: #e6fcf5;
    border-color: #12b886;
    color: #0b8f63;
}

.drbitech-like-icon {
    font-size: 1.1rem;
    line-height: 1;
}

.drbitech-share-block {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.drbitech-share-title {
    font-size: 0.85rem;
    font-weight: 800;
    color: #868e96;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.drbitech-share-buttons {
    display: grid;
    gap: 6px;
}

.drbitech-share-btn {
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid #e9ecef;
    background: #f8f9fa;
    cursor: pointer;
    font-weight: 600;
    color: #212529;
    transition: all 0.2s ease;
    text-align: left;
}

.drbitech-share-btn:hover {
    background: #e6fcf5;
    border-color: #12b886;
    color: #0ca678;
}

.drbitech-toc {
    margin-top: 16px;
    padding-top: 0;
    border-top: none;
}

.drbitech-toc__title {
    font-size: 0.95rem;
    font-weight: 800;
    color: #868e96;
    letter-spacing: 0.02em;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
}

.drbitech-toc__title::before {
    content: '📑';
    font-size: 1rem;
}

.drbitech-toc__list ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.drbitech-toc__list li {
    line-height: 1.45;
}

.drbitech-toc__list a {
    color: #868e96;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.15s ease;
    font-size: 0.88rem;
    font-weight: 500;
}

.drbitech-toc__list a:hover {
    color: #212529;
}

.drbitech-toc__list li.toc-level-1 a {font-size: 0.84rem; }
.drbitech-toc__list li.toc-level-2 { font-size: 0.84rem; padding-left: 16px; }
.drbitech-toc__list li.toc-level-3 { font-size: 0.84rem;padding-left: 24px; }
.drbitech-toc__list li.toc-level-4 { font-size: 0.84rem;padding-left: 32px; }
.drbitech-toc__list li.toc-level-5 { font-size: 0.84rem;padding-left: 40px; }

/* Center the content area on single posts */
.single-post .site-content .content-area {
    max-width: 820px;
    margin: 0 auto;
    float: none;
}

.single-post .inside-article {
    padding: 0 1.25rem 2rem;
}

/* Meta / Footer of Card */
.entry-meta {
    padding: 0.75rem 1rem;
    border-top: 1px solid #f1f3f5;
    font-size: 0.75rem;
    color: #868e96;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    background: #fff;
}

.entry-meta .cat-links {
    display: none;
}

/* Remove Tags from Card as requested */
.tags-links {
    display: none !important;
}

/* Meta refinements */
.entry-meta .posted-on {
    font-weight: 400;
}
.entry-meta .byline {
    font-weight: 600;
}

/* Dark Mode refinements */
body.dark-mode .blog .type-post, 
body.dark-mode .archive .type-post {
    background: #1e1e1e;
    border-color: #2d2d2d;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

body.dark-mode .entry-title a {
    color: #ececec;
}

body.dark-mode .entry-summary {
    color: #acacac;
}

body.dark-mode .drbitech-ai-body-summary {
    background: #1b1b1b;
    border-color: #2f2f2f;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}

body.dark-mode .drbitech-ai-body-summary__title {
    color: #96f2d7;
}

body.dark-mode .drbitech-ai-body-summary__list li {
    color: #e6e6e6;
}

body.dark-mode .drbitech-ai-body-summary__list li::before {
    background: #63e6be;
}

body.dark-mode .drbitech-left-share {
    background: #1e1e1e;
    border-color: #2f2f2f;
    box-shadow: 0 8px 22px rgba(0,0,0,0.28);
}

body.dark-mode .drbitech-like-btn,
body.dark-mode .drbitech-share-btn {
    background: #1e1e1e;
    border-color: #2f2f2f;
    color: #ececec;
}

body.dark-mode .drbitech-toc__title {
    color: #a0a0a0;
}

body.dark-mode .drbitech-toc__list a {
    color: #bdbdbd;
}

body.dark-mode .drbitech-toc__list a::before {
    color: #63e6be;
}

body.dark-mode .drbitech-like-count {
    color: #63e6be;
}

body.dark-mode .drbitech-like-btn:hover,
body.dark-mode .drbitech-share-btn:hover {
    background: #0f2d26;
    border-color: #63e6be;
    color: #96f2d7;
}

body.dark-mode .drbitech-like-btn.is-liked {
    background: #0f2d26;
    border-color: #63e6be;
    color: #96f2d7;
}

body.dark-mode .drbitech-share-title {
    color: #a0a0a0;
}

body.dark-mode .entry-meta {
    background: #1e1e1e;
    border-top-color: #2d2d2d;
    color: #868e96;
}

body.dark-mode .post-image {
    background-color: #252525;
}



.read-more {
    display: none;
}

/* Sidebar Adjustments for DrBitech Style */
@media (min-width: 769px) {
    .left-sidebar .site-content .content-area {
        width: calc(100% - 280px); /* 250px sidebar + 30px gap */
        margin-left: auto;
    }
    .left-sidebar .site-content .widget-area {
        width: 250px;
        position: sticky;
        top: 80px;
        align-self: flex-start;
        max-height: calc(100vh - 100px);
        overflow-y: auto;
    }
    .left-sidebar .site-content .widget-area::-webkit-scrollbar {
        width: 4px;
    }
    .left-sidebar .site-content .widget-area::-webkit-scrollbar-thumb {
        background-color: #dee2e6;
        border-radius: 2px;
    }
}

.widget {
    background: transparent;
    box-shadow: none;
    padding: 0;
    margin-bottom: 2rem;
}

.drbitech-tag-list-widget .widget-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    border-bottom: 2px solid #212529;
    padding-bottom: 0.5rem;
    display: inline-block;
}

.drbitech-tag-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.drbitech-tag-list li {
    margin-bottom: 0.5rem;
}

.drbitech-tag-list li a {
    text-decoration: none;
    color: #495057;
    font-size: 0.95rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.25rem 0;
}

.drbitech-tag-list li.current-cat a,
.drbitech-tag-list li a:hover {
    color: #12b886;
    font-weight: 600;
}

.drbitech-tag-list .count {
    font-size: 0.85rem;
    color: #868e96;
    margin-left: 0.5rem;
}

/* DrBitech Profile Section Styles */
.drbitech-profile-container {
    max-width: 1728px;
    margin: 3rem auto 2rem auto;
    padding: 0 2rem;
}

.drbitech-profile-wrapper {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.drbitech-profile-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.drbitech-profile-img {
    width: 128px;
    height: 128px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.drbitech-profile-img-placeholder {
    width: 128px;
    height: 128px;
    border-radius: 50%;
    background-color: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: bold;
    color: #495057;
}

.drbitech-name {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0 0 1rem 0;
    color: #212529;
    line-height: 1.2;
}

.drbitech-bio {
    font-size: 1.25rem;
    color: #495057;
    margin: 0;
    line-height: 1.6;
}

.drbitech-nav-tabs {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
    border-bottom: 1px solid #dee2e6; /* Line across? DrBitech actually floats the underline */
    position: relative;
}

.drbitech-tab {
    font-size: 1.25rem;
    font-weight: 600;
    color: #868e96;
    text-decoration: none;
    padding-bottom: 1rem;
    position: relative;
    transition: color 0.2s;
}

.drbitech-tab:hover {
    color: #212529;
}

.drbitech-tab.active {
    color: #12b886; /* DrBitech Green */
}

.drbitech-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px; /* Overlap border */
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #12b886;
}

@media (max-width: 768px) {
    .drbitech-profile-wrapper {
        justify-content: center;
        text-align: center;
        flex-direction: column;
        align-items: center; /* 추가: 모바일에서도 중앙 정렬 */
    }
    .drbitech-profile-left {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 1.5rem; /* 모바일에서도 일관된 간격 유지 */
    }
    .drbitech-profile-text {
        text-align: center; /* 모바일에서 텍스트 중앙 정렬 */
    }
    .drbitech-profile-img, .drbitech-profile-img-placeholder {
        width: 100px; /* 모바일에서 조금 더 크게 조절 */
        height: 100px;
    }
    .drbitech-name {
        font-size: 1.75rem;
    }
    .drbitech-bio {
        font-size: 1.15rem;
        padding: 0 1rem; /* 모바일에서 좌우 여백 추가 */
    }
    .drbitech-nav-tabs {
        gap: 1.25rem; /* 모바일에서 탭 간격 좁힘 */
        flex-wrap: wrap; /* 탭이 넘칠 경우 줄바꿈 */
        justify-content: center;
    }
}

/* DrBitech Tags Page Styles */
.drbitech-tags-page .drbitech-section-title {
    text-align: center;
    border-bottom: none;
    font-size: 2rem;
    margin-bottom: 3rem;
}

.drbitech-tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

.drbitech-tags-cloud li a {
    display: block;
    padding: 0.5rem 1.25rem;
    background: #f8f9fa;
    border-radius: 2rem;
    text-decoration: none;
    color: #495057;
    font-size: 1.1rem;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.drbitech-tags-cloud li a:hover {
    background: #f1f3f5;
    color: #12b886;
    transform: translateY(-2px);
    border-color: #12b886;
}

.drbitech-tags-cloud .cat-count {
    color: #adb5bd;
    font-size: 0.9em;
    margin-left: 0.3rem;
}

/* Dark Mode for Tags Page */
body.dark-mode .drbitech-tags-cloud li a {
    background: #252525;
    color: #acacac;
}

body.dark-mode .drbitech-tags-cloud li a:hover {
    background: #383838;
    color: #96f2d7;
    border-color: #96f2d7;
}

/* Header Right Items */
.drbitech-header-items {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: 1rem;
}

.drbitech-icon-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: #212529;
    padding: 8px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
}

.drbitech-icon-btn:hover {
    background-color: #f1f3f5;
    color: #12b886; /* DrBitech Green */
}

.drbitech-new-post-btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    border: 1px solid #212529;
    border-radius: 2rem;
    text-decoration: none;
    color: #212529;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.drbitech-new-post-btn:hover {
    background-color: #212529;
    color: #ffffff;
}

/* Sliding Search Styles */
.drbitech-slide-search-container {
    position: relative;
    display: flex;
    align-items: center;
}

.drbitech-slide-search-form {
    width: 0;
    overflow: hidden;
    transition: width 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    background: transparent;
}

.drbitech-slide-search-container.active .drbitech-slide-search-form {
    width: 200px;
    margin-left: 0.5rem;
}

.drbitech-slide-search-input {
    width: 100%;
    border: 1px solid #ced4da;
    border-radius: 20px;
    padding: 0.5rem 1rem;
    font-size: 0.95rem;
    outline: none;
    background: #fff;
    color: #495057;
    transition: border-color 0.2s;
}

.drbitech-slide-search-input:focus {
    border-color: #12b886;
}

/* Dark Mode Sliding Search */
body.dark-mode .drbitech-slide-search-input {
    background: #1e1e1e;
    border-color: #495057;
    color: #ececec;
}

body.dark-mode .drbitech-slide-search-input:focus {
    border-color: #96f2d7;
}

/* Remove Old Overlay Styles */
.drbitech-search-overlay,
.drbitech-search-container,
.drbitech-search-box,
.drbitech-search-input,
.drbitech-search-close {
    display: none !important;
}

/* Dark Mode Styles */
body.dark-mode {
    background-color: #121212;
    color: #ececec;
}

body.dark-mode .site-header,
body.dark-mode .site-footer,
body.dark-mode .inside-navigation,
body.dark-mode .generate-columns,
body.dark-mode .inside-article,
body.dark-mode .sidebar .widget,
body.dark-mode .blog .type-post,
body.dark-mode .archive .type-post,
body.dark-mode .drbitech-category-grid li a {
    background-color: #1e1e1e;
    color: #ececec;
    border-color: #333;
}

body.dark-mode .footer-bar,
body.dark-mode .site-info {
    background-color: #1e1e1e;
    color: #868e96;
    border-top: 1px solid #333;
}

body.dark-mode .entry-title a,
body.dark-mode .main-navigation .main-nav ul li a,
body.dark-mode .main-title a,
body.dark-mode .drbitech-name,
body.dark-mode .drbitech-tab,
body.dark-mode .drbitech-icon-btn,
body.dark-mode .drbitech-new-post-btn {
    color: #ececec;
}

body.dark-mode .drbitech-bio,
body.dark-mode .entry-summary,
body.dark-mode .drbitech-tag-list li a,
body.dark-mode .cat-count {
    color: #acacac;
}

body.dark-mode .drbitech-new-post-btn {
    border-color: #ececec;
}
body.dark-mode .drbitech-new-post-btn:hover {
    background-color: #ececec;
    color: #121212;
}

body.dark-mode .entry-meta,
body.dark-mode .drbitech-nav-tabs {
    border-color: #333;
}

body.dark-mode .tags-links a {
    background-color: #252525;
    color: #96f2d7;
}

body.dark-mode .drbitech-search-overlay {
    background-color: rgba(18, 18, 18, 0.95);
}
body.dark-mode .drbitech-search-input {
    color: #ececec;
}

/* Hide Main Navigation Menu */
.main-navigation {
    display: none !important;
}

/* Ensure menu bar items (search, dark mode) are still visible and positioned correctly */
/* Since they are usually inside the nav, we might need to adjust their container or ensure they are hooked elsewhere */
/* GeneratePress hooks "generate_menu_bar_items" usually inside navigation, but we are hiding .main-navigation */
/* However, we hooked "generate_menu_bar_items" which outputs <div class="menu-bar-items">. */
/* If .main-navigation is hidden, check if .menu-bar-items is inside it. */

/* In GeneratePress, .menu-bar-items is inside .inside-navigation. */
/* So hiding .main-navigation hides everything. */

/* We need to hide the MENU itself (.main-nav) but keep the container if we want the items. */
/* Or, we can just hide the UL */

.main-navigation .main-nav > ul {
    display: none !important;
}

/* Also hide the toggle button on mobile since there is no menu */
.menu-toggle {
    display: none !important;
}

/* Make sure the container is still visible for our custom items */
.main-navigation, .inside-navigation {
    display: block !important;
}

/* Remove background and padding that might look weird empty */
.main-navigation {
    background: transparent;
}

/* Profile Section Center Alignment */
.drbitech-profile-wrapper {
    justify-content: center;
    text-align: center;
    flex-direction: column; /* Stack image and text for center alignment */
}

.drbitech-profile-left {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
}

.drbitech-profile-text {
    max-width: 600px; /* Limit width for better reading */
}

/* Nav Tabs Center Alignment */
.drbitech-nav-tabs {
    justify-content: center;
}
