/* Main Content */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to   { opacity: 1; transform: translateY(0); }
}
.user-initials-circle {
    display: none;
}
.greeting {
    margin-top: 0.8rem;
    margin-bottom: 1rem;
    width: fit-content;
    animation: fadeIn 0.7s ease;
}
.greeting p {
    margin-left: 2rem;
    margin-top: 0.8rem;
    color: #4a4a4a;
    opacity: 0.85;
}
.pathway-container {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 2rem;
}
.pathway-card {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    width: 400px;
    text-align: center;
    transition: 0.3s ease;
}
.pathway-card img {
    width: 300px;
    height: 300px;
}
.pathway-card:hover {
    transform: translateY(-4px);
    cursor: pointer;
}
.pathway-card h3 {
    margin-bottom: 3rem;
}
.recent-blogs {
  margin-top: 2rem;
}

.recent-blogs-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.recent-blogs-header h3 {
    margin-bottom: 0;
}

.recent-blogs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.recent-blog-card {
  display: block;
  text-decoration: none;
  border: 1px solid rgba(10,45,100,0.10);
  border-radius: 14px;
  padding: 0.9rem;
  background: #fff;
  height: 100%;
}

.recent-blog-img {
  width: 100%;
  height: 300px;
  /* object-fit: cover; */
  border-radius: 12px;
  display: block;
  margin-bottom: 0.85rem;
}

.recent-blog-category {
  margin: 0;
  font-size: 0.8rem;
  opacity: 0.75;
}

.recent-blog-title {
  margin: 0.15rem 0 0.35rem;
  font-size: 1rem;
  color: #0A2D64;
  line-height: 1.3;
}

.recent-blog-summary {
  margin: 0;
  color: #444;
  font-size: 0.92rem;
  line-height: 1.45;
}

/* TABLET ONLY */
@media (min-width: 860px) and (max-width: 1024px) {
  .recent-blogs-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .recent-blog-card {
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
  }

  .recent-blog-img {
    width: 92px;
    height: 92px;
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .pathway-card {
    width: 350px;
    padding: 1.3rem;
  }

  .pathway-card img {
    width: 260px;
  }

  .pathway-container p {
    width: 300px;
    font-size: 1rem;
  }

  .user-initials-circle {
    width: 80px;
    height: 80px;
    font-size: 1.8rem;
  }

  .pathway-container {
    padding-bottom: 8.5rem;
  }
}

@media (max-width: 1024px) {
    .left-sidebar {
        display: none;
    }
    .main-view-container {
        margin: 0;
        gap: 2rem;
    }
    .greeting {
        margin:  0 auto;
    }
    .greeting p {
        margin-left: 0;
    }
    .greeting h3 {
        margin: 0 auto;
        width: fit-content;
    }
    .user-initials-circle {
        width: 70px;
        height: 70px;
        border-radius: 50%;
        background-color: #0A2D64;
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.6rem;
        font-weight: 700;
        letter-spacing: 1px;
        margin: 2rem auto 1rem auto;
        text-transform: uppercase;
    }
    .pathway-container {
        padding-bottom: 8.5rem;
    }
    .pathway-card {
        background-color: #fff;
        border-radius: 18px;
        gap: 0;
        width: 300px;
    }
    .pathway-card h3 {
        margin-bottom: 1.5rem;
        margin-top: 1.3rem;
    }
    .pathway-card img {
        width: 220px;
    }
    .pathway-container h3,
    .pathway-container p {
        color: #333;
    }
    .pathway-container p {
        width: 260px;
    }

    .mobile-bottom-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background-color: #0A2D64;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.95rem 1rem;
        z-index: 9999;
        box-shadow: 0 -3px 6px rgba(0, 0, 0, 0.15);
    }

    .mobile-bottom-nav .nav-item {
        color: white;
        text-decoration: none;
        font-size: 0.88rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.35rem;
        flex: 1;
    }

    .mobile-bottom-nav .nav-item i {
        font-size: 1.7rem;
    }

    .mobile-bottom-nav .nav-item.active-highlight i,
    .mobile-bottom-nav .nav-item.active-highlight span {
        color: #19C3BD;
    }
}

/* DESKTOP */
@media (min-width: 1025px) {
    .recent-blogs-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .recent-blog-card {
        display: block;
    }

    .recent-blog-img {
        width: 100%;
        height: 300px;
        margin-bottom: 0.85rem;
    }

    .user-initials-circle,
    #menu-trigger,
    #logout-popup,
    .mobile-bottom-nav,
    .user-header {
        display: none !important;
    }

    .greeting h3,
    .greeting p {
        text-align: left;
        margin-left: 0;
    }
}