body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  padding-top: 72px;
}

.primary-color {
  color: #34ad54;
}

.secondary-color {
  color: #34ad54;
}

.cursor-pointer {
  cursor: pointer;
}

.banner-header {
  width: 100%;
  height: 600px;
  object-fit: cover;
}

/*** Carousel ***/
.carousel-caption {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(9, 30, 62, 0.7);
  z-index: 1;
}

/*** Category Cards ***/
.category-card {
  border-radius: 12px;
  /* height: 280px; */
  cursor: pointer;
  margin-bottom: 20px;
}

.category-card:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.category-card:hover .category-overlay {
  opacity: 0.6;
}

.category-image-wrapper {
  height: 100%;
  overflow: hidden;
  border-radius: 12px;
}

.category-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.category-card:hover .category-image {
  transform: scale(1.08);
}

.category-overlay {
  position: absolute;
  top: 33%;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top,
      rgba(0, 0, 0, 0.8) 0%,
      rgba(0, 0, 0, 0.4) 50%,
      rgba(0, 0, 0, 0) 100%);
  opacity: 0.5;
  transition: opacity 0.3s ease;
  border-radius: 0 0 12px 12px;
}

.category-content {
  z-index: 2;
}

.category-title {
  font-size: 1.2rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease;
  letter-spacing: 0.5px;
}

.category-link {
  color: inherit;
  height: 100%;
  display: block;
  border-radius: 12px;
}

.category-link:hover {
  color: inherit;
  text-decoration: none;
}

/* Remove the nth-child gradient overrides as they will be handled by JavaScript */

/*** Reviews Grid ***/
.review-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.review-card:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.review-image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  height: 100%;
}

.review-image {
  width: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.review-card:hover .review-image {
  transform: scale(1.05);
}

.review-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top,
      rgba(0, 0, 0, 0.8) 0%,
      rgba(0, 0, 0, 0.4) 50%,
      rgba(0, 0, 0, 0) 100%);
  border-radius: 8px;
}

.review-content {
  z-index: 2;
}

.review-link {
  color: inherit;
  height: 100%;
  display: block;
}

.review-link:hover {
  color: inherit;
  text-decoration: none;
}

.review-title {
  font-weight: 700;
  line-height: 1.3;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  margin-bottom: 1rem;
}

