/* Blog Page Styles - Exact from Design */

/* Global Variables */
:root {
  --color-primary: #3b82f6;
  --color-text-light: #ffffff;
  --color-text-medium: #afbcd5;
  --color-text-dark: #10182c;
  --color-text-muted: #7c7c7c;
  --bg-dark-gradient: linear-gradient(180deg, #0a0e1a 0%, #0f172b 50%, #1e3a8a 100%);
  --bg-card: #121212;
  --bg-footer: linear-gradient(180deg, rgba(16, 24, 44, 0.3) 0%, #10182c 100%);
  --font-family-inter: 'Inter', sans-serif;
  --font-family-jakarta: 'Plus Jakarta Sans', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg-dark-gradient);
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--color-text-light);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-wrapper {
  max-width: 1440px;
  margin: 0 auto;
  position: relative;
}

.container {
  width: 100%;
  max-width: 1216px;
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-text-light);
}

.btn-link {
  background: none;
  padding: 8px 0;
  color: #e2e2e2;
  font-size: 12px;
  font-weight: 500;
}

.btn-link img {
  width: 12px;
  height: 12px;
}

/* CSS for section section:Header */
.site-header-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 2147483640;
  background: linear-gradient(180deg, rgba(15, 23, 43, 0.95) 0%, rgba(15, 23, 43, 0.8) 100%);
  transition: all 0.3s ease;
}

.announcement-bar-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  padding-top: 14px;
  padding-bottom: 29px;
}

.announcement-bar {
  display: flex;
  width: min(1440px, 95vw);
  padding: 12px 20px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border-radius: 20px;
  background: #FFF;
  color: var(--color-text-dark);
  position: relative;
}

.announcement-text {
  font-family: var(--font-family-inter);
  font-size: clamp(12px, 2.5vw, 14px);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.2px;
  margin: 0;
}

.announcement-button {
  display: flex;
  align-items: center;
  gap: 4px;
  background-color: var(--color-primary);
  color: var(--color-text-light);
  padding: 8px 12px 8px 16px;
  border-radius: 999px;
  font-family: var(--font-family-inter);
  font-size: clamp(10px, 2vw, 12px);
  font-weight: 500;
  line-height: 16px;
  white-space: nowrap;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
}

.announcement-button:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.close-button {
  display: flex;
  width: 18px;
  height: 18px;
  justify-content: center;
  align-items: center;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
}
/* Landing header parity */
.main-navbar {
  width: 100%;
  max-width: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px clamp(20px, 5vw, 94px);
  background-color: transparent;
  position: relative;
  z-index: 1;
  backdrop-filter: none;
}
.logo {
  display: flex;
  align-items: center;
}
.logo img {
  width: clamp(100px, 15vw, 135.727px);
  height: auto;
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  gap: clamp(16px, 3vw, 32px);
  color: var(--color-text-light);
  font-size: clamp(12px, 2vw, 14px);
  font-weight: 500;
  line-height: 20px;
  letter-spacing: -0.2px;
}
.nav-links a {
  color: var(--color-text-light);
  text-decoration: none;
  transition: color 0.2s ease;
  cursor: pointer;
}
.nav-links a:hover {
  color: #3b82f6;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 48px);
}
.btn-login {
  color: var(--color-text-light);
  font-size: clamp(14px, 2.5vw, 16px);
  font-weight: 500;
  line-height: 24px;
  letter-spacing: -0.3px;
  padding: 10px 0;
}
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  gap: 4px;
}
.hamburger-line {
  width: 24px;
  height: 2px;
  background-color: var(--color-text-light);
  transition: all 0.3s ease;
  border-radius: 2px;
}
.mobile-nav-dropdown {
  display: none !important;
  position: absolute;
  top: calc(100% + 8px);
  right: 20px;
  width: 200px;
  max-height: 80vh;
  overflow-y: auto;
  background: #0a1628 !important;
  border: 1px solid #303842;
  border-radius: 12px;
  padding: 16px 0;
  z-index: 2147483647;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.8);
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.mobile-nav-dropdown::before {
  content: '';
  position: absolute;
  top: -6px;
  right: 24px;
  width: 12px;
  height: 12px;
  background: #0a1628;
  border: 1px solid #303842;
  border-bottom: none;
  border-right: none;
  transform: rotate(45deg);
  z-index: 2147483647;
}
.mobile-nav-dropdown.active {
  display: block !important;
  opacity: 1 !important;
  transform: translateY(0);
}
.mobile-nav-dropdown a {
  display: block;
  padding: 12px 20px;
  color: var(--color-text-light);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
  border-radius: 6px;
  margin: 0 8px;
}
.mobile-nav-dropdown a:hover {
  color: #3b82f6;
  background-color: rgba(59, 130, 246, 0.1);
}
.mobile-nav-actions {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #303842;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 12px 8px 0 8px;
}

