/* Custom Theme Styles - migrated from theme options */
/* Typography and layout customizations */

/* Typography */
h2 { 
    font-size: 1.5em; 
}

h4 { 
    font-weight: bold; 
}

body {
    -webkit-font-smoothing: subpixel-antialiased;
    font-family: -apple-system,
                BlinkMacSystemFont,
                "Microsoft YaHei",
                "Segoe UI",
                Roboto,
                Oxygen-Sans,
                Ubuntu,
                Cantarell,
                "Helvetica Neue",
                "Noto Sans",
                sans-serif;
}

/* WordPress blocks */
.wp-block-image figcaption { 
    text-align: center; 
}

.wp-block-image .aligncenter img {
    max-width: 100%;
}

article .wp-block-image {
    margin-bottom: 20px;
}

/* Social icons customization */
.social-profile-icons .fa-dribbble:before {
    content: "\f2c6";
}

.fa-behance::before {
    content: "\f2c6";
}

.social-profile-icons .social-dribbble a {
    background: #0088cc;
}

.social-profile-icons .fa-soundcloud::before {
    content: "\f18a";
}

.social-profile-icons .social-soundcloud a {
    background: #e6162d;
}

.social-profile-icons .fa-linkedin::before {
    content: "\f1d7";
}

.social-profile-icons .social-linkedin a {
    background: #09bb07;
}

.social-linkedin::after {
    content: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWAQMAAAAGz+OhAAAABlBMVEX///8AAABVwtN+AAABYklEQVRIid2WMc6EIBCFh1hQcgO4CNFrWWyyJFt4LTdeBG9ASUF8/wya/Nsu0iyJIp+JyJs3DES/0iYAwRNxFw3fUiPjoVmKg36tZAKpZjbBhOmgTCqaBXsvthTLS1jdXSwMO+gJdGOi1RZJB3If+n3JJJbLtqf8GN3/+N7JzqYSgsKnC79jPAd/ek/AO6bZ2y7sIJpZMNY+coxPrRrYcDiguFT9grWu427mVUwyOcroEMi2sukdTfbW6FBfxh6sduxx1p6vrXq8hXlyOD3O/pOHDmx4o3oyi3MurVqYH8lkXkceEGkeYg82rS7NnP/5eZm9kckc2JBkL0nsc+rBSPLIUn4oGdt2dlobkOTZkDowabqopAs50mhm534aDXOpAWcsb2ZSF4LnPZZZ/YFWJrWR0xEv0eU6H3Rhsg7Wiry7hbHP9at6/KAeTOov5AwysseLbWU1liLHc+Vas8Ue7DfaH/KYQ2sIkZJEAAAAAElFTkSuQmCC);
    position: absolute;
    right: 233px;
    top: 55px;
    z-index: 99;
    border-radius: 4px;
    transform-origin: top right;
    transform: scale(0);
    opacity: 0;
    -webkit-transition: all .4s ease-in-out;
    -o-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
}

.social-linkedin:hover::after{
    transform:scale(1);
    opacity: 1;
}

/* Header customization */
.header-inner {
    padding: 1% 0;
}

.widget-header {
    margin-top: 1%;
}

/* Content and sidebar */
.readMore {
    display: none;
}

#sidebar .post-title a {
    font-size: 16px;
    font-weight: 400;
}

#sidebar .post-box {
    margin-bottom: 35px;
}

#sidebar .post-info {
    margin-top: 10px;
}

#content_box .latestPost h2.title.post-title a {
    font-size: 22px;
    font-weight: 500;
}

/* Single post styling */
.single_post .single-title.entry-title {
    font-size: 35px;
}

.single_post .post-single-content {
    font-size: 18px;
}

.single_post {
    --gradient-color: linear-gradient(to right, #E0E0E0, #3498db);
}

.single_post h2 {
    font-size: 24px;
    font-weight: bold;
    color: var(--text-color);
    position: relative;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
}

.single_post h2:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 20%;
    height: 2px;
    background: var(--gradient-color);
    transition: width 0.3s ease-in-out;
}

.single_post h2:hover:after {
    width: 100%;
}

.single_post h3 {
    font-weight: bold;
}

