/* ============================
   BLOG ARCHIVE STYLES
============================ */

/* ============================
   PAGE TITLE BAR
============================ */

.vm-page-title {
  background-color: var(--vm-purple-footer);
  padding: 96px 0;
  text-align: center;
}

.vm-page-title__heading {
  margin: 0;
  font-family: var(--vm-font);
  font-weight: var(--vm-fw-500);
  line-height: 1;
  letter-spacing: var(--vm-ls--174);
}

.vm-page-title__highlight {
  color: var(--vm-blue-accent);
  margin-right: 8px;
}

.vm-page-title__main {
  color: var(--vm-white);
}

/* ============================
   RESPONSIVE TYPOGRAPHY
============================ */

/* Desktop */
@media (min-width: 1200px) {
  .vm-page-title__heading {
    font-size: var(--vm-fs-58);
    line-height: var(--vm-lh-57);
  }
}

/* Tablet */
@media (max-width: 1199px) {
  .vm-page-title__heading {
    font-size: 48px;
    line-height: 1.1;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .vm-page-title {
    padding: 64px 0;
  }

  .vm-page-title__heading {
    font-size: 36px;
    line-height: 1.2;
    letter-spacing: var(--vm-ls--1);
  }
}

/* =========================
   CATEGORY FILTER
========================= */

.vm-blog-listing {
  margin-bottom: 90px;
}

.vm-blog-categories {
  margin-top: 132px;
}

.vm-blog-category-list {
  display: flex;
  justify-content: center;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin-bottom: 80px;
}

.vm-blog-category-list li {
  font-family: var(--vm-font);
  font-size: var(--vm-fs-24);
  line-height: var(--vm-lh-28);
  font-weight: var(--vm-fw-600);
  letter-spacing: var(--vm-ls--024);
  color: var(--vm-blue-accent);
  cursor: pointer;
}

.vm-blog-category-list li.active,
.vm-blog-category-list li a.active {
  text-decoration: underline;
}

.vm-blog-category-list li a {
  color: var(--vm-blue-accent);
  text-decoration: none;
}

.vm-blog-category-list li a:hover {
  text-decoration: underline;
}

/* =========================
   BLOG ITEM
========================= */

.vm-blog-item {
  margin-bottom: 90px;
}

.vm-blog-image {
  position: relative;
  height: 376px;
  border-radius: 12px;
}

.vm-blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

.vm-blog-date {
  position: absolute;
  bottom: -20px;
  left: 20px;
  width: 124px;
  height: auto;
  padding: 10px;
  background: var(--vm-blue-accent);
  text-align: center;
}

.vm-blog-day {
  display: block;
  font-size: var(--vm-fs-18);
  line-height: var(--vm-lh-24);
  font-weight: bold;
  letter-spacing: var(--vm-ls--018);
  color: var(--vm-white);
}

.vm-blog-year {
  display: block;
  font-size: 14px;
  line-height: var(--vm-lh-24);
  letter-spacing: var(--vm-ls--014);
  color: var(--vm-white);
}

.vm-blog-body {
  margin-top: 47px;
}

.vm-blog-meta {
  font-size: var(--vm-fs-16);
  line-height: 22px;
  font-weight: var(--vm-fw-600);
  letter-spacing: var(--vm-ls--016);
  color: var(--vm-blue-accent);
  margin-bottom: 15px;
}

.vm-blog-title {
  font-size: var(--vm-fs-24);
  line-height: var(--vm-lh-28);
  font-weight: var(--vm-fw-600);
  letter-spacing: var(--vm-ls--048);
  color: var(--vm-purple-footer);
  margin-bottom: 15px;
}

.vm-blog-title a {
  color: var(--vm-purple-footer);
  text-decoration: none;
}

.vm-blog-title a:hover {
  color: var(--vm-blue-accent);
}

.vm-blog-desc {
  font-size: var(--vm-fs-16);
  line-height: var(--vm-lh-21);
  letter-spacing: var(--vm-ls--016);
  color: var(--vm-text-body);
  margin-bottom: 24px;
}

/* =========================
   SEARCH
========================= */

.vm-blog-search {
  position: relative;
  margin-bottom: 53px;
}

.vm-blog-search input, #is-search-input-445 {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--vm-purple-footer);
  font-size: var(--vm-fs-18) !important;
  line-height: var(--vm-lh-21) !important;
  letter-spacing: var(--vm-ls--018) !important;
  padding: 6px 36px 6px 0 !important;
  background: transparent;
}

.vm-blog-search input:focus {
  outline: none;
  border-bottom-color: var(--vm-blue-accent);
}

