/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

/* *{
    outline: 1px solid rgba(94, 252, 94, 0.57);
}
 */

:root {
    --primary: #667eea;
    --primary-dark: #764ba2;
    --secondary: #ec4899;
    --accent_1: #764ba2;
    --accent_2: #4FACFE;
    --dark: #2C3E50;
    --dark_1: #1a1a2e;
    --light: #f8f9fa;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #6c757d;
    --success: #27ae60;
    --warning: #E67E22;
    --danger: #E74C3C;
    --text-300: #495057;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.12);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 24px;
    --radius-2xl: 28px;

    --transition: all 0.2s ease;

}

/* -------------------------------------------*overwrite Start*------------------------------------------------------- */

h2.entry-title {
    margin-bottom: 0;
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
    min-height: 40px;
}

.inside-article {
    margin-bottom: 1.5rem;
    border-radius: var(--radius-xl);
    background-color: #fff;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.inside-article:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

body {
    background: linear-gradient(180deg, #F8F9FA 0%, #E9ECEF 50%, #DEE2E6 100%);
    background-attachment: fixed;
}

body, button, input, select, optgroup, textarea {
    color: var(--dark);
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    font-size: 16px;
    font-size: 1rem;
    line-height: 1.6;
}


h1, h2, h3, h4, h5, h6 {
    clear: both;
    margin-top: 0;
    margin-bottom: 1rem;
    font-weight: 700;
    font-family: 'Poppins', 'Segoe UI', sans-serif;
}

.entry-content h2 {
    border-bottom: 2px solid var(--gray-200);
    padding-top: 1rem;
    padding-bottom: .825rem;
}

/* -------------------------------------------*overwrite end*------------------------------------------------------- */


/* -------------------------------------------*Layout Start*------------------------------------------------------- */

.main-navigation.has-branding .inside-navigation.grid-container,
.main-navigation.has-branding.grid-container .inside-navigation:not(.grid-container) {
    padding: 0px 10px 0px 10px !important;
}

.container.grid-container {
    padding: 0 10px 0 10px;
}

@media (max-width: 768px) {
    .navigation-branding {
        margin-right: auto;
        margin-left: 0 !important;
    }

    .separate-containers .inside-article,
    .separate-containers .comments-area,
    .separate-containers .page-header,
    .separate-containers .paging-navigation,
    .one-container .site-content,
    .inside-page-header {
        padding: 10px;
    }
}


.separate-containers .site-main {
    margin: 20px;

}

.nk-site-main {
    width: 70%;
}

@media (max-width: 768px) {

    .navigation-branding .main-title,
    .mobile-header-navigation .site-logo {
        margin-left: 0 !important;
    }

    .separate-containers .site-main {
        width: auto;
        margin: 0;
    }

    .container.grid-container {
        padding: 20px 10px 0 10px;
    }
}

.inside-right-sidebar {
    position: sticky;
    top: 80px;
}


/* -------------------------------------------*Layout End*------------------------------------------------------- */

/* -------------------------------------------*Navbar Start*------------------------------------------------------- */

/* Hide GP default header elements (safety fallback) */
.site-header {
    background: none !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
}

/* ═══ Glassmorphism Navbar ═══ */
.nkx-navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: rgba(248, 249, 250, 0.9);
}

.nkx-navbar-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 16px;
}

/* ═══ Logo / Brand ═══ */
.nkx-navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--dark);
    flex: 1;
}

.nkx-navbar-brand:hover {
    text-decoration: none;
}

.nkx-navbar-logo {
    height: 40px;
    width: auto;
    display: block;
}

.nkx-navbar-site-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark) !important;
    white-space: nowrap;
}

/* ═══ Menu Toggle Button ═══ */
.nkx-navbar-mobile-btn {
    display: flex;
    width: 40px;
    height: 40px;
    background: white;
    border: none;
    border-radius: 12px;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: var(--transition);
    /* margin-left: auto ; */
}

.nkx-navbar-mobile-btn:hover {
    background: #f8f9fa;
}

.nkx-navbar-mobile-btn svg {
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
    flex-shrink: 0;
    color: var(--dark);
}

/* ═══ Off-Canvas Menu ═══ */
.nkx-offcanvas-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.nkx-offcanvas-overlay.nkx-open {
    opacity: 1;
    visibility: visible;
}

.nkx-offcanvas {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    max-width: 85vw;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 9999;
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.15);
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.nkx-offcanvas.nkx-open {
    right: 0;
}

.nkx-offcanvas-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--gray-200);
}

.nkx-offcanvas-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--dark);
}

.nkx-offcanvas-brand .nkx-navbar-logo {
    height: 36px;
}

