/*==============================================================
#
# Nestlyra Home
# Production CSS v2.0
#
# Part 1
# Reset
# Root
# Base
# Typography
# Utilities
#
==============================================================*/

/*--------------------------------------------------------------
# Reset
--------------------------------------------------------------*/

*,
*::before,
*::after{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
    -webkit-text-size-adjust:100%;
}

body{
    margin:0;
    padding:0;
}

img{
    display:block;
    max-width:100%;
    height:auto;
}

picture{
    display:block;
}

svg{
    display:block;
    max-width:100%;
}

figure{
    margin:0;
}

ul,
ol{
    list-style:none;
}

a{
    text-decoration:none;
    color:inherit;
}

button,
input,
textarea,
select{
    font:inherit;
}

button{
    background:none;
    border:none;
}

table{
    width:100%;
    border-collapse:collapse;
}

iframe{
    max-width:100%;
    border:0;
}

/*--------------------------------------------------------------
# Root Variables
--------------------------------------------------------------*/

:root{

    /* Colors */

    --nh-primary:#2563eb;
    --nh-primary-hover:#1d4ed8;

    --nh-secondary:#111827;

    --nh-accent:#f59e0b;

    --nh-success:#16a34a;

    --nh-danger:#dc2626;

    --nh-white:#ffffff;

    --nh-light:#f8fafc;

    --nh-background:#f5f7fb;

    --nh-border:#e5e7eb;

    --nh-heading:#111827;

    --nh-text:#4b5563;

    --nh-muted:#6b7280;

    /* Container */

    --nh-container:1320px;

    /* Radius */

    --nh-radius-xs:6px;

    --nh-radius-sm:10px;

    --nh-radius:16px;

    --nh-radius-lg:24px;

    /* Shadow */

    --nh-shadow-xs:0 2px 8px rgba(0,0,0,.04);

    --nh-shadow-sm:0 8px 25px rgba(0,0,0,.05);

    --nh-shadow:0 12px 35px rgba(0,0,0,.08);

    --nh-shadow-lg:0 20px 60px rgba(0,0,0,.12);

    /* Transition */

    --nh-transition:.35s ease;

}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

body{

    background:var(--nh-background);

    color:var(--nh-text);

    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;

    font-size:16px;

    line-height:1.8;

    overflow-x:hidden;

    text-rendering:optimizeLegibility;

    -webkit-font-smoothing:antialiased;

    -moz-osx-font-smoothing:grayscale;

}

::selection{

    background:var(--nh-primary);

    color:#fff;

}

.site{

    min-height:100vh;

    display:flex;

    flex-direction:column;

}

.site-content{

    flex:1;

}

/*--------------------------------------------------------------
# Container
--------------------------------------------------------------*/

.container{

    width:min(92%,var(--nh-container));

    margin-inline:auto;

}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/

h1,
h2,
h3,
h4,
h5,
h6{

    color:var(--nh-heading);

    font-weight:800;

    line-height:1.3;

    margin-bottom:18px;

}

h1{

    font-size:clamp(2.5rem,5vw,4rem);

}

h2{

    font-size:clamp(2rem,4vw,3rem);

}

h3{

    font-size:1.5rem;

}

h4{

    font-size:1.25rem;

}

h5{

    font-size:1.1rem;

}

h6{

    font-size:1rem;

}

p{

    margin-bottom:18px;

}

small{

    font-size:.875rem;

}

strong{

    font-weight:700;

}

/*--------------------------------------------------------------
# Links
--------------------------------------------------------------*/

a{

    transition:var(--nh-transition);

}

a:hover{

    color:var(--nh-primary);

}

/*--------------------------------------------------------------
# Buttons
--------------------------------------------------------------*/

.button,
button,
input[type="submit"]{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    gap:8px;

    padding:14px 28px;

    border-radius:12px;

    background:var(--nh-primary);

    color:#fff;

    cursor:pointer;

    transition:var(--nh-transition);

}

.button:hover,
button:hover,
input[type="submit"]:hover{

    background:var(--nh-primary-hover);

    color:#fff;

}

/*--------------------------------------------------------------
# Cards
--------------------------------------------------------------*/

.card{

    background:#fff;

    border-radius:var(--nh-radius);

    box-shadow:var(--nh-shadow-sm);

    overflow:hidden;

    transition:var(--nh-transition);

}

.card:hover{

    transform:translateY(-6px);

    box-shadow:var(--nh-shadow-lg);

}

/*--------------------------------------------------------------
# Sections
--------------------------------------------------------------*/

.section{

    padding:80px 0;

}

.section-header{

    text-align:center;

    margin-bottom:50px;

}

.section-title{

    margin-bottom:10px;

}

