/*!
Theme Name: tursio
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: tursio
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.
*/

.blog-body-section #blog-posts .card-body p.card-text {
    font-size: 18px;
}
.theme-footer .top-scroll-section a.custom-logo-link img,
.logo-container a.custom-logo-link img {
    height: 45px;
}

.blog-search-header {
	background-color: #0000;
    padding: 0 14px;
}

.questions-section{
	text-align: center;
}
.questions-section .cta-content h2{
	font-size: 45px;
}
.questions-section .questions-btn {
    margin-top: 3em;
}
.questions-section .questions-btn .btn {
    background-color: #398fff;
    border-radius: 0;
	font-size: 17px;
    padding: 10px 21px;
}
.questions-section .questions-btn .btn:hover {
    background-color: #0b5ed7;
	border-color: #0a58ca;
    border-radius: 0;
    color: #fff;
}
.theme-footer .footer-text-content p{
    margin-bottom: 20px;
    display: inline-block;
    font-size: 1rem;
}
.share-blog {
    position: relative;
}

.page-item.active .page-link {
	background-color: #f9f5ff !important;
    border-color: none !important;
	border: none !important;
	color: #000 !important;
}

.page-item .page-link {
	border: none !important;
	color: #000 !important;
}

.share-blog .share-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    border: 1px solid #ddd;
    padding: 0;
    margin: 5px 0 0 0;
    list-style: none;
    z-index: 999;
    min-width: 150px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.share-blog .share-dropdown li {
    border-bottom: 1px solid #eee;
}

.share-blog .share-dropdown li a {
    display: block;
    padding: 10px;
    text-decoration: none;
    color: #333;
}

.blog-page-heading {
	font-size: 56px;
	font-weight: 600;
    line-height: 1.2;
    color: #1a202c;
}

.share-blog .share-dropdown li:last-child {
    border-bottom: none;
}
a.share-toggle:focus {
    background: transparent;
}
.blog-body-section .blog-nav-body .nav-link{
	border-radius:0px;
	border:none;
}
.blog-body-section .blog-nav-body .nav-link:hover{
	border:none;
	border-radius:0px;
}
.recent-posts-list{
	display: flex;
    flex-direction: column;
    gap: 15px;
    border-radius: .25rem;
}
.post-container .post-sidebar h2 {
    font-size: 20px;
    margin-bottom: 12px;
}
.recent-posts-list .recent-post-item{
	gap: 10px;
    align-items: center;
    background-color: #fff;
    border: 1px solid #0078d71a;
    border-radius: 1rem;
    box-shadow: 0 10px 10px -4px #0000000d;
    display: flex;
    height: 100%;
    overflow: hidden;
    position: relative;
}
.recent-posts-list .recent-post-item .recent-post-thumbnail{
	flex-shrink: 0;
}
.recent-posts-list .recent-post-item .recent-post-content a{
	font-weight: 500;
    text-decoration: none;
    color: #212529;
}

.recent-posts-list .recent-post-item .recent-post-content span{
	font-size: 12px; color: #777;
}
.recent-posts-list .recent-post-item .recent-post-thumbnail img{
	width: 120px;
    height: 80px;
    object-fit: cover;
    border-radius: 5px;
}
.post-container .post-sidebar {
	margin-top: 110px;
	position: sticky;
    top: 90px;
}
#menu-header-menu .btn-outline-dark{
    border-radius: 0px;
    padding: 10px 21px;
	background-color: #398fff;
    border: none;
}
#menu-header-menu .btn-outline-dark .nav-link {
    padding: 0px !important;
    font-weight: 350;
    font-size: 17px;
	background-color: transparent;
	color: #fff;
}
#menu-header-menu .btn-outline-dark:hover {
    color: #fff;
	background-color: #0561a7
}
.object-fit-cover{
	object-fit: cover;
}
.card-title-link{
	
    text-decoration: none;
    font-size: 24px;
    font-weight: 600;
    color: black;
}

