:root {
  --bi-blue: #00a5ea;
  --bi-blue-dark: #0088c4;
  --bi-green: #7aa047;
  --bi-green-light: #eef4e5;
  --text-dark: #1a1a1a;
  --text-body: #555555;
  --text-muted: #888888;
  --border-color: #e5e9f0;
  --sidebar-bg: #f8f9fa;
}

.blog-index-page {
  background-color: #ffffff;
  min-height: 100vh;
}

.container-1200 {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.section-padding {
  padding: 20px;
}

/* ── Hero Banner ── */
.bi-hero-banner {
  position: relative;
  width: 100%;
  height: 400px;
  background-image: url("/images/detailPageimages/blogs-brooklyn-ny.webp");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bi-hero-overlay {
  position: absolute;
  inset: 0;
  /* background: rgba(0, 0, 0, 0.25); */
}

.bi-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.bi-hero-title {
  font-size: 3.2em;
  line-height: 1.2;
  margin-bottom: 16px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 700;
  color: #ffffff;
  text-shadow:
    2px 2px 4px rgba(0, 0, 0, 0.7),
    0 0 10px rgba(0, 0, 0, 0.5);
}

.bi-hero-subtitle {
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
  letter-spacing: 3px;
  text-transform: uppercase;
  display: block;
  margin-top: 4px;
  font-style: italic;
}

/* ── Layout: Main + Sidebar ── */
.bi-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
}

/* ── Main Content ── */
.bi-main {
  min-width: 0;
}

/* ── Blog Grid ── */
.bi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.bi-card {
  background: #ffffff;
  border-radius: 4px;
  overflow: hidden;
  transition:
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.bi-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  /* transform: translateY(-10px); */
  transform: scale(1.25) rotateZ(10deg) rotateY(25deg);
  z-index: 10;
}

.bi-card-img-wrap {
  display: block;
  height: 220px;
  overflow: hidden;
}

.bi-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.bi-card:hover .bi-card-img-wrap img {
  transform: scale(1.05);
}

.bi-card-placeholder {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #eef4e5, #dcecc9);
}

.bi-card-body {
  padding: 16px;
  background-color: #ffffff;
}

.bi-card-title {
  font-size: 15px;
  font-weight: 600;
  margin: 0;
  line-height: 1.5;
}

.bi-card-title a {
  font-family: Arial;
  font-weight: 700;
  margin: 0;
  color: #000000;
  font-size: 15px;
}

.bi-card-title a:hover {
  color: var(--bi-blue);
}

.bi-empty {
  text-align: center;
  color: var(--text-body);
  grid-column: 1 / -1;
  padding: 40px 0;
}

/* ── Sidebar ── */
.bi-sidebar {
  position: sticky;
  top: 55px;
}

.bi-sidebar-block {
  margin-bottom: 35px;
}

.bi-sidebar-title {
  background: #ffffff;
  color: #000;
  display: block;
  font-size: 14px;
  font-weight: 700;
  padding: 16px 0px;
  margin-bottom: 0px;
  text-transform: none;
}

/* Categories List */
.bi-sidebar-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.bi-sidebar-list li {
  border-bottom: 1px solid var(--border-color);
}

.bi-sidebar-list li:last-child {
  border-bottom: none;
}

.bi-sidebar-list li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  background: #00a5ea;
  padding: 16px 20px;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.bi-sidebar-list li a svg {
  width: 16px;
  height: 16px;
  color: #ffffff;
  transition: transform 0.2s ease;
}

.bi-sidebar-list li a:hover svg {
  transform: translateX(4px);
  color: var(--bi-blue);
}

/* Popular Posts */
.bi-popular-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.bi-popular-item {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.bi-popular-item:hover {
  opacity: 0.8;
}

.bi-popular-img {
  width: 70px;
  height: 55px;
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
}

.bi-popular-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bi-popular-info h4 {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
  line-height: 1.4;
  letter-spacing: 0.5px;
}

/* Tags */
.bi-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.bi-tag {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-body);
  letter-spacing: 0.5px;
  transition: all 0.2s ease;
  cursor: default;
}

.bi-tag:hover {
  border-color: var(--bi-blue);
  color: var(--bi-blue);
}

/* ── Responsive ── */
@media (max-width: 991px) {
  .bi-layout {
    grid-template-columns: 1fr;
  }

  .bi-sidebar {
    position: static;
    order: 2;
  }

  .bi-main {
    order: 1;
  }

  .bi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bi-hero-banner {
    height: 220px;
  }
}

@media (max-width: 767px) {
  .bi-hero-title {
    font-size: 32px;
  }

  .bi-hero-banner {
    height: 160px;
  }

  .bi-grid {
    grid-template-columns: 1fr;
  }

  .section-padding {
    padding: 20px;
  }
}

/* ── Card Tags ── */
.bi-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.bi-card-tag {
  display: inline-block;
  padding: 4px 10px;
  background: #f0f7ff;
  border: 1px solid #d0e8f7;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 600;
  color: var(--bi-blue);
  letter-spacing: 0.3px;
}

.inner-banner {
  background: #fff url(../images/rug_cleaning_bg.webp) 0 0 no-repeat;
  background-size: cover;
  padding: 45px 0;
  position: relative;
}
.inner-banner:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.8;
}
.inner-banner .thm-container {
  position: relative;
  z-index: 1;
}
.inner-banner h3 {
  margin: 0;
  text-transform: uppercase;
  font-size: 40px;
  line-height: 55px;
  color: #292944;
  font-weight: 800;
  font-family: "Raleway", sans-serif;
}
.inner-banner p {
  font-size: 20px;
  font-style: italic;
  font-family: "PT Serif", sans-serif;
  margin: 0;
  color: #323240;
}

