:root {
  --primary-color: #0d6efd;
  --secondary-color: #6c757d;
  --light-color: #f8f9fa;
  --dark-color: #212529;
  --accent-color: #ff6b6b;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--dark-color);
  background-color: #f5f5f5;
}

/* Header Styles */
.site-header {
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--primary-color);
}

.nav-link {
  font-weight: 500;
  padding: 0.5rem 1rem;
}

/* Banner Carousel */
.hero-carousel {
  margin-bottom: 2rem;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.carousel-caption {
  background: rgba(0, 0, 0, 0.5);
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  text-align: left;
}

.carousel-caption h3 {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.carousel-caption p {
  margin-bottom: 0;
}

/* Section Headings */
.section-heading {
  position: relative;
  padding-bottom: 0.75rem;
  margin-bottom: 1.5rem;
  border-bottom: 3px solid var(--primary-color);
}

.section-heading h2 {
  font-weight: 700;
  font-size: 1.5rem;
  display: inline-block;
  color: rgb(0, 0, 0);
  border-radius: 0 0.5rem 0.5rem 0;
  margin: 0;
}

/* News Grid Layout */
.news-grid .card {
  border: none;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 1.5rem;
}

.news-grid .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.news-grid .card-img-top {
  height: 200px;
  object-fit: cover;
}

.news-grid .card-title {
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.news-grid .card-text {
  color: var(--secondary-color);
  font-size: 0.9rem;
}

/* News List Layout */
.news-list .list-item {
  display: flex;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #eee;
}

.news-list .list-item:last-child {
  border-bottom: none;
}

.news-list .list-img {
  width: 120px;
  height: 80px;
  object-fit: cover;
  border-radius: 0.25rem;
  margin-right: 1rem;
}

.news-list .list-title {
  font-weight: 600;
  font-size: 20px;
  margin-bottom: 0.5rem;
}

.news-list .list-excerpt {
  color: var(--secondary-color);
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

/* Horizontal Card Layout */
.news-horizontal .card {
  border: none;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  margin-bottom: 1.5rem;
  flex-direction: row;
}

.news-horizontal .card-img-left {
  width: 40%;
  /*height: 180px;*/
  object-fit: cover;
}

.news-horizontal .card-body {
  padding: 1.25rem;
}

.news-horizontal .card-title {
  font-weight: 600;
  margin-bottom: 0.75rem;
}

/* Featured Layout */
.news-featured .featured-main {
  margin-bottom: 1.5rem;
}

.news-featured .featured-main .card {
  border: none;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.news-featured .featured-main .card-img-top {
  height: 250px;
  object-fit: cover;
}

.news-featured .featured-secondary .card {
  border: none;
  border-bottom: 1px solid #eee;
  border-radius: 0;
  margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
}

.news-featured .featured-secondary .card:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.news-featured .featured-secondary .card-img-left {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 0.25rem;
  margin-right: 1rem;
}

/* Masonry Layout */
.news-masonry {
  column-count: 2;
  column-gap: 1.5rem;
}

.news-masonry .card {
  break-inside: avoid;
  border: none;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  margin-bottom: 1.5rem;
}

.news-masonry .card-img-top {
  height: auto;
  width: 100%;
  object-fit: cover;
}

/* Tab Layout */
.news-tab .nav-tabs {
  border-bottom: 3px solid #dee2e6;
}

.news-tab .nav-link {
  color: var(--secondary-color);
  font-weight: 600;
  border: none;
  padding: 0.75rem 1.5rem;
}

.news-tab .nav-link.active {
  color: var(--primary-color);
  background-color: transparent;
  border-bottom: 3px solid var(--primary-color);
}

.news-tab .tab-pane .card {
  border: none;
  border-bottom: 1px solid #eee;
  border-radius: 0;
  margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
}

.news-tab .tab-pane .card:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

/* Sidebar Styles */
.sidebar-widget {
  background-color: white;
  border-radius: 0.5rem;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.sidebar-widget h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--primary-color);
}

.popular-post {
  display: flex;
  margin-bottom: 1rem;
}

.popular-post:last-child {
  margin-bottom: 0;
}

.popular-post-img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 0.25rem;
  margin-right: 1rem;
}

.popular-post-title {
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.popular-post-date {
  color: var(--secondary-color);
  font-size: 0.8rem;
}

.category-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.category-list li {
  margin-bottom: 0.75rem;
}

.category-list li:last-child {
  margin-bottom: 0;
}

.category-list a {
  display: flex;
  justify-content: start;
  color: var(--dark-color);
  text-decoration: none;
  padding: 0.5rem 0;
  border-bottom: 1px dashed #eee;
  align-items: center;
}

.category-list a i{
    margin-right: 10px;
    color: #0d6efd;
    transition: color 0.2s;
}

.category-list a:hover {
  color: var(--primary-color);
}

.category-list span {
  background-color: var(--light-color);
  color: var(--secondary-color);
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.8rem;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.social-icons a:hover {
  background-color: var(--dark-color);
}

/* Footer Styles */
.site-footer {
  background-color: var(--dark-color);
  color: white;
  padding: 3rem 0;
}

.footer-logo {
  font-weight: 700;
  font-size: 1.8rem;
  color: white;
  margin-bottom: 1.5rem;
  display: inline-block;
}

.footer-about {
  margin-bottom: 1.5rem;
}

.footer-links h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-links h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 3px;
  background-color: var(--primary-color);
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: #adb5bd;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: white;
}

.footer-contact p {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
}

.footer-contact i {
  margin-right: 0.75rem;
  color: var(--primary-color);
}

.copyright {
  background-color: rgba(0, 0, 0, 0.2);
  padding: 1rem 0;
  text-align: center;
  font-size: 0.9rem;
  color: #adb5bd;
}

.btn-read-more {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 0.375rem 0.75rem;
  font-size: 0.85rem;
  border-radius: 0.25rem;
  transition: background-color 0.3s ease;
}

.btn-read-more:hover {
  background-color: #0b5ed7;
  color: white;
}

@media (max-width: 991.98px) {
  .news-horizontal .card {
    flex-direction: column;
  }

  .news-horizontal .card-img-left {
    width: 100%;
    height: 200px;
  }

  .news-masonry {
    column-count: 1;
  }
}

@media (max-width: 767.98px) {
  .carousel-caption {
    padding: 1rem;
  }

  .carousel-caption h3 {
    font-size: 1rem;
  }

  .carousel-caption p {
    display: none;
  }

  .section-heading h2 {
    font-size: 1.25rem;
    padding: 0.5rem 1rem;
  }
}


.hero-carousel {
  margin-bottom: 3rem;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  position: relative;
}

.carousel-inner {
  border-radius: 1rem;
}

.carousel-item {
  height: 500px;
  transition: transform 0.6s ease-in-out;
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.8);
  transition: filter 0.3s ease;
}

.carousel-item:hover img {
  filter: brightness(0.7);
}

.carousel-caption {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
  bottom: 0;
  left: 0;
  right: 0;
  padding: 3rem;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
}

.carousel-item.active .carousel-caption {
  opacity: 1;
  transform: translateY(0);
}

.carousel-caption h3 {
  font-weight: 800;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  color: white;
  line-height: 1.2;
}

.carousel-caption p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  color: rgba(255, 255, 255, 0.9);
  max-width: 80%;
}

.carousel-indicators {
  bottom: 20px;
  margin: 0;
  justify-content: flex-start;
  padding-left: 3rem;
}

.carousel-indicators button {
  /* width: 12px;
  height: 12px; */
  border-radius: 50%;
  margin: 0 8px 0 0;
  border: 2px solid white;
  background: transparent;
  opacity: 1;
  transition: all 0.3s ease;
}

.carousel-indicators button.active {
  /* transform: scale(1.2); */
  border-radius: 0%;
}

.carousel-control-prev,
.carousel-control-next {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.hero-carousel:hover .carousel-control-prev,
.hero-carousel:hover .carousel-control-next {
  opacity: 1;
}

.carousel-control-prev {
  left: 20px;
}

.carousel-control-next {
  right: 20px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 1.5rem;
  height: 1.5rem;
}

/* Responsive adjustments */
@media (max-width: 1199.98px) {
  .carousel-item {
    height: 400px;
  }

  .carousel-caption h3 {
    font-size: 2rem;
  }

  .carousel-caption p {
    font-size: 1rem;
  }
}

@media (max-width: 991.98px) {
  .carousel-item {
    height: 350px;
  }

  .carousel-caption {
    padding: 2rem;
  }

  .carousel-caption h3 {
    font-size: 1.75rem;
  }

  .carousel-caption p {
    max-width: 100%;
  }
}

@media (max-width: 767.98px) {
  .carousel-item {
    height: 300px;
  }

  .carousel-caption {
    padding: 1.5rem;
  }

  .carousel-caption h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
  }

  .carousel-caption p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
  }

  .carousel-indicators {
    padding-left: 1.5rem;
    bottom: 10px;
  }
}

@media (max-width: 575.98px) {
  .carousel-item {
    height: 250px;
  }

  .carousel-caption {
    padding: 1rem;
  }

  .carousel-caption h3 {
    font-size: 1.25rem;
  }

  .carousel-caption p {
    display: none;
  }

  .carousel-control-prev,
  .carousel-control-next {
    width: 40px;
    height: 40px;
  }
}

a {
  text-decoration: none;
}

.card-title {
  font-size: 20px;
}

.card-text {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.popular-post-title {
  color: var(--dark-color);
  font-size: 16px;
}

/* Card bài viết tinh tế */
.article-card {
  transition: var(--transition);
  margin-bottom: 25px;
  border-radius: 12px;
  overflow: hidden;
  border: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  background-color: #ffffff;
}


.article-img {
  height: 220px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.article-card:hover .article-img {
  transform: scale(1.03);
}

.article-category {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: var(--accent-color);
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.article-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-color);
  transition: var(--transition);
  line-height: 1.4;
}

.article-card:hover .article-title {
  color: var(--primary-color);
}

.article-excerpt {
  color: var(--light-text);
  margin-bottom: 15px;
  font-size: 0.95rem;
}

.article-meta {
  font-size: 0.85rem;
  color: var(--light-text);
}

.article-meta i {
  margin-right: 5px;
  color: var(--accent-color);
}

/* Nút đọc tiếp tinh tế */
.btn-primary {
  background-color: var(--primary-color);
  border: none;
  padding: 8px 20px;
  border-radius: 8px;
  font-weight: 500;
  transition: var(--transition);
  box-shadow: 0 4px 6px rgba(67, 97, 238, 0.2);
}

.btn-primary:hover {
  background-color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 7px 14px rgba(67, 97, 238, 0.25);
}

.btn-outline-primary {
  border-color: var(--primary-color);
  color: var(--primary-color);
  transition: var(--transition);
}

.btn-outline-primary:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  box-shadow: 0 4px 6px rgba(67, 97, 238, 0.2);
}



.text-muted {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Breadcrumb tinh tế */
.breadcrumb {
  background-color: transparent;
  padding: 0.75rem 0;
  font-size: 0.9rem;
}

.breadcrumb-item a {
  color: var(--light-text);
  text-decoration: none;
  transition: var(--transition);
}

.breadcrumb-item a:hover {
  color: var(--primary-color);
}

.breadcrumb-item.active {
  color: var(--primary-color);
  font-weight: 500;
}




/* Tags */
.article-tags {
  margin: 3rem 0;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.tag {
  display: inline-block;
  background-color: rgba(67, 97, 238, 0.1);
  color: var(--primary-color);
  padding: 6px 15px;
  border-radius: 20px;
  margin-right: 10px;
  margin-bottom: 10px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: var(--transition);
  text-decoration: none;
}

.tag:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-2px);
}





/* Tác giả */
.author-card {
  background-color: var(--card-bg);
  border-radius: 12px;
  padding: 2rem;
  margin: 3rem 0;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
}

.author-avatar-lg {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin-right: 1.5rem;
  object-fit: cover;
  border: 3px solid var(--accent-color);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.author-info h4 {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.author-info p {
  color: var(--light-text);
  margin-bottom: 1rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: rgba(67, 97, 238, 0.1);
  color: var(--primary-color);
  border-radius: 50%;
  margin-right: 10px;
  transition: var(--transition);
}

.social-links a:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-3px);
}



/* Bài viết liên quan */
.related-articles {
  margin: 4rem 0;
}

.section-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 2rem;
  position: relative;
  padding-bottom: 10px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  border-radius: 3px;
}

