/* Flex container to control layout */
.wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Main should grow and take up space */
main {
  flex: 1;
}
/* /////////////////////////////////////////////////////////////// */
/* /////////////////////////////////////////////////////////////// */
        :root {
            --primary: #6c5ce7;
            --secondary: #a29bfe;
            --dark: #2d3436;
            --light: #f5f6fa;
            --accent: #0618C4;
            --text: #636e72;
        }

        /* body {
            background-color: var(--light);
            color: var(--dark);
            line-height: 1.6;
        } */
        
        /* Header styles would be here */
        .blog-container {
            margin: 0 auto;
            margin-top: 250px;
            margin-bottom: 150px;
        }
        .blog-container .container{
            padding: 0 100px;
        }
        
        .blog-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(600px, 1fr));
            gap: 35px;
            row-gap: 45px;
        }
        
        .blog-card {
            background: #F4F2EF;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 10px 20px #00000007;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        
        .blog-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 30px #00000009;
        }

        @media (max-width: 1440px) {
            .blog-container .container{
                padding: 0 20px;
            }
        }
        @media (max-width: 1330px) {
            .blog-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
            gap: 35px;
            row-gap: 45px;
        }
        }
        @media (max-width: 1125px) {
            .blog-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
            gap: 35px;
            row-gap: 45px;
        }
        }
        @media (max-width: 815px) {
            .blog-container .container{
                padding: 0 40px;
            }
        }
        @media (max-width: 500px) {
            .blog-container .container{
                padding: 0 20px;
            }
        }

        .card-image {
            height: 300px;
            text-align: center;
            margin: 35px 0;
            margin-bottom: 0;
        }

        .card-image img {
            width: 90%;
            border-radius: 20px;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }
        
        /* .blog-card:hover .card-image img {
            transform: scale(1.05);
        } */
        
        .card-content {
            padding: 1.5rem;
            padding-right: 1.8rem;
            display: flex;
            flex-direction: column;
            justify-content: flex-start;
            direction: rtl;
        }
        
        .card-meta {
            display: flex;
            justify-content: space-between;
            margin-bottom: 0.8rem;
            font-size: 0.9rem;
            color: var(--text);
        }
        
        .card-tag {
            background: var(--accent);
            color: white;
            padding: 0.3rem 0.8rem;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 600;
        }
        
        .card-title {
            font-size: 1.7rem;
            margin-bottom: 1rem;
            font-weight: 700;
        }
        
        .card-excerpt {
            color: #707070;
            margin-bottom: 1.5rem;
            font-weight: 600;
            font-size: 1.1rem;
            line-height: 1.7em;
        }
        
        .read-more {
            display: inline-block;
            color: #0C00B5;
            font-weight: 600;
            font-size: 19px;
            text-decoration: none;
            position: relative;
            padding-bottom: 3px;
            width: fit-content;
        }
        
        .read-more::after {
            content: '';
            position: absolute;
            bottom: -5px;
            right: 0;
            width: 0;
            height: 2px;
            background: #0C00B5;
            transition: width 0.3s ease;
        }
        
        .read-more:hover::after {
            width: 130%;
        }
        .read-more::before {
            content: "\f060";
            font-family: "Font Awesome 5 Free";
            font-weight: 800;
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            left: -25px;
            color: #0C00B5;
            transition: width 0.3s ease;
        }
        
        .read-more:hover::before {
            transition: width 0.3s ease;
        }
                
        @media (max-width: 768px) {
            .blog-container {
                margin-top: 180px;
            }
            .card-image {
                height: 250px;
            }            
        }
        
        @media (max-width: 480px) {            
            .card-content {
                padding: 1.5rem;
            }
        }



/* /////////////////////////////////////////////// */
.my-swal-popup {
    backdrop-filter: blur(10px) saturate(50%);
    -webkit-backdrop-filter: blur(10px) saturate(20%);
    background-color: rgba(255, 255, 255, 0.356);
    border: 2px solid #634f4f96;
    padding: 20px;
}

.my-swal-title {
    color: #242627;
    /* font-size: 25px; */
    font-size: 0px;
    font-weight: 800;
}

.my-swal-text {
    color: #373a3b;
    font-weight: 800;
    font-size: 20px;
}

.my-swal-button {
    background-color: #0c364e !important;
    color: #fff !important;
    border-radius: 12px;
    border: 2px solid #0c364e;
    padding: 10px 30px;
    font-size: 16px;
    font-weight: 700;
}

.my-swal-button:hover {
    color: #0c364e !important;
    background-color: transparent !important;

}

/* Icon styling */
.swal2-icon.swal2-info {
    border-color: #4e45c5 !important;
    color: #4e45c5 !important;
    background-color: transparent !important;
}

.swal2-icon.swal2-info .swal2-icon-content {
    color: #0C00B5 !important; /* the "i" inside */
}

    @media (max-width: 768px){
        .my-swal-popup {
        width: 92%;
        }
    }

/* /////////////////////////////////////////////// */