.g-item .photo {
	height: 400px;
	width: 100%;
	background-position: top center;
	background-repeat: no-repeat;
	background-size: cover;
	position: relative;
	overflow: hidden;
	box-shadow: inset 0 -60px 10px -10px rgba(0, 0, 0, 0.7);
}
.g-item .photo:hover {
	box-shadow: inset 0 0 0 0 rgba(0, 0, 0, 0.0);
}

.h-text h4 {
	color: #fff;
	font-size: 18px;
	font-family: 'Raleway', sans-serif;
	font-weight: 500;
	position: absolute;
	bottom: 22px;
	padding: 0 30px;
	z-index: 1;
	transition: all 0.5s ease 0.1s;
}
.g-item .text {
	background: #222D4BD1;
	color: #fff;
	padding: 25px 30px 30px;
	bottom: -169px;
	position: absolute;
	width: 100%;
	transition: all 0.4s ease 0s;
	visibility: hidden;
	z-index: 999;
}
.g-item:hover .text {
	bottom: 0;
	visibility: visible;
}

.g-item .text h4 {
	color: #08CC96;
	font-size: 18px;
	font-family: 'Raleway', sans-serif;
	font-weight: 500;
}
.g-item .text p {
	line-height: 1.6;
	margin: 15px 0 9px;
	font-size: 14px;
	font-family: 'Poppins', sans-serif;
}
a.galance-button {
	color: #08CC96;
	font-size: 14px;
	text-decoration: none;
	position: relative;
}
a.galance-button::after {
	position: absolute;
	content: "";
	height: 1px;
	width: 100%;
	left: 0;
	bottom: 0;
	background: #08cc96;
}






.lay-recent-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 0;
    padding: 0;
}

.lay-recent-post-card {
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    transition: box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.lay-recent-post-card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.lay-post-thumb img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 16 / 9;
}

.lay-post-content {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.lay-post-content h3 {
    margin: 0 0 10px;
    font-size: 1.2rem;
    line-height: 1.3;
}

.lay-post-content p {
    margin: 0 0 15px;
    color: #555;
    font-size: 0.95rem;
    line-height: 1.4;
    flex-grow: 1;
}

.lay-post-button {
    align-self: flex-start;
    background: #000;
    color: #fff;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.lay-post-button:hover {
    background: #333;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .lay-recent-posts-grid {
        grid-template-columns: 1fr;
    }
}

.lay-post-button {
    align-self: flex-start;
    background: #000;
    color: #fff;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.lay-post-button:hover {
    background: #333;
    color: #f9f9f9; /* অথবা যেকোনো contrast রঙ */
}

.lay-post-content h3 a {
    color: #000; /* ডিফল্ট কালার কালো */
    text-decoration: none;
    transition: color 0.3s ease;
}

.lay-post-content h3 a:hover {
    color: rgb(4, 102, 194); /* অথবা: #e63946 / crimson */
}

.page-title, .breadcrumb, .entry-title {
	display: block !important;
}