.related-article-card {
  background-color: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.related-article-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(67, 97, 238, 0.15);
}

.related-article-img {
  height: 180px;
  object-fit: cover;
  width: 100%;
}

.related-article-body {
  padding: 1.5rem;
  flex-grow: 1;
}

.related-article-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  color: var(--text-color);
  transition: var(--transition);
}

.related-article-card:hover .related-article-title {
  color: var(--primary-color);
}

.related-article-meta {
  font-size: 0.85rem;
  color: var(--light-text);
}















/* Tối ưu tiêu đề bài viết */
h1.article-title {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 1.5rem;
  color: #222;
  text-rendering: optimizeLegibility;
  letter-spacing: -0.5px;
  position: relative;
  padding-bottom: 1rem;
}

.article-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  border-radius: 2px;
}

/* Tối ưu phần meta bài viết */
.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 2rem;
  color: var(--light-text);
  font-size: 0.95rem;
  background: rgba(248, 249, 250, 0.8);
  padding: 1rem;
  border-radius: 10px;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.article-meta .author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  margin-right: 15px;
  object-fit: cover;
  border: 3px solid rgba(72, 149, 239, 0.2);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.article-meta .author-avatar:hover {
  transform: scale(1.1);
  border-color: var(--accent-color);
}

.article-meta .meta-item {
  margin-right: 25px;
  display: flex;
  align-items: center;
  padding: 0.3rem 0;
}

