/*
Theme Name: Twenty Twenty-Five Child
Theme URI: https://wordpress.org/themes/twentytwentyfive/
Description: Child theme for Twenty Twenty-Five
Author: Your Name
Template: twentytwentyfive
Version: 1.0
*/
/* ================================
   Blog Grid – Twenty Twenty-Five
================================ */
*:focus {
    outline: none !important;
    box-shadow: none !important;
}
body {
        font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", Segoe UI Symbol, "Noto Color Emoji";
        font-weight: 400;
}
.main-header .top-main-header {
	max-width: 1385px;
	padding-left: 20px;
	padding-right: 20px;
	margin:auto;
}
header {
    border-bottom: 1px solid #ddd !important;
}
.main-header .top-btn {
    gap: 12px;
}
.wp-block-button a {
    border: 1px solid #93c5fd;
    border-radius: 6px;
    padding-left: 1rem;
    padding-right: 1rem;
    color: #2563eb;
    background: #fff;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 19px;
    height: 40px;
    justify-content: center;
}

.wp-block-button a:hover {
    background: #eff6ff;
    color: #000;
}
.wp-block-button a svg {
    width: 16px;
}
.bottom-link a {
    text-decoration: none;
}
.bottom-link a:hover {
    color: #fff;
}
.footer-text {
    margin-top: 10px;
}

@media (max-width: 767px) {
	.main-header .top-main-header {
		padding-left: 10px;
	}
  .main-header img {
    max-width: 80%;
  }
  .main-header .top-btn {
    flex-direction: column;
    width: 100%;
  }
  .wp-block-buttons>.wp-block-button {
    width: 100%;
  }
  .wp-block-navigation__responsive-container {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 12rem;
    left: auto !important; 
    background: #fff !important;

    /* Start hidden off-screen (right side) */
    /* transform: translateX(-100%) !important;
    transition: transform 0.35s ease-in-out !important; */
    /* Smooth animation setup */
    

              
    visibility: visible !important;     
    transform: translate3d(100%, 0, 0) !important;
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1) !important;

    will-change: transform !important;

}

.wp-block-navigation__responsive-container.is-menu-open {
    /* transform: translateX(0) !important; */
    transform: translate3d(0, 0, 0) !important;
                
    
}
html.has-modal-open body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 9998;
}

html.has-modal-open,
html.has-modal-open body {
    overflow: hidden;
}

.wp-block-navigation__responsive-container .wp-block-site-logo {
    text-align: left;
    padding: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.15);
}

.wp-block-navigation__responsive-container .wp-block-site-logo img {
    max-height: 40px;
}
/* footer */
	.footer-inner .wp-block-group {
		text-align: center !important;
	}	
.footer-inner {
    padding-top: 30px !important;
    padding-bottom: 30px !important;
	text-align: center;
}
.footer-inner p, .footer-inner a {
    font-size: 12px !important;
} 
.footer-inner .custom-logo-link img {
    max-width: 90%;
}
.footer-inner .wp-block-group  {
        margin-top: 12px;
}
}
	

.blog-container {
	max-width:1340px;
	margin:auto !important;
}
.blog-main-titl {
	padding-bottom:50px;
}
.wp-block-query ul.wp-block-post-template {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin: 0;
    padding: 0;
} 

/* Each post card */
 .wp-block-post {
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.wp-block-post:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 35px rgba(0,0,0,0.1);
} 

/* Featured image */
.wp-block-post-featured-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
} 

/* Content padding */
.wp-block-post > *:not(.wp-block-post-featured-image) {
    padding:20px !important;
} 

/* Title */
.wp-block-post-title {
       margin: 16px 0 8px;
    line-height: 1.4;
    font-weight: 600;
} 
.blog-list-title {
	font-size: 1.2rem !important;
}
h1.wp-block-post-title {
	font-size: 2.5rem !important;
}
/* Excerpt */
.wp-block-post-excerpt {
    font-size: 0.95rem;
    color: #555;
} 

/* Read more */
 .wp-block-post-excerpt__more-link {
    display: inline-block;
    margin: 12px 0 18px;
    font-weight: 600;
    color: #0a66ff;
    text-decoration: none;
}

.wp-block-post-excerpt__more-link:hover {
    text-decoration: underline;
}

/* Mobile tweaks */
@media (max-width: 600px) {
    .wp-block-post-featured-image img {
        height: 180px;
    }
} 
