/* === GRID SYSTEM === */
.row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -15px;
  margin-right: -15px;
}

[class*="col-"] {
  padding-left: 15px;
  padding-right: 15px;
  box-sizing: border-box;
}

/* --- Responsive cols --- */
.col-12 { flex: 0 0 100%; max-width: 100%; }
.col-md-6 { flex: 0 0 50%; max-width: 50%; }
.col-md-4 { flex: 0 0 33.3333%; max-width: 33.3333%; }

/* Simple mobile stacking */
@media (max-width: 768px) {
  .col-md-6,
  .col-md-4 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* === MARGINS / PADDINGS === */
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 2rem; }
.mb-6 { margin-bottom: 2.75rem; }
.mt-2 { margin-top: 0.75rem; }
.mt-3 { margin-top: 1rem; }
.mt-5 { margin-top: 2rem; }

/* === FLEX UTILITIES === */
.d-flex { display: flex; }
.justify-content-between { justify-content: space-between; }
.align-items-center { align-items: center; }


/* === BLOG STYLES === */
.blog-filter.mb-5 {
  color: #2B2A29;
  font-family: Lato;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-transform: capitalize;
  margin-top: 65px;
  margin-bottom: 60px;
}

.post-date {
  color: #BAAB86;
  font-family: Lato;
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: 23px;
}

.featured-post__content h2 {
  margin: 0.5rem 0;
  line-height: 1;
}

.featured-post__title a {
  overflow: hidden;
  color: #2B2A29;
  font-size: 30px;
  font-style: normal;
  font-weight: 400;
  line-height: 130%;
  font-family: Bedini !important;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  align-self: stretch;
  text-overflow: ellipsis;
}

.featured-post__excerpt {
  font-size: 1rem;
  color: #444;
}

.blog-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease;
}

.blog-card__title {
  font-size: 1.1rem;
  line-height: 1.3;
  margin-top: 15px;
}

.blog-card__excerpt {
  font-size: 0.95rem;
  color: #555;
}

/* === TRUNCATE === */
.text-truncate-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* === SELECT FILTER === */
.blog-filter {
  margin-bottom: 2rem;
}

.blog-filter__select {
  padding: 0.6rem 1rem;
  border: 1px solid #fff;
  border-radius: 0;
  font-size: 1rem;
  background: transparent;
  border-bottom: 1px solid #000;
  margin-left: 15px;
  padding: 10px 0;
  min-width: 100px;
  font-size: 14px;
  font-weight: 300;
}

/* === PAGINATION === */
.pagination-wrapper {
  text-align: center;
}

.pagination-wrapper .page-numbers {
  display: inline-block;
  padding: 0.5rem 0.8rem;
  margin: 0 0.2rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  text-decoration: none;
  color: #333;
}

.pagination-wrapper .page-numbers:hover,
.pagination-wrapper .page-numbers.current {
  background: #222;
  color: #fff;
  border-color: #222;
}

/* === SHARE === */
.share {
  display: flex;
  gap: 8px;
}

.share a {
  display: inline-block;
  color: #444;
  text-decoration: none;
}

.share a:hover {
  color: #000;
}

.col-md-6.featured-post__thumb img,
.blog-card__thumb img {
  width: 100%;
  height: auto;
  display: block;
}

.col-md-6.featured-post__content > * {
  max-width: 599px;
}

.button.button--df {
  padding: 8px 10px;
  min-width: auto;
  width: 124px;
}

.blog-card__title.mt-3 a {
  overflow: hidden;
  color: #2B2A29;
  font-family: Bedini;
  font-size: 19px;
  font-style: normal;
  font-weight: 400;
  line-height: 130%;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  align-self: stretch;
  text-overflow: ellipsis;
}

.blog-card__excerpt.text-truncate-2.mt-2 {
  overflow: hidden;
  color: #2B2A29;
  text-overflow: ellipsis;
  font-family: Lato;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 23px;
}

.blog-card .featured-post__meta {
  margin-top: 10px;
}

.pagination-nav {
  margin-bottom: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.col-md-6.featured-post__content {
  padding: 30px 15px;
}

.featured-post__actions + .share {
  margin-top: 20px;
}