.section-description{

    color:var(--nh-muted);

    max-width:650px;

    margin:0 auto;

}

/*--------------------------------------------------------------
# Utility Classes
--------------------------------------------------------------*/

.text-center{
    text-align:center;
}

.text-right{
    text-align:right;
}

.hidden{
    display:none!important;
}

.rounded{
    border-radius:var(--nh-radius);
}

.shadow{
    box-shadow:var(--nh-shadow);
}

.mt-20{
    margin-top:20px;
}

.mt-40{
    margin-top:40px;
}

.mb-20{
    margin-bottom:20px;
}

.mb-40{
    margin-bottom:40px;
}

/*--------------------------------------------------------------
# Responsive
--------------------------------------------------------------*/

@media (max-width:992px){

    .section{
        padding:70px 0;
    }

}

@media (max-width:768px){

    .container{
        width:94%;
    }

    .section{
        padding:60px 0;
    }

}
/*==============================================================
#
# Part 2
# Premium Header
# Navigation
#
==============================================================*/

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/

.site-header{

    position:sticky;

    top:0;

    left:0;

    width:100%;

    z-index:9999;

    background:rgba(255,255,255,.96);

    backdrop-filter:blur(16px);

    -webkit-backdrop-filter:blur(16px);

    border-bottom:1px solid rgba(0,0,0,.05);

    transition:all .35s ease;

}

.site-header.is-sticky{

    box-shadow:0 10px 35px rgba(0,0,0,.08);

}

.header-inner{

    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:30px;

    min-height:82px;

}

/*--------------------------------------------------------------
# Logo
--------------------------------------------------------------*/

.site-branding{

    display:flex;

    align-items:center;

    flex-shrink:0;

}

.custom-logo{

    max-height:58px;

    width:auto;

}

.site-title{

    margin:0;

    font-size:1.65rem;

    font-weight:800;

    line-height:1.2;

}

.site-title a{

    color:var(--nh-heading);

}

.site-description{

    margin-top:4px;

    color:var(--nh-muted);

    font-size:.92rem;

}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/

.main-navigation{

    flex:1;

    display:flex;

    justify-content:center;

}

.main-navigation ul{

    display:flex;

    align-items:center;

    gap:30px;

}

.main-navigation li{

    position:relative;

}

.main-navigation>a,
.main-navigation a{

    display:block;

    padding:28px 0;

    font-size:.96rem;

    font-weight:600;

    color:var(--nh-heading);

    position:relative;

    transition:.3s;

}

.main-navigation a:hover{

    color:var(--nh-primary);

}

/* underline */

.main-navigation a::after{

    content:"";

    position:absolute;

    left:0;

    bottom:20px;

    width:0;

    height:2px;

    border-radius:999px;

    background:var(--nh-primary);

    transition:.3s;

}

.main-navigation li:hover>a::after,

.current-menu-item>a::after,

.current_page_item>a::after{

    width:100%;

}

.current-menu-item>a,

.current_page_item>a{

    color:var(--nh-primary);

}

/*--------------------------------------------------------------
# Dropdown
--------------------------------------------------------------*/

.main-navigation ul ul{

    position:absolute;

    top:100%;

    left:0;

    min-width:240px;

    display:block;

    opacity:0;

    visibility:hidden;

    transform:translateY(20px);

    background:#fff;

    border-radius:14px;

    box-shadow:0 18px 45px rgba(0,0,0,.10);

    transition:.30s;

    padding:10px 0;

}

.main-navigation li:hover>ul{

    opacity:1;

    visibility:visible;

    transform:translateY(0);

}

.main-navigation ul ul li{

    width:100%;

}

.main-navigation ul ul a{

    padding:12px 22px;

}

.main-navigation ul ul a::after{

    display:none;

}

/*--------------------------------------------------------------
# Header Actions
--------------------------------------------------------------*/

.header-actions{

    display:flex;

    align-items:center;

    gap:12px;

}

.header-action{

    width:44px;

    height:44px;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:50%;

    background:#f3f4f6;

    cursor:pointer;

    transition:.3s;

}

.header-action:hover{

    background:var(--nh-primary);

    color:#fff;

    transform:translateY(-2px);

}

/*--------------------------------------------------------------
# Search Popup
--------------------------------------------------------------*/

.header-search{

    position:absolute;

    right:0;

    top:calc(100% + 14px);

    width:340px;

    padding:18px;

    background:#fff;

    border-radius:14px;

    box-shadow:0 18px 45px rgba(0,0,0,.12);

    display:none;

}

.header-search.active{

    display:block;

}

.header-search input[type="search"]{

    width:100%;

}

/*--------------------------------------------------------------
# Mobile Toggle
--------------------------------------------------------------*/

