body{
    font-family: 'Poppins', 'Mukta', sans-serif;
    background: #ffffff;
}

img{
    max-width: 100%;
	height: auto;
}

a:hover{
    text-decoration: none;
}


header nav{
    background-color: #32b389;
    padding: 10px 0px !important;
}

header nav a.navbar-brand{
    margin-right: 50px;
}

header nav a.navbar-brand img{
    width: 200px;
}

header nav ul li a{
    padding: 0px 15px !important;
    color: #FFF !important;
    font-size: 15px;
    font-weight: 600;
}


header nav ul.rightnav li a{
    padding: 0px 10px !important;
    font-size: 14px;
    font-weight: 800;
}


header nav ul.rightnav li{
    border-left: 1px solid #FFF;
}

header nav ul.rightnav li:first-child{
   border: none;
}

.ptouiframe{
    margin-top: 50px;
}

/* uniform gap between the tool section and the content section on every
   tool page (home, unicode-to-preeti, roman, voice typing) */
.front-about{
    margin-top: 50px;
}

.front-about .front-desc .header h1{
    text-align: center;
    color: #243b56;
    font-weight: 900;
    font-size: 40px;
    line-height: 60px;
    margin-bottom: 20px;
}

.front-about .front-desc .content h2{
    font-weight: 600;
    color: #243b56;
    text-align: left;
    font-size: 26px;
    line-height: 1.45;
    margin: 28px 0 12px;
}

.front-about .front-desc .content h3{
    font-weight: 600;
    color: #243b56;
    text-align: left;
    font-size: 20px;
    line-height: 1.5;
    margin: 22px 0 10px;
}

.front-about .front-desc .content p{
    font-size: 15px;
    font-weight: 400;
    color: #000;
    line-height: 26px;

}

.front-about .front-desc .content ul,
.front-about .front-desc .content ol{
    margin: 0 0 16px;
    padding-left: 24px;
}

.front-about .front-desc .content li{
    font-size: 15px;
    color: #000;
    line-height: 26px;
    margin-bottom: 6px;
}

.front-about .front-desc .content a{
    color: #32b389;
    font-weight: 600;
    text-decoration: none;
}

.front-about .front-desc .content a:hover{
    text-decoration: underline;
}


.font-sidebar{
    background: #FFF;
    padding: 10px;
    border-radius: 10px;
}

.font-sidebar .bigyapan a{

}

.front-desc .button{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: space-evenly;
    -ms-flex-pack: space-evenly;
            justify-content: space-evenly;
            margin: 15px 0px;
}

.front-desc .button a{
    background-color: #04B57A;
    color: #FFF;
    padding: 5px 20px;
    border-radius: 3px;
    font-size: 14px;
}

.front-desc .iframe h3{
    font-weight: 600;
    color: #243b56;
    text-align: left;
    font-size: 22px;
    line-height: 35px;
}

.front-desc .iframe textarea{
    width: 100%;
    height: auto;
    border: none;
    padding: 0px 10px;
    font-size: 14px;
}

footer{
    margin-top: 50px;
    background-color: #32b389;
}

footer p{
    color: #FFF;
    font-size: 15px;
    text-align: center;
    padding: 10px 0px;
}

.footer-cols{
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    padding: 38px 0 24px;
}

.footer-col{
    flex: 1 1 180px;
    min-width: 160px;
}

.footer-brand{
    flex: 1.4 1 240px;
}

.footer-col h4{
    color: #FFF;
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 14px;
}

