.blog-content {
  max-width: none;
}

.blog-content h1 {
  font-size: 2.25rem;
  line-height: 2.5rem;
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
}

.blog-content h2 {
  font-size: 1.875rem;
  line-height: 2.25rem;
  margin-top: 2rem;
  margin-bottom: 1.25rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
}

.blog-content h3 {
  font-size: 1.5rem;
  line-height: 2rem;
  margin-top: 1.75rem;
  margin-bottom: 1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
}

.blog-content h4 {
  font-size: 1.25rem;
  line-height: 1.75rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.blog-content h5 {
  font-size: 1.125rem;
  line-height: 1.75rem;
  margin-top: 1.25rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.blog-content h6 {
  font-size: 1rem;
  line-height: 1.5rem;
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
}

.blog-content p {
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.75;
}

.blog-content strong, .blog-content b {
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
}

.blog-content em, .blog-content i {
  font-style: italic;
}

.blog-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background-color: rgba(255, 255, 255, 0.02);
}

.blog-content th, 
.blog-content td {
  padding: 0.75rem 1rem;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.blog-content th {
  background-color: rgba(255, 255, 255, 0.08);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
}

.blog-content tr:nth-child(even) {
  background-color: rgba(255, 255, 255, 0.03);
}

.blog-content hr {
  border: 0;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.15);
  margin: 2.5rem 0;
}

.blog-content blockquote {
  background-color: rgba(255, 255, 255, 0.03);
  padding: 1.25rem;
  border-radius: 0.375rem;
  border-left: 4px solid var(--color-primary-500, #4f46e5);
  margin: 1.5rem 0;
  font-style: italic;
  color: rgba(255, 255, 255, 0.85);
}

.blog-content blockquote p:last-child {
  margin-bottom: 0;
}

.blog-content pre {
  background-color: rgba(0, 0, 0, 0.4);
  padding: 1.25rem;
  border-radius: 0.375rem;
  overflow: auto;
  margin: 1.5rem 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.blog-content code {
  background-color: rgba(0, 0, 0, 0.3);
  padding: 0.2rem 0.4rem;
  border-radius: 0.25rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.875em;
  color: rgba(255, 255, 255, 0.9);
}

.blog-content ul {
  list-style-type: disc;
  margin: 1.5rem 0;
  padding-left: 2rem;
}

.blog-content ol {
  list-style-type: decimal;
  margin: 1.5rem 0;
  padding-left: 2rem;
}

.blog-content ul ul,
.blog-content ol ol,
.blog-content ul ol,
.blog-content ol ul {
  margin: 0.5rem 0;
}

.blog-content li {
  margin-bottom: 0.5rem;
  padding-left: 0.5rem;
}

.blog-content ul ul {
  list-style-type: circle;
}

.blog-content ul ul ul {
  list-style-type: square;
}

.blog-content ol ol {
  list-style-type: lower-alpha;
}

.blog-content ol ol ol {
  list-style-type: lower-roman;
}

.blog-content ul.custom-icon-list {
  list-style-type: none;
}

.blog-content ul.custom-icon-list li {
  position: relative;
  padding-left: 1.5rem;
}

.blog-content ul.custom-icon-list li:before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--color-primary-400, #6366f1);
}

.blog-content img {
  max-width: 100%;
  height: auto;
  border-radius: 0.375rem;
  margin: 2rem auto;
  display: block;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.blog-content figure {
  margin: 2rem 0;
}

.blog-content figcaption {
  text-align: center;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 0.75rem;
  font-style: italic;
}

.blog-content a {
  color: var(--color-primary-400, #6366f1);
  text-decoration: none;
  transition: all 0.2s;
}

.blog-content a:hover {
  text-decoration: underline;
}

.blog-content sup, 
.blog-content sub {
  font-size: 75%;
  line-height: 0;
}

.blog-content sup {
  vertical-align: super;
}

.blog-content sub {
  vertical-align: sub;
}

.blog-content mark {
  background-color: rgba(var(--color-primary-500-rgb, 79, 70, 229), 0.2);
  padding: 0.1em 0.2em;
  border-radius: 0.125rem;
}

.blog-content del {
  text-decoration: line-through;
  color: rgba(255, 255, 255, 0.6);
}

.blog-content ins {
  text-decoration: underline;
  color: var(--color-primary-400, #6366f1);
}

.blog-content abbr {
  border-bottom: 1px dotted rgba(255, 255, 255, 0.5);
  cursor: help;
}

.blog-content .note,
.blog-content .warning,
.blog-content .tip,
.blog-content .info {
  padding: 1.25rem;
  border-radius: 0.375rem;
  margin: 1.5rem 0;
  border-left: 4px solid;
}

.blog-content .note {
  background-color: rgba(59, 130, 246, 0.1);
  border-left-color: #3b82f6;
}

.blog-content .warning {
  background-color: rgba(239, 68, 68, 0.1);
  border-left-color: #ef4444;
}

.blog-content .tip {
  background-color: rgba(16, 185, 129, 0.1);
  border-left-color: #10b981;
}

.blog-content .info {
  background-color: rgba(139, 92, 246, 0.1);
  border-left-color: #8b5cf6;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style-type: none;
  padding: 0;
  margin: 0;
  gap: 0.3rem;
  flex-wrap: wrap;
  max-width: 100%;
}

.pagination li {
  display: inline-block;
  margin: 0 0 0.3rem 0;
}

.pagination li a,
.pagination li span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 2rem;
  padding: 0 0.5rem;
  border-radius: 0.375rem;
  font-size: 0.815rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  background-color: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.pagination li a:hover {
  background-color: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.pagination li.active span,
.pagination li.active a {
  background-color: var(--color-primary-600, #4f46e5);
  color: #ffffff;
  border: 1px solid var(--color-primary-700, #4338ca);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  font-weight: 600;
}

.pagination li.disabled span,
.pagination li.disabled a {
  background-color: rgba(255, 255, 255, 0.02);
  color: rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.05);
  cursor: not-allowed;
  pointer-events: none;
  box-shadow: none;
}

.pagination-ellipsis span {
  min-width: 1.5rem !important;
  background-color: transparent !important;
  border-color: transparent !important;
}

.pagination-first,
.pagination-prev,
.pagination-next,
.pagination-last {
  font-size: 0.75rem;
}

.loader {
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  border-top: 3px solid var(--color-primary-500, #4f46e5);
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
}

.grid.grid-cols-1 {
  transition: opacity 0.3s ease;
}

.grid.grid-cols-1.loading {
  opacity: 0.6;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.article-loading {
  animation: fadeIn 0.4s ease-out forwards;
}

.grid.grid-cols-1.md\:grid-cols-2.gap-8.mb-12 article {
  height: 100%;
  display: flex;
}

.grid.grid-cols-1.md\:grid-cols-2.gap-8.mb-12 article .glass-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}

.grid.grid-cols-1.md\:grid-cols-2.gap-8.mb-12 article .relative.overflow-hidden.aspect-video {
  width: 100%;
  height: auto;
  min-height: 220px;
}

.grid.grid-cols-1.md\:grid-cols-2.gap-8.mb-12 article .relative.overflow-hidden.aspect-video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
}

.grid.grid-cols-1.md\:grid-cols-2.gap-8.mb-12 article:hover .relative.overflow-hidden.aspect-video img {
  transform: scale(1.05);
}

.grid.grid-cols-1.md\:grid-cols-2.gap-8.mb-12 article .p-5 {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.grid.grid-cols-1.md\:grid-cols-2.gap-8.mb-12 article .text-light-300.mb-4 {
  flex-grow: 1;
}

@media (max-width: 768px) {
  .grid.grid-cols-1.md\:grid-cols-2.gap-8.mb-12 article {
    margin-bottom: 2rem;
  }
  
  .grid.grid-cols-1.md\:grid-cols-2.gap-8.mb-12 article .relative.overflow-hidden.aspect-video {
    min-height: 180px;
  }
}

@media (min-width: 1024px) {
  .grid.grid-cols-1.md\:grid-cols-2.gap-8.mb-12 article .relative.overflow-hidden.aspect-video {
    min-height: 240px;
  }
} 