.nkx-offcanvas-brand .nkx-navbar-site-title {
    font-size: 14px;
}

.nkx-offcanvas-close {
    background: rgba(102, 126, 234, 0.1);
    border: none;
    border-radius: 10px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.nkx-offcanvas-close svg {
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
    flex-shrink: 0;
    stroke: var(--dark);
}

.nkx-offcanvas-close:hover {
    background: rgba(231, 76, 60, 0.15);
}

.nkx-offcanvas-close:hover svg {
    stroke: var(--danger);
}

.nkx-offcanvas-body {
    padding: 16px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.nkx-offcanvas-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.nkx-offcanvas-links li a {
    display: block;
    padding: 12px 16px;
    border-radius: 12px;
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
}

.nkx-offcanvas-links li a:hover {
    background: rgba(102, 126, 234, 0.1);
    color: var(--primary);
}

.nkx-offcanvas-links li.current-menu-item > a,
.nkx-offcanvas-links li.current_page_item > a {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

/* ═══ Desktop Enhancements ═══ */
@media (min-width: 992px) {
    .nkx-navbar-inner {
        padding: 16px 40px;
    }

    .nkx-navbar-logo {
        height: 48px;
    }

    .nkx-navbar-site-title {
        font-size: 22px;
    }
}

@media (min-width: 1400px) {
    .nkx-navbar-inner {
        padding: 20px 60px;
    }

    .nkx-navbar-logo {
        height: 52px;
    }

    .nkx-navbar-site-title {
        font-size: 24px;
    }


}

@media (max-width: 768px) {
   .nkx-navbar-mobile-btn {
  
    margin-left: auto ;
}

}

/* -------------------------------------------*Navbar End*------------------------------------------------------- */

/* -------------------------------------------*App Title Section Start*------------------------------------------------------- */

.w1-nkx-cl-app-title-section {
    flex: 1;
    margin-left: 12px;
    min-width: 0;
}

.w1-nkx-cl-app-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.w1-nkx-cl-app-subtitle {
    font-size: 12px;
    color: var(--gray-400);
}

@media (min-width: 992px) {
    .w1-nkx-cl-app-title {
        font-size: 24px;
    }

    .w1-nkx-cl-app-subtitle {
        font-size: 14px;
    }
}

@media (min-width: 1400px) {
    .w1-nkx-cl-app-title {
        font-size: 26px;
    }
}

/* -------------------------------------------*App Title Section End*------------------------------------------------------- */

/* -------------------------------------------*App Bar Actions Start*------------------------------------------------------- */

.w1-nkx-cl-app-bar-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
    margin-left: auto;
}

.w1-nkx-cl-app-bar-btn {
    width: 40px;
    height: 40px;
    background: white;
    border: none;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.w1-nkx-cl-app-bar-btn:hover {
    background: var(--gray-100);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.w1-nkx-cl-app-bar-btn:active {
    transform: translateY(0);
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.w1-nkx-cl-app-bar-btn:focus {
    outline: none;
    background: white;
}

.w1-nkx-cl-app-bar-btn svg {
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
    flex-shrink: 0;
    color: var(--dark);
}

:fullscreen .w1-nkx-cl-app-bar-btn#w1-nkx-id-fullscreenBtn,
:-webkit-full-screen .w1-nkx-cl-app-bar-btn#w1-nkx-id-fullscreenBtn {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

:fullscreen .w1-nkx-cl-app-bar-btn#w1-nkx-id-fullscreenBtn svg,
:-webkit-full-screen .w1-nkx-cl-app-bar-btn#w1-nkx-id-fullscreenBtn svg {
    color: white;
}

@media (min-width: 992px) {
    .w1-nkx-cl-app-bar-btn {
        width: 48px;
        height: 48px;
        border-radius: 14px;
    }

    .w1-nkx-cl-app-bar-btn svg {
        width: 24px;
        height: 24px;
        min-width: 24px;
        min-height: 24px;
    }
}

@media (max-width: 768px) {
    .w1-nkx-cl-app-bar-actions {
        display: none;
    }
}

/* -------------------------------------------*App Bar Actions End*------------------------------------------------------- */

/* -------------------------------------------*Footer Start*------------------------------------------------------- */

/* Container */
.nkx-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Footer */
.nkx-footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: white;
    padding: 5rem 0 2rem;
}

/* ── Footer Search ── */
.nkx-footer-search {
    position: relative;
    text-align: center;
    padding: 3.5rem 2rem;
    margin-bottom: 4rem;
    border-radius: 24px;
    background:
        radial-gradient(ellipse 70% 120% at 50% -10%, rgba(102, 126, 234, 0.22) 0%, transparent 70%),
        rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.09);
    backdrop-filter: blur(4px);
    overflow: hidden;
}

/* Subtle corner-glow decoration */
.nkx-footer-search::after {
    content: '';
    position: absolute;
    bottom: -80px;
    right: -80px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(118, 75, 162, 0.18) 0%, transparent 70%);
    pointer-events: none;
}

.nkx-footer-search-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.6rem;
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #ffffff 0%, rgba(180, 190, 255, 0.9) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.nkx-footer-search-subtitle {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.9375rem;
    margin-bottom: 2rem;
    font-family: 'Poppins', 'Segoe UI', sans-serif;
}

