/* All Blogs Styling Here */

.blog-list-container {
display: flex;
flex-wrap: nowrap; /* No wrapping */
width: 100%;
max-width: 1260px;
margin: 0 auto;
padding:0px 15px;
}

.mb-base.w-full {
margin-bottom: 0 !important;
}
.post-thumbnail {
padding: 0 0px;
display: block;
}
.blog-details-container {
width: 100%;
max-width: 1025px;
margin: 0 auto;
}
.blog-list-left-sidebar {
width: 25%; /* Explicit width */
}
.blog-list-grid {
width: 75%; /* Right section for blog cards */
padding: 0px 20px;
padding-left: 40px;
display: flex;
flex-direction: column;
}
.blogs-title {
margin-bottom: 30px; /* Space between title and cards */
}
.blogs-title h4 {
font-size: 22px;
font-weight: 500;
line-height: 28.6px;
color: rgba(17, 17, 17, 1);
border-bottom: 3px solid rgba(235, 236, 240, 1);
padding-bottom: 6px;
}
.blogs-title h4 span {
border-bottom: 3px solid rgba(55, 68, 101, 1);
padding-bottom: 6px;
}
.blog-post-grid {
display: grid;
grid-template-columns: repeat(3, 1fr); /* 3 columns */
gap: 20px; /* Space between cards */
}
.blog-post-card {
background-color: #ffffff;
border-radius: 10px;
box-shadow: 0px 1px 5px 0px rgba(76, 78, 100, 0.12);
overflow: hidden;
padding: 8px;
}
.post-thumbnail img {
width: 100%;
/*height: 180px;*/
/*height: auto;*/
border-radius: 10px;
}
.page-template-template-blog-list .blog-list-grid .post-thumbnail img {
    height: 185px;
}
.post-content {
padding: 15px 10px;
}
.blog-post-card .post-content h2 a,
.blog-post-card .post-content h2  {
margin: 0;
font-size: 14px;
font-weight: 600;
line-height: 18.2px;
color: rgba(55, 68, 101, 1);
padding: 10px 0px 20px 0px;
}
.post-excerpt,
.post-excerpt p{
font-size: 14px;
font-weight: 400;
line-height: 19.6px;
color: rgba(95, 105, 132, 1);
margin: 0;
display: -webkit-box;
-webkit-line-clamp: 4;
-webkit-box-orient: vertical;
overflow: hidden;
}
.pagination {
margin: 20px 0;
text-align: center;
margin: 50px 0px 20px 0;
}
.pagination a {
margin: 0 5px;
padding: 8px 12px;
background: #0073aa;
color: white;
border-radius: 4px;
text-decoration: none;
}
.pagination a:hover {
background: #005177;
}
.post-categories {
margin: 0; /* Spacing above and below */
font-size: 0.9em; /* Smaller font size */
color: #666; /* Gray color for categories */
}
.category-link {
margin-right: 8px; /* Space between category links */
text-decoration: none; /* No underline */
color: rgba(115, 92, 167, 1); /* Default link color */
font-size: 14px;
font-weight: 600;
line-height: 19.6px;
letter-spacing: 0.0075em;
}
.search-form-container {
background-color: #ffffff;
border-radius: 10px;
width: 80%;
font-weight: 500;
}
.search-form-container input[type="search"] {
    padding: 25px 15px;
    color:#111111
}
.all-categories,
.short-reads,
.feature-video {
padding: 20px 0;
}
.all-categories h5,
.short-reads h5,
.feature-video h5 {
font-size: 20px;
font-weight: 500;
line-height: 24px;
color: rgba(17, 17, 17, 1);
margin: 0;
padding-bottom: 20px;
}
.all-categories ul {
padding: 0;
}
.all-categories ul li {
padding-bottom: 10px;
}
.all-categories ul li a {
font-size: 16px;
font-weight: 400;
line-height: 22.4px;
color: rgba(17, 17, 17, 1);
}
#category-toggle {
padding-bottom: 10px;
font-size: 16px;
font-weight: 600;
line-height: 22.4px;
}
.short-read-post {
display: flex;
align-items: center;
margin-bottom: 15px;
border-bottom: 1px solid #e0e0e0;
padding-bottom: 10px;
transition: .5s ease-in-out;
cursor: pointer;
padding: 10px;
}
.short-read-link {
display: flex;
align-items: center;
text-decoration: none;
color: inherit;
width: 100%;
}
.short-read-image {
flex-shrink: 0;
margin-right: 15px;
}
.short-read-image img {
width: 75px; /* Adjust size as needed */
height: 75px;
object-fit: cover;
border-radius: 4px; /* Optional: add rounded corners */
}
.short-read-content {
display: flex;
flex-direction: column;
}
.short-read-title {
font-size: 13px;
font-weight: 600;
line-height: 18.2px;
color: rgba(55, 68, 101, 1);
margin: 0 0 5px;
}
.publish-date span {
font-size: 13px;
font-weight: 500;
line-height: 19.6px;
letter-spacing: 0.0075em;
text-align: left;
color: rgba(121, 130, 152, 1);
}
.short-read-post:hover {
background-color: rgba(255, 255, 255, 1);
border-radius: 10px;
box-shadow: 0px 1px 5px 0px rgba(76, 78, 100, 0.12);
}
.feature-video .video-container iframe {
border-radius: 10px;
background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 59.63%, rgba(0, 0, 0, 0.69) 73.77%);
box-shadow: 0px 1px 5px 0px rgba(76, 78, 100, 0.12);
}
.blog-details-main .post-header {
text-align: center;
}
.post-header .post-title {
font-size: 48px;
font-weight: 400;
line-height: 62px;
text-align: center;
color: rgba(55, 68, 101, 1);
margin: 0;
}
.blog-details-main p.post-meta {
font-size: 16px;
font-weight: 600;
line-height: 22.4px;
letter-spacing: 0.0075em;
color: rgba(121, 130, 152, 1);
margin: 0;
padding: 10px 0px 25px 0px;
}
.blog-details-main p.post-meta a {
color: rgba(115, 92, 167, 1);
}
.blog-details-main .post-thumbnail img {
/*background: linear-gradient(180deg, rgba(0, 0, 0, 0.32) 63.21%, #000000 99.45%);*/
}
.blog-details-main .blog-details-post-content {
padding: 30px 15px;
}

