/**
 * Theme Name:     Hello Elementor Child
 * Author:         Elementor Team
 * Template:       hello-elementor
 * Text Domain:	   hello-elementor-child
 * Description:    Hello Elementor is a lightweight and minimalist WordPress theme
 */

/* ====================================== 
    CASE STUDIES – COMPLETE  CSS
====================================== */
/* ===== Wrapper ===== */
.naveck-case-wrapper {
    max-width: 1280px;
    margin: 0 auto;
}

/* ===== Card ===== */
.naveck-case-card {
    display: flex;
    gap: 40px;
    background: #ffffff;
    border: 1px solid #eaeef3;
    border-radius: 16px;
    padding: 10px;
    align-items: center;
}

/* ===== Case Image Wrapper ===== */
.case-image {
    flex: 0 0 620px;
    /* desktop exact width */
    max-width: 620px;
}

/* Maintain 620x427 aspect ratio */
.case-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 620 / 427;
    object-fit: cover;
    display: block;
    border-radius: 12px;
}

/* ===== Responsive ===== */
@media (max-width: 1199px) {
    .case-image {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 991px) {
    .naveck-case-card {
        flex-direction: column;
    }

    .case-image {
        flex: 100%;
        max-width: 100%;
    }

    .case-image img {
        aspect-ratio: 620 / 427;
        /* keep ratio on mobile */
    }
}

/* ===== Content ===== */
.case-content {
    flex: 1;
}

.case-content h3 {
    font-size: 26px;
    line-height: 1.3;
    margin: 0 0 10px;
    color: #0f172a;
}

.case-meta {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 16px;
}

.case-content p {
    font-size: 16px;
    line-height: 1.7;
    color: #475569;
    margin-bottom: 24px;
}

/* ====================================== 
    VIEW PROJECT BUTTON (FINAL) 
    ====================================== */
/* View Project Button – ONLY COLOR LOGIC */
.case-btn {
    background-color: #4374BA !important;
    color: #ffffff !important;
    border: 1px solid #4374BA !important;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-decoration: none !important;
    /* underline remove */
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 600;
}

/* Hover State (Exactly like second button in SS) */
.case-btn:hover {
    background-color: transparent !important;
    color: #4374BA !important;
    border-color: #4374BA !important;
}

/* ====================================== 
    PAGINATION 
    ====================================== */
.naveck-pagination-wrap {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 60px 0 20px;
}

.naveck-pagination {
    display: flex;
    gap: 10px;
}

.naveck-pagination a,
.naveck-pagination span {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    text-decoration: none;
    color: #334155;
}

.naveck-pagination .current {
    background-color: #4374BA;
    color: #ffffff;
    border-color: #4374BA;
}

/* ====================================== 
    RESPONSIVE 
    ====================================== */
@media (max-width: 991px) {
    .naveck-case-card {
        flex-direction: column;
    }

    .case-image {
        flex: 100%;
    }
}

/* ===== Section ===== */
.section-heading {
    font-size: 28px;
    margin-bottom: 30px;
}

/* ====================================== 
    CASE STUDIES – COMPLETE CSS END
====================================== */


/* ======================================
   BLOG PAGE – FINAL STABLE VERSION
   Only affects [naveck_blog_page]
====================================== */

/* ===== Section Heading ===== */
.section-heading {
    font-size: 28px;
    text-align: center;
    margin-bottom: 40px;
}

/* ======================================
   FEATURED BLOG SLIDER
====================================== */

.naveck-featured-slider {
    max-width: 1280px;
    margin: 0 auto 80px;
    padding: 0 15px;
    overflow: hidden;
}

/* Swiper base fixes */
.naveck-featured-slider .swiper-wrapper {
    display: flex;
}

.naveck-featured-slider .swiper-slide {
    width: 100%;
    flex-shrink: 0;
}

/* 🔥 FORCE GRID LAYOUT (MOST IMPORTANT) */
.naveck-featured-slider .swiper-slide.featured-slide {
    display: grid !important;
    grid-template-columns: 1fr 520px;
    gap: 40px;
    align-items: center;
    background: #ffffff;
    border: 1px solid #eaeef3;
    border-radius: 20px;
    padding: 30px;
}

/* Left Content */
.featured-content {
    max-width: 100%;
}

.featured-content h3 {
    font-size: 32px;
    line-height: 1.3;
    margin-bottom: 12px;
}

.featured-content p {
    font-size: 16px;
    color: #475569;
    margin-bottom: 24px;
}
.featured-content a {
    text-decoration: none !important;
}

/* Meta */
.blog-meta {
    font-size: 13px;
    color: #94a3b8;
    margin-bottom: 12px;
    display: flex;
    gap: 8px;
}

/* Right Image */
.featured-image {
    width: 100%;
}

.featured-image img {
    width: 100%;
    height: 100%;
    max-height: 360px;
    object-fit: cover;
    border-radius: 16px;
}

/* Pagination */
.featured-slider .swiper-pagination {
    position: static;
    margin-top: 30px;
}

/* ======================================
   ALL BLOG POSTS GRID
====================================== */

.naveck-blog-list {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 15px 80px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-card {
    background: #ffffff;
    border: 1px solid #eaeef3;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Thumbnail */
.blog-thumb img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

/* Card Content */
.blog-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-content h4 {
    font-size: 18px;
    margin-bottom: 12px;
}

.blog-content h4 a {
    color: #0f172a;
    text-decoration: none;
}

.blog-content h4 a:hover {
    color: #4374BA;
}

.blog-content p {
    font-size: 14px;
    color: #64748b;
    margin-bottom: auto;
}

/* ======================================
   BUTTONS
====================================== */

.blog-btn {
    color: #4374BA !important;
    font-family: "Poppins";
    font-size: 16px;
}
.blog-btn:hover {
    color: #4374BA;
}
.load-more-btn {
    background: #4374BA;
    color: #ffffff;
    border: 1px solid #4374BA;
    padding: 12px 28px;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    cursor: pointer;
    display: inline-block;
}

.load-more-btn:hover {
    background: transparent;
    color: #4374BA;
}

.load-more-btn {
    display: block;
    margin: 50px auto 0;
}

/* ======================================
   RESPONSIVE
====================================== */

@media (max-width: 991px) {
    .naveck-featured-slider .swiper-slide.featured-slide {
        grid-template-columns: 1fr;
    }

    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}





/* Wrapper */
.naveck-swiper {
  max-width: 1280px;
  margin: auto;
  /* padding: 50px 0 !important; */
  padding-bottom: 50px !important;
}

.swiper-slide {
  height: auto;
  display: flex;
}

/* Card */
.naveck-card {
  background: #fff;
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 4px 20px 0 rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
}

/* Content */
.naveck-content {
  position: relative;
  /* background: #f9fafb; */
  border-radius: 16px;
  /* padding: 28px; */
  margin-bottom: 28px;
}

.naveck-content p {
  font-style: italic;
  color: #374151;
  line-height: 1.8;
  margin: 0;
}

/* ✅ Quote icon — BOTTOM RIGHT (FIGMA LIKE) */
.quote-icon {
  position: absolute;
  bottom: 16px;
  right: 20px;
  font-size: 48px;
  color: #e5e7eb;
  font-family: serif;
}

/* Author Row */
.naveck-author {
  display: grid;
  grid-template-columns: auto 1fr auto; /* 3 columns */
  align-items: center;
  gap: 16px;
}

/* ✅ IMAGE RADIUS FIX */
.naveck-avatar {
  width: 52px;
  height: 52px;
  border-radius: 12px;   /* THIS WAS MISSING */
  object-fit: cover;
}

.naveck-author h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}


/* Name block */
.author-info h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #111827;
}

.author-info span {
  font-size: 14px;
  color: #6b7280;
}

.naveck-author img {
    border-radius: 12px;
}

/* ✅ SVG QUOTE ICON (RIGHT SIDE) */
.author-quote img {
  width: 28px;
  height: auto;
  opacity: 0.4; /* figma jaisa soft */
  border-radius: unset !important;
}

.naveck-author span {
  font-size: 14px;
  color: #6b7280;
}

.page-id-39 .swiper-slide.swiper-slide-active {
    margin: 0 15px !important;
    width: 590px !important;

}

/* ✅ Pagination EXACT FIGMA */
.swiper-pagination {
  position: relative;
  margin-top: 24px;
  text-align: center;
}

.swiper-pagination-bullet {
  width: 6px;
  height: 6px;
  background: #d1d5db;
  opacity: 1;
  margin: 0 5px !important;
}

.swiper-pagination-bullet-active {
  background: #2563eb;
}
