
.egaz-section {
  margin: 40px 0;
  position: relative;
  padding-top: 40px;
}

.egaz-section::before {
  content: "";
  display: block;
  height: 2px;
  background: #ccc;
  position: absolute;
  top: 20px;
  left: 0;
  width: 100%;
  z-index: 0;
}

.egaz-section-title {
  background: #d63031;
  color: white;
  padding: 6px 18px;
  font-size: 18px;
  font-weight: bold;
  margin: 0 0 20px 0;
  display: inline-block;
  border-radius: 50px;
  text-align: right;
  position: relative;
  z-index: 1;
}

.egaz-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  background-color: #f1e7cc;
  padding: 20px;
  border-radius: 12px;
}

.egaz-list {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
  background-color: #cde5f2;
  padding: 20px;
  border-radius: 12px;
}

@media (min-width: 768px) {
  .egaz-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.egaz-post {
  background: #f9f9f9;
  border: 1px solid #eee;
  overflow: hidden;
  border-radius: 8px;
}

.egaz-post img {
  width: 100%;
  height: auto;
  display: block;
}

.egaz-post h3,
.egaz-post-list h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 10px;
  line-height: 1.4em;
  height: 2.8em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.egaz-post p,
.egaz-post-list p {
  margin: 0 10px 10px;
  font-size: 14px;
  color: #555;
  line-height: 1.5;
  height: 3.5em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.egaz-post a,
.egaz-post-list a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.egaz-post-list {
  display: flex;
  gap: 15px;
  align-items: center;
  border: 1px solid #eee;
  padding: 10px;
  background: #fff;
  border-radius: 8px;
}

.egaz-post-list img {
  width: 100px;
  height: auto;
  border-radius: 6px;
  object-fit: cover;
}

.egaz-post-list div {
  flex: 1;
}

.egaz-section-title {
  width: 100%;
  display: block;
  text-align: right;
  box-sizing: border-box;
}
