/*
Theme Name: the7dtchild
Author: Dream-Theme
Author URI: http://dream-theme.com/
Description: The7 is perfectly scalable, performance and SEO optimized, responsive, retina ready multipurpose WordPress theme. It will fit every site – big or small. From huge corporate portals to studio or personal sites – The7 will become a great foundation for your next project!
Version: 1.0.0
License: This WordPress theme is comprised of two parts: (1) The PHP code and integrated HTML are licensed under the GPL license as is WordPress itself.  You will find a copy of the license text in the same directory as this text file. Or you can read it here: http://wordpress.org/about/gpl/ (2) All other parts of the theme including, but not limited to the CSS code, images, and design are licensed according to the license purchased. Read about licensing details here: http://themeforest.net/licenses/regular_extended
Template: dt-the7
*/
.blog-container {
    width: 80%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 0;
}

.blog-posts {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.post {
    width: 43%;
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.post h2 {
    margin: 0 0 10px;
    font-size: 24px;
}

.post-meta {
    font-size: 14px;
    color: #777;
    margin-bottom: 15px;
}

.post-thumbnail img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

.post-excerpt {
    font-size: 16px;
    color: #333;
}

.read-more {
    font: var(--the7-btn-s-font);
    text-transform: var(--the7-btn-s-text-transform);
    letter-spacing: var(--the7-btn-s-letter-spacing);
    word-spacing: var(--the7-btn-s-word-spacing);
    -webkit-border-radius: var(--the7-btn-s-border-radius);
    border-radius: var(--the7-btn-s-border-radius);
    border-width: var(--the7-btn-s-border-width);
    border-style: var(--the7-btn-s-border-style);
    border-color: var(--the7-btn-border-color);
    padding: var(--the7-btn-s-padding);
    min-width: var(--the7-btn-s-min-width);
    min-height: var(--the7-btn-s-min-height);
    --btn-icon-spacing: var(--the7-btn-s-icon-gap, 7px);
    text-decoration: none;
}



.read-more:hover {
    background: #000;
    color: #fff;
    transition: all 0.3s;
}

.pagination {
    text-align: center;
    margin-top: 20px;
}

.blog-layout {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 0;
}

.blog-content {
    width: 65%;
    padding-right: 20px;
}

.blog-sidebar {
    width: 30%;
    /*background: #ffffff;*/
    padding: 20px;
    border-radius: 10px;
    /*box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);*/
}

.widget {
    margin-bottom: 20px;
    padding: 15px;
    background: white;
    border-radius: 5px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
}

.widget-title {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.single-post-layout {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 0;
}

.single-post-content {
    width: 70%;
    padding-right: 20px;
}

.single-post .single-post-content .post{
    width: 95%;
    padding-right: 20px;
}
.single-post .blog-sidebar{
    width: 28%;
    background: transparent;
    box-shadow: none;
    padding:0;
}
.post {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.post h1 {
    font-size: 28px;
    margin-bottom: 10px;
}

.post-meta {
    font-size: 14px;
    color: #777;
    margin-bottom: 15px;
}

.post-thumbnail img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 20px;
}

.post-content {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

.post-tags {
    margin-top: 20px;
    font-size: 14px;
    color: #555;
}

.post-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    font-size: 16px;
}

.comments-section {
    margin-top: 30px;
}

.blog-sidebar {
    width: 30%;
    /*background: #f9f9f9;*/
    padding: 0px;
    border-radius: 10px;
    /*box-shadow: 0 2px 10px rgba( 0, 0, 0, 0.1);*/
}


@media screen and (max-width: 1024px) and (orientation: portrait) {
    /* Estilos específicos para iPad PRO en vertical */
    .blog-content {
        width: 60%;
        padding-right: 0;
    }
    .blog-content h1{
        margin-left: 20px;
    }
    .blog-content .post{
        width: 100%;
        padding-right: 0;
        margin:20px;
    }
    .blog-content .post img{
        width: 280px;
    }
    .blog-sidebar {
        width: 35%;
        padding: 0px;
        border-radius: 10px;
        margin: 20px;
        /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); */
    }
}

@media screen and (max-width: 1366px) and (max-height: 1024px) and (orientation: landscape) {
    /* Estilos específicos para iPad PRO en vertical */
    .blog-content {
        margin-left: 25%;
        width: 45%;
        padding-right: 0;
    }
    .blog-content h1{
        margin-left: 20px;
    }
    .blog-content .post{
        width: 100%;
        padding-right: 0;
        margin:20px;
    }
    .blog-content .post img{
        width: 280px;
    }
    .blog-sidebar {
        width: 26%;
        padding: 0px;
        border-radius: 10px;
        margin: 20px;
        /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); */
    }
}

/*@media screen and (min-width: 1024px) and (max-width: 834px) and (orientation: portrait) {*/
/*    !* Estilos para iPad PRO en vertical *!*/
/*    .blog-content {*/
/*        width: 100%;*/
/*        padding-right: 0;*/
/*    }*/
/*    .blog-content h1{*/
/*        margin-left: 20px;*/
/*    }*/
/*    .blog-content .post{*/
/*        width: 100%;*/
/*        padding-right: 0;*/
/*        margin:20px;*/
/*    }*/
/*    .blog-content .post img{*/
/*        width: 280px;*/
/*    }*/
/*    .blog-sidebar {*/
/*        width: 100%;*/
/*        padding: 0px;*/
/*        border-radius: 10px;*/
/*        margin: 20px;*/
/*        !* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); *!*/
/*    }*/
/*}*/

@media screen and (max-width: 834px) and (orientation: portrait) {
    /* Estilos específicos para iPad en vertical */
    .blog-content {
        width: 100%;
        padding-right: 0;
    }
    .blog-content h1{
        margin-left: 20px;
    }
    .blog-content .post{
        width: 100%;
        padding-right: 0;
        margin:20px;
    }
    .blog-content .post img{
        width: 280px;
    }
    .blog-sidebar {
        width: 100%;
        padding: 0px;
        border-radius: 10px;
        margin: 20px;
        /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); */
    }
}

@media screen and (min-width: 768px) and (max-width: 834px) and (orientation: portrait) {
    /* Estilos para iPad en vertical */
    .blog-content {
        width: 100%;
        padding-right: 0;
    }
    .blog-content h1{
        margin-left: 20px;
    }
    .blog-content .post{
        width: 100%;
        padding-right: 0;
        margin:20px;
    }
    .blog-content .post img{
        width: 280px;
    }
    .blog-sidebar {
        width: 100%;
        padding: 0px;
        border-radius: 10px;
        margin: 20px;
        /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); */
    }
}

@media screen and (max-width: 430px){
    .blog-content {
        width: 100%;
        padding-right: 0;
    }
    .blog-content h1{
        margin-left: 20px;
    }
    .blog-content .post{
        width: 100%;
        padding-right: 0;
        margin:20px;
    }
    .blog-content .post img{
        width: 280px;
    }
    .blog-sidebar {
        width: 100%;
        padding: 0px;
        border-radius: 10px;
        margin: 20px;
        /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); */
    }
}
@media screen and (max-width: 360px){
    .blog-content {
        width: 100%;
        padding-right: 0;
    }
    .blog-content h1{
        margin-left: 20px;
    }
    .blog-content .post{
        width: 100%;
        padding-right: 0;
        margin:20px;
    }
    .blog-content .post img{
        width: 280px;
    }
    .blog-sidebar {
        width: 100%;
        padding: 0px;
        border-radius: 10px;
        margin: 20px;
        /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); */
    }
}