.review-author {
  font-size: 0.9rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.time-badge {
  background: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  backdrop-filter: blur(10px);
}

.category-badge {
  background: #34ad54;
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Small cards styling */
.small-card {
  height: 300px;
  /* margin-bottom: 20px; */
}

.small-card .review-title {
  font-size: 1.1rem;
}

/* Featured card styling */
.featured-card {
  height: 460px;
  /* margin-bottom: 20px; */
}

.featured-card .review-title {
  font-size: 2rem;
  font-weight: 800;
}

.featured-card .review-author {
  font-size: 1.1rem;
}

.featured-card .author-avatar i {
  font-size: 1.5rem;
}

/* Responsive Design */

/* Tablet (iPad) */
@media screen and (max-width: 991px) and (min-width: 768px) {
  .small-card {
    height: 280px;
  }

  .featured-card {
    height: 330px;
  }

  .featured-card .review-title {
    font-size: 1.8rem;
  }

  .small-card .review-title {
    font-size: 1rem;
  }
}

/* Mobile */
@media screen and (max-width: 767px) {
  .small-card {
    height: 250px;
    /* margin-bottom: 15px; */
  }

  .featured-card {
    height: 385px;
    /* margin-bottom: 15px; */
  }

  .featured-card .review-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }

  .small-card .review-title {
    font-size: 0.95rem;
    line-height: 1.4;
  }

  .review-author {
    font-size: 0.8rem;
  }

  .featured-card .review-author {
    font-size: 1rem;
  }

  .time-badge {
    font-size: 0.75rem;
    padding: 3px 10px;
  }

  .review-content {
    padding: 15px !important;
  }

  .featured-card .review-content {
    padding: 20px !important;
  }
}

/* Small mobile */
@media screen and (max-width: 480px) {
  .small-card {
    height: 220px;
  }

  .featured-card {
    height: 265px;
  }

  .featured-card .review-title {
    font-size: 1.3rem;
  }

  .small-card .review-title {
    font-size: 0.9rem;
  }
}

/* Banner responsive (keep existing) */
@media screen and (max-width: 768px) {
  .banner-header {
    height: 300px;
  }
}

/* PC Layout - 2-1-2 horizontal */
@media screen and (min-width: 992px) {
  .small-card {
    height: 200px;
    /* margin-bottom: 20px; */
  }

  .small-card .review-title {
    font-size: 1rem;
    line-height: 1.3;
  }

  .small-card .review-author {
    font-size: 0.8rem;
  }

  .small-card .time-badge {
    font-size: 0.75rem;
    padding: 4px 10px;
  }

  .small-card .review-content {
    padding: 15px !important;
  }

  .featured-card {
    height: 415px;
    /* 200px + 20px margin + 200px + 20px margin = 440px total */
  }

  .featured-card .review-title {
    font-size: 2.2rem;
  }
}

.divider {
  height: 0.5px;
  background-color: #2c3e50;
  margin: 32px 0;
}

/*** Categories Title ***/
.categories-title-wrapper {
  position: relative;
  overflow: hidden;
}

.categories-subtitle {
  font-size: 0.9rem;
  color: #34ad54;
  margin-bottom: 0.5rem;
  display: block;
  animation: slideInDown 0.8s ease-out;
}

.categories-main-title {
  color: #2c3e50;
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.title-text {
  display: inline-block;
  position: relative;
  animation: slideInUp 1s ease-out 0.3s both;
  font-size: 2rem;
}

.title-underline {
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(45deg, #34ad54, #34ad54);
  border-radius: 2px;
  animation: expandWidth 1.2s ease-out 0.8s both;
}

.title-underline::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -5px;
  right: -5px;
  bottom: -2px;
  background: linear-gradient(45deg, #34ad54, #34ad54);
  border-radius: 4px;
  opacity: 0.3;
  animation: pulse 2s ease-in-out infinite 1.5s;
}

.categories-description {
  animation: fadeIn 1s ease-out 1s both;
  font-size: 1.1rem;
  line-height: 1.6;
}

.aspect-ratio-4-3 {
  aspect-ratio: 4/3;
  object-fit: cover;
}

.object-fit-cover {
  object-fit: cover;
}


/* Animations */
@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes expandWidth {
  from {
    width: 0;
  }

  to {
    width: 80px;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes pulse {

  0%,
  100% {
    opacity: 0.3;
    transform: scale(1);
  }

  50% {
    opacity: 0.6;
    transform: scale(1.05);
  }
}

.letter-spacing-2 {
  letter-spacing: 2px;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
  .categories-main-title {
    font-size: 2.5rem;
  }

  .title-underline {
    width: 60px;
  }

  .categories-description {
    font-size: 1rem;
  }
}

/*** Post Card ***/
.post-card {
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  margin-bottom: 20px;
}

.post-card:hover {
  /* No shadow on hover */
}

.post-image-wrapper {
  position: relative;
  overflow: hidden;
}

.aspect-ratio-4-3 {
  aspect-ratio: 4/3;
}

.aspect-ratio-5-3 {
  aspect-ratio: 5/3;
}

.post-image {
  transition: transform 0.4s ease;
}

.post-card:hover .post-image {
  transform: scale(1.05);
}

.post-meta {
  display: flex;
  flex-direction: column;
  font-size: 0.85rem;
  flex-wrap: wrap;
}

.category-text {
  color: #34ad54 !important;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.post-title {
  font-size: 1.1rem;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: calc(1.3em * 2);
  color: #2c3e50;
}

.post-link {
  color: inherit;
  display: block;
}

.post-link:hover {
  color: inherit;
  text-decoration: none;
}

.post-link:hover .post-title {
  color: #34ad54;
}

.time-ago {
  font-size: 0.75rem;
}

/* Remove old overlay styles */
.post-overlay {
  display: none;
}

.mobile-only.post-card {
  margin-bottom: 15px;
}

.mobile-only.post-card .post-title {
  font-size: 1rem;
}

.mobile-only.post-card .post-meta {
  font-size: 0.8rem;
  flex-wrap: wrap;
}

.mobile-only.post-card .post-link {
  display: flex;
}

.mobile-only.post-card .post-link .post-image-wrapper {
  width: 30%;
  margin-right: 10px;
  flex: none;
}


/* Responsive post card */
@media screen and (max-width: 767px) {
  .post-card:not(.pc-only) {
    margin-bottom: 15px;
  }

  .post-card:not(.pc-only) .post-title {
    font-size: 1rem;
  }

  .post-card:not(.pc-only) .post-meta {
    font-size: 0.8rem;
    flex-wrap: wrap;
  }

  .post-card:not(.pc-only) .post-link {
    display: flex;
  }

  .post-card:not(.pc-only) .post-link .post-image-wrapper {
    width: 30%;
    margin-right: 10px;
    flex: none;
  }
}

/*** Latest Posts Section ***/
.section-header {
  position: relative;
}

.section-title {
  color: #2c3e50;
  font-size: 2rem;
  position: relative;
  display: inline-block;
}

.section-underline {
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(45deg, #34ad54, #34ad54);
  border-radius: 2px;
}

.posts-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tools-section {
  padding: 52px 0;
}

.tool-categories {
  display: flex;
  flex-wrap: wrap;
  column-gap: 52px;
  row-gap: 16px;
  justify-content: center;
}

.tool-card {
  display: flex;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tool-card:hover {
  transform: scale(1.05);
  opacity: 0.8;
}

.tool-item {
  display: flex;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  justify-content: center;
  align-items: center;
}

.tool-image {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

/* Tool card responsive */
@media screen and (max-width: 991px) {
  .tool-categories {
    column-gap: 36px;
    row-gap: 12px;
  }

  .tool-item {
    width: 120px;
    height: 120px;
  }

  .tool-image {
    width: 60px;
    height: 60px;
  }

  .tool-card h5 {
    font-size: 1rem;
  }
}

@media screen and (max-width: 767px) {
  .tools-section {
    padding: 32px 0;
  }

  .tool-categories {
    column-gap: 24px;
    row-gap: 8px;
  }

  .tool-item {
    width: 100px;
    height: 100px;
  }

  .tool-image {
    width: 50px;
    height: 50px;
  }

  .tool-card h5 {
    font-size: 0.9rem;
    margin-top: 8px !important;
  }

  .fa-tools {
    font-size: 2rem !important;
  }
}

@media screen and (max-width: 480px) {
  .tool-categories {
    column-gap: 16px;
    row-gap: 6px;
  }

  .tool-item {
    width: 80px;
    height: 80px;
  }

  .tool-image {
    width: 40px;
    height: 40px;
  }

  .tool-card h5 {
    font-size: 0.8rem;
  }

  .fa-tools {
    font-size: 1.5rem !important;
  }
}

/* Tool Categories Flex Layout */
.tool-categories-flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 2rem;
  padding: 1rem 0;
}

.tool-item-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 200px;
  margin-bottom: 1rem;
  width: 200px;
}

/* Responsive adjustments for flex layout */
@media screen and (max-width: 1200px) {
  .tool-categories-flex {
    gap: 1.5rem;
  }

  .tool-item-wrapper {
    min-width: 180px;
  }
}

@media screen and (max-width: 991px) {
  .tool-categories-flex {
    gap: 1.2rem;
  }

  .tool-item-wrapper {
    min-width: 160px;
  }
}

@media screen and (max-width: 767px) {
  .tool-categories-flex {
    gap: 1rem;
    padding: 0.5rem 0;
  }

  .tool-item-wrapper {
    min-width: 140px;
    margin-bottom: 0.5rem;
  }
}

@media screen and (max-width: 480px) {
  .tool-categories-flex {
    gap: 0.8rem;
  }

  .tool-item-wrapper {
    min-width: 120px;
  }
}

/* Responsive latest posts */
@media screen and (max-width: 991px) {
  .posts-grid {
    gap: 15px;
  }
}

@media screen and (max-width: 767px) {
  .section-title {
    font-size: 1.5rem;
  }

  .section-underline {
    width: 50px;
    height: 2px;
  }

  .title-text {
    font-size: 1.5rem;
  }
}

/*** Swiper Navigation ***/
.swiper-button-next,
.swiper-button-prev {
  width: 40px !important;
  height: 40px !important;
  background: rgba(52, 173, 84, 0.1);
  border: 1px solid rgba(52, 173, 84, 0.3);
  border-radius: 50%;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  margin-top: calc(0px - (32px / 2));
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #34ad54;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: rgba(52, 173, 84, 0.9);
  border-color: #34ad54;
  transform: scale(1.05);
}

.swiper-button-next:hover::after,
.swiper-button-prev:hover::after {
  color: white;
}

.swiper-button-disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.swiper-button-disabled:hover {
  background: rgba(52, 173, 84, 0.1);
  border-color: rgba(52, 173, 84, 0.3);
  transform: none;
}

.mxh-section {
  background-color: #1a1a1a;
  padding: 52px 0;
}

/* Mobile navigation buttons */
@media screen and (max-width: 767px) {

  .swiper-button-next,
  .swiper-button-prev {
    width: 28px;
    height: 28px;
    margin-top: calc(0px - (28px / 2));
  }

  .swiper-button-next::after,
  .swiper-button-prev::after {
    font-size: 10px;
  }

  .footer-about {
    margin-bottom: 32px;
  }
}

/* Loading Spinner Styles */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.loading-overlay.hide {
  opacity: 0;
  visibility: hidden;
}

.spinner-container {
  text-align: center;
  color: #34ad54;
}

.spinner {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
}

.spinner-ring {
  position: absolute;
  border: 4px solid rgba(52, 173, 84, 0.1);
  border-top: 4px solid #34ad54;
  border-radius: 50%;
  animation: spin 1.5s linear infinite;
}

.spinner-ring:nth-child(1) {
  width: 80px;
  height: 80px;
  animation-delay: 0s;
}

.spinner-ring:nth-child(2) {
  width: 60px;
  height: 60px;
  top: 10px;
  left: 10px;
  animation-delay: -0.4s;
  border: 3px solid rgba(52, 173, 84, 0.1);
  border-top: 3px solid #34ad54;
}

.spinner-ring:nth-child(3) {
  width: 40px;
  height: 40px;
  top: 20px;
  left: 20px;
  animation-delay: -0.8s;
  border: 2px solid rgba(52, 173, 84, 0.1);
  border-top: 2px solid #34ad54;
}

.spinner-ring:nth-child(4) {
  width: 20px;
  height: 20px;
  top: 30px;
  left: 30px;
  animation-delay: -1.2s;
  border: 2px solid rgba(52, 173, 84, 0.1);
  border-top: 2px solid #34ad54;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.loading-text {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 2px;
  color: #34ad54;
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.6;
  }
}

/* Fade in animation for content */
body.loaded .container-fluid,
body.loaded .container {
  animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tool-dark-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.tool-dark-card:hover {
  transform: translateY(-8px);
  color: inherit;
  text-decoration: none;
}

.tool-dark-card .tool-dark-item {
  background: linear-gradient(135deg, #34ad54 0%, #2d9648 100%);
  border-radius: 50%;
  width: 150px;
  height: 150px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(52, 173, 84, 0.2);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.tool-dark-card:hover .tool-dark-item {
  box-shadow: 0 15px 35px rgba(52, 173, 84, 0.4);
  transform: scale(1.05);
}

.tool-dark-card .tool-dark-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), transparent);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.tool-dark-card:hover .tool-dark-item::before {
  opacity: 1;
}

.tool-dark-card .tool-dark-image {
  width: 80px;
  height: 80px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  transition: all 0.3s ease;
  z-index: 2;
  position: relative;
}

.tool-dark-card:hover .tool-dark-image {
  transform: scale(1.1);
  filter: brightness(0) invert(1) drop-shadow(0 4px 8px rgba(255, 255, 255, 0.3));
}

.tool-dark-card .fa-tools {
  color: white !important;
  transition: all 0.3s ease;
  z-index: 2;
  position: relative;
}

.tool-dark-card:hover .fa-tools {
  transform: scale(1.1);
  text-shadow: 0 4px 8px rgba(255, 255, 255, 0.3);
}

.tool-dark-card .fw-bold {
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  color: #2c3e50;
  transition: all 0.3s ease;
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tool-dark-card:hover .fw-bold {
  color: #34ad54;
  transform: translateY(-2px);
}

.bg-light {
  background-color: #f0f2f5 !important;
}

/* Responsive adjustments for tool-dark-card */
@media screen and (max-width: 991px) {
  .tool-dark-card .tool-dark-item {
    width: 120px;
    height: 120px;
  }

  .tool-dark-card .tool-dark-image {
    width: 60px;
    height: 60px;
  }

  .tool-dark-card .fw-bold {
    font-size: 0.9rem;
  }
}

@media screen and (max-width: 767px) {
  .tool-dark-card .tool-dark-item {
    width: 100px;
    height: 100px;
    margin-bottom: 12px;
  }

  .tool-dark-card .tool-dark-image {
    width: 50px;
    height: 50px;
  }

  .tool-dark-card .fw-bold {
    font-size: 0.85rem;
    margin-top: 6px;
  }

  .tool-dark-card:hover {
    transform: translateY(-4px);
  }
}

@media screen and (max-width: 480px) {
  .tool-dark-card .tool-dark-item {
    width: 80px;
    height: 80px;
  }

  .tool-dark-card .tool-dark-image {
    width: 40px;
    height: 40px;
  }

  .tool-dark-card .fw-bold {
    font-size: 0.8rem;
  }
}

/*** Home Swiper Responsive ***/
/* Hide swiper on mobile, show grid */
@media screen and (max-width: 767px) {
  .swiper.d-none.d-md-block {
    display: none !important;
  }

  .d-block.d-md-none {
    display: block !important;
  }
}

/* Ensure swiper shows on desktop/tablet */
@media screen and (min-width: 768px) {
  .swiper.d-none.d-md-block {
    display: block !important;
  }

  .d-block.d-md-none {
    display: none !important;
  }
}

.post-header-item {
  padding-bottom: 150px;
}

.post-header-item .post-header-content {
  border-radius: 16px;
  bottom: -90px;
}

/* Mobile responsive for post-header-content */
@media screen and (max-width: 768px) {
  .post-header-item {
    padding-bottom: 16px;
  }

  .post-header-item .post-header-content {
    position: static !important;
    transform: none !important;
    width: 100% !important;
    margin-top: 0;
    border-radius: 0 0 16px 16px;
  }
}

/* Hero Posts Carousel Navigation Buttons */
.hero-posts-carousel .swiper-button-next,
.hero-posts-carousel .swiper-button-prev {
  top: auto !important;
  bottom: 90px !important;
  margin-top: 0 !important;
  z-index: 10;
  width: 50px !important;
  height: 50px !important;
}

.hero-posts-carousel .swiper-button-next {
  right: 80px !important;
}

.hero-posts-carousel .swiper-button-prev {
  left: 80px !important;
}

/* Mobile responsive for navigation buttons */
@media screen and (max-width: 768px) {

  .hero-posts-carousel .swiper-button-next,
  .hero-posts-carousel .swiper-button-prev {
    top: 80px !important;
  }

  .hero-posts-carousel .swiper-button-next {
    right: 10px !important;
  }

  .hero-posts-carousel .swiper-button-prev {
    left: 10px !important;
  }
}

@media screen and (max-width: 576px) {
  .post-header-item .post-header-content {
    padding: 1rem !important;
  }

  .post-header-item .post-header-title {
    font-size: 1.125rem;
    line-height: 1.4;
  }
}

.post-header-item .post-header-title {
  font-size: 2rem;
  font-weight: 600;
}

/* Responsive post-header-title */
@media screen and (max-width: 1200px) {
  .post-header-item .post-header-title {
    font-size: 1.875rem;
  }
}

@media screen and (max-width: 991px) {
  .post-header-item .post-header-title {
    font-size: 1.75rem;
  }
}

@media screen and (max-width: 768px) {
  .post-header-item .post-header-title {
    font-size: 1.5rem;
  }
}

@media screen and (max-width: 576px) {
  .post-header-item .post-header-title {
    font-size: 1.25rem;
  }
}

@media screen and (max-width: 480px) {
  .post-header-item .post-header-title {
    font-size: 1.125rem;
  }
}

.mw-200 {
  max-width: 200px;
}

.mw-300 {
  max-width: 300px;
}

/* Hover Underline Animation */
.hover-underline {
  position: relative;
  display: inline;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  background-image: linear-gradient(45deg, #34ad54, #2d9648);
  background-size: 0 2px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-underline:hover {
  background-size: 100% 2px;
  color: #34ad54;
  transform: translateY(-1px);
}

/* Alternative underline styles */
.hover-underline-center {
  background-position: center 100%;
}

.hover-underline-thick {
  background-size: 0 3px;
}

.hover-underline-thick:hover {
  background-size: 100% 3px;
}

.hover-underline-dashed {
  background-image: repeating-linear-gradient(to right,
      #34ad54 0,
      #34ad54 4px,
      transparent 4px,
      transparent 8px);
}

.hover-underline-gradient {
  background-image: linear-gradient(90deg, #34ad54, #2d9648, #34ad54);
  background-size: 200% 2px;
  animation: gradient-slide 0.4s ease forwards;
}

.hover-underline-gradient:hover {
  background-size: 200% 2px;
}

@keyframes gradient-slide {
  0% {
    background-position: 0% 0%;
  }

  100% {
    background-position: 100% 0%;
  }
}