/* ============================================================
   style.css — Blog Listing + Blog Details
   ============================================================ */

/* Google Fonts */



/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@400;700&family=Poppins:wght@300;400;600&display=swap');

/* Font Variables */
:root{
  --font-display: 'Merriweather', serif;
  --font-body: 'Poppins', sans-serif;
}

/* Body Font */
body{
  font-family: var(--font-body) !important;
}

/* Headings Font */
h1,h2,h3,h4,h5,h6{
  font-family: var(--font-display) !important;
}

.blog-card-body h4{
  font-family: var(--font-display);
}

.blog-card-body p{
  font-family: var(--font-body);
}

.meta{
  font-family: var(--font-body);
}
.blog-section{

  /* background: white; */
}
.blog-section:before {
    content: "";
    background: url(../images/inner-banner-before.png) no-repeat;
    position: absolute;
    left: 0;
    top: 0;
    height: 227px;
    width: 167px;
}


*, ::after, ::before {
    box-sizing: border-box;
}
/* ── Section Header ── */
.section-header h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 4px;
}

.section-header p {
  font-size: 15px;
  color: #888;
  margin: 0;
}

/* ============================================================
   BLOG LISTING — index.html
   ============================================================ */

/* Card */
.blog-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column; 
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
}

/* Card Image */
.blog-img {
  overflow: hidden;
  height: 200px;
}

.blog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-img img {
  transform: scale(1.06);
}

/* Card Body */
.blog-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #161616 !important;
  margin-bottom: 10px;
}

.blog-card-body h4 {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 10px;
  color: #1a1a1a;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-body p {
  font-size: 13px;
  color: #777;
  line-height: 1.6;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 16px;
}

.read-more {
  font-size: 13px;
  font-weight: 600;
  color: #1a1a1a;
  text-decoration: none;
  margin-top: auto;
  transition: color 0.2s;
}

.read-more:hover {
  color: #63c0ce !important ;
}

/* Responsive — 2 cols on tablet, 1 on mobile */
@media (max-width: 767px) {
  .blog-img {
    height: 180px;
  }
}

/* ============================================================
   BLOG DETAILS — blog-details.html
   ============================================================ */

.blog-details {
  background: #fff;
}

.blog-main-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 12px;
}

.blog-title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.3;
  color: #1a1a1a;
}

.blog-meta {
  display: flex;
  gap: 12px;
  align-items: center;

  font-size: 14px;
}

/* ── Sidebar ── */
.sidebar {
  position: sticky;
  top: 24px;
}

.sidebar-search input {
  width: 100%;
  padding: 10px 16px;
  border-radius: 30px;
  border: 1px solid #ddd;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}

.sidebar-search input:focus {
  border-color: #b5862e;
}

.sidebar h5 {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
}

/* ── Related Blog Card ── */
.related-blog {
  display: flex;
  margin-bottom: 14px;
  border-radius: 10px;
  overflow: hidden;
  background: #f9f9f9;
  transition: transform 0.25s, box-shadow 0.25s;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.related-blog:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.09);
}

.related-blog a {
  display: flex;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  padding: 10px;
  width: 100%;
}

.related-blog img {
  width: 72px;
  height: 64px;
  object-fit: cover;
  border-radius: 7px;
  flex-shrink: 0;
}

.related-blog h6 {
  font-size: 13px;
  font-weight: 700;
  margin: 0 0 4px;
  color: #1a1a1a;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.related-blog p {
  font-size: 12px;
  color: #888;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Responsive */
@media (max-width: 767px) {
  .blog-main-img {
    height: 220px;
  }

  .blog-title {
    font-size: 22px;
  }

  .sidebar {
    position: static;
    margin-top: 40px;
  }
}