.mobile-nav-actions .btn-login,
.mobile-nav-actions .btn-primary {
  text-align: center;
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  font-size: 12px;
  transition: all 0.2s ease;
}

.mobile-nav-actions .btn-login {
  background: transparent;
  border: 1px solid #303842;
  color: var(--color-white);
}

.mobile-nav-actions .btn-login:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.mobile-nav-actions .btn-primary {
  background: #3b82f6;
  color: white;
  border: 1px solid #3b82f6;
}

.mobile-nav-actions .btn-primary:hover {
  background: #2563eb;
  border-color: #2563eb;
}

/* Match landing header button styles */
.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-text-light);
  padding: clamp(8px, 1.5vw, 10px) clamp(16px, 3vw, 20px);
  border-radius: 999px;
  font-size: clamp(14px, 2.5vw, 16px);
  font-weight: 500;
  line-height: 24px;
  letter-spacing: -0.3px;
}

/* Animated button effect parity */
.btn-animated {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}
.btn-animated::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}
.btn-animated:hover::before {
  left: 100%;
}
.btn-animated:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

/* Hover effect for logo */
.hover-glow {
  transition: opacity 0.3s ease;
}
.hover-glow:hover {
  opacity: 0.8;
}

/* Simple animation delay helpers */
.animate-delay-100 { animation-delay: 0.1s; }
.animate-delay-200 { animation-delay: 0.2s; }
.animate-delay-300 { animation-delay: 0.3s; }
.animate-delay-400 { animation-delay: 0.4s; }
.animate-delay-500 { animation-delay: 0.5s; }
@media (max-width: 1024px) {
  .main-navbar {
    padding: 20px 40px;
    position: relative;
  }
  .nav-links {
    display: none;
  }
  .nav-actions {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (max-width: 768px) {
  .announcement-bar {
    flex-direction: column;
    text-align: center;
    padding: 16px;
    gap: 12px;
  }
  .announcement-text {
    font-size: 13px;
  }
  .announcement-button {
    font-size: 11px;
    padding: 6px 10px 6px 14px;
  }
  .close-button {
    top: 8px;
    right: 8px;
    transform: none;
  }
}

@media (max-width: 480px) {
  .announcement-bar-wrapper {
    padding-top: 12px;
    padding-bottom: 20px;
  }
  .announcement-bar {
    padding: 12px;
    gap: 10px;
    width: 95vw;
  }
  .announcement-text {
    font-size: 12px;
  }
}

/* CSS for section section:Blog */
.blog-intro-section {
  text-align: center;
  padding: 80px 0;
}
.blog-intro-section h1 {
  font-size: 64px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -1.5px;
  margin-bottom: 12px;
}
.blog-intro-section p {
  font-size: 20px;
  color: var(--color-text-medium);
  max-width: 982px;
  margin: 0 auto;
  line-height: 1.5;
}

.featured-post-section {
  display: flex;
  gap: 28px;
  margin-bottom: 80px;
}
.featured-post-card {
  flex: 2;
  display: flex;
  background-color: transparent;
  border-radius: 20px;
  overflow: hidden;
}
.featured-image-wrapper {
  flex: 1;
  position: relative;
  background: linear-gradient(136deg, #062fbe 0%, #5596f3 142.77%);
  min-height: 493px;
}
.badge {
  position: absolute;
  top: 24px;
  left: 24px;
  background-color: var(--color-primary);
  color: var(--color-text-light);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 14px;
  z-index: 2;
}
.merged-image-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.merged-image-container.rocket-image {
    top: -63px;
    left: -24px;
}
.merged-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.merged-image-container div {
  object-fit: contain;
}
.featured-content {
  flex: 1;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.post-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--color-text-medium);
  margin-bottom: 8px;
}
.dot {
  width: 3px;
  height: 3px;
  background-color: #747373;
  border-radius: 50%;
}
.featured-content h2 {
  font-size: 32px;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 12px;
}
.author-info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--color-text-medium);
}
.author-avatar {
  width: 20px;
  height: 20px;
  border-radius: 50%;
}
.post-excerpt p {
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-text-medium);
  margin-bottom: 20px;
}

