/* ==========================================================================
   Blog & Articles Styles
   ========================================================================== */

/* Blog Articles Section */
.blog-articles {
  padding: 6rem 0;
  background: #000000;
}

.blog-articles .section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.blog-articles .section-label {
  display: inline-block;
  color: #ffffff;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.blog-articles .section-title {
  font-size: 2.7rem;
  font-weight: 100;
  color: #ffffff;
  line-height: 1.3;
}




/* Tags Section */
.tags-section {
  margin-bottom: 3rem;
  text-align: center;
}

.tags-section h3 {
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.tags-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  max-width: 900px;
  margin: 0 auto;
}

.tag-item {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: default;
  user-select: none;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1250px;
  margin: 0 auto;
}

.article-card {
  background: #ffffff;
  width: 100%;
  min-height: 480px;
  border-radius: 24px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.article-image {
  width: 100%;
  height: 225px;
  overflow: hidden;
  background: #f0f0f0;
}

.article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.article-content {
  padding: 20px;
}

.article-content h3 {
  font-size: 24px;
  line-height: 29px;
  font-weight: 600;
  margin-top: 15px;
  margin-bottom: 1rem;
  color: #1a1a1a;
  line-height: 1.3;
}

.article-content p {
  color: #666666;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  min-height: 3em;
}

.article-footer{
  display:flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.read-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.read-more-blogs-btn{
  display: inline-flex;
  align-items: center;
  gap: 15px;
  border: none;
  border-radius: 50px;
  padding: 15px;
  margin: 30px auto 0;
  background-color: #ffffff;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  position:relative;
  left:1320px;
}

.read-more-blogs-btn img{
  width:15px;
  height:15px;
}

.read-more-blogs-btn span{
  color: #2042BF;
  font-size: 19px;
  font-weight: 600;
}

.read-more-blogs-btn:hover img {
  transform:rotate(45deg);
  transition: all  0.3s ease;
}

.read-more-btn:hover img {
  transform:rotate(45deg);
  transition: all  0.3s ease;
}

.article-date {
 font-size: 12px;
  background-color: #F2F3FB;
  border-radius: 30px;
  padding:6px 16px;
  margin-right: 10px;
  margin-bottom: 10px;
  color:#000000;
  font-weight: 600;
  letter-spacing: 0.01em;
}


.article-image img:hover {
  transform: scale(1.08);
}

.article-content h3 {
  position: relative;
  display: inline-block;
}

.article-content h3::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #000000;
  transition: width 0.3s ease;
}

.article-content h3:hover::after {
   width: 100%;
}

.article-footer button{
    background-color: #ffffff;
}

.btn-icon {
    width: 40px;
    height: 40px;
    stroke: white;
    background-color: #2042BF;
    transition: all 0.3s;
    border-radius: 24px;
    padding: 7px;
}

.btn-icon img {
  width: 15px;
  height: 15px;
  position:relative;
  top:5px;
  left: 5px;
}


.read-more-btn span{
  color: #2042BF;
  font-size: 19px;
  font-weight: 600;
}

/* Blog List Page Specific */
.blog-list-page {
    min-height: 100vh;
    padding-top: 120px;
}

.blog-list-page .section-subtitle {
    font-size: 1.125rem;
    color: #999;
    max-width: 600px;
    margin: 1rem auto 0;
    line-height: 1.6;
}

/* Pagination */
.blog-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 60px;
}

.pagination-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.pagination-btn:hover {
    background: #4169E1;
    border-color: #4169E1;
}

.pagination-numbers {
    display: flex;
    gap: 8px;
}

.pagination-number {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.pagination-number:hover,
.pagination-number.active {
    background: #4169E1;
    border-color: #4169E1;
    color: #fff;
}