.article-meta .meta-item i {
  margin-right: 8px;
  color: var(--accent-color);
  font-size: 1em;
  min-width: 16px;
  text-align: center;
}

.article-meta .meta-item:last-child {
  margin-right: 0;
}

/* Tối ưu nội dung bài viết */
.article-content {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #444;
  font-weight: 400;
  margin: 0 auto;
}

.article-content p {
  margin-bottom: 15px;
  text-align: justify;
  hyphens: auto;
  word-break: break-word;
}

.article-content img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 0rem auto;
  display: block;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.article-content img:hover {
  transform: scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.article-content h2 {
  font-size: 1.8rem;
  font-weight: 650;
  margin: 0rem 0 1.5rem;
  color: #333;
  line-height: 1.3;
  position: relative;
  padding-bottom: 0.8rem;
}

.article-content h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  border-radius: 3px;
}

.article-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 2.5rem 0 1.2rem;
  color: #333;
}

.article-content blockquote {
  border-left: 4px solid var(--accent-color);
  padding: 1.5rem;
  margin: 2.5rem 0;
  background: rgba(72, 149, 239, 0.05);
  font-style: italic;
  color: #555;
  border-radius: 0 8px 8px 0;
  position: relative;
  font-size: 1.2rem;
  line-height: 1.6;
}

