.hero-section {
  position: relative;
  width: 100%;
  height: 302px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  overflow: hidden;
}

.hero-section-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-section .breadcrumb {
  position: absolute;
  top: 24px;
  z-index: 2;
}
.hero-section .breadcrumb a {
  color: var(--gray-300);
}
.hero-section .breadcrumb span {
  color: var(--white);
}
.hero-section .breadcrumb img {
  filter: brightness(0) saturate(100%) invert(83%) sepia(0%) saturate(0%)
    hue-rotate(180deg) brightness(95%) contrast(90%);
}
.hero-section h1,
.hero-section h2 {
  font-size: var(--font-48);
  font-weight: var(--font-weight-600);
  line-height: 70px;
  text-transform: uppercase;
  position: relative;
  margin: 0;
  text-align: center;
  color: var(--white);
}
.hero-section h1 span,
.hero-section h2 span {
  color: var(--primary);
}
.blog-page {
  background: var(--medium-gray);
  padding: var(--margin-160) 0;
}
.blog-wrapper {
  display: grid;
  grid-template-columns: 2.5fr 1fr;
  gap: 20px;
}

.blog-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.article-card {
  background: var(--white);
  display: grid;
  grid-template-columns: 1fr 1fr;
  transition: 0.3s;
  align-items: center;
}

.blog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 6px;
}

.blog-content {
  padding: 30px;
}
.article-card .blog-content > span {
  display: flex;
  gap: 10px;
}

.blog-content h5 {
  font-weight: var(--font-weight-500);
  margin: 10px 0;
}

.article-card .blog-content p {
  color: var(--slate-gray);
  margin-bottom: 10px;
}

.blog-sidebar {
  width: 100%;
  max-width: 449px;
  background: var(--white);
  padding: 30px 30px;
  border-radius: 6px;
  height: max-content;
  margin-bottom: 20px;
}

.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  /* padding-bottom: 24px; */
}

.sidebar-header h6 {
  font-weight: var(--font-weight-500);
}

.sidebar-arrow {
  font-size: var(--font-18);
  transition: 0.3s;
}

.sidebar-content {
  margin-bottom: 0px;
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;

  overflow: hidden;
  transition: 0.3s ease;
}

.blog-sidebar.collapsed .sidebar-content {
  max-height: 0;
  opacity: 0;
  padding: 0;
  margin: 0;
}

.popular-post {
  display: flex;
  gap: 16px;
  margin-bottom: 4px;
}

.popular-post:last-child {
  margin-bottom: 0;
}

.popular-post img {
  width: 119px;
  height: 78px;
  object-fit: cover;
  border-radius: 5px;
}

.popular-post p {
  font-size: var(--font-14);
  font-weight: var(--font-weight-500);
  margin-bottom: 10px;
}

.popular-post span {
  color: var(--gray-700);
  font-size: var(--font-14);
  font-weight: var(--font-weight-500);
  line-height: 100%;
  display: flex;
  gap: 6px;
}

.date-icon img {
  width: 14px;
  height: auto;
}
.read-more:hover {
  color: var(--primary);
}

.blog-hero {
  position: relative;
  height: 586px;
  margin-top: 40px;
  overflow: hidden;
}

.blog-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-overlay {
  position: absolute;
  inset: 0;
  background-color: #0000006b;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
}

.blog-overlay-content h5 {
  margin-bottom: 16px;
  line-height: 100%;
}

.blog-overlay-content p {
  max-width: 550px;
  font-weight: var(--font-weight-500);
}

.blog-header {
  margin-bottom: var(--margin-80);
}
.blog-content h3 {
  margin-bottom: 40px;
  color: var(--black);
}

.blog-content p {
  color: var(--gray-700);
  margin-bottom: 24px;
  font-weight: var(--font-weight-500);
}

/*
 * variables.css resets * { padding: 0 }, which removes the marker gutter
 * on ul/ol. Restore lists only inside the article body — not .about-us-list
 * or other homepage checkmark lists (blog.css also loads on the front page).
 */
section.blog-content .wrapper ul,
section.blog-content .wrapper ol,
section.blog-content .blog-free-html ul,
section.blog-content .blog-free-html ol,
section.blog-content .info-card ul,
section.blog-content .info-card ol {
  margin: 0 0 16px;
  padding-left: 1.75em;
}

section.blog-content .wrapper ul,
section.blog-content .blog-free-html ul,
section.blog-content .info-card ul {
  list-style: disc outside;
}

section.blog-content .wrapper ol,
section.blog-content .blog-free-html ol,
section.blog-content .info-card ol {
  list-style: decimal outside;
}