.menu-toggle{

    display:none;

    width:46px;

    height:46px;

    align-items:center;

    justify-content:center;

    border-radius:10px;

    background:#f3f4f6;

    cursor:pointer;

}

/*--------------------------------------------------------------
# Mobile Menu
--------------------------------------------------------------*/

.mobile-navigation{

    display:none;

}

/*--------------------------------------------------------------
# Responsive
--------------------------------------------------------------*/

@media(max-width:991px){

    .header-inner{

        min-height:72px;

    }

    .menu-toggle{

        display:flex;

    }

    .main-navigation{

        display:none;

    }

    .mobile-navigation{

        display:block;

        position:absolute;

        top:100%;

        left:0;

        width:100%;

        background:#fff;

        border-top:1px solid var(--nh-border);

        box-shadow:0 20px 45px rgba(0,0,0,.08);

        padding:20px;

        display:none;

    }

    .mobile-navigation.active{

        display:block;

    }

    .mobile-navigation ul{

        display:flex;

        flex-direction:column;

        gap:14px;

    }

    .mobile-navigation a{

        display:block;

        padding:10px 0;

        font-weight:600;

    }

}

@media(max-width:767px){

    .custom-logo{

        max-height:48px;

    }

    .site-title{

        font-size:1.35rem;

    }

    .header-actions{

        gap:8px;

    }

    .header-action{

        width:40px;

        height:40px;

    }

    .header-search{

        width:calc(100vw - 30px);

        right:15px;

    }

}
/*==============================================================
#
# Part 3
# Premium Hero Section
#
==============================================================*/

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/

.hero-section{

    padding:50px 0 80px;

}

.hero-grid{

    display:grid;

    grid-template-columns:2fr 1fr;

    gap:30px;

    align-items:stretch;

}

/*--------------------------------------------------------------
# Main Hero
--------------------------------------------------------------*/

.hero-post{

    position:relative;

    overflow:hidden;

    border-radius:22px;

    background:#111827;

    box-shadow:var(--nh-shadow-lg);

}

.hero-thumb{

    position:relative;

    overflow:hidden;

}

.hero-image{

    width:100%;

    height:680px;

    object-fit:cover;

    transition:transform .7s ease;

}

.hero-post:hover .hero-image{

    transform:scale(1.06);

}

/*--------------------------------------------------------------
# Overlay
--------------------------------------------------------------*/

.hero-overlay{

    position:absolute;

    inset:0;

    background:linear-gradient(
        to top,
        rgba(0,0,0,.82) 8%,
        rgba(0,0,0,.28) 55%,
        rgba(0,0,0,.02) 100%
    );

    z-index:2;

}

/*--------------------------------------------------------------
# Hero Content
--------------------------------------------------------------*/

.hero-content{

    position:absolute;

    left:50px;

    right:50px;

    bottom:50px;

    z-index:5;

    color:#fff;

}

.hero-category{

    display:inline-flex;

    align-items:center;

    padding:8px 16px;

    background:var(--nh-primary);

    color:#fff;

    border-radius:999px;

    font-size:.78rem;

    font-weight:700;

    letter-spacing:.08em;

    text-transform:uppercase;

    margin-bottom:22px;

}

.hero-category:hover{

    background:var(--nh-primary-hover);

    color:#fff;

}

.hero-title{

    font-size:3.3rem;

    font-weight:800;

    line-height:1.15;

    margin-bottom:20px;

}

.hero-title a{

    color:#fff;

}

.hero-title a:hover{

    color:#dbeafe;

}

.hero-meta{

    display:flex;

    flex-wrap:wrap;

    align-items:center;

    gap:14px;

    color:#f3f4f6;

    font-size:.92rem;

    margin-bottom:24px;

}

.hero-meta span{

    display:flex;

    align-items:center;

    gap:6px;

}

.hero-excerpt{

    max-width:640px;

    font-size:1.05rem;

    line-height:1.8;

    color:#f8fafc;

    margin-bottom:30px;

}

/*--------------------------------------------------------------
# Button
--------------------------------------------------------------*/

.hero-button{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    gap:10px;

    padding:16px 30px;

    background:var(--nh-primary);

    color:#fff;

    border-radius:12px;

    font-weight:700;

    box-shadow:0 12px 30px rgba(37,99,235,.35);

}

.hero-button:hover{

    background:var(--nh-primary-hover);

    transform:translateY(-3px);

    color:#fff;

}

/*--------------------------------------------------------------
# Sidebar Hero Posts
--------------------------------------------------------------*/

.hero-sidebar{

    display:flex;

    flex-direction:column;

    gap:24px;

}