.nkx-footer-search-form {
    display: flex;
    align-items: center;
    max-width: 620px;
    margin: 0 auto;
    background: #ffffff;
    border: 2px solid transparent;
    border-radius: 100px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.nkx-footer-search-form:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.2), 0 8px 32px rgba(0, 0, 0, 0.3);
}

.nkx-footer-search-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-left: 22px;
    color: var(--gray-300);
    transition: color 0.25s;
}

.nkx-footer-search-form:focus-within .nkx-footer-search-icon {
    color: var(--primary);
}

.nkx-footer-search-input {
    flex: 1;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    -webkit-appearance: none !important;
    padding: 17px 14px;
    color: var(--dark);
    font-size: 15px;
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    min-width: 0;
    border-radius: 100px !important;
}

.nkx-footer-search-input:focus {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
}

.nkx-footer-search-input::placeholder {
    color: var(--gray-400);
}

.nkx-footer-search-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary), var(--accent_1));
    border: none;
    cursor: pointer;
    margin: 6px;
    padding: 12px 26px;
    border-radius: 100px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    white-space: nowrap;
    flex-shrink: 0;
    box-shadow: 0 4px 18px rgba(102, 126, 234, 0.5);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    letter-spacing: 0.01em;
}

.nkx-footer-search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(102, 126, 234, 0.65);
}

.nkx-footer-search-btn svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .nkx-footer-search {
        padding: 2.25rem 1.25rem;
    }
    .nkx-footer-search-title {
        font-size: 1.5rem;
    }
    .nkx-footer-search-btn-text {
        display: none;
    }
    .nkx-footer-search-btn {
        padding: 12px 16px;
    }
}

.nkx-footer-container {
    display: grid;
    grid-template-columns: 2fr repeat(2, 1fr);
    gap: 3rem;
}

/* Logo */
.nkx-logo {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nkx-footer-logo {
    color: white;
    margin-bottom: 1.5rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
}

.nkx-logo-icon {
    width: 28px;
    height: 28px;
    color: var(--accent);
}

.nkx-logo-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

.nkx-footer-description {
    color: var(--gray-400);
    margin-bottom: 2rem;
}

/* Social Links */
.nkx-social-links {
    display: flex;
    gap: 1rem;
}

.nkx-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background-color: rgba(255, 255, 255, 0.08);
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.nkx-social-icon {
    width: 18px;
    height: 18px;
    color: currentColor;
}

.nkx-social-link:hover {
    background: linear-gradient(135deg, var(--primary), var(--accent_1));
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
    color: white;
}

/* Footer Links */
.nkx-footer-title {
    font-size: 1.25rem;
    color: white;
    margin-bottom: 1.5rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.nkx-footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nkx-footer-item {
    margin: 0;
    padding: 0;
}

.nkx-footer-link {
    color: var(--gray-400);
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
}

.nkx-footer-link:hover {
    color: white;
    transform: translateX(5px);
}

/* Contact Section */
.nkx-footer-contact {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--gray-400);
}

.nkx-contact-icon {
    width: 20px;
    height: 20px;
    color: var(--primary);
    flex-shrink: 0;
}

.nkx-contact-text {
    color: inherit;
}

/* Footer Bottom */
.nkx-footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    color: var(--gray-400);
    font-size: 0.875rem;
}

.nkx-copyright {
    margin: 0;
}

.nkx-footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.nkx-footer-bottom-link {
    color: var(--gray-400);
    text-decoration: none;
    transition: var(--transition);
}

.nkx-footer-bottom-link:hover {
    color: white;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .nkx-footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .nkx-footer-info {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .nkx-footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .nkx-footer-info {
        grid-column: span 1;
    }

    .nkx-footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .nkx-footer-bottom-links {
        justify-content: center;
    }
}

/* -------------------------------------------*Footer End*------------------------------------------------------- */



/* -------------------------------------------*custome sidebar Start*------------------------------------------------------- */


aside.widget {
    background-color: white;
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 6rem;
    height: max-content;
}

/* Sidebar Styles */
.nk-sidebar {
    background-color: white;
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 6rem;
    height: max-content;
}

.nk-sidebar-title {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--gray-200);
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark);
}

