:root{
  --navy:#0d1b2a;
  --brand-blue:#0d6efd;
  --bg:#f2f2f2;
}
/* HERO */
.hero-banner {
  background-image: url('/uploads/photos/ourblog.png');
  background-size: cover;
  background-position: bottom center;
  padding: 70px 0;
  text-align: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-banner::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.35);
  z-index: 1;
}
.hero-banner h1 {
  color: #fff;
  font-size: 36px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-shadow: 0 3px 12px rgba(0,0,0,0.45);
  margin: 0;
  position: relative;
  z-index: 2;
}

/* POST ITEM */
.post-item {
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
}
.post-image {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  cursor: pointer;
}
.post-image::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0); /* default transparent */
  transition: background 0.3s ease;
  border-radius: 4px;
  z-index: 1;
}

.post-image:hover::after {
  background: rgba(0,0,0,0.25); /* dark overlay on hover */
}
.post-image img {
  display: block;
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: transform 0.3s ease; 
}
.post-image:hover img {
  transform: scale(1.05);
}
.date-badge{
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--navy);
  color: #fff;
  font-size: 11px;
  font-weight:700;
  padding: 6px 10px;
  border-radius: 3px;
  letter-spacing: .6px;
}
/* Post body */
.post-body {
  background: #f5f6f7;
  padding: 20px;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-grow: 1;
}
.post-title{
  margin:0 0 8px 0;
  line-height:1.25;
}
.post-title a{
  color: var(--brand-blue);
  font-weight: 700;
  text-decoration: none;
  font-size: 20px;
}
.post-excerpt {
  color: #444;
  font-size: 0.95rem;
  margin: 0;
}

.read-more-wrap {
  margin-top: auto;
}
.btn-read{
  border: 2px solid var(--navy);
  color: var(--navy);
  background: transparent;
  padding: 8px 14px;
  border-radius: 4px;
  font-weight:600;
  font-size: 0.85rem;
}
.btn-read:hover{
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

/* CONTACT CARD */
.contact-card{
  background:#fff;
  padding: 18px;
  border-radius:6px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.06);
  font-size: 0.95rem;
}
.contact-card h4 { margin-bottom:10px; font-weight:700; color:var(--navy); }
.contact-card .form-control{
  border-radius: 2px;
  padding: 8px;
  margin-bottom: 10px;
  font-size: 0.9rem;
}
.contact-card label { font-size: 0.875rem; font-weight:600; color:#222; }
.btn-send{
  background: var(--navy);
  color: #fff;
  padding: 8px 18px;
  border-radius: 2px;
  border: none;
  font-weight:700;
  letter-spacing: .6px;
}
.btn-send:hover{ 
    background:#08121a;
    color: white;
}

.btn-search{
  background: var(--navy);
  color: #fff;
  padding: 8px 18px;
  border-radius: 2px;
  border: none;
  font-weight:700;
  letter-spacing: .6px;
}
.btn-search:hover{ 
    background:#08121a;
    color: white;
}

/* Responsive tweaks */
@media (max-width:991px){
  .post-image img{ height: 240px; }
}
@media (max-width:767px){
  .hero-banner{ padding: 40px 10px; }
  .hero-banner h1{ font-size: 28px; }
  .post-image img{ height: 200px; }
  .post-body{ padding: 14px; }
  .read-more-wrap{ align-self:flex-end; }
}