/**
 * Theme Name
 * Time 2026-02-02 14:49:23
 */

/* Style */
html, body {
    font-family: 'Roboto', 'Arial', sans-serif;
    background: #ffffff;
    color: #4d5156;
    line-height: 1.6;
}

a {
    color: #1a0dab;
    text-decoration: none;
}

a:hover {
    color: #1a73e8;
    text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto', 'Arial', sans-serif;
    color: #202124;
    margin-bottom: 0.5em;
}

.header, .footer {
    background: #ffffff;
    border-bottom: 1px solid #eee;
}

.logo-text {
    font-family: 'Roboto', sans-serif !important;
    color: #202124;
    font-weight: 700;
}

.header-nav a {
    color: #4d5156;
    font-weight: 500;
    padding: 10px 15px;
    display: inline-block;
}

.header-nav a:hover {
    color: #1a73e8;
    background: transparent;
}

#category-select {
    background: #f1f3f4;
}

#category-select .fa {
    display: none;
}

#category-select::before {
    content: "";
    width: 22px;
    height: 14px;
    display: block;
    background:
        linear-gradient(#202124 0 0) 0 0 / 100% 2px no-repeat,
        linear-gradient(#202124 0 0) 0 50% / 100% 2px no-repeat,
        linear-gradient(#202124 0 0) 0 100% / 100% 2px no-repeat;
}

.home-post {
    margin: 0;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.home-post > a {
    display: block;
    height: 100%;
    color: inherit;
}

.home-post .post {
    float: none;
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
}

.home-content {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}

.home-post:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.post {
    display: flex;
    flex-direction: column;
}

.post-thumb {
    width: 100% !important;
    height: auto !important;
    overflow: hidden;
}

.post-thumb img {
    width: 100% !important;
    height: 210px !important;
    object-fit: cover;
    display: block;
}

.post-title {
    padding: 16px 18px 18px 18px;
    background: #fff;
}

.post-title h2 {
    font-size: 18px;
    line-height: 1.4;
    margin: 0;
    color: #1a0dab;
    font-weight: 500;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.post-title span:hover {
    text-decoration: underline;
}

.widget-title {
    color: #202124;
    background: transparent;
    border-bottom: 2px solid #1a73e8;
    padding-bottom: 5px;
    margin-bottom: 15px;
    font-size: 20px;
}

.footer {
    background: #f8f9fa;
    color: #4d5156;
    border-top: 1px solid #eee;
    padding: 40px 0;
}

/* 1 */
.wrapper, .header-container, .footer-container {
    max-width: 1113px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 16px;
    padding-right: 16px;
    box-sizing: border-box;
}

.home-content{
    width: 100%;
    box-sizing: border-box;
}

.post-content {
    width: 760px;
}

.sidebar {
    width: 300px;
}

.article-layout {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.article-layout .post-content {
    flex: 1;
    width: auto;
    float: none;
    padding-left: 0;
    min-width: 0;
}

.article-layout .sidebar {
    width: 320px;
    float: none;
    margin: 10px 0 0 0;
    padding-right: 0;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}

/* 2 */
.post-thumb img, .post-thumb, .random-posts-widget-sidebar img, 
.random-posts-widget-top img, .single img {
    border-radius: 8px;
}

/* image size */
.post-thumb, .post-thumb img {
    width: 346px;
    height: 210px;
}

.post-thumb-small {
    width: 204px;
    height: 124px;
}

.post-thumb-medium, .random-posts-widget-sidebar img {
    width: 300px;
    height: 182px;
}

.random-posts-widget-top img {
    width: 204px !important;
    height: 124px;
}

.random-posts-widget-bottom img {
    width: 346px;
    height: 210px;
}


/* come from responsive.css */
@media only screen and (max-width: 767px) {
    
    /* HOMEPAGE */
    
    .wrapper{
        width: 100%;
        padding: 0 16px;
        box-sizing: border-box;
    }

    .home-content{
        width: 100%;
        padding: 0;
        margin: 16px 0 0 0;
        display: block;
        box-sizing: border-box;
    }

    .home-post{
        margin: 0 0 16px 0;
    }

    .post{
        width: 100%;
        margin: 0;
        float: none;
    }
    
    /* HEADER & FOOTER */
    
    .header{
        margin: 0 auto;
        height: auto;
    }
    
    .logo-image{
        margin: auto;
        text-align: center;
    }
    
    .logo-image img{
        float: none;
    }
    
    .header-container, .footer-container{
        width: 100%;
        padding: 0;
        margin: 0;
        position: relative;
    }
    
    .header-nav, .header-right,.search-form{
        display: none;
    }
    
    .header-left{
        width: auto;
        float: right;
        clear: none;
    }
    
    .header-right{
        width: 230px;
        float: right;
    }
    
    #category-select{
        display: block;
        position: absolute;
        right: 12px;
        top: 13px;
        width: 44px;
        height: 44px;
        margin: 0;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 8px;
    }

    #category-select select{
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        padding: 0;
    }
    
    .fa-2x{
        width: 25px;
    }
    
    .search-field:focus{
        width: 300px;
    }
    
    /* POST */
    
    .post-content{
        width: 96%;
        margin: 10px 0 0 0;
        padding: 0 2%;
    }

    .related-grid{
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .article-layout{
        flex-direction: column;
        gap: 16px;
    }

    .article-layout .sidebar{
        width: 100%;
    }
    
    h1{
        font-size: 24px !important;
        line-height: 27px !important;
        margin-bottom: 12px;
    }
    
    h2{
        font-size: 22px;
        line-height: 25px;
    }
    
    h3{
        font-size: 20px;
        line-height: 23px;
    }
    
    .single{
        margin-top: 0;
    }
    
    .single-info, .single-info a, .single-info-edit a, .single-info-bottom, .single-info-bottom a{
        line-height: 30px;
        font-size: 14px;
    }
    
    .single-title{
        margin: 10px 0 0 0;
    }
    
    .single img, .random-container-bottom h4{
        width: 100%;
    }
    
    .share-facebook{
        width: 100%;
        font-size: 20px;
        height: auto;
        margin: 5px 0;
    }
    
    .share-facebook:after{
        font-size: 24px;
    }
    
    .col-md-4 {
        width: 100%;
        padding: 0;
        margin-bottom: 10px;
    }
    
    .post-pagination .page-nav-number{
        font-size: 20px;
        margin-top: 0px;
    }
    
    .col-md-8 {
        width: 100%;
        padding: 0;
    }
    
    .post-pagination .btn{
        padding: 15px 0;
        font-size: 20px;
    }
    
    /* SIDEBAR */
    
    .sidebar{
        width: 96%;
        margin: 0;
        padding: 0 2%;
        margin: 0;
    }
    
    .widget-title{
        width: auto;
        margin: 0;
    }
    
    .social-icons{
        width: 300px;
    }
    
    .social-icons li{
        margin: 0 11px 11px 0;
    }
    
    .random-posts-widget-sidebar, .post-thumb-medium{
        width: 100%;
    }
    
    .random-posts-widget-sidebar img{
        width: 100% !important;
        height: auto;
    }
    
    /* Disabled */
    
    .random-container-top, .random-container-bottom, .random-posts-widget-top, .random-posts-widget-bottom, .widget-title-top-bottom, .overlay, .after-content-ads, .scroll .fa{
        display: none;
    }
    
    .footer{
        margin: 120px 0 0 0;
        font-size: 11px;
    }
    
    .footer a{
        font-size: 11px;
    }

    .footer-nav{
        display: block;
        float: none;
        line-height: 1.6;
        margin-top: 12px;
    }

    .footer-nav ul{
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px 14px;
    }

    .footer-nav li{
        float: none;
        line-height: inherit;
        padding: 0;
    }
    
    /* content */
    .article-container, .article-content, .article-header {
        width: 100% !important;
        padding: 0 2%;
        box-sizing: border-box;
    }
    
    .article-title {
        font-size: 24px !important;
        line-height: 27px !important;
    }
    
    .article-meta {
        width: 100%;
        text-align: left;
    }
    
    .article-content img {
        max-width: 100% !important;
        height: auto !important;
    }
    
    .article-content iframe, .article-content embed, .article-content object {
        max-width: 100% !important;
    }
    
    .article-content table {
        width: 100% !important;
        display: block;
        overflow-x: auto;
    }
    
    .comments-area, .comment-form {
        width: 100% !important;
    }
    
    .page-navigation {
        width: 100%;
        display: flex;
        justify-content: space-between;
    }
}

/**************** Tablets ****************/

@media only screen and (min-width: 768px) and (max-width: 1113px) {
    
    /* HOMEPAGE */
    
    .wrapper, .home-content{
        width: 100%;
    }
    
    
    /* Header & Footer */
    
    .header, .footer{
        margin: 0 auto;
    }
    
    .header-container, .footer-container{
        width: 98%;
        margin: 0 1%;
    }
    
    .header-nav{
        display: none;
    }

    .footer-nav{
        display: block;
        float: none;
        line-height: 1.6;
        margin-top: 12px;
    }

    .footer-nav ul{
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px 14px;
    }

    .footer-nav li{
        float: none;
        line-height: inherit;
        padding: 0;
    }
    
    .header-left{
        width: 120px;
        background: #37a793;
    }
    
    #category-select{
        display: block;
    }

    /* POST */
    
    .post-content{
        width: 98%;
        margin: 10px 1% 0 1%;
        padding: 0;
        float: none;
    }
    
    .single img{
        width: 100%;
    }
    
    .post{
        width: 48%;
        padding: 1% 1% 40px 1%;
    }
    
    .post-thumb, .post-thumb img, .post-title{
        width: 100%;
        height: auto;
    }
        
    /* SIDEBAR */
    
    .sidebar{
        width: 98%;
        padding: 0 1%;
        margin: auto;
        float: none;
    }
    
    .widget-title, .subscribe-widget{
        width: 98%;
        padding: 15px 1%;
    }
    
    .widget-title{
        margin: 15px 0;
    }
    
    .social-icons{
        width: 100%;
        margin: 0;
    }
    
    .social-icons li{
        margin: 0 9px 9px 0;
    }
    
    .random-posts-widget-sidebar{
        width: 100%;
        margin: 30px 0;
    }
    
    .random-posts-widget-sidebar img, .post-thumb-medium{
        width: 100%;
        height: auto;
    }
    
        /* Disabled */
    
    .random-container-top, .random-container-bottom, .random-posts-widget-top, .random-posts-widget-bottom, .widget-title-top-bottom, .overlay, .after-content-ads{
        display: none;
    }
    
    .scroll .fa {
        font-size: 30px;
    }
    
    .footer{
        margin: 120px 0 0 0;
    }
    
    /* tablet */
    .article-container, .article-content, .article-header {
        width: 98% !important;
        padding: 0 1%;
        box-sizing: border-box;
    }
}
