.blogs-hero {
  position: relative;
  width: 100%;
  height: 80vh;                     /* adjust height if needed */
  background-image: url('/assets/images/amr\ hero2.jpg'); /* your image here */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Dark overlay */
.blogs-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.201);
  
}

/* Content */
.blogs-hero-content {
  position: relative;
  text-align: center;
  color: #203370;
  z-index: 10;
}

.blogs-hero-content h1 {
  font-size: 35px;
  font-weight: 600;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.blogs-hero-content p {
  font-size: 17px;
  font-weight: 400;
  opacity: 1.5;
  color: #ffffff;

}


/* Blogs Cards Section */
.blogs-magazine-section {
  background: #ffffff; 
  padding: 60px 20px;
}

.blogs-magazine-grid {
  max-width: 1350px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
}

/* Magazine Card */
.mag-blog-card {
  background: #ffffff;
  border: 1px solid #ffeecd;
  display: flex;
  flex-direction: column;
  transition: 0.35s ease;
}

/* Hover Animation Lift */
.mag-blog-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.18);
  border-color: #d1a32c;
}

/* Image */
.mag-blog-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

/* Content */
.mag-blog-content {
  padding: 20px 22px;
  min-height: 160px;
}

.mag-blog-content h3 {
  font-size: 20px;
  font-weight: 600;
  color: #1a1919;
  line-height: 1.4;
  margin-bottom: 15px;

}

.mag-blog-author {
  font-size: 14px;
  color: #555;
  font-family: 'Raleway';
}

/* Footer */
.mag-blog-footer {
  padding: 15px 22px;
  border-top: 1px solid #ddd0b8;
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}

.mag-blog-footer a {
  color: #203370;
  font-weight: 600;
  text-decoration: none;
}

.mag-blog-footer a:hover {
  color: #d1a32c;
}


/* blog1 */
/* Banner Section */
.blog-banner {
  position: relative;
  height: 75vh;
  background: url('/assets/images/amr\ project2.jpg') center/cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
}

.blog-banner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 20, 20, 0.438);
}

.blog-banner-content {
  position: relative;
  text-align: center;
  color: white;
}

.blog-banner-content h1 {
  font-size: 32px;
  font-weight: 600;
  max-width: 900px;
  line-height: 1.3;
}

/* Blog Layout */
.blog-main-section {
  padding: 60px 20px;
  background: #fff;
}

.blog-container {
  max-width: 1350px;
  margin: auto;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 50px;
}

/* LEFT SIDE */
.blog-meta {
  margin-bottom: 15px;
  color: #020202;
  font-size: 24px;
}

.blog-meta span {
  display: block;
}

.blog-main-image img {
  width: 100%;
  border-radius: 6px;
  margin: 25px 0;
}

.blog-content h3 {
  font-size: 22px;
  color: #203370;
  margin-top: 25px;
}

.blog-content p {
  color: #444;
  line-height: 1.7;
  margin-bottom: 18px;
  font-size: 17px;
  font-weight: 500;
  text-align: justify;
}

/* Previous Post */
.blog-prev-post {
  margin-top: 40px;
}

.blog-prev-post a {
  font-size: 17px;
  font-weight: 600;
  color: #203370;
  text-decoration: none;
}

.blog-prev-post .arrow {
  font-size: 26px;
  vertical-align: middle;
  margin-right: 10px;
}

/* RIGHT SIDE */
.more-posts h3,
.blog-form h3 {
  font-size: 24px;
  color: #203370;
  margin-bottom: 18px;
  font-weight: 500;
}

.more-post-item {
  display: flex;
  align-items: center;
  gap: 15px;
  background: #ffffff;
  border: 1px solid #e5d8c7;
  padding: 10px;
  text-decoration: none;
  color: #333;
  margin-bottom: 12px;
  border-radius: 6px;
}

.more-post-item img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 4px;
}

.more-post-item:hover {
  background: #d1a32c;
}

/* FORM BOX */
.blog-form form {
  background: #ffffff;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid #e5d8c7;
}

.blog-form input,
.blog-form textarea {
  width: 100%;
  padding: 10px 12px;
  margin-bottom: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 15px;
}

.blog-form button {
  width: 100%;
  padding: 12px;
  background: #203370;
  color: white;
  border: none;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
}

.blog-form button:hover {
  background: #d1a32c;
}

/* blogs2 prev button*/
.blog-nav {
  margin-top: 45px;
  display: flex;
  justify-content: space-between;
  gap: 320px; /* BIG spaced gap */
}

.blog-nav-item {
  display: flex;
  flex-direction: column;
  max-width: 45%;
}

.nav-label {
  font-size: 14px;
  font-weight: 700;
  color: #d1a32c;
  margin-bottom: 6px; /* small gap above text */
  text-transform: uppercase;
}

.blog-nav a {
  font-size: 17px;
  font-weight: 600;
  color: #203370;
  text-decoration: none;
  line-height: 1.4;
}

