/*
 Theme Name: Fintech 360
 Theme URI: https://elementor.com/
 Description: Theme For Fintech 360
 Author: Webpoint
 Template: hello-elementor
 Version: 1.0.4
 Text Domain: hello-elementor-child
*/

/* Finexplore Archive Styles */
.finexplore-archive {
    background-color: #fdfdfd;
    min-height: 100vh;
  }
  
  .elementor-11 .elementor-element.elementor-element-beec663 .tpg-el-main-wrapper .tpg-el-image-wrap img{
  border-radius:12px !important;
  padding: 0px 12px 12px 12px !important;
  }
  
  /* Container */
  .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  /* Category Navigation Section */
  .category-nav-section {
    background-color: #f4f6f5;
    border-bottom: 1px solid #d9d9d9;
    padding: 20px 0;
  }
  
  .category-nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
  }
  
  .category-toggles {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
  }
  
  .category-toggle {
    color: #000000;
    text-decoration: none;
    font-weight: 400;
    font-size: 16px;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
  }
  
  .category-toggle:hover,
  .category-toggle.active {
    color: #6a389e;
    border-bottom-color: #6a389e;
    font-weight: 500;
  }
  
  /* Search Wrapper */
  .search-wrapper {
    flex-shrink: 0;
  }
  
  .search-input-wrapper {
    position: relative;
    width: 280px;
  }
  
  .search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #d0d5dd;
    width: 16px;
    height: 16px;
  }
  
  .search-field {
    width: 100%;
    padding: 12px 16px 12px 40px;
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    background-color: #ffffff;
    font-size: 14px;
    color: #000000;
  }
  
  .search-field::placeholder {
    color: #d0d5dd;
  }
  
  .search-field:focus {
    outline: none;
    border-color: #6a389e;
    box-shadow: 0 0 0 3px rgba(106, 56, 158, 0.1);
  }
  
  /* Main Content */
  .main-content {
    padding: 40px 0;
  }
  
  /* Featured Post Section */
  .featured-post-section {
    margin-bottom: 60px;
  }
  
  .featured-post-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
  }
  
  .featured-image {
    width: 100%;
  }
  
  .featured-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
  }
  
  .featured-content {
    padding: 20px 0;
  }
  
  .featured-categories {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
  }
  
  .category-badge {
    background-color: #f2f4f7;
    color: #000000;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
  }
  
  .category-badge.small {
    padding: 4px 8px;
    font-size: 11px;
  }
  
  .featured-title {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
    color: #000000;
  }
  
  .featured-title a {
    color: inherit;
    text-decoration: none;
  }
  
  .featured-title a:hover {
    color: #6a389e;
  }
  
  .featured-excerpt {
    font-size: 18px;
    line-height: 1.6;
    color: #000000;
    margin-bottom: 20px;
  }
  
  .featured-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #d0d5dd;
    font-size: 14px;
  }
  
  .calendar-icon {
    width: 16px;
    height: 16px;
  }
  
  /* Blog Posts Grid */
  .blog-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
    margin-bottom: 60px;
  }
  
  .blog-card {
    background-color: #ffffff;
    border: 1px solid #d9d9d9;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
  }
  
  .blog-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
  }
  
  .blog-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
  }
  
  .card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
  }
  
  .blog-card:hover .card-img {
    transform: scale(1.05);
  }
  
  .blog-card-content {
    padding: 24px;
  }
  
  .card-categories {
    margin-bottom: 12px;
  }
  
  .card-title {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 12px;
    color: #000000;
  }
  
  .card-title a {
    color: inherit;
    text-decoration: none;
  }
  
  .card-title a:hover {
    color: #6a389e;
  }
  
  .card-excerpt {
    font-size: 14px;
    line-height: 1.5;
    color: #000000;
    margin-bottom: 16px;
  }
  
  .card-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #d0d5dd;
    font-size: 12px;
  }
  
  /* Pagination */
  .pagination-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 40px;
  }
  
  .page-numbers {
    display: flex;
    list-style: none;
    gap: 8px;
    margin: 0;
    padding: 0;
  }
  
  .page-numbers li {
    margin: 0;
  }
  
  .page-numbers a,
  .page-numbers span {
    display: block;
    padding: 12px 16px;
    color: #000000;
    text-decoration: none;
    border: 1px solid #d9d9d9;
    border-radius: 6px;
    transition: all 0.3s ease;
  }
  
  .page-numbers a:hover,
  .page-numbers .current {
    background-color: #6a389e;
    color: #ffffff;
    border-color: #6a389e;
  }
  
  /* No Posts */
  .no-posts {
    text-align: center;
    padding: 60px 20px;
    color: #000000;
  }
  
  .no-posts h2 {
    font-size: 24px;
    margin-bottom: 12px;
  }
  
  /* Mobile Responsive */
  @media (max-width: 768px) {
    .container {
      padding: 0 16px;
    }
  
    .category-nav-wrapper {
      flex-direction: column;
      gap: 16px;
      align-items: stretch;
    }
  
    .category-toggles {
      gap: 20px;
      justify-content: flex-start;
      overflow-x: auto;
      padding-bottom: 8px;
      white-space: nowrap;
	  width: 100% !important;
    }
  
    .category-toggle {
      flex-shrink: 0;
      font-size: 14px;
    }
  
    .search-input-wrapper {
      width: 100%;
    }
  
    .featured-post-grid {
      grid-template-columns: 1fr;
      gap: 24px;
    }
  
    .featured-img {
      height: 250px;
    }
  
    .featured-title {
      font-size: 28px;
    }
  
    .featured-excerpt {
      font-size: 16px;
    }
  
    .blog-posts-grid {
      grid-template-columns: 1fr;
      gap: 20px;
    }
  
    .blog-card-content {
      padding: 20px;
    }
  
    .main-content {
      padding: 24px 0;
    }
  
    .featured-post-section {
      margin-bottom: 40px;
    }
  }
  
  @media (max-width: 480px) {
    .category-toggles {
      gap: 16px;
	  width: 100% !important;
    }
	
}
  
    .featured-title {
      font-size: 24px;
    }
  
    .featured-excerpt {
      font-size: 14px;
    }
  
    .card-title {
      font-size: 16px;
    }
  
    .blog-card-content {
      padding: 16px;
    }
  }
  
  /* Contact Form 7 Custom Styling */