.footer-col ul{
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-col li{
    margin-bottom: 9px;
}

.footer-col a{
    color: rgba(255,255,255,0.85);
    font-size: 14.5px;
    text-decoration: none;
}

.footer-col a:hover{
    color: #FFF;
    text-decoration: underline;
}

.footer-brand p{
    color: rgba(255,255,255,0.85);
    font-size: 14.5px;
    line-height: 1.7;
    text-align: left;
    padding: 0;
    margin: 0 0 14px;
}

.footer-fb{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

footer .footer-copy{
    border-top: 1px solid rgba(255,255,255,0.25);
    margin: 0;
    padding: 14px 0;
    font-size: 14px;
}

footer .footer-copy a{
    color: #FFF;
    font-weight: 600;
    text-decoration: none;
}

@media (max-width: 640px){
    .footer-cols{
        gap: 20px;
        padding: 28px 0 18px;
    }

    .footer-col{
        flex: 1 1 42%;
    }

    .footer-brand{
        flex: 1 1 100%;
    }
}


.card {
    background: #fff;
    transition: .5s;
    border: 0;
    margin-bottom: 30px;
    border-radius: .55rem;
    position: relative;
    width: 100%;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 10%);
}
.card .body {
    color: #444;
    padding: 20px;
    font-weight: 400;
}
.card .header {
    color: #444;
    padding: 20px;
    position: relative;
    box-shadow: none;
}
.single_post {
    -webkit-transition: all .4s ease;
    transition: all .4s ease
}

.single_post .body {
    padding: 30px
}

.single_post .img-post {
    position: relative;
    overflow: hidden;
    max-height: 500px;
    margin-bottom: 30px
}

.single_post .img-post>img {
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
    opacity: 1;
    -webkit-transition: -webkit-transform .4s ease, opacity .4s ease;
    transition: transform .4s ease, opacity .4s ease;
    max-width: 100%;
    filter: none;
    -webkit-filter: grayscale(0);
    -webkit-transform: scale(1.01)
}

.single_post .img-post:hover img {
    -webkit-transform: scale(1.02);
    -ms-transform: scale(1.02);
    transform: scale(1.02);
    opacity: .7;
    filter: gray;
    -webkit-filter: grayscale(1);
    -webkit-transition: all .8s ease-in-out
}

.single_post .img-post:hover .social_share {
    display: block
}

.single_post .footer {
    padding: 0 30px 30px 30px
}

.single_post .footer .actions {
    display: inline-block
}

.single_post .footer .stats {
    cursor: default;
    list-style: none;
    padding: 0;
    display: inline-block;
    float: right;
    margin: 0;
    line-height: 35px
}

.single_post .footer .stats li {
    border-left: solid 1px rgba(160, 160, 160, 0.3);
    display: inline-block;
    font-weight: 400;
    letter-spacing: 0.25em;
    line-height: 1;
    margin: 0 0 0 2em;
    padding: 0 0 0 2em;
    text-transform: uppercase;
    font-size: 13px
}

.single_post .footer .stats li a {
    color: #777
}

.single_post .footer .stats li:first-child {
    border-left: 0;
    margin-left: 0;
    padding-left: 0
}

.single_post h3 {
    font-size: 20px;
    text-transform: uppercase
}

.single_post h3 a {
    color: #242424;
    text-decoration: none
}

.single_post p {
    font-size: 16px;
    line-height: 26px;
    font-weight: 300;
    margin: 0
}

.single_post .blockquote p {
    margin-top: 0 !important
}

.single_post .meta {
    list-style: none;
    padding: 0;
    margin: 0
}

.single_post .meta li {
    display: inline-block;
    margin-right: 15px
}

.single_post .meta li a {
    font-style: italic;
    color: #959595;
    text-decoration: none;
    font-size: 12px
}

.single_post .meta li a i {
    margin-right: 6px;
    font-size: 12px
}

.single_post2 {
    overflow: hidden
}

.single_post2 .content {
    margin-top: 15px;
    margin-bottom: 15px;
    padding-left: 80px;
    position: relative
}

.single_post2 .content .actions_sidebar {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 60px
}

.single_post2 .content .actions_sidebar a {
    display: inline-block;
    width: 100%;
    height: 60px;
    line-height: 60px;
    margin-right: 0;
    text-align: center;
    border-right: 1px solid #e4eaec
}

.single_post2 .content .title {
    font-weight: 100
}

.single_post2 .content .text {
    font-size: 15px
}

.right-box .categories-clouds li {
    display: inline-block;
    margin-bottom: 5px
}

.right-box .categories-clouds li a {
    display: block;
    border: 1px solid;
    padding: 6px 10px;
    border-radius: 3px
}

.right-box .instagram-plugin {
    overflow: hidden
}

.right-box .instagram-plugin li {
    float: left;
    overflow: hidden;
    border: 1px solid #fff
}

.comment-reply li {
    margin-bottom: 15px
}

.comment-reply li:last-child {
    margin-bottom: none
}

.comment-reply li h5 {
    font-size: 18px
}

.comment-reply li p {
    margin-bottom: 0px;
    font-size: 15px;
    color: #777
}

.comment-reply .list-inline li {
    display: inline-block;
    margin: 0;
    padding-right: 20px
}

.comment-reply .list-inline li a {
    font-size: 13px
}

@media (max-width: 640px) {
    .blog-page .left-box .single-comment-box>ul>li {
        padding: 25px 0
    }
    .blog-page .left-box .single-comment-box ul li .icon-box {
        display: inline-block
    }
    .blog-page .left-box .single-comment-box ul li .text-box {
        display: block;
        padding-left: 0;
        margin-top: 10px
    }
    .blog-page .single_post .footer .stats {
        float: none;
        margin-top: 10px
    }
    .blog-page .single_post .body,
    .blog-page .single_post .footer {
        padding: 30px
    }
}
/* ===== Typography polish (Poppins latin / Mukta devanagari) ===== */
h1, h2, h3, h4, h5, h6{
    font-family: 'Poppins', 'Mukta', sans-serif;
}

textarea#unicode_text,
textarea#unicode_input{
    font-family: 'Mukta', 'Poppins', sans-serif;
    font-size: 18px;
    line-height: 1.7;
}