.hero-small{

    display:flex;

    gap:16px;

    background:#fff;

    border-radius:18px;

    overflow:hidden;

    box-shadow:var(--nh-shadow);

    transition:.35s;

}

.hero-small:hover{

    transform:translateY(-6px);

    box-shadow:var(--nh-shadow-lg);

}

.hero-small-thumb{

    width:135px;

    flex-shrink:0;

    overflow:hidden;

}

.hero-small-thumb img{

    width:100%;

    height:100%;

    object-fit:cover;

    transition:.5s;

}

.hero-small:hover img{

    transform:scale(1.08);

}

.hero-small-content{

    padding:18px;

    display:flex;

    flex-direction:column;

    justify-content:center;

}

.hero-small-category{

    font-size:.72rem;

    color:var(--nh-primary);

    font-weight:700;

    text-transform:uppercase;

    letter-spacing:.08em;

    margin-bottom:8px;

}

.hero-small-title{

    font-size:1rem;

    line-height:1.45;

    margin-bottom:10px;

}

.hero-small-title a{

    color:var(--nh-heading);

}

.hero-small-meta{

    color:var(--nh-muted);

    font-size:.82rem;

}

/*--------------------------------------------------------------
# Responsive
--------------------------------------------------------------*/

@media(max-width:991px){

.hero-grid{

grid-template-columns:1fr;

}

.hero-sidebar{

display:grid;

grid-template-columns:repeat(2,1fr);

gap:24px;

}

.hero-image{

height:520px;

}

.hero-content{

left:35px;

right:35px;

bottom:35px;

}

.hero-title{

font-size:2.5rem;

}

}

@media(max-width:767px){

.hero-sidebar{

grid-template-columns:1fr;

}

.hero-small{

flex-direction:column;

}

.hero-small-thumb{

width:100%;

height:220px;

}

.hero-image{

height:420px;

}

.hero-content{

left:24px;

right:24px;

bottom:24px;

}

.hero-title{

font-size:1.9rem;

line-height:1.25;

}

.hero-meta{

font-size:.85rem;

gap:10px;

}

.hero-excerpt{

font-size:.95rem;

margin-bottom:22px;

}

.hero-button{

width:100%;

}

}

@media(max-width:480px){

.hero-image{

height:340px;

}

.hero-title{

font-size:1.55rem;

}

.hero-category{

font-size:.72rem;

padding:7px 14px;

}

}
/*==============================================================
#
# Part 4
# Featured Posts
# Categories
# Trending
#
==============================================================*/

/*--------------------------------------------------------------
# Section Header
--------------------------------------------------------------*/

.section-header{

    text-align:center;

    margin-bottom:48px;

}

.section-title{

    font-size:2.35rem;

    font-weight:800;

    margin-bottom:12px;

}

.section-description{

    color:var(--nh-muted);

    max-width:620px;

    margin:0 auto;

}

/*--------------------------------------------------------------
# Featured Section
--------------------------------------------------------------*/

.featured-section{

    padding:80px 0;

}

.featured-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:28px;

}

.featured-card{

    background:#fff;

    border-radius:18px;

    overflow:hidden;

    box-shadow:var(--nh-shadow);

    transition:.35s;

}

.featured-card:hover{

    transform:translateY(-8px);

    box-shadow:var(--nh-shadow-lg);

}

.featured-thumb{

    overflow:hidden;

    position:relative;

}

.featured-image{

    width:100%;

    aspect-ratio:16/10;

    object-fit:cover;

    transition:.6s;

}

.featured-card:hover .featured-image{

    transform:scale(1.08);

}

.featured-category{

    position:absolute;

    left:18px;

    top:18px;

    padding:6px 14px;

    background:var(--nh-primary);

    color:#fff;

    border-radius:999px;

    font-size:.75rem;

    font-weight:700;

}

.featured-content{

    padding:22px;

}

.featured-title{

    font-size:1.22rem;

    line-height:1.45;

    margin-bottom:14px;

}

.featured-title a{

    color:var(--nh-heading);

}

.featured-title a:hover{

    color:var(--nh-primary);

}

.featured-meta{

    display:flex;

    gap:14px;

    flex-wrap:wrap;

    color:var(--nh-muted);

    font-size:.84rem;

    margin-bottom:18px;

}

.featured-excerpt{

    color:var(--nh-text);

    line-height:1.7;

}

.featured-read{

    display:inline-flex;

    align-items:center;

    gap:8px;

    margin-top:20px;

    font-weight:700;

    color:var(--nh-primary);

}

.featured-read:hover{

    transform:translateX(6px);

}

/*--------------------------------------------------------------
# Categories
--------------------------------------------------------------*/

.categories-section{

    padding:80px 0;

}

.category-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:24px;

}