.wpcf7-form {
  max-width: 400px;
  margin: 0 auto;
  padding: 20px;
}

.wpcf7-form label {
  display: block;
  font-size: 14px;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.8);
  margin-bottom: 12px; /* increased spacing */
  margin-top: 16px;
}

.wpcf7-form label:first-child {
  margin-top: 0;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 16px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 6px;
  background-color: #ffffff;
  font-size: 14px;
  color: #000000;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  margin-bottom: 16px; 
  margin-top: 10px;
}

.wpcf7-form input[type="text"]::placeholder,
.wpcf7-form input[type="email"]::placeholder,
.wpcf7-form textarea::placeholder {
  color: rgba(0, 0, 0, 0.4);
}

.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form textarea:focus {
  outline: none;
  border-color: #6a389e;
  box-shadow: 0 0 0 3px rgba(106, 56, 158, 0.1);
}

.wpcf7-form textarea {
  min-height: 120px;
  resize: vertical;
}

.wpcf7-form input[type="submit"] {
  background-color: #8b5cf6;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease;
  margin-top: 16px;
  min-width: 80px;
}

.wpcf7-form input[type="submit"]:hover {
  background-color: #7c3aed;
  transform: translateY(-1px);
}

.wpcf7-form input[type="submit"]:active {
  transform: translateY(0);
}

/* Validation styling */
.wpcf7-not-valid {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
}

.wpcf7-validation-errors,
.wpcf7-mail-sent-ng,
.wpcf7-mail-sent-ok {
  border: none !important;
  padding: 12px 16px;
  border-radius: 6px;
  margin: 16px 0;
  font-size: 14px;
}

.wpcf7-validation-errors,
.wpcf7-mail-sent-ng {
  background-color: #fef2f2;
  color: #dc2626;
  border-left: 4px solid #dc2626;
}

.wpcf7-mail-sent-ok {
  background-color: #f0fdf4;
  color: #16a34a;
  border-left: 4px solid #16a34a;
}

/* Remove default CF7 styling */
.wpcf7-form p {
  margin: 0;
}

/* Responsive adjustments */
@media (max-width: 480px) {
  .wpcf7-form {
    padding: 16px !important;
    max-width: 100% !important;
  }
  
  .wpcf7-form input[type="text"],
  .wpcf7-form input[type="email"],
  .wpcf7-form textarea {
    padding: 8px 12px !important;
  }
  
  .wpcf7-form .checkbox-submit-row {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
  }
  
  .wpcf7-form input[type="submit"] {
    width: 100% !important;
  }
}

@media (min-width: 1200px) {
    .page-header .entry-title, .site-footer .footer-inner, .site-footer:not(.dynamic-footer), .site-header .header-inner, .site-header:not(.dynamic-header), body:not([class*=elementor-page-]) .site-main {
        max-width: 1280px !important;
    }
}

@media only screen and (width: 1024px)  {
        .page-header .entry-title, .site-footer .footer-inner, .site-footer:not(.dynamic-footer), .site-header .header-inner, .site-header:not(.dynamic-header), body:not([class*=elementor-page-]) .site-main {
        max-width: 100%!important;
	}}


@media only screen and (min-width: 769px) and (max-width: 1200px) {
  .page-header .entry-title,
  .site-footer .footer-inner,
  .site-footer:not(.dynamic-footer),
  .site-header .header-inner,
  .site-header:not(.dynamic-header),
  body:not([class*=elementor-page-]) .site-main {
    max-width: 1280px !important;
  }
}