.section,
.footer{
    padding-block: 5rem;
}
.container{
padding-inline: 1.5rem;
}
/*===============================================
       header start 
=================================================*/
header .header-container{
    display: flex;
    position: relative;
    align-items: center;
    justify-content: space-between;
    background: var(--header-bg-color);
    padding-block: .5rem;
}
header .logo-wrap a{
    display: flex;
}
header nav{
    width: 80%;
    position: absolute;
    overflow: hidden;
    left: -100%;
    top: 0;
    background-color: var(--header-bg-color);
    transition: all .3s ease-in;
    padding: 1rem;
    z-index: 9;
}

header nav.show-nav{
    left: 0;
}
header nav ul{
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
header nav ul li a{
    font-size: 1.6rem;
    font-weight: 500;
    color:var(--white-color)
}
header nav ul li a i{
    width: 2.5rem;
    text-align: center;
}
/*===============================================
       header end 
=================================================*/
/*===============================================
       carousel start 
=================================================*/
.swiper-container{
    margin-top: 1rem;
}
.swiper-container .swiper-slide{
    padding: 1rem;
}
.swiper-container .swiper-slide .slide-wrapper{
    width: 100%;
    background-color: var(--white-color);
    overflow: hidden;
    border-radius: var(--border-radius-5);
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: var(--shadow-slide);
}
.swiper-container .swiper-slide p{
    text-align: center;
}

/* post carousel */
.postsSwiper .post-slide{
    display: flex;
    flex-direction: column;
}
.postsSwiper .post-slide .img-wrap img{
  aspect-ratio: 16 / 9;
  object-fit: cover;

}
.postsSwiper .post-slide .content-wrap{
    padding-inline: 1rem;
}
.postsSwiper .post-slide .stats-container{
    margin-top: auto;
}
/*===============================================
       carousel start 
=================================================*/
/*===============================================
       post start 
=================================================*/
/* post */
.blog-card-container .card-wrap img{
    aspect-ratio: 16 / 9;
    object-fit: cover;
}
.blog-card-container .card-wrap .stats-container{
    margin-top: auto;
}
/* post editor */
.note-editable p {
  margin-bottom: 16px !important;
}
/* single post and post editor  start */
.post-form-page .note-editable p,
.single-post-page .post-content p {
    margin-top: 1rem;
    text-align: justify;
}
.post-form-page .note-editable h1,
.post-form-page .note-editable h2,
.post-form-page .note-editable h3,
.post-form-page .note-editable h4,
.post-form-page .note-editable h5,
.post-form-page .note-editable h6,
.single-post-page .post-content h1,
.single-post-page .post-content h2,
.single-post-page .post-content h3,
.single-post-page .post-content h4,
.single-post-page .post-content h5,
.single-post-page .post-content h6{
    margin-top: 2rem;
    margin-bottom: -1rem;
}
.post-form-page .note-editable ul,
.post-form-page .note-editable ol,
.single-post-page .post-content ul,
.single-post-page .post-content ol{
    margin-left: 1.6rem;
}
.post-form-page .note-editable ul li,
.single-post-page .post-content ul li{
  list-style-type: disc;
}
.post-form-page .note-editable ol li,
.single-post-page .post-content ol li{
  list-style-type: decimal;
}
/*===============================================
       post end 
=================================================*/
/*===============================================
       Comment Start 
=================================================*/
/*--------comments start--------- */
    #comment-section {
    margin-top: 30px;
}
#comment-form {
    margin-bottom: 20px;
}

#comment-form textarea {
    min-height: 80px;
    padding: 10px;
    font-size: 1.4rem;
    resize: vertical;
}
#comments-list{
    border:1px solid var(--border-color);
    border-radius: var(--border-radius-5);
}
#comments-list li {
    margin-bottom: 15px;
    padding: 10px 12px;
    padding-right: 0;
    background: #fff;
    /* border: 1px solid #e0e0e0; */
    border-radius: 8px;
    position: relative;
}

.comment-content {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 8px;
}

.comment-text {
    width: 100%;
    font-size: 15px;
    line-height: 1.5;
    position: relative;
}
p.comment-text:before {
    content: '';
    position: absolute;
    top: 55px;
    left: -35px;
    border-left: 1px solid var(--border-color);
    border-bottom-left-radius:10px;
    width: 2.5rem;
    height: 100%;
}
.deep-last-li p.comment-text:before{
    border: 0;
}

.comment-content button {
    background: none;
    border: none;
    color: #1976d2;
    cursor: pointer;
    font-size: 13px;
    padding: 0;
    margin-right: 10px;
}

.comment-content button:hover {
    text-decoration: underline;
}

