/* =============================================
   BLOG PAGE — RupeeCalculator.com
   Mobile First | Upgraded UI
   ============================================= */

/* CONTAINER */
.wp-block-query {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 16px 0;
}

/* GRID */
.wp-block-post-template {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

/* ── CARD ── */
.wp-block-post {
  background: #fff;
  border: 1px solid #DDE3EE;
  border-radius: 18px;
  padding: 0;
  overflow: hidden;
  transition: box-shadow 0.25s cubic-bezier(.4,0,.2,1),
              transform 0.25s cubic-bezier(.4,0,.2,1),
              border-color 0.25s ease;
  box-shadow: 0 1px 4px rgba(23,37,84,.04),
              0 2px 10px rgba(23,37,84,.04);
  display: flex;
  flex-direction: column;
}

@media (hover: hover) {
  .wp-block-post:hover {
    box-shadow: 0 6px 20px rgba(23,37,84,.09),
                0 10px 36px rgba(23,37,84,.06);
    transform: translateY(-4px);
    border-color: #B8C4D8;
  }
}

/* ── FEATURED IMAGE ── */
.wp-block-post-featured-image {
  margin: 0;
  border-radius: 0;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #F0F4FF;
  flex-shrink: 0;
}

.wp-block-post-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s cubic-bezier(.4,0,.2,1);
}

@media (hover: hover) {
  .wp-block-post:hover .wp-block-post-featured-image img {
    transform: scale(1.04);
  }
}

/* ── CARD BODY PADDING ── */
.wp-block-post-title,
.wp-block-post-excerpt,
.wp-block-post-date,
.wp-block-post-terms {
  padding-left: 20px;
  padding-right: 20px;
}

/* ── DATE ── */
.wp-block-post-date {
  margin-top: 16px;
  margin-bottom: 8px;
  font-size: 11.5px;
  font-weight: 700;
  color: #E07B54;
  letter-spacing: .06em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 5px;
}

.wp-block-post-date::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  background: #E07B54;
  border-radius: 50%;
  opacity: 0.7;
  flex-shrink: 0;
}

.wp-block-post-date time {
  color: #E07B54;
}

/* ── TITLE ── */
.wp-block-post-title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: #172554;
  margin-top: 0;
  margin-bottom: 10px;
}

.wp-block-post-title a {
  text-decoration: none;
  color: inherit;
  transition: color 0.15s;
}

.wp-block-post-title a:hover {
  color: #E07B54;
}

/* ── EXCERPT ── */
.wp-block-post-excerpt {
  font-size: 13px;
  color: #6B7A99;
  line-height: 1.65;
  margin-bottom: 0;
}

.wp-block-post-excerpt p {
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── READ MORE ── */
.wp-block-post-excerpt__more-text {
  display: none;
}

.wp-block-post-excerpt__more-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 700;
  color: #E07B54;
  text-decoration: none;
  margin-top: 14px;
  margin-bottom: 20px;
  margin-left: 20px;
  padding: 7px 16px;
  background: #FFF0EA;
  border-radius: 100px;
  border: 1px solid rgba(224,123,84,.25);
  letter-spacing: .01em;
  transition: all 0.2s ease;
}

.wp-block-post-excerpt__more-link::after {
  content: '→';
  font-size: 13px;
  transition: transform 0.2s ease;
}

.wp-block-post-excerpt__more-link:hover {
  background: #E07B54;
  color: #fff;
  border-color: #E07B54;
  text-decoration: none;
}

.wp-block-post-excerpt__more-link:hover::after {
  transform: translateX(3px);
}

/* ── CATEGORY / TERMS PILL ── */
.wp-block-post-terms {
  margin-top: 14px;
  margin-bottom: 0;
}

.wp-block-post-terms a {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: #E07B54;
  background: #FFF0EA;
  border: 1px solid rgba(224,123,84,.22);
  border-radius: 100px;
  padding: 4px 12px;
  text-decoration: none;
  transition: all 0.15s ease;
}

.wp-block-post-terms a:hover {
  background: #E07B54;
  color: #fff;
}

/* ── BREADCRUMB — nudged slightly left ── */
.breadcrumb-inner {
  max-width: 960px;
  margin: 0 auto;
  padding-left: 4px;   /* subtle left pull, keeps it grounded */
}

/* ── PAGINATION ── */
.wp-block-query-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.wp-block-query-pagination-numbers,
.wp-block-query-pagination-previous,
.wp-block-query-pagination-next {
  display: flex;
  align-items: center;
  gap: 6px;
}

.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  color: #6B7A99;
  background: #fff;
  border: 1px solid #DDE3EE;
  text-decoration: none;
  transition: all 0.2s ease;
  padding: 0 12px;
}

.page-numbers:hover,
.page-numbers.current {
  background: #E07B54;
  color: #fff;
  border-color: #E07B54;
  box-shadow: 0 2px 10px rgba(224,123,84,.3);
}


/* =============================================
   TABLET  ≥ 600px
   ============================================= */
@media (min-width: 600px) {
  .wp-block-query {
    padding-top: 48px;
  }

  .wp-block-post-template {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }

  .wp-block-post-title {
    font-size: 18px;
  }
}


/* =============================================
   DESKTOP  ≥ 1024px
   ============================================= */
@media (min-width: 1024px) {
  .wp-block-query {
    max-width: 1100px;
    padding-top: 56px;
  }

  .wp-block-post-template {
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
  }

  .wp-block-post-title {
    font-size: 19px;
    margin-bottom: 12px;
  }

  .wp-block-post-excerpt {
    font-size: 14px;
  }

  .wp-block-post-title,
  .wp-block-post-excerpt,
  .wp-block-post-date,
  .wp-block-post-terms {
    padding-left: 22px;
    padding-right: 22px;
  }

  .wp-block-post-excerpt__more-link {
    margin-left: 22px;
    margin-bottom: 22px;
  }
}


/* =============================================
   LARGE  ≥ 1400px
   ============================================= */
@media (min-width: 1400px) {
  .wp-block-query {
    max-width: 1200px;
  }
}