.nk-wheel-types {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.nk-wheel-type {
    display: flex;
    align-items: center;
    padding: 0.875rem 1rem;
    background-color: var(--gray-100);
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9375rem;
    transition: var(--transition);
    text-decoration: none;
    color: var(--dark);
}

.nk-wheel-type:hover {
    background: linear-gradient(135deg, var(--primary), var(--accent_1));
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.wheel-icon {
    margin-right: 0.75rem;
    width: 1.25rem;
    height: 1.25rem;
    fill: var(--primary);
}

.nk-wheel-type:hover .wheel-icon {
    fill: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nk-sidebar {
        position: relative;
        top: 0;
    }
}


.widget-area .widget {
    padding: 40px 30px;
}

/* -------------------------------------------*custome sidebar End*------------------------------------------------------- */



/* -------------------------------------------*post Start*------------------------------------------------------- */
/* Modern & Aesthetic Blog Post Section */
.nkx-posts-section {
    margin: 0 auto;
    padding: 1rem 1.5rem;
}

.nkx-post {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.5rem;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background-color: #fff;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.nkx-post:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* Grid layout for larger screens */
@media (min-width: 768px) {
    .nkx-post {
        flex-direction: row;
        align-items: stretch;
    }


}

.nkx-post-thumbnail {
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .nkx-post-thumbnail {
        flex: 0 0 40%;
        max-width: 40%;
    }
}

.nkx-post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.nkx-post:hover .nkx-post-thumbnail img {
    transform: scale(1.05);
}

.nkx-post-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .nkx-post-content {
        flex: 1;
        padding: 2rem;
    }
}

.nkx-post-title {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
}

.nkx-post-title a {
    color: var(--dark);
    text-decoration: none;
    transition: var(--transition);
}

.nkx-post-title a:hover {
    color: var(--primary);
}

.nkx-post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--primary-dark);
    margin-bottom: 0.2rem;
}

.nkx-post-meta span {
    display: flex;
    align-items: center;
}

.nkx-post-meta span:before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent_1));
    margin-right: 0.5rem;
}

.nkx-post-meta a {
    color: var(--primary-dark);
    text-decoration: none;
    transition: var(--transition);
}

.nkx-post-meta a:hover {
    color: var(--primary-dark);
}

.nkx-post-excerpt {
    color: var(--text-300);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.nkx-read-more {
    margin-top: auto;
    align-self: flex-start;
    padding: 0.625rem 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--accent_1));
    color: white;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.nkx-read-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
    color: white !important;
}

/* Pagination - Note: WordPress adds its own classes to pagination */
.navigation.pagination {
    margin-top: 3rem;
    text-align: center;
}

.nkx-pagination .nav-links {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.nkx-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.75rem;
    height: 2.75rem;
    padding: 0 0.75rem;
    border-radius: var(--radius-md);
    background-color: white;
    color: var(--dark);
    text-decoration: none;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.nkx-pagination .page-numbers.current {
    background: linear-gradient(135deg, var(--primary), var(--accent_1));
    color: white;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.nkx-pagination .page-numbers:not(.current):hover {
    background-color: var(--gray-100);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.nkx-pagination .page-numbers.prev,
.nkx-pagination .page-numbers.next {
    padding: 0 1rem;
}

/* No posts found message */
.nkx-no-posts {
    text-align: center;
    padding: 3rem 0;
    color: var(--gray-400);
    font-size: 1.125rem;
}


@media (max-width: 768px) {
    .nkx-posts-section {
        margin: 0 auto;
        padding: 0 1rem 0rem 1rem;
    }
}


.nk-site-main {
    width: 70%;
}

@media (max-width: 768px) {

    .separate-containers .nk-site-main {
        width: auto;
        margin: 0;
    }
}




/* -------------------------------------------*post End*------------------------------------------------------- */




/* -------------------------------------------*commnet Start*------------------------------------------------------- */
/* Styles pour la section commentaires */
.comments-area {
    max-width: 800px;
    margin: 3rem auto;
    padding: 2rem;
    background-color: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

.comment-reply-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--dark);
    position: relative;
    padding-bottom: 0.75rem;
}

.comment-reply-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(135deg, var(--primary), var(--accent_1));
    border-radius: 3px;
}

.comment-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.comment-form-comment {
    grid-column: span 2;
    margin-bottom: 1rem;
}

#comment {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    background-color: var(--gray-100);
    transition: var(--transition);
}

