/* Blog list page CSS moved from resources/views/blog.blade.php */
:root {
  --primary-green: #00e65a;
  --hover-green: #248047;
  --font-family:'Raleway', sans-serif;
};


        body {
            background: #f7f7f7;
            
        }
        .fontset{
            font-family: var(--font-family);
        }

        /* HERO SECTION */
        .blog-hero {
            background: linear-gradient(to bottom, #f7f7f7, #efefef);
            padding: 80px 0 60px;
            position: relative;
            overflow: hidden;
        }
        .blog-hero h1 {
    font-size: 60px;
    font-weight: 800;
    color: #111;
    position: relative;
    display: inline-block;
    z-index: 2;
}

/* CURVE GREEN HIGHLIGHT DESIGN */
.blog-hero h1::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0px;
    transform: translateX(-50%) rotate(-1deg);
    width: 115%;
    height: 15px;
    background: #18c15e;
    border-radius: 50px;
    z-index: -1;

    /* CURVE EFFECT */
    clip-path: polygon(
        0% 65%,
        8% 55%,
        18% 60%,
        28% 48%,
        40% 58%,
        52% 45%,
        66% 57%,
        78% 50%,
        90% 60%,
        100% 52%,
        100% 100%,
        0% 100%
    );
}
        .blog-hero h1 {
            font-size: 60px;
            font-weight: 800;
            color: #111;
            position: relative;
            display: inline-block;
        }

        

        .blog-hero p {
            font-size: 22px;
            color: #666;
            max-width: 700px;
            margin: 25px auto 0;
            line-height: 1.7;
        }

        .hero-shape-left,
        .hero-shape-right {
            position: absolute;
            /*width: 120px;*/
            opacity: 1;
            width: 17%
        }

        .hero-shape-left {
            left: 5%;
            top: 25%;
        }

        .hero-shape-right {
            right: 5%;
            top: 12%;
        }

        /* FILTER BUTTONS */
        .blog-filter {
            background: #fff;
            padding: 35px 0 20px;
        }

        .filter-btn {
            border: none;
            background: transparent;
            padding: 12px 22px;
            border-radius: 10px;
            color: #666;
            font-weight: 600;
            transition: 0.3s;
            margin: 5px;
        }

        .filter-btn.active,
        .filter-btn:hover {
            background: #16c35f;
            color: #fff;
        }

        

        /* FOOTER TEXT */
        .blog-footer-text {
            text-align: center;
            padding: 40px 15px 60px;
            font-size: 22px;
            color: #555;
        }

        .blog-footer-text span {
            color: #16c35f;
            font-weight: 700;
        }

        /* RESPONSIVE */
        @media(max-width:991px) {
            .blog-hero h1 {
                font-size: 50px;
            }

            .blog-hero p {
                font-size: 18px;
            }

            .hero-shape-left,
            .hero-shape-right {
                width: 80px;
            }
        }

        @media(max-width:767px) {

            .blog-hero {
                padding: 60px 0 50px;
            }

            .blog-hero h1 {
                font-size: 40px;
            }

            .blog-hero p {
                font-size: 16px;
                padding: 0 15px;
            }

            .hero-shape-left,
            .hero-shape-right {
                display: none;
            }

            .blog-image {
                height: 200px;
            }

            .blog-title {
                font-size: 20px;
            }

            .blog-filter .d-flex {
                justify-content: center !important;
            }
        }


    /* Blog Card Layout Styles */
    .blist-blog-card {
      border: none;
      border-radius: 16px;
      overflow: hidden;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
      background: #ffffff;
      height: 100%;
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }
    .blist-blog-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 6px 25px rgba(0, 0, 0, 0.07);
    }
    .blist-card-img-wrapper {
      position: relative;
      aspect-ratio: 16 / 9;
      background: #e9ecef;
    }
    .blist-card-img-wrapper img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    .blist-category-badge {
      position: absolute;
      top: 12px;
      left: 12px;
      font-size: 11px;
      font-weight: 700;
      padding: 4px 10px;
      border-radius: 6px;
      color: #fff;
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }
    .blist-bg-laravel { background-color: #ff2d20; }
    .blist-bg-html { background-color: #0d6efd; }
    .blist-bg-php { background-color: #4f5d95; }

    .blist-card-body {
      padding: 20px;
    }
    .blist-card-date {
      font-size: 12px;
      color: #a0aec0;
      font-weight: 600;
      text-transform: uppercase;
      margin-bottom: 8px;
    }
    .blist-card-title {
      font-size: 18px;
      font-weight: 700;
      color: #1a202c;
      margin-bottom: 10px;
      line-height: 1.4;
    }
    .blist-card-text {
      font-size: 14px;
      color: #718096;
      line-height: 1.6;
      margin-bottom: 20px;
    }

    /* Card Footer Author Section */
    .blist-card-author-zone {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding-top: 15px;
      border-top: 1px solid #f1f5f9;
    }
    .blist-author-info {
      display: flex;
      align-items: center;
      gap: 10px;
    }
    .blist-avatar {
      width: 32px;
      height: 32px;
      border-radius: 50%;
      background-color: #e2e8f0;
      color: #0d6efd;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: bold;
      font-size: 12px;
    }
    .blist-author-name {
      font-size: 13px;
      font-weight: 600;
      color: #4a5568;
    }
    .blist-read-more-btn {
      font-size: 13px;
      font-weight: 600;
      color: #0d6efd;
      text-decoration: none;
      transition: color 0.2s;
    }
    .blist-read-more-btn:hover {
      color: #0043a8;
    }

    /* Sidebar Content Styles */
    .blist-sidebar-widget {
      background: #ffffff;
      border-radius: 16px;
      padding: 24px;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
      margin-bottom: 24px;
    }
    .blist-sidebar-title {
      font-size: 13px;
      font-weight: 800;
      color: #718096;
      text-transform: uppercase;
      letter-spacing: 1px;
      margin-bottom: 20px;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .blist-sidebar-title::before {
      content: '';
      display: inline-block;
      width: 4px;
      height: 16px;
      background-color: #0d6efd;
      border-radius: 2px;
    }

    /* Connect Section Link Cards */
    .blist-social-link-card {
      display: flex;
      align-items: center;
      gap: 15px;
      padding: 14px 20px;
      border-radius: 12px;
      text-decoration: none;
      margin-bottom: 12px;
      transition: opacity 0.2s;
    }
    .blist-social-link-card:hover {
      opacity: 0.9;
    }
    .blist-social-link-card .blist-icon-box {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background: #fff;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 18px;
    }
    .blist-social-text .blist-platform-name {
      font-size: 14px;
      font-weight: 700;
      color: #2d3748;
      margin: 0;
    }
    .blist-social-text .blist-action-text {
      font-size: 11px;
      font-weight: 600;
      color: #718096;
      text-transform: uppercase;
    }
    .blist-bg-yt-lite { background-color: #fff5f5; border: 1px solid #fed7d7; }
    .blist-bg-yt-lite .blist-icon-box { color: #e53e3e; box-shadow: 0 2px 8px rgba(229,62,62,0.1); }
    .blist-bg-fb-lite { background-color: #f0f7ff; border: 1px solid #deeaff; }
    .blist-bg-fb-lite .blist-icon-box { color: #1877f2; box-shadow: 0 2px 8px rgba(24,119,242,0.1); }

    /* Browse Topics List Items */
    .blist-topic-list-item {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 12px 0;
      border-bottom: 1px solid #f1f5f9;
      color: #4a5568;
      font-size: 14px;
      font-weight: 600;
      text-decoration: none;
    }
    .blist-topic-list-item:last-child {
      border-bottom: none;
    }
    .blist-topic-list-item:hover {
      color: #0d6efd;
    }
    .blist-topic-count-badge {
      background-color: #f1f5f9;
      color: #718096;
      font-size: 12px;
      font-weight: 700;
      padding: 4px 10px;
      border-radius: 20px;
    }

    /* Pagination Custom Styles */
    .pagination .page-link {
      border: none;
      margin: 0 4px;
      border-radius: 8px;
      color: #4a5568;
      font-weight: 600;
    }
    .pagination .page-item.active .page-link {
      background-color: #0d6efd;
      color: #fff;
    }

    /* Instagram Styling */
.blist-bg-insta-lite {
  background-color: rgba(225, 48, 108, 0.05) !important; /* Soft Instagram Pink */
  border: 1px solid rgba(225, 48, 108, 0.15) !important;
}
.blist-bg-insta-lite .blist-icon-box i {
  color: #e1306c !important; /* Instagram Brand Color */
}

/* LinkedIn Styling */
.blist-bg-li-lite {
  background-color: rgba(0, 119, 181, 0.05) !important; /* Soft LinkedIn Blue */
  border: 1px solid rgba(0, 119, 181, 0.15) !important;
}
.blist-bg-li-lite .blist-icon-box i {
  color: #0077b5 !important; /* LinkedIn Brand Color */
}