.comment-content .edit-text {
    width: 100%;
    min-height: 60px;
    padding: 8px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    resize: vertical;
    box-sizing: border-box;
}

.save-edit {
    margin-top: 6px;
    padding: 5px 10px;
    background: #388e3c;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
}

.save-edit:hover {
    background: #2e7d32;
}

/* Nested replies */
#comments-list ul ul {
    margin-left: 30px;
    margin-top: 10px;
}
/*--------comments end --------- */
/*===============================================
       Comment End 
=================================================*/
/*===============================================
       YT Short Player Start 
=================================================*/
    #player-container {
        width: 100%;
        height: calc(100vh - 6rem);
        display: flex;
        justify-content: center;
        align-items: center;
        background: #000;
        overflow: hidden;
        position: relative;
    }

    #player {
        width: 360px;
        height: 640px;
        max-width: 100%;
        max-height: 100%;
        overflow: hidden;
        position: relative;
        width: 100%;
        aspect-ratio: 9 / 16;
    }

    #player iframe {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover;
        position: absolute;
        top: 0;
        left: 0;
    }

    #controls {
        position: absolute;
        bottom: 5px;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        gap: 10px;
        z-index: 3;
    }

    #controls button {
        background: rgba(255, 255, 255, 0.7);
        border: none;
        padding: 10px 14px;
        font-size: 18px;
        border-radius: 6px;
        cursor: pointer;
    }

    #controls button:hover {
        background: rgba(255, 255, 255, 0.9);
    }
/*===============================================
       YT Short Player End 
=================================================*/
/*===============================================
       Sub Banner Start 
=================================================*/
.sub-banner-section{
    background-color: var(--bg-color-1);
}
.sub-banner-section h1,
.sub-banner-section p{
    text-align: center;
}
/*===============================================
       Sub Banner End 
=================================================*/
/*===============================================
       Dashboard Start 
=================================================*/
/* dashboard */
.dashboard{
    display: flex;
}
.dashboard .section{
    padding-block: 2rem;
}
/* Sidebar start */
.sidebar,
.right-sidebar{
    height: 100%;
}
.sidebar .sidebar-container,
.right-sidebar .sidebar-container{
    padding: 1rem 1.5rem;    
}
.sidebar{
    width: 5rem;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-2);
    transition: all .5s ease-in;
}
.fullSidebar{
    width: 20rem;
}
.sidebar .hamburger-wrap{
    position: absolute;
    right: 1.5rem;
    top: 1rem;
}
.sidebar nav ul{
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 3rem;
}
.sidebar nav ul li a{
    display: flex;
    align-items: center;
    gap: 2rem;
    white-space: nowrap;
}

.right-sidebar h3{
    font-size: 1.8rem;
    font-weight: 400;
}
.right-sidebar .sidebar-widget{
    margin-top: 2.5rem;
}
.right-sidebar .sidebar-widget .post-item{
    display: grid;
    grid-template-columns: 1fr 3fr;
    align-items: center;
    gap: .5rem;
    border-bottom: 1px solid var(--border-color);
}

.right-sidebar .sidebar-widget .post-item .post-img{
    display: flex;
}
.right-sidebar .sidebar-widget .post-item .post-img img{
    aspect-ratio: 16 / 9;
    object-fit: cover;
}
.right-sidebar .sidebar-widget .post-item .post-content a{
    display: inline-block;
    font-size: 1.5rem;
}
/* Sidebar End */
/* dashboard */
.dashboard main{
    width: calc(100% - 5rem);
}
/*===============================================
       Dashboard End 
=================================================*/
/* footer start */
.footer{
    background-color: var(--footer-bg-color);
    font-size: 1.6rem;
    padding-bottom:0 ;
}
.footer .row{
    display: grid;
    gap: 1.5rem;
}
.footer h3{
    color: var(--white-color);
    margin-bottom: 1rem;
    padding-left: 1rem;
    border-left: 2px solid var(--primary-color-1);
    line-height: 0.8;
}
.footer p{
    color: var(--white-color);
}
.footer ul li{
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}
.footer ul li a{
    color: var(--white-color);
}
.footer ul li a,
.footer ul li i{
    line-height: 1.5;
}
.footer ul li i{
    color: var(--primary-color-1);
}
.footer .footer-bottom{
    background: var(--header-bg-color);
    text-align: center;
}
.footer .post-item{
    display: flex;
    gap: 1rem;
}
.footer .post-item .post-img{
    width: 25%;
}
.footer .post-item .post-img img{
    aspect-ratio: 1 / 1;
    object-fit: cover;

}
.footer .post-item .post-content{
    width: 75%
}
.footer .post-item .post-content a{
    display: inline-block;
    line-height: 1.5;
    color: var(--white-color);
}
/* footer end */