.subscribe-inline {
  flex: 1;
  max-width: 372px;
  padding-top: 280px; /* Approximate alignment */
}
.subscribe-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-medium);
  margin-bottom: 16px;
}
.subscribe-form {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}
.subscribe-form input {
  flex-grow: 1;
  background-color: #f5f5f5;
  border: 0.5px solid #e5e5e5;
  border-radius: 12px;
  padding: 8px 12px;
  font-size: 16px;
  color: var(--color-text-dark);
  min-width: 0;
}
.subscribe-form input::placeholder {
  color: var(--color-text-dark);
  opacity: 0.5;
}
.subscribe-form .btn {
  padding: 10px 16px;
  font-size: 14px;
}
.form-terms {
  font-size: 12px;
  color: var(--color-text-medium);
}

.blog-grid-section {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 80px;
}
.blog-card {
  background-color: transparent;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.card-image-wrapper {
  height: 340px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(136deg, #062fbe 0%, #5596f3 142.77%);
}
.partnership-bg {
    background: radial-gradient(173.07% 205.27% at 50% 50%, #c4dfff 0%, #5596f3 49.04%, #062fbe 100%);
}
.partnership-img {
    position: absolute;
    width: 68.7%;
    height: 51.3%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.card-content {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-grow: 1;
}
.card-content h3 {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.4;
}
.card-content p {
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-text-medium);
  flex-grow: 1;
}
.card-content .btn-link {
  margin-top: auto;
  align-self: flex-start;
}
.author-avatar-placeholder {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--color-primary);
}
.card-content p a {
    text-decoration: underline;
}
.card-content p strong {
    font-weight: 800;
}

@media (max-width: 1200px) {
  .featured-post-section {
    flex-direction: column;
    align-items: center;
  }
  .featured-post-card {
    flex-direction: column;
    max-width: 800px;
  }
  .subscribe-inline {
    padding-top: 0;
    max-width: 100%;
    width: 100%;
  }
}

@media (max-width: 992px) {
  .blog-grid-section {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .blog-intro-section {
    padding: 60px 0;
  }
  .blog-intro-section h1 {
    font-size: 48px;
    margin-bottom: 16px;
  }
  .blog-intro-section p {
    font-size: 18px;
    padding: 0 20px;
  }
  .blog-grid-section {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-bottom: 60px;
  }
  .featured-post-section {
    margin-bottom: 60px;
  }
  .featured-image-wrapper {
    min-height: 300px;
  }
  .featured-content {
    padding: 20px;
  }
  .featured-content h2 {
    font-size: 24px;
  }
  .card-image-wrapper {
    height: 280px;
  }
  .card-content {
    padding: 20px;
  }
  .card-content h3 {
    font-size: 18px;
  }
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }
  .main-navbar {
    padding: 16px 20px;
  }
  .logo img {
    width: 100px !important;
  }
}

@media (max-width: 480px) {
  .blog-intro-section {
    padding: 40px 0;
  }
  .blog-intro-section h1 {
    font-size: 32px;
    line-height: 1.2;
  }
  .blog-intro-section p {
    font-size: 16px;
    padding: 0 16px;
  }
  .blog-grid-section {
    gap: 24px;
    padding-bottom: 40px;
  }
  .featured-post-section {
    margin-bottom: 40px;
    gap: 20px;
  }
  .featured-image-wrapper {
    min-height: 250px;
  }
  .featured-content h2 {
    font-size: 20px;
    margin-bottom: 8px;
  }
  .post-excerpt p {
    font-size: 14px;
  }
  .card-image-wrapper {
    height: 220px;
  }
  .card-content {
    padding: 16px;
  }
  .card-content h3 {
    font-size: 16px;
  }
  .card-content p {
    font-size: 14px;
  }
  .badge {
    font-size: 12px;
    padding: 4px 10px;
  }
  .post-meta {
    font-size: 12px;
  }
  .subscribe-form {
    flex-direction: column;
    gap: 12px;
  }
  .subscribe-form .btn {
    width: 100%;
  }
  .subscribe-form input {
    width: 100%;
  }
  .subscribe-inline {
    padding-top: 0;
  }
  .pagination-wrapper {
    margin-top: 40px;
  }
  .pagination-controls {
    padding: 16px;
    gap: 12px;
    font-size: 12px;
    flex-wrap: wrap;
  }
  .pagination-controls span {
    font-size: 12px;
  }
  .pagination-controls .btn-link {
    font-size: 12px;
    padding: 6px 12px;
  }
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
}

@media (max-width: 360px) {
  .blog-intro-section {
    padding: 32px 0;
  }
  .blog-intro-section h1 {
    font-size: 28px;
  }
  .blog-intro-section p {
    font-size: 14px;
  }
  .main-navbar {
    padding: 12px 16px;
  }
  .logo img {
    width: 80px !important;
  }
  .featured-content {
    padding: 16px;
  }
  .featured-content h2 {
    font-size: 18px;
  }
  .card-content {
    padding: 12px;
  }
  .card-content h3 {
    font-size: 15px;
  }
  .card-image-wrapper {
    height: 200px;
  }
  .container {
    padding-left: 12px;
    padding-right: 12px;
  }
  .btn-primary,
  .btn-login {
    font-size: 14px;
    padding: 8px 16px;
  }
}

/* CSS for section section:Footer */
.site-footer {
  background: transparent;
  padding: 32px 0 20px;
  margin-top: 32px;
}
.footer-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
}
.footer-top .footer-main {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 410px;
}
.footer-main {
  display: flex;
  justify-content: space-between;
  gap: 32px;
}
.footer-left {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 410px;
}
.footer-logo-group {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.footer-slogan {
  font-size: 16px;
  line-height: 1.5;
}
.footer-slogan strong {
  font-weight: 800;
}
.footer-subscribe {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-subscribe .subscribe-title {
  color: var(--color-text-medium);
  font-size: 14px;
  font-weight: 500;
}
.footer-subscribe .subscribe-form {
  display: flex;
  gap: 8px;
}
.footer-subscribe .subscribe-form input {
  flex-grow: 1;
  background-color: #f5f5f5;
  border: 0.5px solid #e5e5e5;
  border-radius: 12px;
  padding: 8px 12px;
  font-size: 16px;
  color: var(--color-text-dark);
  min-width: 0;
}
.footer-subscribe .subscribe-form input::placeholder {
  color: var(--color-text-dark);
  opacity: 0.5;
}
.footer-subscribe .subscribe-form .btn {
  padding: 10px 16px;
  font-size: 14px;
}
.footer-subscribe .form-terms {
  font-size: 12px;
  color: var(--color-text-medium);
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: var(--color-text-medium);
  font-size: 14px;
}
.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-nav li {
  margin: 0;
}
.footer-nav a {
  color: var(--color-text-medium);
  font-size: 14px;
  transition: color 0.2s ease;
}
.footer-nav a:hover {
  color: var(--color-primary);
}

/* Blog post footer structure styles */
.logo-link {
  display: inline-block;
  text-decoration: none;
}
.logo-wrapper {
  display: flex;
  align-items: center;
}
.logo-text {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-text-light);
  letter-spacing: -0.5px;
}
.footer-tagline {
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-text-medium);
  margin: 0;
}
.footer-tagline strong {
  font-weight: 800;
  color: var(--color-text-light);
}
.footer-subscribe-label {
  color: var(--color-text-medium);
  font-size: 14px;
  font-weight: 500;
  margin: 0;
}
.footer-subscribe-form {
  display: flex;
  gap: 8px;
}
.footer-subscribe-input {
  flex-grow: 1;
  background-color: #f5f5f5;
  border: 0.5px solid #e5e5e5;
  border-radius: 12px;
  padding: 8px 12px;
  font-size: 16px;
  color: var(--color-text-dark);
  min-width: 0;
}
.footer-subscribe-input::placeholder {
  color: var(--color-text-dark);
  opacity: 0.5;
}
.footer-subscribe-button {
  padding: 10px 16px;
  font-size: 14px;
  white-space: nowrap;
}
.footer-terms {
  font-size: 12px;
  color: var(--color-text-medium);
  margin: 0;
}

.footer-bottom {
  border-top: none;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--color-text-muted);
}
.copyright {
  margin: 0;
  color: var(--color-text-muted);
}
.legal-links {
  display: flex;
  align-items: center;
  gap: 12px;
}
.legal-links a {
  color: var(--color-text-muted);
  transition: color 0.2s ease;
}
.legal-links a:hover {
  color: var(--color-primary);
}
.separator-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: var(--color-text-muted);
  display: inline-block;
}
.footer-legal {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-legal .dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: var(--color-text-muted);
  display: inline-block;
}

