 :root {
  --primarycolor: #FBAD18;
  --secondarycolor: #85837D;
  --thirdcolor: #0c243d;
}

 .container-blogs {
            max-width: 1200px;
            width: 100%;
            margin: 50px auto;
            padding: 20px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            display: flex;
        }

        /* Heading styling */
        .heading-blogs {
            font-size: 28px;
            font-weight: 700;
            color: #333;
            margin-bottom: 25px;
            text-align: center;
            position: relative;
            padding-bottom: 12px;
        }

        .heading-blogs::after {
            content: "";
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 60px;
            height: 3px;
            background-color: var(--thirdcolor);
            border-radius: 2px;
        }

        /* Filter buttons styling */
        .filter-buttons-blogs {
            display: flex;
            justify-content: center;
            gap: 10px;
            margin-bottom: 30px;
            flex-wrap: wrap;
        }

        .filter-button-blogs {
            padding: 8px 16px;
            background-color: #fff;
            border: 1px solid #ddd;
            border-radius: 6px;
            cursor: pointer;
            font-size: 14px;
            font-weight: 500;
            color: #555;
            transition: all 0.3s ease;
        }

        .filter-button-blogs:hover {
            background-color: #f0f0f0;
            border-color: #ccc;
        }

        .filter-button-blogs.active-blogs {
            background-color: var(--thirdcolor);
            color: white;
          
        }

        .card-grid-blogs {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 20px;
            width: 100%;
        }

        /* Make sure only cards are clickable by setting pointer-events to none for child elements */
        .card-image-container-blogs *,
        .card-content-blogs * {
            pointer-events: none;
        }

        /* Ensure the card itself has pointer events */
        .card-blogs {
            background-color: #fff;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s ease;
            display: flex;
            flex-direction: column;
            cursor: pointer;
            /* Add cursor pointer to indicate clickability */
            pointer-events: auto;
            /* Remove height: 100% to prevent stretching */
        }

        .card-blogs:hover {
            transform: translateY(-5px);
        }

        .card-image-container-blogs {
            position: relative;
            width: 100%;
            height: 200px;
            /* Fixed height for image container */
            overflow: hidden;
        }

        .card-image-blogs {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .card-date-blogs {
            position: absolute;
            top: 10px;
            right: 10px;
            background-color: rgba(0, 0, 0, 0.7);
            color: white;
            padding: 5px 10px;
            border-radius: 4px;
            font-size: 14px;
            font-weight: bold;
        }

        .card-content-blogs {
            padding: 15px;
            background-color: var(--thirdcolor);
            flex: auto;
            /* Don't grow, but can shrink */
        }

        .card-category-blogs {
            color: var(--primarycolor);
            font-size: 12px;
            font-weight: bold;
            margin-bottom: 8px;
            text-transform: uppercase;
        }

        .card-title-blogs {
            font-size: 16px;
            font-weight: 500;
            margin-bottom: 10px;
            line-height: 1.4;
            color: #fff;
            /* Limit title to 2 lines */
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .card-text-blogs {
            font-size: 14px;
            color: #666;
            line-height: 1.5;
            margin-bottom: 15px;
            /* Limit text to 3 lines */
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .card-footer-blogs {
            padding-top: 10px;
            border-top: 1px solid #ddd;
        }

        .card-more-blogs {
            color: #999;
            font-size: 14px;
        }

        /* No results message */
        .no-results-blogs {
            grid-column: 1 / -1;
            text-align: center;
            padding: 30px;
            color: #666;
            font-size: 16px;
            background-color: #fff;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        }

        /* Responsive adjustments */
        @media (max-width: 768px) {
            .card-grid-blogs {
                grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            }

            .filter-buttons-blogs {
                gap: 8px;
            }

            .filter-button-blogs {
                padding: 6px 12px;
                font-size: 13px;
            }

            .heading-blogs {
                font-size: 24px;
                margin-bottom: 20px;
            }
        }

        @media (max-width: 480px) {
            .card-grid-blogs {
                grid-template-columns: 1fr;
            }

            .card-image-container-blogs {
                height: 180px;
            }

            .filter-buttons-blogs {
                flex-direction: row;
                width: 100%;
                overflow-x: auto;
                padding-bottom: 10px;
                justify-content: flex-start;
            }

            .heading-blogs {
                font-size: 22px;
                margin-bottom: 15px;
            }

            .heading-blogs::after {
                width: 50px;
                height: 2px;
            }
        }


        .banner {
            position: relative;
            background-image: url('/images/LES5.jpg');
            /* Görselin yolu */
            background-size: cover;
            background-position: center;
            height: 300px;
            /* Yüksekliği isteğe göre ayarlayın */
            font-family: Arial, sans-serif;
            align-items: center;
            text-align: center;
        }
        .banner-yazi {
            position: relative;
            font-size: 48px;
            font-weight: bold;
            padding-top: 178px;
            color: white;
        }

        .breadcrumb-1 a {
            color: white;
        }