#comment:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"] {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    background-color: var(--gray-100);
    transition: var(--transition);
}

.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
}

.comment-form-cookies-consent {
    grid-column: span 2;
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    margin: 0.75rem 0;
}

.comment-form-cookies-consent input[type="checkbox"] {
    margin-top: 0.25rem;
    accent-color: var(--primary);
}

.comment-form-cookies-consent label {
    font-size: 0.875rem;
    color: var(--gray-400);
    line-height: 1.4;
}

.form-submit {
    grid-column: span 2;
    margin-top: 0.5rem;
}

.submit {
    background: linear-gradient(135deg, var(--primary), var(--accent_1)) !important;
    color: white;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .comments-area {
        padding: 1.5rem;
        margin: 2rem auto;
    }

    .comment-form {
        grid-template-columns: 1fr;
    }

    .comment-form-comment,
    .form-submit,
    .comment-form-cookies-consent {
        grid-column: span 1;
    }
}


/* -------------------------------------------*commnet End*------------------------------------------------------- */






/* -------------------------------------------*TOC  Table of Contents Start*------------------------------------------------------- */

    /*   Styles */
    .nk-toc {
        margin: 2rem 0;
        background-color: white;
        border-radius: var(--radius-xl);
        box-shadow: var(--shadow-md);
        overflow: hidden;
        transition: var(--transition);
        border-left: 4px solid var(--primary);
        max-height: none !important;
        /* Ensures no scrollbar */
    }

    .nk-toc:hover {
        box-shadow: var(--shadow-lg);
        transform: translateY(-2px);
    }

    .nk-toc-header {
        display: flex;
        align-items: center;
        padding: 1.25rem 1.5rem;
        background: linear-gradient(135deg, var(--primary), var(--accent_1));
        color: white;
    }

    .nk-toc-icon {
        width: 20px;
        height: 20px;
        margin-right: 0.75rem;
    }

    .nk-toc-header h4 {
        margin: 0;
        font-weight: 600;
        font-size: 1.25rem;
    }

    .nk-toc-list {
        list-style: none;
        padding: 1.5rem;
        margin: 0;
        max-height: none !important;
        /* Ensures no scrollbar */
        overflow: visible !important;
    }

    .nk-toc-h2 {
        /* margin-bottom: 0.875rem; */
    }

    .nk-toc-h3 {
        margin-left: 1.5rem;
        margin-bottom: 0.3rem;
        position: relative;
    }

    .nk-toc-h2:last-child,
    .nk-toc-h3:last-child {
        margin-bottom: 0;
    }

    .nk-toc-h2 a {
        display: flex;
        align-items: baseline;
        text-decoration: none;
        color: var(--dark);
        font-weight: 500;
        padding: 0.3rem 0.75rem;
        border-radius: var(--radius-md);
        transition: var(--transition);
        position: relative;
        padding-left: 1.5rem;
    }

    .nk-toc-h2 a:before {
        content: "";
        position: absolute;
        left: 0.5rem;
        top: 50%;
        transform: translateY(-50%);
        width: 8px;
        height: 8px;
        background: linear-gradient(135deg, var(--primary), var(--accent_1));
        border-radius: 50%;
    }

    .nk-toc-h3 a {
        display: flex;
        align-items: baseline;
        text-decoration: none;
        color: var(--text-300);
        font-weight: 400;
        padding: 0.3rem 0.75rem;
        border-radius: var(--radius-md);
        transition: var(--transition);
        position: relative;
        padding-left: 1.5rem;
    }

    .nk-toc-h3 a:before {
        content: "•";
        position: absolute;
        left: 0.5rem;
        color: var(--primary);
        font-weight: bold;
    }

    .nk-toc-h2 a:hover,
    .nk-toc-h3 a:hover {
        background-color: var(--gray-100);
        color: var(--primary);
        transform: translateX(5px);
    }

    /* Active TOC Item */
    .nk-toc-active {
        background-color: var(--gray-100);
        color: var(--primary) !important;
        transform: translateX(5px);
    }

    /* Make TOC appear after first paragraph */
    .nk-toc-container {
        display: none;
    }

    @media (max-width: 768px) {

        .nk-toc-h2 a,
        .nk-toc-h3 a {
            padding: 0.5rem;
            padding-left: 1.5rem;
        }
    }
   
/* -------------------------------------------*TOC  Table of ContentsEnd*------------------------------------------------------- */







/* -------------------------------------------*Footer Start*------------------------------------------------------- */



/* -------------------------------------------*Footer End*------------------------------------------------------- */



.grid-container {
    margin-left: auto;
    margin-right: auto;
    max-width: 1500px;
}