.category-card{

    position:relative;

    overflow:hidden;

    border-radius:20px;

    min-height:260px;

    box-shadow:var(--nh-shadow);

}

.category-image{

    width:100%;

    height:100%;

    object-fit:cover;

    transition:.6s;

}

.category-card:hover .category-image{

    transform:scale(1.08);

}

.category-overlay{

    position:absolute;

    inset:0;

    background:linear-gradient(
        to top,
        rgba(0,0,0,.82),
        rgba(0,0,0,.15)
    );

}

.category-content{

    position:absolute;

    left:26px;

    bottom:26px;

    color:#fff;

    z-index:2;

}

.category-content h3{

    color:#fff;

    font-size:1.45rem;

    margin-bottom:8px;

}

.category-content span{

    opacity:.9;

    font-size:.92rem;

}

/*--------------------------------------------------------------
# Trending
--------------------------------------------------------------*/

.trending-section{

    padding:80px 0;

}

.trending-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:28px;

}

.trending-card{

    display:flex;

    gap:18px;

    background:#fff;

    border-radius:18px;

    overflow:hidden;

    box-shadow:var(--nh-shadow);

    transition:.35s;

}

.trending-card:hover{

    transform:translateY(-6px);

    box-shadow:var(--nh-shadow-lg);

}

.trending-thumb{

    width:150px;

    flex-shrink:0;

    overflow:hidden;

}

.trending-thumb img{

    width:100%;

    height:100%;

    object-fit:cover;

    transition:.6s;

}

.trending-card:hover img{

    transform:scale(1.08);

}

.trending-content{

    padding:20px;

    display:flex;

    flex-direction:column;

    justify-content:center;

}

.trending-number{

    font-size:2rem;

    font-weight:800;

    color:var(--nh-primary);

    margin-bottom:8px;

}

.trending-title{

    font-size:1rem;

    line-height:1.45;

    margin-bottom:10px;

}

.trending-meta{

    color:var(--nh-muted);

    font-size:.82rem;

}

/*--------------------------------------------------------------
# Responsive
--------------------------------------------------------------*/

@media(max-width:1200px){

.featured-grid{

grid-template-columns:repeat(2,1fr);

}

.category-grid{

grid-template-columns:repeat(2,1fr);

}

.trending-grid{

grid-template-columns:repeat(2,1fr);

}

}

@media(max-width:767px){

.featured-grid,

.category-grid,

.trending-grid{

grid-template-columns:1fr;

}

.trending-card{

flex-direction:column;

}

.trending-thumb{

width:100%;

height:220px;

}

.section-title{

font-size:2rem;

}

}
/*==============================================================
#
# Part 5
# Latest Posts
# Sidebar
# Pagination
#
==============================================================*/

/*--------------------------------------------------------------
# Latest Posts
--------------------------------------------------------------*/

.latest-section{

    padding:80px 0;

}

.latest-list{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:34px;

}

.latest-card{

    display:flex;

    gap:24px;

    background:#fff;

    border-radius:18px;

    overflow:hidden;

    box-shadow:var(--nh-shadow);

    transition:.35s;

}

.latest-card:hover{

    transform:translateY(-8px);

    box-shadow:var(--nh-shadow-lg);

}

.latest-thumb{

    width:260px;

    flex-shrink:0;

    overflow:hidden;

}

.latest-image{

    width:100%;

    height:100%;

    object-fit:cover;

    transition:.6s;

}

.latest-card:hover .latest-image{

    transform:scale(1.08);

}

.latest-content{

    padding:24px;

    display:flex;

    flex-direction:column;

    justify-content:center;

}

.latest-category{

    display:inline-block;

    margin-bottom:14px;

    color:var(--nh-primary);

    font-size:.78rem;

    font-weight:700;

    text-transform:uppercase;

    letter-spacing:.08em;

}

.latest-title{

    font-size:1.45rem;

    line-height:1.45;

    margin-bottom:14px;

}

.latest-title a{

    color:var(--nh-heading);

}

.latest-title a:hover{

    color:var(--nh-primary);

}

.latest-meta{

    color:var(--nh-muted);

    font-size:.85rem;

    margin-bottom:18px;

}

.latest-excerpt{

    color:var(--nh-text);

    line-height:1.8;

    margin-bottom:22px;

}

.latest-button{

    display:inline-flex;

    align-items:center;

    gap:8px;

    font-weight:700;

    color:var(--nh-primary);

}

.latest-button:hover{

    transform:translateX(6px);

}

/*--------------------------------------------------------------
# Sidebar
--------------------------------------------------------------*/

.site-sidebar{

    display:flex;

    flex-direction:column;

    gap:28px;

}

