	.container img {
	    max-width: 100%;
	    height: auto;
	}
	/* Gallery styles moved from include */
	.gallery {
	  display: flex;
	  flex-wrap: wrap;
	  margin: -0.5rem;
	}
	.gallery-item {
	  width: calc(50% - 1rem);
	  padding: 0.5rem;
	  box-sizing: border-box;
	}
	.gallery-item figure {
	  margin: 0;
	  display: block;
	}
	.gallery-item img {
	  max-width: 100%;
	  height: auto;
	  display: block;
	}
	@media (max-width: 768px) {
	  .gallery-item { width: calc(100% - 1rem); }
	}

/* ========== Navigation Link Styling ========== */
.navbar-nav .nav-link {
  text-decoration: none;
  padding: 10px 16px !important;
  font-weight: 500;
  color: #333 !important;
  border-radius: 8px;
  transition: all 0.2s ease-in-out;
  position: relative;
}

.navbar-nav .nav-link::before {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: #52bad5;
  transition: all 0.3s ease-in-out;
  transform: translateX(-50%);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  color: #2c526e !important;
}

.navbar-nav .nav-link:hover::before,
.navbar-nav .nav-link:focus::before {
  width: calc(100% - 32px);
}

.navbar-nav .nav-item.active .nav-link,
.navbar-nav .nav-link.active {
  color: #52bad5 !important;
  background-color: rgba(65, 125, 177, 0.12);
}

.navbar-nav .nav-item.active .nav-link::before,
.navbar-nav .nav-link.active::before {
  width: calc(100% - 32px);
}

/* Hover ripple effect */
.navbar-nav .nav-link:hover::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 6px;
  height: 6px;
  background-color: #52bad5;
  border-radius: 50%;
  opacity: 0;
}

.navbar-nav .nav-link:hover::after {
  animation: ripple 0.6s ease-out;
}

/* Mobile menu improvements */
@media (max-width: 991px) {
  .navbar-nav .nav-link {
    padding: 8px 14px !important;
    border-radius: 6px;
  }

  .navbar-nav .nav-link:hover,
  .navbar-nav .nav-link:focus {
  background-color: rgba(65, 125, 177, 0.12);
  }
}

/* ========== End Navigation Styling ========== */

.site-content {
  max-width: 1240px;
  margin: 0 auto;
  background-color: #fff;
}

.page-content {
  margin: 24px;
}

/* ========== Typography & Readability Enhancements ========== */

body {
  font-family: Lato, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  line-height: 1.75;
  font-size: 16px;
  color: #2d3436;
  letter-spacing: 0.003em;
}

h1, h2, h3, h4, h5, h6 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.25;
  color: #1e272e;
}

h1 { font-size: 2.25rem; letter-spacing: -0.02em; }
h2 { font-size: 1.875rem; letter-spacing: -0.01em; border-bottom: none; padding-top: 0; }
h3 { font-size: 1.5rem; margin-top: 1.5rem; }
h4 { font-size: 1.25rem; margin-top: 1.25rem; color: #636e72; }

p {
  margin-bottom: 1.5rem;
}

/* Better paragraph spacing and indentation */
p:first-of-type {
  margin-top: 0;
}


/* Drop cap for first paragraph of sections (optional - can be toggled with class) */
.drop-cap::first-letter {
  float: left;
  font-size: 3.5rem;
  line-height: 0.8;
  padding-right: 0.1em;
  color: #0d6efd;
  font-weight: 700;
}

/* Blockquote styling */
blockquote {
  border-left: 4px solid #0d6efd;
  padding-left: 1.5rem;
  margin: 2rem 0;
  background-color: rgba(13, 110, 253, 0.03);
  border-radius: 0 8px 8px 0;
}

blockquote p {
  font-style: italic;
  color: #555;
  margin-bottom: 0;
}

/* List styling */
ul, ol {
  margin-left: 1.75rem;
  margin-bottom: 1.5rem;
}

li > p {
  margin-bottom: .25rem;
}

/* Better link styling for body text - using blue from background gradient */
body a:not(.btn) {
  color: #0d6efd;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: all 0.2s ease;
}

body a:not(.btn):hover,
body a:not(.btn):focus {
  color: #1a7cf8;
}

/* Code blocks */
pre, code {
  font-family: 'Fira Code', 'Consolas', 'Monaco', monospace;
  background: #f8f9fa;
  border-radius: 6px;
  overflow-x: auto;
}

pre {
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  border: 1px solid #e9ecef;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.03);
}

code {
  padding: .2em .4em;
  font-size: 87%;
  color: #0d6efd;
  background-color: rgba(13, 110, 253, 0.05);
  border-radius: 4px;
}

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.75rem;
  font-size: 0.95em;
}

