/*
 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
*/
#block-61 {
    padding: 18px;
    background: black;
    color: bisque;
}

#block-61 a {
    padding: 0px 10px;
    background: white;
    color: black;
    border-radius: 6px;
}

a {text-decoration: none; color: #000;}
aside {border-radius: 11px;}
.widget-title {padding: 15px;margin-bottom: 15px;}
aside,
.widget-title,
#masthead  {box-shadow: 0 2px 9px -2px #ccc;}
#masthead .inside-header {padding: 5px 15px;}
.wp-block-latest-posts a {color: #000;}
body {text-shadow: 1px 1px #cccccc}
.site.grid-container {padding: 0 10px;}
body.single article .entry-title {font-weight: bolder;}
.widget-area .widget {
    padding: 0;
}
.wp-block-latest-posts li {
        border-bottom: 1px solid #ccc;
    padding-bottom: 11px;
}
.wp-block-latest-posts {
    padding: 0 25px 25px 25px;
}
.h3-blue {
    padding: 20px;
    color: #000;
    box-shadow: 0px 7px 9px -6px #000;
    border-radius: 10px;
    width: calc(100% + 80px);
    margin-left: -40px;
    font-weight: 600;
}
ul h3 {
    margin-bottom: 5px;
    font-weight: 600;
    font-size: 25px;
}
.single header .entry-title {
    margin-bottom: 15px;
}
#ez-toc-container {
    width: 100%;
    margin-bottom: 6%;
}
main img {
    border-radius: 10px;
    box-shadow: 0 2px 9px 2px #ccc;
}
.single .post-navigation {
    display: none;
}
/* Grid container for posts */
body:not(.single) .site-main {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 3 columns */
    gap: 20px; /* Space between posts */
}

body:not(.single) .site-main > * {
    margin-bottom: 0;
}

body:not(.single) .page-header {
    padding: 25px;
    border-radius: 8px;
    margin-top: 15px;
    box-shadow: 1px 0px 12px #cccccc;
}

body:not(.single) .site-main .post .read-more {
    display: block;
    background: #000;
    color: #fff;
    text-decoration: none;
    text-align: center;
    margin-left: auto;
    padding: 10px;
    border-radius: 5px;
    font-size: 14px;
    text-shadow: 0 0 #cccccc;
	margin-top: 15px;
}

body:not(.single) .site-main .post .inside-article {
    padding: 20px;
    border-radius: 8px;
	
	display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

body:not(.single) .site-main article.post:hover {
    box-shadow: 0px 2px 14px #cccccc;
	transition: box-shadow .1s ease-in-out;
}

body:not(.single) .site-main .post .entry-meta {
    border-top: 1px solid #cccccc;
    padding-top: 15px;
    margin-top: 1em;
    display: flex;
    justify-content: space-between;
}

body:not(.single) .site-main .post .entry-meta a {
    color: #000000;
    text-decoration: none;
}

/* Ensure each post is styled like a card */
body:not(.single) .post h2 {
    font-size: 1.25rem; 
    font-weight: normal; 
    margin: 0 0 15px; 
    line-height: 1.5; 
}

body:not(.single) .post {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Make post images responsive */
body:not(.single) .post img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Adjust layout for smaller screens */
@media (max-width: 768px) {
    body:not(.single) .site-main {
        grid-template-columns: repeat(2, 1fr); /* 2 columns for tablets */
    }
}

@media (max-width: 480px) {
    body:not(.single) .site-main {
        grid-template-columns: 1fr; /* 1 column for mobile devices */
    }
}