.single_post ol.wp-block-list li {
    margin-top: 10px;
}

/* Comments styling */
#comments .commentlist .children {
    margin-left: 65px;
}

.comment-box {
    margin-left: 45px;
    min-height: 90px;
}

#comments .avatar {
    max-width: 50px;
    left: -45px;
}

#comments .ago a {
    color: #919191;
}

.commentlist p {
    word-wrap: break-word;
    word-break: break-all;
}

#commentform .comment-form-comment-subscribe label{
    padding-left: 0px;
}

#commentform .comment-form-comment-subscribe label input {
    margin-right: 11px;
}

.comment-form-comment-subscribe input {
    width: 18px;
    height: 18px;
}

.commentmetadata a {
    word-break: break-all;
}

/* Footer and widgets */
#site-footer .widget {
    color: white;
}

#site-footer .widget .textwidget a {
    color: #ababad;
}

#site-footer .widget .textwidget a:hover {
    color: white;
}

/* Post elements */
.post-info .ratings {
    float: right;
}

.post-info .ratings-info {
    position: relative;
    top: 3px;
    float: right;
}

.post-info .ratings-info img {
    width: 16px;
}

.post-info .ratings-info em {
    position: relative;
    top: -3px;
}

.post-info .ratings-info .post-ratings-text {
    position: absolute;
    top: -20px;
    left: 0px;
}

.post-ratings {
    position: relative;
}

.post-ratings > .post-ratings-text {
    position: absolute;
    right: 0;
    top: -14px;
}

.post-title a:visited {
    color: #999;
}

.bypostauthor .fn {
    padding-left: unset;
}

/* Featured sections */
.featured-section h4.featured-section-title {
    display: none;
}

.sense-home-1 {
    margin-bottom: 20px;
}

/* Carousel navigation */
.owl-carousel .owl-controls .owl-nav .owl-prev:hover,
.owl-carousel .owl-controls .owl-nav .owl-next:hover {
    background: #007a9c;
}

.owl-nav div i {
    color: lightgray;
}

/* Breadcrumb */
.breadcrumb { 
    font-size: 14px; 
}

/* Favorites and bookmarks */
.simplefavorite-button {
    margin: 20px 0;
}

.mybookmark {
    margin-bottom: 10px;
}

.mylike.related-posts h3 {
    margin-bottom: 25px;
}

.article ul.favorites-list {
    list-style: none;
    margin: 1.5em 1.5em 1.571em 1.5em;
}

.favorites-list li img {
    width: 20%;
}

.wp_ulike_style_simple li {
    list-style-type: none;
    margin-left: 0px;
    margin-bottom: 20px;
    width: 100%;
    float: left;
    position: relative;
}

.wp_ulike_style_simple .wp_ulike_thumbnail {
    vertical-align: middle;
    margin: 0 10px 0 0;
}

/* Blockquotes */
blockquote::after{
    content: '';
}

blockquote cite{
    display:block;
    color:#333333;
    font-style: normal;
    font-weight: bold;
    margin-top:1em;
}

/* Code styling */
p code {
    background: #D9D9D9;
}

kbd {
    align-items: center;
    border: 1px solid #bdbdbd;
    background: #f8f8f8;
    border-bottom-width: 2px;
    border-radius: 3px;
    box-sizing: border-box;
    color: #222;
    display: inline-flex;
    font-size: 0.8706em;
    justify-content: center;
    line-height: 1.4;
    margin: 0 0.15em;
    min-width: 24px;
    padding: 0.15em 0.6em;
    font-family: monospace, monospace;
}

@media (prefers-color-scheme: dark) {
    kbd {
        border: 1px solid #7a7a7a;
        background: #282828;
        color: #ddd;
    }
}

/* Aspect ratio utility */
.aspect-ratio {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 75%;
    margin-bottom: 30px;
}

.aspect-ratio iframe {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
}

/* Colorful categories */
ul.colorful-categories {
    margin-left: 0;
    padding-left: 0;
    margin-right: 0;
    padding-right: 0;
}

ul.colorful-categories:after {
    display: block;
    content: '';
    clear: both;
}

