/* Abstract */
@import url(abstract/_variable.css);

/* Base */
@import url(base/_animation.css);
@import url(base/_font-face.css);
@import url(base/_reset.css);
@import url(base/_typographi.css);
@import url(base/_utilities.css);


/* Componenets */
@import url(components/_slider.css);
@import url(components/_category.css);
@import url(components/_sodialMedia.css);

/* Layout */
@import url(layouts/_header.css);
@import url(layouts/_footer.css);



.post-wrapper {
    width: 90%;
    margin: 0 auto;
    padding: 20px 0;
}
.post {
  min-height: 52rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
  box-shadow: 0 0 0.8rem rgba(0, 0, 0, 0.25);
  border-radius: 5px;
  overflow: hidden;
  position: relative;
}
.post img {
  width: 100%;
  display: block;
}
.post h1 {
  text-align: center;
  margin: 0 auto;
  padding: 20px;
  border-bottom: 2px solid gray;
  color: #3c3b3b;
}
.post h2, .post h3, .post h4 {
  margin: 0 2rem;
  color: gray;
  line-height: 3rem;
}
.post ul li {
  margin: 0 5rem;
  color: gray;
  line-height: 3rem;
}
.post p {
  font-size: 2rem;
  margin: 0 2rem;
  color: gray;
  line-height: 4rem;
}
.post-content {
    text-align: right;
    line-height: 1.6;
}
.categories-filter {
    margin-bottom: 20px;
}
.categories-filter a {
    margin-left: 10px;
    text-decoration: none;
    color: #e44;
}
.categories-filter a.active {
    font-weight: bold;
}
.latest-posts h2 {
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
}

.custom-pagination {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.custom-pagination .pagination-list {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    margin: 0;
}

.custom-pagination .page-item {
    display: inline-flex;
}

.custom-pagination .page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    border-radius: 8px;
    background-color: #f8f9fa;
    color: #333;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.2s ease;
    border: 1px solid #dee2e6;
    font-size: 12pt !important;
  font-weight: 700;
}

.custom-pagination .page-link:hover {
    background-color: #e9ecef;
    border-color: #ced4da;
    color: #1a1a1a;
}

.custom-pagination .page-item.active .page-link {
    background-color: #007bff;
    border-color: #007bff;
    color: #fff;
    box-shadow: 0 2px 4px rgba(0, 123, 255, 0.3);
    font-size: 12pt !important;
  font-weight: 700;
}

.custom-pagination .page-item.disabled .page-link {
    background-color: #f1f3f5;
    border-color: #dee2e6;
    color: #6c757d;
    cursor: not-allowed;
    opacity: 0.7;
    font-size: 12pt !important;
  font-weight: 700;
}

.custom-pagination .page-link.arrow {
    font-size: 1.2rem;
    padding: 0 15px;
    font-size: 12pt !important;
  font-weight: 700;
}

.alert {
  background: #f7c6c6;
  padding: 15px;
  border: 1px solid #eaaeae;
  border-radius: 10px;
  text-align: center;
}

@media (max-width: 576px) {
    .custom-pagination .page-link {
        min-width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
    
    .custom-pagination .page-link.arrow {
        padding: 0 12px;
    }
}