.sidebar-widget{

    background:#fff;

    border-radius:18px;

    padding:26px;

    box-shadow:var(--nh-shadow);

}

.sidebar-widget h3{

    font-size:1.2rem;

    margin-bottom:20px;

    padding-bottom:12px;

    border-bottom:2px solid #eef2ff;

}

/*--------------------------------------------------------------
# About Widget
--------------------------------------------------------------*/

.about-widget p{

    color:var(--nh-text);

    line-height:1.8;

}

/*--------------------------------------------------------------
# Popular Posts
--------------------------------------------------------------*/

.sidebar-post{

    display:flex;

    gap:14px;

    margin-bottom:18px;

}

.sidebar-post:last-child{

    margin-bottom:0;

}

.sidebar-thumb{

    width:90px;

    height:90px;

    flex-shrink:0;

    overflow:hidden;

    border-radius:12px;

}

.sidebar-image{

    width:100%;

    height:100%;

    object-fit:cover;

    transition:.5s;

}

.sidebar-post:hover .sidebar-image{

    transform:scale(1.08);

}

.sidebar-post h4{

    font-size:.95rem;

    line-height:1.45;

    margin-bottom:8px;

}

.sidebar-post h4 a{

    color:var(--nh-heading);

}

.sidebar-post h4 a:hover{

    color:var(--nh-primary);

}

.sidebar-meta{

    font-size:.82rem;

    color:var(--nh-muted);

}

/*--------------------------------------------------------------
# Categories
--------------------------------------------------------------*/

.sidebar-categories{

    display:flex;

    flex-direction:column;

    gap:12px;

}

.sidebar-categories li{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding-bottom:12px;

    border-bottom:1px solid var(--nh-border);

}

.sidebar-categories li:last-child{

    border-bottom:none;

}

.sidebar-categories a{

    color:var(--nh-heading);

    font-weight:500;

}

.sidebar-categories a:hover{

    color:var(--nh-primary);

}

/*--------------------------------------------------------------
# Newsletter Widget
--------------------------------------------------------------*/

.newsletter-widget p{

    margin-bottom:18px;

}

.newsletter-widget input{

    width:100%;

    margin-bottom:14px;

}

.newsletter-widget button{

    width:100%;

}

/*--------------------------------------------------------------
# Pagination
--------------------------------------------------------------*/

.pagination{

    display:flex;

    justify-content:center;

    gap:10px;

    margin-top:60px;

}

.pagination a,

.pagination span{

    width:46px;

    height:46px;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:10px;

    background:#fff;

    box-shadow:var(--nh-shadow-sm);

    transition:.3s;

}

.pagination a:hover,

.pagination .current{

    background:var(--nh-primary);

    color:#fff;

}

/*--------------------------------------------------------------
# Responsive
--------------------------------------------------------------*/

@media(max-width:1200px){

.latest-list{

grid-template-columns:1fr;

}

}

@media(max-width:767px){

.latest-card{

flex-direction:column;

}

.latest-thumb{

width:100%;

height:240px;

}

.latest-content{

padding:22px;

}

}
/*==============================================================
#
# Part 6
# Newsletter
# Single Post
# Author Box
# Related Posts
#
==============================================================*/

/*--------------------------------------------------------------
# Newsletter
--------------------------------------------------------------*/

.newsletter-section{

    margin:90px 0;

    padding:80px 40px;

    background:linear-gradient(135deg,#2563eb,#1d4ed8);

    border-radius:24px;

    text-align:center;

    color:#fff;

    overflow:hidden;

    position:relative;

}

.newsletter-section::before{

    content:"";

    position:absolute;

    inset:0;

    background:
    radial-gradient(circle at top right,
    rgba(255,255,255,.12),
    transparent 45%);

    pointer-events:none;

}

.newsletter-section h2{

    color:#fff;

    font-size:2.5rem;

    margin-bottom:14px;

}

.newsletter-section p{

    max-width:650px;

    margin:0 auto 30px;

    color:rgba(255,255,255,.92);

    line-height:1.8;

}

.newsletter-form{

    display:flex;

    justify-content:center;

    gap:16px;

    flex-wrap:wrap;

}

.newsletter-form input{

    width:380px;

    max-width:100%;

    border:none;

    border-radius:12px;

    padding:16px 18px;

}

.newsletter-form button{

    padding:16px 30px;

    border-radius:12px;

    background:#111827;

    color:#fff;

}

.newsletter-form button:hover{

    background:#000;

}

/*--------------------------------------------------------------
# Single Article
--------------------------------------------------------------*/

.single-post .entry-content{

    font-size:18px;

    line-height:1.95;

    color:var(--nh-text);

}

.single-post .entry-content p{

    margin-bottom:24px;

}

.single-post .entry-content img{

    margin:34px 0;

    border-radius:18px;

}

.single-post .entry-content h2,

.single-post .entry-content h3,

.single-post .entry-content h4{

    margin-top:45px;

}

.single-post blockquote{

    margin:36px 0;

    padding:28px;

    background:#f8fafc;

    border-left:5px solid var(--nh-primary);

    border-radius:12px;

    font-style:italic;

}

.single-post pre{

    background:#111827;

    color:#fff;

    padding:24px;

    border-radius:14px;

    overflow:auto;

    margin:34px 0;

}

.single-post code{

    background:#eef2ff;

    padding:3px 8px;

    border-radius:5px;

}

/*--------------------------------------------------------------
# Author Box
--------------------------------------------------------------*/

.author-box{

    display:flex;

    align-items:center;

    gap:28px;

    margin-top:70px;

    padding:30px;

    background:#fff;

    border-radius:20px;

    box-shadow:var(--nh-shadow);

}

.author-avatar img{

    width:96px;

    height:96px;

    border-radius:50%;

}

.author-content h3{

    margin-bottom:10px;

}

.author-content p{

    color:var(--nh-muted);

    margin-bottom:14px;

}

.author-content a{

    font-weight:700;

    color:var(--nh-primary);

}

/*--------------------------------------------------------------
# Related Posts
--------------------------------------------------------------*/

.related-posts{

    margin-top:80px;

}

.related-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:28px;

}