/* ===== Blog cards grid ===== */
.blog-archive{
    margin-top: 40px;
}

.blog-archive .page-title{
    text-align: center;
    color: #243b56;
    font-weight: 700;
    font-size: 34px;
    margin-bottom: 30px;
}

.post-card{
    background: #fff;
    border: 0;
    border-radius: .55rem;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 10%);
    margin-bottom: 30px;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.post-card:hover{
    transform: translateY(-4px);
    box-shadow: 0 8px 20px 0 rgb(0 0 0 / 12%);
}

.post-card .post-thumb{
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #e9ecef;
}

.post-card .post-thumb img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-card .post-body{
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.post-card .post-category{
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: #04B57A;
    margin-bottom: 8px;
}

.post-card .post-category a{ color: #04B57A; }

.post-card h2{
    font-size: 19px;
    line-height: 1.4;
    font-weight: 600;
    margin-bottom: 10px;
}

.post-card h2 a{ color: #243b56; }
.post-card h2 a:hover{ color: #04B57A; }

.post-card .post-excerpt{
    font-size: 14px;
    color: #555;
    line-height: 1.65;
    flex-grow: 1;
}

.post-card .post-meta{
    font-size: 12.5px;
    color: #8a8f98;
    margin-top: 12px;
}

.post-card .post-meta i{ margin-right: 4px; }

.blog-pagination{
    margin: 10px 0 30px;
    text-align: center;
}

.blog-pagination .page-numbers{
    display: inline-block;
    padding: 7px 14px;
    margin: 0 3px;
    border-radius: 4px;
    background: #fff;
    color: #243b56;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 10%);
}

.blog-pagination .page-numbers.current,
.blog-pagination .page-numbers:hover{
    background: #04B57A;
    color: #fff;
}

/* ===== Single post ===== */
.single_post .post-meta-list{
    list-style: none;
    padding: 0;
    margin: 0 0 18px;
    font-size: 13px;
    color: #8a8f98;
}

.single_post .post-meta-list li{
    display: inline-block;
    margin-right: 18px;
}

.single_post .post-meta-list li i{ margin-right: 5px; color: #04B57A; }

.single_post .entry-content{
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

.single_post .entry-content h2{ font-size: 24px; margin: 28px 0 12px; color: #243b56; }
.single_post .entry-content h3{ font-size: 20px; margin: 24px 0 10px; color: #243b56; text-transform: none; }
.single_post .entry-content img{ border-radius: 6px; margin: 10px 0; }
.single_post .entry-content p{ font-weight: 400; margin-bottom: 16px; }

ul.current-post-tags{
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
}

ul.current-post-tags li{
    display: inline-block;
    margin: 0 6px 6px 0;
}

ul.current-post-tags li a{
    display: block;
    background: #eef6f3;
    color: #1f7a5c;
    font-size: 12.5px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
}

.related-posts{ margin-top: 10px; }
.related-posts > h3{
    font-size: 20px;
    font-weight: 600;
    color: #243b56;
    margin-bottom: 16px;
}

.sidebar-widget{
    background: #fff;
    border-radius: .55rem;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 10%);
    padding: 20px;
    margin-bottom: 25px;
}

.sidebar-widget h4{
    font-size: 16px;
    font-weight: 600;
    color: #243b56;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #04B57A;
}

.sidebar-widget ul{ list-style: none; padding: 0; margin: 0; }

.sidebar-widget ul li{
    padding: 8px 0;
    border-bottom: 1px dashed #e6e6e6;
    font-size: 14px;
}

.sidebar-widget ul li:last-child{ border-bottom: 0; }
.sidebar-widget ul li a{ color: #444; }
.sidebar-widget ul li a:hover{ color: #04B57A; }

.sidebar-widget form.search-form{ display: flex; }

.sidebar-widget form.search-form input[type="search"],
.sidebar-widget form.search-form input[type="text"]{
    flex: 1;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
    padding: 8px 12px;
    font-size: 14px;
    outline: none;
}

.sidebar-widget form.search-form button{
    background: #04B57A;
    color: #fff;
    border: 0;
    border-radius: 0 4px 4px 0;
    padding: 8px 14px;
    cursor: pointer;
}

/* ===== Unicode to Preeti page ===== */
.u2p-note{
    font-size: 13px;
    color: #8a8f98;
    margin-top: 6px;
}

/* ===== Single post redesign ===== */
.blog-page{
    margin-top: 35px;
}

.post-breadcrumb{
    font-size: 13px;
    color: #8a8f98;
    margin-bottom: 15px;
}

.post-breadcrumb a{
    color: #04B57A;
    font-weight: 500;
}

.post-breadcrumb span{ margin: 0 6px; }

.post-breadcrumb .current{
    color: #8a8f98;
    margin: 0;
    display: inline-block;
    max-width: 60%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: bottom;
}

.post-hero{
    margin-bottom: 22px;
}

.post-category-badge{
    display: inline-block;
    background: #eef6f3;
    color: #1f7a5c;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 14px;
}

.post-category-badge:hover{
    background: #04B57A;
    color: #fff;
}

.single_post .post-hero h1{
    font-size: 32px;
    line-height: 1.35;
    font-weight: 700;
    color: #243b56;
    margin-bottom: 14px;
}

.single_post .img-post{
    border-radius: 8px;
}

.single_post .img-post > img{
    width: 100%;
    object-fit: cover;
}

.single_post .entry-content blockquote{
    border-left: 4px solid #04B57A;
    background: #f6faf8;
    padding: 15px 20px;
    margin: 20px 0;
    border-radius: 0 6px 6px 0;
    font-style: italic;
    color: #44525f;
}

.single_post .entry-content ul,
.single_post .entry-content ol{
    padding-left: 22px;
    margin-bottom: 16px;
}

.single_post .entry-content li{
    margin-bottom: 8px;
    font-size: 16px;
    line-height: 1.7;
}

.single_post .entry-content a{
    color: #04B57A;
    text-decoration: underline;
    text-decoration-color: rgba(4, 181, 122, .35);
    text-underline-offset: 3px;
}

.single_post .entry-content a:hover{
    text-decoration-color: #04B57A;
}

.single_post .entry-content table{
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 15px;
}

.single_post .entry-content table th,
.single_post .entry-content table td{
    border: 1px solid #e6e6e6;
    padding: 10px 12px;
    text-align: left;
}

.single_post .entry-content table th{
    background: #f6faf8;
    color: #243b56;
}

.post-share-row{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.post-share-row .share-label{
    font-size: 14px;
    font-weight: 600;
    color: #243b56;
    white-space: nowrap;
}

.post-share-row .share-label i{ color: #04B57A; margin-right: 5px; }

.author-box .body{
    display: flex;
    align-items: center;
    gap: 18px;
}

.author-box .author-avatar img{
    border-radius: 50%;
    width: 72px;
    height: 72px;
}

.author-box .author-label{
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #8a8f98;
}

.author-box h4{
    font-size: 18px;
    font-weight: 600;
    color: #243b56;
    margin: 2px 0 6px;
}

.author-box p{
    font-size: 14px;
    color: #555;
    margin: 0;
    line-height: 1.6;
}

.comments-box .comments-title{
    font-size: 20px;
    font-weight: 600;
    color: #243b56;
    text-transform: none;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #04B57A;
}

.comments-box .comments-title i{ color: #04B57A; margin-right: 6px; }

.comments-box .fb-comments,
.comments-box .fb-comments span,
.comments-box .fb-comments iframe{
    width: 100% !important;
}

@media (max-width: 640px){
    .single_post .post-hero h1{ font-size: 24px; line-height: 1.4; }
    .author-box .body{ flex-direction: column; text-align: center; }
    .post-breadcrumb .current{ max-width: 45%; }
}

/* ===== Tools dropdown in navbar ===== */
header nav .dropdown-menu{
    background: #fff;
    border: 0;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgb(0 0 0 / 15%);
    margin-top: 10px;
    min-width: 190px;
    padding: 8px 0;
}

header nav ul li .dropdown-menu a.dropdown-item{
    color: #243b56 !important;
    font-size: 14px;
    font-weight: 500;
    padding: 9px 18px !important;
}

header nav ul li .dropdown-menu a.dropdown-item:hover{
    background: #eef6f3;
    color: #04B57A !important;
}

@media (max-width: 991px){
    /* inside the collapsed mobile menu the dropdown opens inline on green */
    header nav .dropdown-menu{
        background: transparent;
        box-shadow: none;
        margin-top: 0;
        padding-left: 12px;
    }
    header nav ul li .dropdown-menu a.dropdown-item{
        color: #FFF !important;
    }
    header nav ul li .dropdown-menu a.dropdown-item:hover{
        background: rgba(255, 255, 255, .12);
        color: #FFF !important;
    }
}

/* ===== 404 page ===== */
.error-404-page{
    padding: 60px 0 70px;
    text-align: center;
}

.error-404-hero .error-code{
    font-family: 'Mukta', sans-serif;
    font-size: 120px;
    font-weight: 700;
    line-height: 1;
    color: #32b389;
    text-shadow: 4px 4px 0 #d9f2e9;
    margin-bottom: 10px;
}

.error-404-hero h1{
    font-size: 30px;
    font-weight: 700;
    color: #243b56;
    margin-bottom: 12px;
}

.error-404-hero .error-lead{
    font-size: 16px;
    color: #5c6b78;
    line-height: 1.7;
    margin-bottom: 30px;
}

.error-404-search form{
    display: flex;
    justify-content: center;
    gap: 0;
    max-width: 440px;
    margin: 0 auto 45px;
}

.error-404-search input[type="search"]{
    flex: 1;
    border: 1.5px solid #b8ddcd;
    border-right: 0;
    border-radius: 8px 0 0 8px;
    padding: 11px 16px;
    font-size: 15px;
    outline: none;
    transition: border-color .2s ease;
}

.error-404-search input[type="search"]:focus{
    border-color: #32b389;
}

.error-404-search button{
    background: #32b389;
    color: #fff;
    border: 0;
    border-radius: 0 8px 8px 0;
    padding: 11px 22px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background .2s ease;
}

.error-404-search button:hover{
    background: #2a9a75;
}

.error-404-links .links-title{
    font-size: 15px;
    font-weight: 600;
    color: #243b56;
    margin-bottom: 18px;
}

.error-404-links .links-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 16px;
    max-width: 940px;
    margin: 0 auto 40px;
}

.error-404-links .link-card{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    background: #fff;
    border: 1.5px solid #e3ece8;
    border-radius: 12px;
    padding: 22px 16px;
    transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.error-404-links .link-card:hover{
    border-color: #32b389;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgb(50 179 137 / 12%);
}

.error-404-links .link-card i{
    font-size: 24px;
    color: #32b389;
    margin-bottom: 4px;
}

.error-404-links .link-name{
    font-size: 16px;
    font-weight: 600;
    color: #243b56;
}

.error-404-links .link-desc{
    font-size: 13px;
    color: #5c6b78;
    line-height: 1.5;
}

.error-404-home .home-btn{
    display: inline-block;
    background: #04B57A;
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    padding: 11px 28px;
    border-radius: 8px;
    transition: background .2s ease;
}

.error-404-home .home-btn:hover{
    background: #039c69;
    color: #fff;
}

@media (max-width: 640px){
    .error-404-hero .error-code{ font-size: 84px; }
    .error-404-hero h1{ font-size: 24px; }
    .error-404-page{ padding: 40px 0 50px; }
}