.article-content blockquote::before {
  content: '"';
  font-size: 4rem;
  color: rgba(72, 149, 239, 0.1);
  position: absolute;
  left: 10px;
  top: 10px;
  line-height: 1;
  font-family: serif;
}

.article-content ul,
.article-content ol {
  margin-bottom: 2rem;
  padding-left: 1.8rem;
}

.article-content li {
  margin-bottom: 0.8rem;
  position: relative;
  padding-left: 0.5rem;
}

.article-content ul li::before {
  content: '•';
  color: var(--accent-color);
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}

.article-content ol {
  counter-reset: item;
}

.article-content ol li::before {
  content: counter(item) ".";
  counter-increment: item;
  color: var(--accent-color);
  font-weight: bold;
  margin-right: 0.5rem;
}

/* Highlight code snippets */
.article-content pre {
  background: #2b2b2b;
  padding: 1.5rem;
  border-radius: 8px;
  margin: 2rem 0;
  overflow-x: auto;
  color: #f8f8f2;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.95rem;
  line-height: 1.5;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.article-content code {
  background: rgba(72, 149, 239, 0.1);
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.9em;
  color: #d6336c;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .article-title {
    font-size: 2rem;
  }

  .article-content {
    font-size: 1.1rem;
  }

  .article-content h2 {
    font-size: 1.6rem;
  }
}

@media (max-width: 768px) {
  .article-title {
    font-size: 1.7rem;
    letter-spacing: -0.3px;
  }



  .article-content {
    font-size: 1rem;
    line-height: 1.7;
  }

  .article-content h2 {
    font-size: 1.4rem;
    margin: 2.5rem 0 1.2rem;
  }

  .article-content p {
    margin-bottom: 1.5rem;
  }
}


.error-area {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}

.error-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 0;
}

.error-area .inner {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 60px;
    border-radius: 20px;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 0.8s ease;
}

.error-area .title {
    font-size: 6rem;
    font-weight: 800;
    color: #e74c3c;
    margin-bottom: 20px;
    line-height: 1;
    text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.1);
    letter-spacing: -2px;
}

.error-area p {
    font-size: 1.5rem;
    color: #555;
    margin-bottom: 40px;
    line-height: 1.6;
}

.cerchio {
    position: relative;
    display: inline-block;
}

.axil-button {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
    height: 60px;
    padding: 0 30px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
    background: linear-gradient(135deg, #4361ee 0%, #3f37c9 100%);
    border: none;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(67, 97, 238, 0.3);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.axil-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(67, 97, 238, 0.4);
    color: #fff;
}

.hover-flip-item {
    position: relative;
    display: inline-block;
    perspective: 1000px;
}

.hover-flip-item span {
    display: inline-block;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    transform-origin: 50% 0;
    transform-style: preserve-3d;
}

.hover-flip-item-wrapper:hover .hover-flip-item span {
    transform: rotateX(-90deg);
}

.hover-flip-item span:after {
    content: attr(data-text);
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100%;
    color: #fff;
    transform: rotateX(90deg);
    transform-origin: 50% 0;
    text-align: center;
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}



/* Responsive */
@media (max-width: 768px) {
    .error-area .inner {
        padding: 40px 20px;
    }
    
    .error-area .title {
        font-size: 4rem;
    }
    
    .error-area p {
        font-size: 1.2rem;
    }
    
    .axil-button {
        min-width: 160px;
        height: 50px;
        font-size: 0.9rem;
    }
}


.logo-website{
    max-height: 46px;
}

.card-body .article-meta{
    margin-bottom: 0px;
}


.card-title a, .list-title a{
    color: #000000;
}