.related-card{

    background:#fff;

    border-radius:18px;

    overflow:hidden;

    box-shadow:var(--nh-shadow);

    transition:.35s;

}

.related-card:hover{

    transform:translateY(-8px);

    box-shadow:var(--nh-shadow-lg);

}

.related-thumb{

    overflow:hidden;

}

.related-thumb img{

    width:100%;

    aspect-ratio:16/10;

    object-fit:cover;

    transition:.6s;

}

.related-card:hover img{

    transform:scale(1.08);

}

.related-content{

    padding:22px;

}

.related-title{

    font-size:1.15rem;

    line-height:1.45;

    margin-bottom:12px;

}

.related-title a{

    color:var(--nh-heading);

}

.related-title a:hover{

    color:var(--nh-primary);

}

.related-meta{

    font-size:.82rem;

    color:var(--nh-muted);

}

/*--------------------------------------------------------------
# Responsive
--------------------------------------------------------------*/

@media(max-width:991px){

.related-grid{

grid-template-columns:repeat(2,1fr);

}

}

@media(max-width:767px){

.newsletter-section{

padding:60px 24px;

}

.newsletter-section h2{

font-size:2rem;

}

.newsletter-form{

flex-direction:column;

}

.newsletter-form input,

.newsletter-form button{

width:100%;

}

.author-box{

flex-direction:column;

text-align:center;

}

.related-grid{

grid-template-columns:1fr;

}

}
/*==============================================================
#
# Part 7
# Footer
# Comments
# Gutenberg
# WooCommerce
# Utilities
#
==============================================================*/

/*--------------------------------------------------------------
# Comments
--------------------------------------------------------------*/

.comments-area{

    margin-top:80px;

}

.comments-title{

    margin-bottom:35px;

}

.comment-list{

    display:flex;

    flex-direction:column;

    gap:24px;

}

.comment-body{

    background:#fff;

    padding:24px;

    border-radius:18px;

    box-shadow:var(--nh-shadow-sm);

}

.comment-author{

    font-weight:700;

    margin-bottom:6px;

}

.comment-meta{

    color:var(--nh-muted);

    font-size:.85rem;

    margin-bottom:14px;

}

.comment-content{

    line-height:1.8;

}

.comment-reply-link{

    display:inline-block;

    margin-top:14px;

    font-weight:700;

    color:var(--nh-primary);

}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/

.site-footer{

    background:#111827;

    color:#cbd5e1;

    margin-top:90px;

}

.footer-main{

    padding:80px 0;

}

.footer-grid{

    display:grid;

    grid-template-columns:2fr 1fr 1fr 1.3fr;

    gap:40px;

}

.footer-logo{

    margin-bottom:20px;

}

.footer-logo a{

    color:#fff;

}

.footer-description{

    color:#cbd5e1;

    line-height:1.8;

}

.footer-column h3{

    color:#fff;

    margin-bottom:18px;

}

.footer-column ul{

    display:flex;

    flex-direction:column;

    gap:12px;

}

.footer-column a{

    color:#cbd5e1;

    transition:.3s;

}

.footer-column a:hover{

    color:#fff;

    padding-left:6px;

}

.footer-newsletter input{

    width:100%;

    margin-bottom:14px;

}

.footer-newsletter button{

    width:100%;

}