@media (max-width: 768px) {
  .footer-top {
    flex-direction: column;
    gap: 32px;
  }
  .footer-top .footer-main {
    gap: 16px;
  }
  .footer-main {
    flex-direction: column;
    gap: 32px;
  }
  .footer-left {
    gap: 24px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
  }
}

/* -------- Animations (parity with homepage, lightweight) -------- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translate3d(0, 24px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translate3d(0, -24px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes fadeInLeft {
  from { opacity: 0; transform: translate3d(-24px, 0, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translate3d(24px, 0, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1); }
}

.animate-on-scroll {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition: opacity 0.9s ease, transform 0.9s ease;
  will-change: transform, opacity;
}
.animate-on-scroll.animate-in {
  opacity: 1 !important;
  transform: translate3d(0, 0, 0) !important;
}

.animate-fade-in-up { animation: fadeInUp 0.9s ease-out both; }
.animate-fade-in-down { animation: fadeInDown 0.9s ease-out both; }
.animate-fade-in-left { animation: fadeInLeft 0.9s ease-out both; }
.animate-fade-in-right { animation: fadeInRight 0.9s ease-out both; }
.animate-scale-in { animation: scaleIn 0.8s ease-out both; }

.hover-lift {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.hover-lift:hover {
  transform: translate3d(0, -8px, 0);
  box-shadow: 0 20px 40px rgba(59, 130, 246, 0.2);
}

/* Stagger reveal for blog grid */
.blog-grid-section .blog-card {
  opacity: 0;
  transform: translate3d(0, 20px, 0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.blog-grid-section.animate-in .blog-card {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
.blog-grid-section.animate-in .blog-card:nth-child(1) { transition-delay: 0.05s; }
.blog-grid-section.animate-in .blog-card:nth-child(2) { transition-delay: 0.10s; }
.blog-grid-section.animate-in .blog-card:nth-child(3) { transition-delay: 0.15s; }
.blog-grid-section.animate-in .blog-card:nth-child(4) { transition-delay: 0.20s; }
.blog-grid-section.animate-in .blog-card:nth-child(5) { transition-delay: 0.25s; }
.blog-grid-section.animate-in .blog-card:nth-child(6) { transition-delay: 0.30s; }

.featured-post-section.animate-in .featured-post-card {
  animation: fadeInUp 0.9s ease-out both;
}

/* Pagination */
.pagination-wrapper {
  margin-top: 60px;
  display: flex;
  justify-content: center;
}

.pagination-controls {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background-color: var(--bg-card);
  border-radius: 12px;
}

.pagination-controls span {
  color: var(--color-text-medium);
  font-size: 14px;
}

.pagination-controls .btn-link {
  color: var(--color-primary);
  padding: 8px 16px;
  font-size: 14px;
}

.pagination-controls .btn-link:hover {
  text-decoration: underline;
}

/* Additional fixes for image containers */
.card-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rocket-fallback {
  width: 50% !important;
  height: auto !important;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  object-fit: contain !important;
  z-index: 2;
}

.merged-image-container .rocket-fallback {
  width: 50% !important;
  height: auto !important;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  object-fit: contain !important;
  z-index: 2;
}

/* No-posts message styles (to avoid inline styles) */
.no-posts-section {
  padding: 60px 20px;
  text-align: center;
}
.no-posts-message {
  color: #afbcd5;
  font-size: 18px;
}
.no-posts-debug {
  color: #7c7c7c;
  font-size: 14px;
  margin-top: 10px;
}

/* Footer logo sizing (remove inline style) */
.footer-logo-group .logo-svg-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}
