/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

@media only screen and (max-width: 767px){
	body .breadcrumb-wrap {
    	padding: 8px 12px !important;
	}
}

@media only screen and (max-width: 900px) {
	.site-content {
    flex-direction: column;
}
	.site-content .content-area {
    width: 100%;
}
	.is-right-sidebar {
        width: 100% !important;
    }
}
}


.inside-header {
    padding: 20px 20px;
}
a.gb-button {
    display: inline;
    padding: 10px;
    margin: 6px;
    border-radius: 20px;
    color: #fff;
    text-decoration: none;
    background-color: var(--accent);
    float: left;
    line-height: 100%;
}
.site-footer .footer-widgets-container .inner-padding {
    margin-bottom: 5px !important;
}

a.gb-button svg {
    width: 1em;
    height: 1em;
    /* fill: currentColor; */
}
#ez-toc-container a{color:#000;}
.textwidget br {
    display: none;
}
 
a.gb-button span {
    line-height: 0;
}
.footer-widgets-container {
    padding: 20px 40px;
}


.gp-post-card {
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.gp-post-inner {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.gp-post-image img {
    border-radius: 6px;
    width: 220px;
    height: auto;
    object-fit: cover;
}

.gp-post-content {
    flex: 1;
}

.gp-post-content .entry-title {
    font-size: 20px;
    margin: 0 0 8px;
    line-height: 1.4;
}

.gp-post-content .entry-meta {
    font-size: 13px;
    color: #666;
    margin-bottom: 10px;
}

.gp-post-content .entry-summary {
    font-size: 15px;
    margin-top: 0;
}
/* Recent Posts Thumbnails Widget */

.widget-area .widget {
    padding: 10px;
}
.gp-recent-posts {
    list-style: none;
    margin: 0;
    padding: 0;
}

.gp-recent-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.gp-recent-link {
    display: flex;
    gap: 10px;
    text-decoration: none;
}

.gp-thumb img {
    width: 200px;
    height: 75px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}

.gp-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.gp-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    display: block;
}
li.gp-recent-item {
    padding-bottom: 10px;
}

ul.gp-recent-posts li:last-child {
    padding-bottom: 0;
}
.widget-title {
    margin-bottom: 20px;
}
.gp-date {
    font-size: 12px;
    margin-top: 2px;
}
@media (max-width: 767px) {
.w-full.overflow-x-auto {
    overflow: auto;
}
.gp-post-inner {
    gap:0;
    flex-direction: column;
}
.gp-post-image, .gp-post-content {
    width: 100%;
    text-align: center;
}
.gp-post-image a {
    display: block;
}
.gp-post-content .entry-title {
    font-size: 16px;
    font-weight: bold;
}
.gp-post-content .entry-summary {
    font-size: 13px;
    line-height: 17px;
}
h1.entry-title {
    font-size: 25px;
    line-height: 30px;
    font-weight: bold;
}
.entry-content h2 , h2.comments-title{
    font-size: 20px;
}
.entry-content p {
    font-size: 14px;
}
.inside-article {
    padding: 0 !important;
}
header.entry-header, .entry-content, footer.entry-meta {
    padding: 10px;
    margin: 0 !important;
}
.separate-containers .inside-article>.featured-image {
    margin-bottom: 10px;
}
}
@media (max-width: 1199px) {
    .is-right-sidebar {
        width: 30%;
        margin: 0 15px 0 15px;
    }
    .main-navigation .menu-toggle{line-height:60px !important;}
    .separate-containers .site-main {
        margin:0;
        padding: 20px;
    }
}




.Teckshop-related-posts {
    margin: 30px 0;
    padding: 15px;
    background: #e6d6d6;
    border-radius: 8px;
}

.teckshop-also-read {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 13px;
    font-weight: 600;
    background: #000;
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
}

.Teckshop-related-post {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    align-items: center;
}

.Teckshop-related-post:last-child {
    margin-bottom: 0;
}

.Teckshop-related-postimage img {
    width: 90px;
    height: auto;
    border-radius: 6px;
}

/* Mobile optimization */
@media (max-width: 600px) {
    .Teckshop-related-post {
        flex-direction: column;
        align-items: flex-start;
    }

    .Teckshop-related-postimage img {
        width: 100%;
        max-width: 240px;
    }
}

.Teckshop-related-postcontent a {
    font-weight: 600;
    color: #000;
    text-decoration: none;
}

.Teckshop-related-postcontent a:hover {
    text-decoration: underline;
}

.Teckshop-related-postimage img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    box-shadow: 0px 1px 8px #70707096 !important;
}
.Teckshop-related-postcontent a {
    font-size: 16px;
}
.teckshop-also-read {
    position: absolute;
    top: -13px;
}
.Teckshop-related-posts {
    margin: 30px 0;
    padding: 24px 15px 8px;
    background: #fff2f2;
    border-radius: 8px;
    position: relative;
    border: 1px dashed #de3334;
}