.footer-bottom{

    border-top:1px solid rgba(255,255,255,.08);

    padding:24px 0;

    text-align:center;

    color:#9ca3af;

    font-size:.92rem;

}

/*--------------------------------------------------------------
# Back To Top
--------------------------------------------------------------*/

.back-to-top{

    position:fixed;

    right:30px;

    bottom:30px;

    width:50px;

    height:50px;

    border-radius:50%;

    background:var(--nh-primary);

    color:#fff;

    display:flex;

    align-items:center;

    justify-content:center;

    cursor:pointer;

    box-shadow:0 12px 30px rgba(0,0,0,.18);

    opacity:0;

    visibility:hidden;

    transform:translateY(20px);

    transition:.35s;

    z-index:999;

}

.back-to-top.show{

    opacity:1;

    visibility:visible;

    transform:none;

}

.back-to-top:hover{

    background:var(--nh-primary-hover);

    transform:translateY(-4px);

}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/

input,
textarea,
select{

    width:100%;

    padding:14px 16px;

    border:1px solid var(--nh-border);

    border-radius:10px;

    transition:.3s;

}

input:focus,
textarea:focus,
select:focus{

    outline:none;

    border-color:var(--nh-primary);

    box-shadow:0 0 0 3px rgba(37,99,235,.12);

}

textarea{

    resize:vertical;

    min-height:160px;

}

/*--------------------------------------------------------------
# Tables
--------------------------------------------------------------*/

table{

    width:100%;

    border-collapse:collapse;

    margin:30px 0;

}

th,
td{

    border:1px solid var(--nh-border);

    padding:14px;

}

th{

    background:#f8fafc;

    font-weight:700;

}

/*--------------------------------------------------------------
# Gutenberg
--------------------------------------------------------------*/

.wp-block-image,

.wp-block-gallery,

.wp-block-cover,

.wp-block-group{

    margin:32px 0;

}

.wp-block-cover{

    overflow:hidden;

    border-radius:18px;

}

.wp-block-button__link{

    border-radius:10px;

}

.wp-block-table{

    overflow:auto;

}

.wp-block-quote{

    border-left:5px solid var(--nh-primary);

}

.wp-block-pullquote{

    border-top:4px solid var(--nh-primary);

    border-bottom:4px solid var(--nh-primary);

}

/*--------------------------------------------------------------
# WooCommerce
--------------------------------------------------------------*/

.woocommerce ul.products{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:28px;

}

.woocommerce ul.products li.product{

    width:100%!important;

    margin:0!important;

    border-radius:18px;

    overflow:hidden;

    box-shadow:var(--nh-shadow);

    transition:.35s;

}

.woocommerce ul.products li.product:hover{

    transform:translateY(-6px);

}

.woocommerce span.onsale{

    background:var(--nh-primary);

}

.woocommerce div.product img{

    border-radius:18px;

}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

.text-center{ text-align:center; }

.mt-20{ margin-top:20px; }

.mt-40{ margin-top:40px; }

.mb-20{ margin-bottom:20px; }

.mb-40{ margin-bottom:40px; }

.rounded{ border-radius:var(--nh-radius); }

.shadow{ box-shadow:var(--nh-shadow); }

.fade-up{

    animation:fadeUp .7s ease both;

}

@keyframes fadeUp{

from{

opacity:0;

transform:translateY(30px);

}

to{

opacity:1;

transform:none;

}

}

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/

.screen-reader-text{

    position:absolute;

    clip:rect(1px,1px,1px,1px);

    overflow:hidden;

}

.screen-reader-text:focus{

    clip:auto;

    background:#fff;

    padding:10px;

    z-index:99999;

}

:focus-visible{

    outline:3px solid var(--nh-primary);

    outline-offset:3px;

}

/*--------------------------------------------------------------
# Print
--------------------------------------------------------------*/

@media print{

.site-header,

.site-footer,

.site-sidebar,

.newsletter-section,

.back-to-top{

display:none!important;

}

body{

background:#fff;

color:#000;

}

a{

color:#000;

text-decoration:underline;

}

}

/*--------------------------------------------------------------
# Responsive
--------------------------------------------------------------*/

@media(max-width:1200px){

.footer-grid{

grid-template-columns:repeat(2,1fr);

}

.woocommerce ul.products{

grid-template-columns:repeat(3,1fr);

}

}

@media(max-width:991px){

.woocommerce ul.products{

grid-template-columns:repeat(2,1fr);

}

}

@media(max-width:767px){

.footer-grid{

grid-template-columns:1fr;

}

.back-to-top{

right:20px;

bottom:20px;

}

.woocommerce ul.products{

grid-template-columns:1fr;

}

}