ul.colorful-categories li {
    margin: 2px 4px 0 0;
    padding: 7px 5px 7px 0;
    list-style: none;
    float: left;
    background-image: none;
    border-width: 0;
    width: auto;
}

ul.colorful-categories li:hover {
    margin: 2px 4px 1px 1px;
    padding: 6px 4px 7px 0;
}

ul.colorful-categories li a,
#content-sidebar ul.colorful-categories li a {
    border-radius: 8px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    padding: 4px 8px;
    color: #fff;
}

.colorful-categories li a sup {
    font-weight: bold;
}

/* Custom buttons */
.wpdc-join-discussion {
    background-color: #007a9c;
    border: none;
    color: white;
    padding: 15px 32px;
    text-align: center;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
}

.wpdc-join-discussion:hover {
    background-color: #025c75;
}

a.wpdc-join-discussion-link {
    color: white;
}

/* Table of contents */
.simpletoc {
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.25);
    margin: 5px;
    padding: 0;
}

.simpletoc h2 {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
    padding: 15px 20px;
    background-color: #eee;
    border-radius: 5px 5px 0 0;
}

.simpletoc ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.simpletoc li {
    margin-bottom: 0;
}

.simpletoc a {
    color: #666;
    display: block;
    padding: 10px 20px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.simpletoc a:hover {
    background-color: #f5f5f5;
    border-radius: 5px;
}

/* FontAwesome icons */
.sf-icon-bookmark {
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;    
}

sup.fn {
    vertical-align: super;
    font-size: smaller;
    float: none;
    margin-right: unset;
}

/* Mobile responsiveness */
@media screen and (max-width: 480px) { 
    .post-box.vertical {
        margin-bottom: 60px;
    }
    
    .single_post .single-title.entry-title {
        font-size: 20px;
    }
    
    .mysocial {
        float: none;
    }    
    
    .myratings {
        margin-top: 7px;
    }    
    
    .myratings em, .post-info .ratings em  {
        top: -5px;
        position: relative;
    }
    
    blockquote::before {
        font-family: Arial;
        content: "\201C";
        color: darkgrey;
        font-size: 4em;
        position: absolute;
        left: 10px;
        top: -20px;
    }
    
    .entry-content>blockquote {
        font-size: 18px;
        font-style: unset;
        margin: 0 0 25px 0px;
        width: 100%;
        color: #555;
        padding: 1.4em 5px 1.2em 20px;
        border-left: 2px solid lightgrey;
        line-height: 1.6;
        position: relative;
        background: #EDEDED;
    }
    
    .widget-header form#searchform {
        max-width: unset;
    }
    
    #searchform fieldset {
        margin-bottom: 10px;
    }
    
    .post-info > span {
        margin-right: 5px;
    }
    
    .article ul, .textwidget ul {
        width: auto;
    }
}

@media screen and (min-width: 480px) {
    .mysocial {
        float: left;
    }
    
    .myratings {
        float: right;
    }
    
    .myratings em, .post-info .ratings em {
        top: -5px;
        position: relative;
    }
    
    .entry-content > blockquote {
        font-size: 18px;
        font-style: unset;
        margin: 0 0 25px 15px;
        width: 95%;
        color: #555555;
        padding:1.2em 25px 1.2em 60px;
        border-left:8px solid lightgrey;
        line-height:1.6;
        position: relative;
        background:#EDEDED;
    }

    blockquote::before{
        font-family:Arial;
        content: "\201C";
        color:darkgrey;
        font-size:6em;
        position: absolute;
        left: 10px;
        top:-30px;
    }
}

@media screen and ( min-width: 782px ) {
    .vertical .post-img {
        max-width: 300px;
        max-height: 200px;
    }
}

@media screen and ( max-width: 782px) {
    #latest-posts h2.post-title a {
        font-size: 20px;
    }
    
    #latest-posts h2.post-title {
        padding-top: 15px;
    }
    
    .single_post h1.single-title {
        font-size: 25px;
        padding-bottom: 10px;    
    }
}

@media screen and (max-width:840px){
    #zoom-out-effect #zoom-out-bg {
        background-repeat: no-repeat;
        background-size: contain;
    }
    
    #zoom-out-effect {
        padding-bottom: 220px;
    }
}