.vm-search-icon {
  position: absolute;
  right: 0;
  bottom: 6px;
  width: 30px;
  height: 30px;
  color: var(--vm-blue-accent);
  pointer-events: none;
}

.vm-search-icon svg {
  width: 100%;
  height: 100%;
}

.is-form-style input.is-search-input {
  border: 0px solid #ccc !important;
	border-bottom: 1px solid var(--vm-purple-footer) !important;
}

.is-search-icon:hover, form.is-form-style input.is-search-submit:hover, .is-search-icon{
	background:#fff !important;
	border:none !important;
}

.is-form-style .is-search-submit path {
  fill: #50bae2 !important;
}

.is-search-icon svg {
  width: 30px !important;
}
/* =========================
   RECENT ARTICLES
========================= */

.vm-related-item {
  display: flex;
  gap: 27px;
  margin-bottom: 32px;
  text-decoration: none;
  align-items: center;
}

.vm-related-title{
	margin-bottom:30px;
}

/* IMAGE */
.vm-related-item img {
  width: 110px;
  height: 110px;
  object-fit: cover;
  flex-shrink: 0;
  border-radius: 0; /* removed radius */
}

/* TITLE */
.vm-related-content h4 {
  font: normal normal 600 18px/24px DM Sans;
  letter-spacing: -0.18px;
  color: #3E3E3E;
  margin: 0 0 6px;
  transition: all 0.2s ease;
}

/* DATE */
.vm-related-date {
  display: block;
  font: normal normal 600 14px/21px DM Sans;
  letter-spacing: -0.14px;
  color: #989898;
  transition: all 0.2s ease;
}

/* HOVER STATES */
.vm-related-item:hover h4 {
  color: #4DB1D8;
}

.vm-related-item:hover .vm-related-date {
  color: #4CAFD5;
}

.vm-related-item {
  transition: transform 0.15s ease;
}

/* =========================
   TAG CLOUD
========================= */

.vm-tags-title {
  font-size: var(--vm-fs-24);
  line-height: 33px;
  font-weight: var(--vm-fw-600);
  letter-spacing: var(--vm-ls--048);
  color: var(--vm-text-body);
  margin: 65px 0 20px;
}

.vm-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
	align-items: flex-end;
}

.vm-tag {
  font-weight: var(--vm-fw-600);
  color: var(--vm-blue-accent);
  cursor: pointer;
}

.vm-tag a {
  color: var(--vm-blue-accent);
  text-decoration: none;
}

.vm-tag a:hover {
  text-decoration: underline;
}

.vm-tag.small {
  font-size: 24px;
  line-height: 30px;
  letter-spacing: var(--vm-ls--014);
}

.vm-tag.large {
  font-size: 30px;
  line-height: 36px;
  letter-spacing: var(--vm-ls--018);
}

/* =========================
   PAGINATION
========================= */

.vm-blog-pagination {
  margin-top: 90px;
}

.vm-blog-pagination ul {
  display: flex;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.vm-blog-pagination li {
  width: 48px;
  height: 48px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--vm-fs-16);
  line-height: var(--vm-lh-24);
  font-weight: var(--vm-fw-500);
  letter-spacing: var(--vm-ls--016);
}

.vm-blog-pagination li a,
.vm-blog-pagination li span {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 100px;
}

.vm-blog-pagination li .current {
  background: var(--vm-purple-footer);
  color: var(--vm-white);
	width: 48px;
  height: 48px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--vm-fs-16);
  line-height: var(--vm-lh-24);
  font-weight: var(--vm-fw-500);
  letter-spacing: var(--vm-ls--016);
}

.vm-blog-pagination li a {
  background: rgba(80, 186, 226, 0.2);
  color: var(--vm-blue-accent);
}

.vm-blog-pagination li a:hover {
  background: var(--vm-blue-accent);
  color: var(--vm-white);
}

/* =========================
   CATEGORY SCROLL (MOBILE)
========================= */

@media (max-width: 991px) {
  .vm-blog-category-list {
    justify-content: flex-start;
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
  }

  .vm-blog-category-list li {
    flex: 0 0 auto;
  }

  .vm-blog-category-list::-webkit-scrollbar {
    display: none;
  }

  .vm-blog-category-list {
    scrollbar-width: none;
  }
}

/* Mobile margins */
@media (max-width: 991px) {
  .vm-blog-categories {
    margin-top: 80px;
  }

  .vm-blog-category-list {
    margin-bottom: 40px;
  }

  .vm-blog-pagination {
    margin-top: 30px;
  }

  .vm-blog-item {
    margin-bottom: 20px;
  }
}
