/* ===== LEXICON.CSS - Complete Lexicon Pages Styling ===== */

/* Lexicon Post Layout */
.lexicon-post-main {
    background-color: #000000;
    min-height: 100vh;
    padding-top: 80px;
    padding-bottom: 60px;
    position: relative;
}

/* Background Gradient for Lexicon Posts */
.lexicon-background-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(156, 238, 105, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(16, 17, 20, 0.1) 0%, transparent 50%),
        #000000;
    z-index: -1;
    pointer-events: none;
}

.lexicon-layout {
    display: grid;
    grid-template-columns: 60px 1fr 350px;
    gap: 40px;
    position: relative;
}

/* Social Share Sticky */
.social-share-sticky {
    position: sticky;
    top: 120px;
    height: fit-content;
}

.share-icons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 20px 8px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.share-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.7);
    background: transparent;
    border: none;
    cursor: pointer;
}

.share-icon:hover {
    transform: translateY(-2px);
    color: #ffffff;
}

.share-icon.twitter:hover { background: #000000; }
.share-icon.facebook:hover { background: #4267b2; }
.share-icon.linkedin:hover { background: #0077b5; }
.share-icon.telegram:hover { background: #0088cc; }
.share-icon.copy-link:hover { background: #9cee69; }

/* Single Lexicon Post */
.lexicon-content {
    background: transparent;
    padding: 0px 40px 40px 40px;
    max-width: none;
}

.post-header {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.post-title {
    font-family: 'Quinn', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: #9cee69;
    margin-bottom: 20px;
    line-height: 1.3;
	letter-spacing: 1px;
}

/* Back to Lexicon Button */
.back-to-lexicon {
    margin-bottom: 20px;
}

.back-lexicon-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.back-lexicon-btn:hover {
    background: rgba(156, 238, 105, 0.1);
    border-color: #9cee69;
    color: #9cee69;
    transform: translateX(-3px);
}

.back-lexicon-btn svg {
    transition: transform 0.3s ease;
}

.back-lexicon-btn:hover svg {
    transform: translateX(-2px);
}

.post-meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    line-height: 1.3em;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: 500;
}

.meta-item svg {
    opacity: 0.7;
}

.emoji-icon {
    font-size: 16px;
    opacity: 0.7;
}

/* Category Link Styling */
.category-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.category-link:hover {
    color: #9cee69;
}

.post-content {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    font-size: 16px;
}

.post-content h1 {
    font-family: 'Quinn', sans-serif;
    font-weight: 700;
    color: #9cee69;
    margin: 30px 0 15px 0;
    line-height: 1.3;
    font-size: 2.2rem;
}

.post-content h2, .post-content h3, .post-content h4 {
    color: #ffffff;
    margin: 30px 0 15px 0;
    font-weight: 700;
    line-height: 1.3;
}

.post-content h2 {
    font-size: 1.8rem;
}

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

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

.post-content li {
    margin-bottom: 8px;
}

.post-content a {
    color: #9cee69;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 2px dotted #9cee69;
    padding-bottom: 2px;
}

.post-content blockquote {
    background: rgba(156, 238, 105, 0.1);
    border-left: 4px solid #9cee69;
    padding: 20px 25px;
    margin: 25px 0;
    border-radius: 8px;
    font-style: italic;
}

.post-content code {
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
}

.post-content pre {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 10px;
    overflow-x: auto;
    margin: 20px 0;
}

/* Reading Progress Bar */
.reading-progress-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, #9cee69, #7dd945);
    z-index: 9999;
    transition: width 0.3s ease;
    box-shadow: 0 -1px 3px rgba(156, 238, 105, 0.3);
}

/* Like Section */
.post-like-section {
    margin: 50px 0;
    padding: 30px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    text-align: center;
}

.like-container h4 {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.like-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 15px 30px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.like-button:hover {
    background: rgba(156, 238, 105, 0.1);
    border-color: #9cee69;
    color: #ffffff;
    transform: translateY(-2px);
}

.like-button.liked {
    background: linear-gradient(135deg, #9cee69, #7dd945);
    border-color: #9cee69;
    color: #000000;
    box-shadow: 0 4px 15px rgba(156, 238, 105, 0.4);
}

.like-button.liked .like-emoji {
    animation: likeAnimation 0.6s ease;
}

.like-emoji {
    font-size: 24px;
    transition: all 0.3s ease;
}

.like-button.liked .like-emoji {
    transform: scale(1.1);
}

.like-count {
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
    min-width: 20px;
}

.like-button.liked .like-count {
    background: rgba(0, 0, 0, 0.3);
    color: #000000;
}

@keyframes likeAnimation {
    0% { transform: scale(1); }
    50% { transform: scale(1.3) rotateZ(10deg); }
    100% { transform: scale(1.1); }
}

/* Continue Reading Section */
.continue-reading-section {
    margin: 60px 0 40px 0;
    padding: 40px 30px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    text-align: center;
}

.continue-reading-section h3 {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.continue-reading-section p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    margin-bottom: 30px;
}

.random-terms-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin-top: 25px;
}

.random-term-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.random-term-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(156, 238, 105, 0.1), transparent);
    transition: left 0.5s ease;
}

.random-term-card:hover::before {
    left: 100%;
}

.random-term-card:hover {
    background: rgba(156, 238, 105, 0.1);
    border-color: #9cee69;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(156, 238, 105, 0.2);
}

.random-term-title {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    position: relative;
    z-index: 2;
}

.random-term-excerpt {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.4;
    position: relative;
    z-index: 2;
}

/* Sidebar */
.lexicon-sidebar {
    position: sticky;
    top: 120px;
    height: fit-content;
}

.sidebar-widget {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 25px;
}

.sidebar-widget h3 {
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}

/* Banner Widget Styling */
.banner-widget {
    padding: 0;
    overflow: hidden;
}

.affiliate-banner.enhanced {
    display: block;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    min-height: 200px;
}

.affiliate-banner.enhanced:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(156, 238, 105, 0.3);
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(156, 238, 105, 0.6));
    z-index: 2;
}

.banner-content.enhanced {
    position: relative;
    z-index: 3;
    padding: 25px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.banner-text.enhanced h4 {
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 8px;
    line-height: 1.3;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.banner-text.enhanced p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.4;
}

.banner-features {
    margin-bottom: 20px;
}

.banner-features span {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
    margin-bottom: 4px;
    font-weight: 500;
}

.cta-button {
    background: linear-gradient(135deg, #9cee69, #7dd945);
    color: #000000;
    padding: 12px 20px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 14px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(156, 238, 105, 0.4);
    transition: all 0.3s ease;
}

.affiliate-banner.enhanced:hover .cta-button {
    background: linear-gradient(135deg, #7dd945, #6bc729);
    transform: scale(1.05);
}

/* In-Content CTA Banner */
.incontent-cta-banner {
    margin: 40px 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(156, 238, 105, 0.2);
    transition: all 0.3s ease;
}

.incontent-cta-banner:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(156, 238, 105, 0.3);
}

.incontent-affiliate-banner {
    display: block;
    text-decoration: none;
    position: relative;
    min-height: 160px;
    background: linear-gradient(135deg, #9cee69, #7dd945);
}

.incontent-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.1), rgba(156, 238, 105, 0.1));
    z-index: 1;
}

.incontent-banner-content {
    position: relative;
    z-index: 2;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.incontent-banner-text h4 {
    color: #000000;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    line-height: 1.3;
}

.incontent-banner-text p {
    color: #000000;
    font-size: 16px;
    margin-bottom: 20px;
    line-height: 1.4;
    max-width: 500px;
}

.incontent-banner-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.incontent-banner-features span {
    color: #000000;
    font-size: 14px;
    font-weight: 600;
}

.incontent-cta-button {
    background: #000000;
    color: #9cee69;
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 16px;
    border: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.incontent-affiliate-banner:hover .incontent-cta-button {
    background: #1a1a1a;
    transform: scale(1.05);
}

/* Related Terms */
.related-terms {
    margin-top: 10px;
}

.related-terms h4 {
    color: #ffffff !important;
    font-size: 1.1rem !important;
    margin-bottom: 15px !important;
    font-weight: 600 !important;
}

.related-terms h4 span {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    display: block;
    margin-top: 5px;
}

.related-terms ul {
    background: rgba(255, 255, 255, 0.05) !important;
    border-radius: 10px !important;
    padding: 15px !important;
    list-style: none !important;
}

.related-terms li {
    margin: 8px 0 !important;
    padding: 8px 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.related-terms li:last-child {
    border-bottom: none;
}

.related-terms a {
    color: rgba(255, 255, 255, 0.8) !important;
    text-decoration: none !important;
    font-size: 14px !important;
    transition: color 0.3s ease !important;
}

.related-terms a:hover {
    color: #9cee69 !important;
}

/* Mobile Social Share */
.social-share-mobile {
    display: none;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.social-share-mobile h4 {
    color: #ffffff;
    margin-bottom: 15px;
    font-size: 1.1rem;
    line-height: 1.3;
}

.social-share-mobile .share-icons {
    display: flex;
    gap: 15px;
    flex-direction: row;
}

.social-share-mobile .share-icon {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #9cee69;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

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

.back-to-top:hover {
    background: #7dd945;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(156, 238, 105, 0.4);
}

.back-to-top svg {
    color: #000000;
}

/* Lexicon Directory Styles */
.lexicon-directory-main {
    background-color: #000000;
    min-height: 100vh;
    padding-top: 40px;
    padding-bottom: 60px;
}

.lexicon-directory-header {
    text-align: center;
    margin-bottom: 50px;
}

.page-title {
    font-family: 'Quinn', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 15px;
    color: #9cee69;
}

.page-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
}

.lexicon-directory-search {
    max-width: 700px;
    margin: 0 auto 50px auto;
}

/* Stats Section */
.lexicon-stats-section {
    margin-bottom: 50px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    background: rgba(156, 238, 105, 0.1);
    border-color: rgba(156, 238, 105, 0.3);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #9cee69;
    margin-bottom: 8px;
}

.stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Most Searched Section */
.most-searched-section {
    margin-bottom: 50px;
}

.most-searched-section h3 {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    text-align: center;
}

.most-searched-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    max-width: 1000px;
    margin: 0 auto;
}

.most-searched-term {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 15px;
    text-align: left;
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
}

.most-searched-term:hover {
    background: rgba(156, 238, 105, 0.1);
    border-color: #9cee69;
    transform: translateY(-3px);
}

.most-searched-term .term-name {
    color: #ffffff;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 5px;
}

.most-searched-term .term-views {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
}

/* Alphabet Navigation */
.alphabet-navigation-sticky {
    position: sticky;
    top: 80px;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 40px;
    z-index: 100;
}

.alphabet-nav-content h4 {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
    text-align: center;
}

.alphabet-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.alphabet-link {
    display: inline-block;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    min-width: 35px;
    text-align: center;
}

.alphabet-link:hover, .alphabet-link.active {
    background: #9cee69;
    border-color: #9cee69;
    color: #000000;
    transform: translateY(-2px);
}

.alphabet-link.disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.alphabet-link.disabled:hover {
    transform: none;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
}

/* Terms Container */
.lexicon-terms-container {
    margin-top: 40px;
}

.lexicon-group {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.lexicon-group:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(156, 238, 105, 0.3);
}

.lexicon-group h4 {
    color: #9cee69;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 20px;
    border-bottom: 2px solid rgba(156, 238, 105, 0.3);
    padding-bottom: 10px;
}

.lexicon-group .group-stats {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    margin-bottom: 20px;
    font-style: italic;
}

.lexicon-terms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

/* Enhanced Lexicon Item Styles */
.lexicon-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 15px;
    transition: all 0.3s ease;
}

.lexicon-item:hover {
    background: rgba(156, 238, 105, 0.1);
    border-color: #9cee69;
    transform: translateY(-2px);
}

.lexicon-item-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.lexicon-term-title {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    line-height: 1.3;
    transition: color 0.3s ease;
	letter-spacing: 1px;
}

.lexicon-item:hover .lexicon-term-title {
    color: #9cee69;
}

/* Category styling - minimal like views */
.lexicon-term-category {
    margin-top: 6px;
}

.lexicon-item .category-link {
    display: inline-block !important;
    background: none !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    font-size: 10px !important;
    font-weight: 400 !important;
    color: rgba(255, 255, 255, 0.5) !important;
    text-decoration: none !important;
    text-transform: uppercase !important;
    letter-spacing: 0.2px !important;
    transition: color 0.3s ease !important;
    line-height: 1.1 !important;
}

.lexicon-item .category-link:hover {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* Views styling - smaller and grey for Browse by Letter */
.lexicon-term-meta {
    margin-top: 6px;
}

.lexicon-term-meta .term-views {
    color: rgba(255, 255, 255, 0.5);
    font-size: 11px;
    font-weight: 400;
    font-style: italic;
}

/* Legacy support for old structure */
.lexicon-item a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    display: block;
}

.lexicon-item:hover a {
    color: #9cee69;
}

/* Category Page Styles */
.category-page-main {
    background-color: #000000;
    min-height: 100vh;
    padding-top: 40px;
    padding-bottom: 60px;
    position: relative;
    background: 
        radial-gradient(circle at 20% 20%, rgba(156, 238, 105, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(16, 17, 20, 0.08) 0%, transparent 50%),
        #000000;
}

.category-page-header {
    text-align: center;
    margin-bottom: 40px;
}

/* Category Search */
.category-search-section {
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.category-search-container {
    position: relative;
}

.category-search-input {
    width: 100%;
    height: 60px;
    padding: 15px 120px 15px 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    background-color: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    box-sizing: border-box;
    transition: all 0.3s ease;
    color: #ffffff;
    font-size: 16px;
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
}

.category-search-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.category-search-input:focus {
    outline: none;
    border-color: #9cee69;
    background-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 20px rgba(156, 238, 105, 0.3);
}

/* Category Stats */
.category-stats-section {
    margin-bottom: 40px;
}

.category-stats-section .stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    max-width: 600px;
}

.stat-card.filtering-active {
    background: rgba(156, 238, 105, 0.1);
    border-color: rgba(156, 238, 105, 0.3);
}

.stat-card.filtering-active .stat-number {
    color: #ffffff;
}

/* Category Navigation */
.category-navigation {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 40px;
}

.category-nav-content h4 {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
}

.category-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.category-link {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.category-link:hover, .category-link.active {
    background: #9cee69;
    border-color: #9cee69;
    color: #000000;
    transform: translateY(-1px);
}

.category-link.view-all {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.category-link.view-all:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: #ffffff;
    color: #ffffff;
}

/* Terms Grid */
.category-terms-container {
    margin-top: 30px;
}

.terms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.term-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 25px;
    transition: all 0.3s ease;
    height: fit-content;
}

.term-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(156, 238, 105, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(156, 238, 105, 0.2);
}

.term-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    gap: 15px;
}

.term-title {
    margin: 0;
    flex: 1;
}

.term-title a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.term-title a:hover {
    color: #9cee69;
}

.term-views {
    display: flex;
    align-items: center;
    gap: 5px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    font-weight: 600;
    flex-shrink: 0;
}

.term-views svg {
    opacity: 0.7;
}

.term-excerpt {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 14px;
}

.term-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.term-date {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    font-weight: 500;
}

.read-more {
    color: #9cee69;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.3s ease;
}

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

/* No Results */
.no-terms-found,
.no-search-results {
    text-align: center;
    padding: 60px 20px;
    grid-column: 1 / -1;
}

.no-terms-found h3,
.no-search-results h3 {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.no-terms-found p,
.no-search-results p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
    line-height: 1.6;
}

.browse-all-btn,
.clear-search-btn {
    background: linear-gradient(135deg, #9cee69, #7dd945);
    color: #000000;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

.browse-all-btn:hover,
.clear-search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(156, 238, 105, 0.4);
}

/* ===== SEARCH SPECIFIC OVERRIDES FOR LEXICON PAGES ===== */

/* Lexicon Directory Page - Specific Search Result Layout */
.lexicon-directory-search .search-result-item {
    display: block !important;
    position: relative !important;
    padding: 20px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    width: 100% !important;
    box-sizing: border-box !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

.lexicon-directory-search .search-result-item:hover {
    background: rgba(156, 238, 105, 0.1) !important;
    transform: translateX(3px) !important;
}

/* Content Container - Block Layout */
.lexicon-directory-search .result-content {
    display: block !important;
    padding-right: 80px !important;
    width: 100% !important;
}

.lexicon-directory-search .result-title {
    display: block !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin-bottom: 8px !important;
    line-height: 1.3 !important;
    padding-right: 80px !important;
    word-wrap: break-word !important;
}

.lexicon-directory-search .result-excerpt {
    display: block !important;
    font-size: 14px !important;
    color: rgba(255, 255, 255, 0.8) !important;
    line-height: 1.5 !important;
    padding-right: 80px !important;
    word-wrap: break-word !important;
    margin-top: 8px !important;
}

/* Score - Absolute positioned in top right */
.lexicon-directory-search .result-score {
    position: absolute !important;
    top: 15px !important;
    right: 20px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 5px !important;
    width: 60px !important;
    z-index: 10 !important;
}

.lexicon-directory-search .score-text {
    font-size: 11px !important;
    font-weight: 600 !important;
    color: rgba(255, 255, 255, 0.7) !important;
    text-align: center !important;
    white-space: nowrap !important;
}

.lexicon-directory-search .score-bar {
    width: 50px !important;
    height: 6px !important;
    background: rgba(255, 255, 255, 0.2) !important;
    border-radius: 3px !important;
    overflow: hidden !important;
}

.lexicon-directory-search .score-fill {
    height: 100% !important;
    border-radius: 3px !important;
    transition: width 0.3s ease !important;
}

/* Category Pages - Same layout fix */
.category-page-main .search-result-item,
.page-template-category .search-result-item {
    display: block !important;
    position: relative !important;
    padding: 20px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.category-page-main .result-title,
.category-page-main .result-excerpt,
.page-template-category .result-title,
.page-template-category .result-excerpt {
    padding-right: 80px !important;
    display: block !important;
    width: 100% !important;
}

.category-page-main .result-score,
.page-template-category .result-score {
    position: absolute !important;
    top: 15px !important;
    right: 20px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 5px !important;
    width: 60px !important;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .lexicon-layout {
        grid-template-columns: 1fr 300px;
        gap: 30px;
    }
    
    .social-share-sticky {
        display: none;
    }
    
    .social-share-mobile {
        display: block;
    }
}

@media (max-width: 768px) {
    .lexicon-post-main {
        padding-top: 20px;
        padding-bottom: 20px;
    }
    
    .lexicon-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .lexicon-content {
        padding: 0px;
        border-radius: 15px;
    }
    
    .post-title {
        font-size: 2rem;
    }
    
    .post-meta {
        gap: 20px;
        line-height: 1.3em;
    }
    
    .social-share-mobile h4 {
        color: #ffffff;
        margin-bottom: 15px;
        font-size: 1.1rem;
        line-height: 1.3;
    }

    .social-share-mobile .share-icons {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10%;
        flex-direction: row;
        font-size: 14px;
        font-weight: 600;
        flex-wrap: nowrap;
    }

    .social-share-mobile .share-icon {
        padding: 0;
        background: none;
        border-radius: 0;
        text-decoration: none;
        transition: color 0.3s ease;
        color: rgba(255, 255, 255, 0.8);
        white-space: nowrap;
    }

    .social-share-mobile .share-icon:hover {
        color: #9cee69;
    }

    .social-share-mobile .share-icon:not(:last-child)::after {
        content: ' | ';
        margin: 0 8px;
        color: rgba(255, 255, 255, 0.4);
    }
    
    .sidebar-widget {
        padding: 20px;
    }
    
    .incontent-banner-content {
        padding: 25px 20px;
    }
    
    .incontent-banner-text h4 {
        font-size: 1.3rem;
    }
    
    .incontent-banner-text p {
        font-size: 15px;
    }
    
    .incontent-banner-features {
        gap: 20px;
        flex-direction: column;
    }
    
    .incontent-cta-button {
        padding: 12px 25px;
        font-size: 15px;
    }
    
    /* Mobile Search Results on Lexicon Pages */
    .lexicon-directory-search .result-title,
    .lexicon-directory-search .result-excerpt {
        padding-right: 70px !important;
    }
    
    .lexicon-directory-search .result-score {
        right: 15px !important;
        width: 50px !important;
    }
    
    .lexicon-directory-search .score-bar {
        width: 40px !important;
        height: 5px !important;
    }
}