section.blog-content .wrapper li,
section.blog-content .blog-free-html li,
section.blog-content .info-card li {
  margin-bottom: 8px;
  padding-left: 0.25em;
  color: var(--gray-700);
  font-size: var(--font-16);
  font-weight: var(--font-weight-500);
}

section.blog-content .wrapper li:last-child,
section.blog-content .blog-free-html li:last-child,
section.blog-content .info-card li:last-child {
  margin-bottom: 0;
}

section.blog-content .wrapper li p,
section.blog-content .blog-free-html li p,
section.blog-content .info-card li p {
  margin-bottom: 0;
}

section.blog-content .wrapper li ul,
section.blog-content .wrapper li ol,
section.blog-content .blog-free-html li ul,
section.blog-content .blog-free-html li ol,
section.blog-content .info-card li ul,
section.blog-content .info-card li ol {
  margin-top: 8px;
  margin-bottom: 0;
}
.wrapper {
  width: 100%;
  margin: 0px auto;
  max-width: 1224px;
}
.yellow-line {
  width: 240px;
  height: 8px;
  background: var(--primary);
}

.blog-step {
  margin-top: 40px;
}

.blog-step h5 {
  margin-bottom: 16px;
}
.blog-step-item {
  margin-bottom: 24px;
}
.blog-step-item p {
  margin-bottom: 8px;
}
.example p {
  margin-bottom: 16px;
}
.example span {
  color: var(--black);
}
.blog-bottom {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: var(--margin-100);
  margin-bottom: var(--margin-100);
}

.info-card {
  border: 1px solid var(--gray-300);
  padding: 32px;
  border-radius: 6px;
}

.info-card h5 {
  font-weight: var(--font-weight-500);
  margin-bottom: 30px;
}
.info-card p {
  color: var(--black);
  margin-top: 24px;
  margin-bottom: 0;
}
.info-card ul {
  padding-left: 16px;
  margin-top: 24px;
}

.info-card li {
  margin-bottom: 16px;
  color: var(--gray-700);
  font-size: var(--font-16);
  font-weight: var(--font-weight-500);
}

.highlight {
  color: #c40000;
  font-weight: var(--font-weight-600);
}

.battery-consultation-section {
  position: relative;
  min-height: 608px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: url("../img/consultation.jpg") center center/cover no-repeat;
}

.battery-consultation-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
}

.consultation-container {
  width: 100%;

  margin: auto;

  position: relative;
  z-index: 2;
}

.consultation-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 60px;
}

.consultation-content {
  max-width: 1057px;
}

.consultation-content h4 {
  color: var(--white);
  margin-bottom: 24px;
}

.consultation-list {
  list-style: none;
  margin-bottom: 24px;
}

.consultation-list li {
  color: var(--gray-300);
  font-size: var(--font-20);
  font-weight: var(--font-weight-500);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.consultation-list li {
  position: relative;
  padding-left: 30px;
}

.consultation-list li::before {
  content: "";
  position: absolute;
  left: 0;

  width: 12px;
  height: 12px;
  background-image: url("../img/right_gray.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.consultation-message {
  background: #ffffff29;

  border-radius: 6px;
  padding: 16px 24px;
  color: var(--white);
  font-size: var(--font-20);
  font-weight: var(--font-weight-500);
  margin-bottom: 25px;
}

.consultation-content h6 {
  color: var(--primary);
  font-weight: var(--font-weight-500);
}

.consultation-action {
  flex-shrink: 0;
}

.contact-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 31px;
  background: var(--primary);
  color: var(--black);
  text-decoration: none;
  font-size: var(--font-16);
  font-weight: var(--font-weight-500);
  border-radius: 6px;
  transition: 0.3s ease;
}
.contact-button img {
  filter: brightness(0) saturate(100%);
  width: 24px;
  height: 24px;
}

.blog-post-navigation {
  padding: 80px 40px;
}

.blog-post-nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
}

.blog-post-nav-item {
  max-width: 450px;
}

.blog-post-nav-item a {
  text-decoration: none;
  color: var(--black);
}

.blog-post-nav-label {
  display: flex;
  align-items: center;
  gap: 12px;

  margin-bottom: 16px;
}
.blog-post-nav-label p {
  color: var(--black);
  font-weight: var(--font-weight-500);
}

.blog-post-nav-title {
  color: var(--gray-700);
  font-weight: var(--font-weight-500);
}

.next {
  text-align: right;
}

.next .blog-post-nav-label {
  justify-content: flex-end;
}
.Similar-blog {
  background-color: var(--medium-gray);
  padding: 80px 0;
}