table th, table td {
  padding: 0.875rem 1rem;
  text-align: left;
  border-color: #e9ecef;
}

table th {
  background-color: rgba(13, 110, 253, 0.04);
  font-weight: 600;
  color: #1e272e;
  border-bottom: 2px solid #0d6efd;
}

table tr:nth-child(even) {
  background-color: rgba(0,0,0,0.01);
}

/* Responsive text sizing */
@media (max-width: 768px) {
  body {
    font-size: 15px;
    line-height: 1.65;
  }

  h1 { font-size: 1.875rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.25rem; margin-top: 1.25rem; }
  h4 { font-size: 1.125rem; margin-top: 1rem; }

  p:not(:first-of-type) {
    text-indent: 0;
  }
}

/* ========== End Typography Enhancements ========== */


body {
    background-image: linear-gradient(to bottom, #0d6efd, #1a7cf8);
}
/* ---------- Markdown text styles ---------- */
body {
  font-family: Lato, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  line-height: 1.6;
  font-size: 16px;
  color: #222;
}

h1, h2, h3, h4, h5, h6 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
  line-height: 1.25;
}

p {
  margin-bottom: 1rem;
}

ul, ol {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

li > p { /* inline paragraphs inside list items */
  margin-bottom: .25rem;
}

blockquote {
  border-left: 4px solid #e0e0e0;
  padding-left: 1rem;
  color: #555;
  margin: 1.5rem 0;
}

pre, code {
  font-family: monospace;
  background: #f8f9fa;
  border-radius: .25rem;
  overflow-x: auto;
}
pre {
  padding: .75rem 1rem;
  margin-bottom: 1rem;
}
code {
  padding: .2rem .4rem;
  font-size: 90%;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
}
table th, table td {
  border: 1px solid #dee2e6;
  padding: .75rem;
  text-align: left;
}

/* Ensure links are visible */
a {
  color: #0d6efd;
  text-decoration: underline;
}
a:hover {
  text-decoration: none;
}

.post-card h1, .post-card h2, .post-card h3, .post-card h4, .post-card h5, .post-card h6 {
margin: 0;
}

.post-card .card-title {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.25;
}

nav.navbar {
  font-size: 1.6rem;
}

ul.navbar-nav {
  margin-left: 0;
}
/* ========== Pagination Styles ==========
.pagination-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 3rem;
}

.page-numbers {
  font-size: 1rem;
  color: #6c757d;
}

.pagination-link.prev-page-btn,
.pagination-link.next-page-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  font-weight: 600;
  color: #fff !important;
  background-color: rgba(65, 125, 177, 0.8) !important;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
}

.pagination-link.prev-page-btn:hover,
.pagination-link.next-page-btn:hover {
  background-color: rgba(65, 125, 177, 1) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(65, 125, 177, 0.3);
}

.pagination-link.prev-page-btn:focus,
.pagination-link.next-page-btn:focus {
  outline: none;
  ring: 2px solid #fff;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .pagination-container {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* ========== Pagination Styles (English Version) ========== */

.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.pagination__info {
  font-size: 0.95rem;
  color: #6c757d;
  min-width: 240px;
  text-align: center;
  flex-shrink: 0;
}

.pagination__prev,
.pagination__next {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #fff !important;
  background-color: rgba(82, 186, 213, 0.85);
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
}

.pagination__prev:hover:not(.pagination__prev--disabled),
.pagination__next:hover:not(.pagination__next--disabled) {
  background-color: rgba(82, 186, 213, 1);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(82, 186, 213, 0.35),
              0 2px 4px rgba(0, 0, 0, 0.1);
}

.pagination__prev:focus,
.pagination__next:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(82, 186, 213, 0.4),
              inset 0 0 0 1px rgba(255, 255, 255, 0.3);
}

.pagination__prev--disabled,
.pagination__next--disabled {
  background-color: #e9ecef;
  color: #adb5bd !important;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Subtle gradient overlay on buttons */
.pagination__prev,
.pagination__next {
  position: relative;
  overflow: hidden;
}

.pagination__prev::before,
.pagination__next::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    to bottom right,
    transparent 30%,
    rgba(255, 255, 255, 0.1) 50%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
}

.pagination__prev:hover::before,
.pagination__next:hover::before {
  opacity: 1;
}

/* Arrow icons with subtle glow */
.pagination__prev svg,
.pagination__next svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .pagination {
    flex-direction: column;
    gap: 1rem;
    padding-bottom: 2.5rem;
  }

  .pagination__info {
    min-width: auto;
    text-align: center;
  }
}

/* ========== Post Card Container Styles ==========