.bi-card-title {
  font-family: Arial;
  font-size: 16px;
  color: #000;
  line-height: 26px;
  font-weight: 400;
  margin: 10px 0 10px;
}

.bi-card-readmore {
  background-color: #00a5ea !important;
  border-color: #00a5ea !important;
  display: inline-block;
  padding: 6px 12px;
  margin-bottom: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.42857143;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  -ms-touch-action: manipulation;
  touch-action: manipulation;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  background-image: none;
  border: 1px solid transparent;
  border-radius: 4px;
  color: #fff;
}

.page-banner {
  position: relative;
}

.page-banner img {
  max-height: 150px;
}
.page-banner > img {
  width: 100%;
}
img {
  vertical-align: middle;
}
.page-detail {
  position: absolute;
  top: 40%;
  width: 100%;
}

.page-title {
  display: inline-block;
  background-color: #3290dc;
  padding: 0px 30px;
  position: relative;
  top: 0;
  margin: 0;
  color: #fff;
}

.page-title:before {
  background-image: url(/assets/images/icon/page-title-before.png);
  left: -10px;
}
.page-title:after,
.page-title:before {
  content: "";
  width: 10px;
  height: 38px;
  display: inline-block;
  position: absolute;
  top: 0;
}
.page-title:after,
.page-title:before {
  content: "";
  width: 10px;
  height: 38px;
  display: inline-block;
  position: absolute;
  top: 0;
}
.page-title:after {
  background-image: url(/assets/images/icon/page-title-after.png);
  right: -10px;
}

.page-banner .page-breadcrumb {
  z-index: 2;
}
.pull-right {
  float: right !important;
}

.breadcrumb {
  background-color: transparent;
}
.breadcrumb {
  padding: 8px 15px;
  margin-bottom: 20px;
  list-style: none;
  background-color: transparent;
  border-radius: 4px;
}
.page-breadcrumb li {
  color: #fff;
}

.breadcrumb > li + li:before {
  color: #fff;
  padding: 0;
}
.breadcrumb > li + li:before {
  padding: 0 5px;
  color: #ffffff;
  content: "/\00a0";
}

.container-1200:after {
  clear: both;
}

a {
  color: #fff;
  text-decoration: none;
}
