/* BLOG PAGE */

.blog-page {
  background: #f8f9fc;
}

/* Hero Section */
.blog-hero {
  background: linear-gradient(135deg, #0b2f59 0%, #0a3c72 100%);
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}

.blog-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  font-size: 48px;
  font-weight: 900;
  color: white;
  margin-bottom: 15px;
}

.hero-content > p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 35px;
}

.hero-search {
  max-width: 600px;
  margin: 0 auto;
  background: white;
  border-radius: 50px;
  padding: 8px 8px 8px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.hero-search svg {
  color: #6c757d;
  flex-shrink: 0;
}

.hero-search input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 15px;
  color: #0b2f59;
  background: transparent;
}

.hero-search input::placeholder {
  color: #9ca3af;
}

.hero-search button {
  background: linear-gradient(135deg, #e2a02b, #cf8507);
  color: white;
  border: none;
  border-radius: 50px;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.hero-search button:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(230, 160, 27, 0.4);
}

/* Categories */
.blog-categories {
  padding: 30px 0;
  background: white;
  border-bottom: 1px solid #e5e9f2;
}

.categories-wrapper {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.category-btn {
  background: white;
  border: 2px solid #e5e9f2;
  color: #6c757d;
  border-radius: 50px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.category-btn svg {
  width: 18px;
  height: 18px;
}

.category-btn:hover {
  border-color: #0a3c72;
  color: #0a3c72;
  transform: translateY(-2px);
}

.category-btn.active {
  background: #0a3c72;
  border-color: #0a3c72;
  color: white;
}

/* Featured Post */
.featured-post {
  padding: 60px 0;
}

.featured-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.featured-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.featured-image {
  position: relative;
  height: 100%;
  min-height: 400px;
}

.featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: linear-gradient(135deg, #e2a02b, #cf8507);
  color: white;
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.featured-content {
  padding: 40px;
}

.post-meta {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}

.post-meta .category {
  background: #e8f4ff;
  color: #0a3c72;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.post-meta .date {
  color: #6c757d;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
}

.featured-content h2 {
  font-size: 32px;
  font-weight: 900;
  color: #0b2f59;
  margin-bottom: 15px;
  line-height: 1.3;
}

.featured-content > p {
  font-size: 16px;
  color: #6c757d;
  line-height: 1.7;
  margin-bottom: 25px;
}

.post-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 0;
  border-top: 1px solid #e5e9f2;
  border-bottom: 1px solid #e5e9f2;
  margin-bottom: 25px;
}

.author-avatar svg {
  width: 50px;
  height: 50px;
}

.author-info {
  display: flex;
  flex-direction: column;
}

.author-info strong {
  font-size: 15px;
  font-weight: 900;
  color: #0b2f59;
}

.author-info span {
  font-size: 13px;
  color: #6c757d;
}

.btn-read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #e2a02b, #cf8507);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 13px 24px;
  font-size: 15px;
  font-weight: 900;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-read-more:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(230, 160, 27, 0.4);
  color: white;
}

/* Blog Grid */
.blog-grid {
  padding: 60px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 36px;
  font-weight: 900;
  color: #0b2f59;
  margin-bottom: 10px;
}

.section-header p {
  font-size: 16px;
  color: #6c757d;
}

/* Blog Card */
.blog-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  margin-bottom: 30px;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.blog-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog-card:hover .blog-image img {
  transform: scale(1.1);
}

.blog-category {
  position: absolute;
  top: 15px;
  left: 15px;
  background: #0a3c72;
  color: white;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-category.market {
  background: #17a2b8;
}

.blog-category.legal {
  background: #6c757d;
}

.blog-category.success {
  background: #28a745;
}

.blog-content {
  padding: 25px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.blog-date {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: #6c757d;
  font-weight: 600;
}

.blog-read-time {
  font-size: 13px;
  color: #9ca3af;
  font-weight: 600;
}

.blog-content h3 {
  font-size: 20px;
  font-weight: 900;
  color: #0b2f59;
  margin-bottom: 12px;
  line-height: 1.4;
}

.blog-content > p {
  font-size: 14px;
  color: #6c757d;
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}

.blog-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #0a3c72;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  transition: all 0.3s ease;
}

.blog-link:hover {
  color: #e6a01b;
  gap: 10px;
}

/* Load More */
.load-more-wrapper {
  text-align: center;
  margin-top: 30px;
}

.btn-load-more {
  background: white;
  border: 2px solid #0a3c72;
  color: #0a3c72;
  border-radius: 8px;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-load-more:hover {
  background: #0a3c72;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(10, 60, 114, 0.3);
}

/* Newsletter Section */
.newsletter-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #0b2f59 0%, #0a3c72 100%);
  position: relative;
  overflow: hidden;
}

.newsletter-section::before {
  content: '';
  position: absolute;
  bottom: -50%;
  left: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.newsletter-card {
  text-align: center;
  position: relative;
  z-index: 1;
}

.newsletter-icon {
  margin-bottom: 25px;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.newsletter-card h2 {
  font-size: 36px;
  font-weight: 900;
  color: white;
  margin-bottom: 12px;
}

.newsletter-card > p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 30px;
}

.newsletter-form {
  max-width: 550px;
  margin: 0 auto 15px;
  display: flex;
  gap: 12px;
}

.newsletter-form input {
  flex: 1;
  padding: 15px 20px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  font-size: 15px;
  color: white;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.newsletter-form input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.15);
}

.newsletter-form button {
  background: linear-gradient(135deg, #e2a02b, #cf8507);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 15px 32px;
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.newsletter-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(230, 160, 27, 0.4);
}

.newsletter-note {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .blog-hero {
    padding: 60px 0 50px;
  }

  .hero-content h1 {
    font-size: 40px;
  }

  .hero-content > p {
    font-size: 16px;
  }

  .featured-image {
    min-height: 300px;
  }

  .featured-content {
    padding: 30px;
  }

  .featured-content h2 {
    font-size: 28px;
  }

  .section-header h2 {
    font-size: 32px;
  }

  .newsletter-card h2 {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  .blog-hero {
    padding: 50px 0 40px;
  }

  .hero-content h1 {
    font-size: 32px;
  }

  .hero-content > p {
    font-size: 15px;
    margin-bottom: 25px;
  }

  .hero-search {
    padding: 6px 6px 6px 15px;
  }

  .hero-search button {
    padding: 10px 20px;
    font-size: 14px;
  }

  .categories-wrapper {
    gap: 8px;
  }

  .category-btn {
    padding: 10px 18px;
    font-size: 13px;
  }

  .featured-image {
    min-height: 250px;
  }

  .featured-content {
    padding: 25px;
  }

  .featured-content h2 {
    font-size: 24px;
  }

  .featured-content > p {
    font-size: 15px;
  }

  .section-header h2 {
    font-size: 28px;
  }

  .blog-grid {
    padding: 40px 0;
  }

  .newsletter-section {
    padding: 60px 0;
  }

  .newsletter-card h2 {
    font-size: 28px;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form button {
    width: 100%;
  }
}

@media (max-width: 576px) {
  .blog-hero {
    padding: 40px 0 30px;
  }

  .hero-content h1 {
    font-size: 28px;
  }

  .hero-content > p {
    font-size: 14px;
  }

  .hero-search input {
    font-size: 14px;
  }

  .category-btn {
    padding: 9px 16px;
    font-size: 12px;
  }

  .category-btn svg {
    width: 16px;
    height: 16px;
  }

  .featured-post {
    padding: 40px 0;
  }

  .featured-content {
    padding: 20px;
  }

  .featured-content h2 {
    font-size: 22px;
  }

  .featured-content > p {
    font-size: 14px;
  }

  .btn-read-more {
    padding: 12px 20px;
    font-size: 14px;
  }

  .section-header {
    margin-bottom: 35px;
  }

  .section-header h2 {
    font-size: 24px;
  }

  .section-header p {
    font-size: 14px;
  }

  .blog-image {
    height: 200px;
  }

  .blog-content {
    padding: 20px;
  }

  .blog-content h3 {
    font-size: 18px;
  }

  .btn-load-more {
    padding: 12px 28px;
    font-size: 14px;
  }

  .newsletter-section {
    padding: 50px 0;
  }

  .newsletter-icon svg {
    width: 50px;
    height: 50px;
  }

  .newsletter-card h2 {
    font-size: 24px;
  }

  .newsletter-card > p {
    font-size: 14px;
  }

  .newsletter-form input,
  .newsletter-form button {
    padding: 13px 18px;
    font-size: 14px;
  }
}