.blog-details-post-content p,
.blog-details-post-content ul li {
font-size: 16px;
font-weight: 400;
line-height: 25.6px;
margin: 0;
padding-bottom: 15px;
color: #798298;
}
.blog-details-post-content h2,
.blog-details-post-content h3,
.blog-details-post-content h2 strong,
.blog-details-post-content h3 strong {
font-size: 34px;
font-weight: 500;
line-height: 135%;
color: rgba(55, 68, 101, 1);
margin: 0;
padding-bottom: 10px;
}
.blog-details-post-content figure img {
    border-radius: 10px;
    padding-top: 5px;
    padding-bottom: 15px;
}
.blog-details-post-content h4 {
    font-weight: 400;
    font-size: 22px;
    line-height: 130%;
    letter-spacing: 0px;
    color: #374465;
    margin-bottom: 10px;
}
.blog-details-post-content .wp-block-list {
    list-style: disc;
    margin-bottom: 0;
}
.related-posts {
margin-top: 20px;
padding: 20px 15px;
}
.related-posts h2 {
margin-bottom: 20px;
font-size: 34px;
font-weight: 500;
line-height: 52px;
color: rgba(34, 34, 34, 1);
}
.related-posts-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 50px;
}
.related-post-card {
background: #fff;
border-radius: 8px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
padding: 10px;
}
.related-post-thumbnail img {
border-radius: 8px;
width: 100%;
height: 185px;
}
.blog-details-post-content p strong {
    font-weight: 600;
}
.related-post-card h4,
.related-post-card h4 a {
margin: 10px 0 18px;
font-size: 14px;
font-weight: 600;
line-height: 18.2px;
color: rgba(55, 68, 101, 1);
}
.related-post-card .related-post-date {
font-size: 0.9em;
color: #777;
}

/* Blogs Author Style here */
.blogs_author_details {
    padding-bottom: 35px;
    border-bottom: 2px solid #798298;
    margin-right: 20px;
    margin-left: 20px;
}

.author-box {
    width: 100%;
    max-width: 900px;
    margin: auto;
}
.author-box-inner {
    display: flex;
    gap: 25px;
   
}
.author-avatar img {
    border-radius: 50%;
}
.author-info h4 {
    margin: 0;
    font-weight: 600;
}
.author-info h5 {
    margin-bottom: 0px;
    font-weight: 400;
    font-size: 14px;
    line-height: 140%;
    letter-spacing: 0.75px;
    color: #374465;
}
.author-info h4 a {
    font-weight: 600;
    font-size: 16px;
    line-height: 140%;
    letter-spacing: 0.75px;
    color: #374465;
    text-transform: capitalize;
}
.author-description p {
    font-weight: 400;
    font-size: 16px;
    line-height: 140%;
    letter-spacing: 0px;
    color: #606060;
    margin: 0;
    padding-top: 10px;
}

/* Responsiveness Style here */

/* Mobile View Style  */
@media only screen and (min-device-width: 375px) and (max-device-width: 667px) and (orientation: landscape) {
#block-12 h3, #block-15 h3, #block-31 h3, #block-40 h3 {
    font-size: 16px;
}
#footer .wp-block-list li {
    font-size: 14px;
}
#footer .wp-block-list li a {
font-size: 14px;
}
#footer .ct-widget.widget_block.widget_text p {
font-size: 14px;
}
}

@media only screen and (max-width: 600px) { 
#main .blog-list-main {
padding: 40px 0;
}
.blog-list-container {
display: flex;
flex-direction: column-reverse;
padding: 0 15px;
}
.search-form-container {
    margin-top: 30px;
}
.blog-list-left-sidebar {
width: 100%;
}
.blog-list-grid {
width: 100%;
padding: 0px 0px;
padding-left: 0;
}
.blog-post-grid {
grid-template-columns: repeat(1, 1fr);
gap: 15px;
}
.all-categories, 
.short-reads, 
.feature-video {
padding: 15px 0;
}
.related-posts-grid {
grid-template-columns: repeat(1, 1fr);
gap: 30px;
}
}
@media only screen and (max-width: 992px) { 
.ct-panel-inner {
width: 100% !important;
}
}
/* iPaid View Style */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) { 
#main .blog-list-main {
padding: 50px 0;
}
.blog-list-container {
padding: 0 15px;
}
.blog-list-left-sidebar {
width: 40%;
}
.blog-list-grid {
width: 60%;
padding: 0px 0px;
padding-left: 30px;
display: flex;
}
.blog-post-grid {
grid-template-columns: repeat(2, 1fr);
gap: 15px;
}
.related-posts-grid {
grid-template-columns: repeat(2, 1fr);
gap: 30px;
}
}