.card-body:hover {
	box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.image-h-300{
	min-height: 300px;
}
.theme-footer .footer-text-content p{
	font-size:17px;
}
.theme-footer .theme-title h2{
	font-size: 45px 
}
.error-msg{
	display:none;
}
.single-post .blog-post-slider-section{
	background-color: #070974;
    padding: 40px 15px 150px;
    margin-top: 20px;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.single-post .post-container{
	margin-top: -90px;
    padding-bottom: 50px;
    position: relative;
}
.single-post .blog-post-slider-section img.half-logo {
    height: 180px;
    top: 0px;
    position: absolute;
    margin: 0px auto;
    width: min-content;
    left: 0;
    right: 0;
}
.blog-post-slider-section .details-body .details-read img,
.blog-post-slider-section .share-blog img{
	filter: brightness(0) invert(1);
}
.blog-post-slider-section .hexagon-section {
	bottom: -60px;
    min-width: 500px;
    right: 0;
    position: absolute;
}
.blog-post-slider-section .hexagon-1, 
.blog-post-slider-section .hexagon-2, 
.blog-post-slider-section .hexagon-3 {
	width: auto;
}
.blog-post-slider-section .hexagon-2 {
    right: 200px;
    position: absolute;
    bottom: 0;
    width: 150px;
    animation: 0.7s ease-in-out 0.1s infinite alternate-reverse none running slide-top;
}
.blog-post-slider-section .hexagon-3 {
    position: absolute;
    right: 110px;
    bottom: 0;
    animation: 0.8s ease-in-out 80ms infinite alternate-reverse none running slide-top;
}
.blog-post-slider-section img.hexagon-1 {
    width: 200px;
}
.post-container .blog-detail img{
	border-radius: 20px;
}
.related-post-section .blog-tab-card .blog-contant p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
section.error-404.not-found {
    padding: 110px 0;
    background-color: #070974;
    color: #fff;
    text-align: center;
}

@keyframes slide-top {
  0% {transform: translateY(0px);}
  100% {transform: translateY(-5px);}
}
@media only screen and (max-width:991px){
	.post-container .post-sidebar{
		margin-top:20px;
	}
	.blog-post-slider-section .hexagon-section{
		display:none;
	}
	.single-post .blog-post-slider-section img.half-logo{
		height: 140px;
	}
	body .theme-header #menu-header-menu li.nav-item.btn.btn-outline-dark {
		padding: 0 20px !important;
		margin-top: 10px !important;
	}
	#menu-header-menu li.nav-item.btn.btn-outline-dark a.nav-link img {
		display: none !important;
	}
	.blog-page-heading{
		font-size: 48px
	}
}
@media only screen and (max-width:767px){
	.single-post .blog-post-slider-section img.half-logo{
		height: 100px;
	}
	.blog-body-section .blog-nav-body .blog-search{
		margin-bottom: 25px;
		width: 100% !important;
	}
	.blog-page-heading{
		font-size: 32px
	}
}
@media only screen and (max-width:420px){
	.recent-posts-list .recent-post-item .recent-post-thumbnail img{
		width: 70px;
    	height: 70px;
	}
	.blog-detail .pagination-body .pagination a{
		font-size: 15px;    
		padding: 8px 10px;
	}
}
.image-caption{
	text-align:center;
}

/* ========== HORIZONTAL HERO POST SECTION STYLES ========== */
.hero-post-section {
  margin: 32px 0;
  padding: 40px;
  background-image: 
    linear-gradient(
	  to left,
      rgba(13, 110, 253, 0.3),  
      rgba(211, 226, 255, 0.3)  
    ),
    url("https://blog.tursio.ai/wp-content/uploads/2025/09/blog-cubes-frame.png");
  background-repeat: repeat;   
  background-size: 100%;
  border-radius: 32px;
  image-rendering: pixelated;
  transition: all 0.3s ease;
}

.hero-post-card {
    background: transparent;
    border-radius: 12px;
    overflow: hidden;
}

.hero-post-content-wrapper {
    display: flex;
    min-height: 400px;
}

.hero-post-image {
    flex: 0 0 50%;
    position: relative;
    overflow: hidden;
}

.hero-post-image img {
    width: 100%;
    height: 100%;
	border-radius: 32px;
    object-fit: cover;
    transition: transform 0.3s ease;
}
/* 
.hero-post-card:hover .hero-post-image img {
	border-radius: 32px;
} */

.hero-post-content {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.hero-post-category {
    margin-bottom: 1rem;
}

.category-badge {
    background: #eef2fa;
    color: #1955a5;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
}

.hero-post-title {
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 1rem 0;
    color: #1a202c;
}

.hero-post-title a {
    color: inherit;
    text-decoration: none;
}
.hero-post-title a:hover {
    color: inherit;
    text-decoration: none;
}

.hero-post-excerpt {
    font-size: 18px;
	font-weight: normal;
    line-height: 1.6;
    color: #6b7280;
    margin: 1.5rem 0;
    flex-grow: 1;
}

.hero-post-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin: 1.5rem 0;
    font-size: 0.9rem;
    color: #6b7280;
}

.hero-post-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-post-cta {
    display: inline-flex;
    align-items: center;
    background: #EBF3FF;
    color: #1E4EC4;
    padding: 12px 24px;
    border-radius: 32px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    width: fit-content;
    margin-top: auto;
}

.hero-post-cta::after {
    content: '→';
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.hero-post-cta:hover::after {
    transform: translateX(3px);
}

.hero-post-section:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* Regular Blog Cards */
.blog-card {
    background: white;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #e5e7eb;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.blog-card-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    height: calc(100% - 200px);
}

.blog-card-category {
    background: #eef2fa;
    color: #1955a5;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
    width: fit-content;
}

.blog-card-title {
    margin: 0 0 1rem 0;
    flex-grow: 1;
}

.blog-card-title a {
    color: #1a202c;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.4;
}

.blog-card-title a:hover {
    color: #398fff;
}

.blog-card-excerpt {
    color: #6b7280;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.blog-card-meta {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    font-size: 0.8rem;
    color: #9ca3af;
    margin-top: auto;
}

/* Section spacing */
.blog-body-section {
    padding-top: 0;
}

.blog-body-section .blog-heading {
    color: #1a202c;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-post-content-wrapper {
        flex-direction: column;
        min-height: auto;
    }
    
    .hero-post-image {
        flex: none;
        height: 250px;
    }
    
    .hero-post-content {
        padding: 30px 25px;
    }
    
    .hero-post-title {
        font-size: 1.75rem;
    }
    
    .hero-post-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .hero-post-section {
        margin: 20px 0;
    }
    
    .hero-post-content {
        padding: 20px;
    }
    
    .hero-post-title {
        font-size: 1.5rem;
    }
    
    .hero-post-excerpt {
        font-size: 0.9rem;
    }
}

#infinite-footer {
	display: none !important;
}

.hero-hidden {
	display: none !important;
}

#blog-posts {
	margin-top: 32px
}