.phi--articles-section {
    padding-top: 2rem;

 }


/* Section Title */
.phi--articles-section__title {
    font-size: 48px;
    font-weight: 700;
    color: var(--mode-color);
    margin-bottom: 40px;
    letter-spacing: -0.02em;
}

/* Articles Grid */
.phi--articles-section__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 24px;
    align-items: start;
}


/* Blog Card Component */
.phi--blog-card {
    position: relative;
    width: 100%;
    height: 320px;
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #000;
}

.phi--blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Background Image */
.phi--blog-card__image {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Dark Overlay */
.phi--blog-card__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 1;
}

/* Blog Label */

article.phi--blog-card:first-child .phi--blog-card__label {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: #16E0A8;
    color: #000;
    padding: 6px 16px;
    font-weight: 500;
    line-height: 98%;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 1;
    transition: background-color 0.3s ease;
    border: 2px solid #fff;
    bottom: unset;
}


article.phi--blog-card .phi--blog-card__label {
    position: absolute;
    left: 20px;
    background-color: #16E0A8;
    color: #000;
    padding: 6px 16px;
    font-weight: 500;
    line-height: 98%;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 1;
    transition: background-color 0.3s ease;
    border: 2px solid #fff;
    bottom: 24px;
}



.phi--blog-card:hover .phi--blog-card__label {
    background-color: #00e67a;
}

/* Title Container */
article.phi--blog-card:first-child .phi--blog-card__content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    z-index: 2;
}

article.phi--blog-card .phi--blog-card__content {
    position: absolute;
    left: 0;
    right: 0;
    padding: 24px;
    z-index: 2;
}






/* Blog Title */


.phi--blog-card__title {
    color: white;
    font-family: Poppins;
    letter-spacing: 0;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.3;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    max-width: 400px;
}



/* Curved Corner */
/* .phi--blog-card__curved-corner {
    --curve-size: 70px;
    width: var(--curve-size);
    height: var(--curve-size);
    overflow: hidden;
    position: absolute;
    bottom: -1px;
    right: -1px;
    z-index: 5;
} */

.phi--blog-card__curved-corner:before {
    content: "";
    display: block;
    width: 200%;
    height: 200%;
    position: absolute;
    border-radius: 50%;
    bottom: 0;
    right: 0;
    box-shadow: calc(1 * var(--curve-size)) calc(1 * var(--curve-size)) 0 0 #ffffff;
}

/* Arrow Button */
.phi--blog-card__arrow-button {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    background-color: #16E0A8;
    border-radius: 50%;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
}


/* Arrow Icon */
.phi--blog-card__arrow {
    width: 20px;
    height: 20px;
    color: #000;
    transform: rotate(-45deg);
    transition: transform 0.3s ease;
}



/* Orange Badge */
.phi--blog-card__badge {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #ff4500;
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 3;
}

/* Different background styles for variety */
.phi--blog-card--google {
    background: linear-gradient(135deg, #4285f4 0%, #db4437 50%, #f4b400 100%);
}

.phi--blog-card--ecommerce {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Responsive Design */
@media (max-width: 768px) {
    .phi--articles-section__title {
        font-size: 36px;
    }

    .phi--articles-section__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .phi--blog-card {
        height: 280px;
    }

    .phi--blog-card__title {
        font-size: 20px;
    }
}










/* .phi--blog-card__arrow-button-container {
    background: #fff;
    position: absolute;
    bottom: -4px;
    right: 0;
    width: 100px;
    height: 100px;
    background-color: #ffffff;
    border-radius: 0;
    z-index: 6;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border-top-left-radius: 73px;
    position: absolute;
} */ 



/* .phi--blog-card__curved-corner-top_right {
    --curve-size: 30px;
    width: var(--curve-size);
    height: var(--curve-size);
    overflow: hidden;
    position: absolute;
    top: calc(1 * var(--header-height) - 1px);
    left: 0;
    z-index: 5;
    top: 0;
} */




.phi--blog-card__curved-corner-top_right:before {
    content: "";
    display: block;
    width: 200%;
    height: 200%;
    position: absolute;
    border-radius: 50%;
    top: 0;
    left: 1px;
    box-shadow: calc(-1 * var(--curve-size)) calc(-1 * var(--curve-size)) 0 0 var(--mode-background);
}


/* mobile version */



@media (max-width: 768px) {

    .phi--blog-card .phi--blog-card__content {
        position: absolute;
        left: 0;
        right: 0;
        padding: 24px;
        z-index: 2;
        bottom: 0;
        background: #0000007A;
    }


    .phi--blog-card__arrow-button {
        position: absolute;
        bottom: 20px;
        right: 20px;
        width: 48px;
        height: 48px;
         background-color: transparent; 
        border-radius: 50%;
        z-index: 6;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
        cursor: pointer;
    }


    .phi--blog-card__arrow {
        width: 20px;
        height: 20px;
        color: #ffffff;
        transform: rotate(-45deg);
        transition: transform 0.3s ease;
    }


    article.phi--blog-card .phi--blog-card__label {
        top: 15px;
        bottom: unset;
    }

}



  @media screen and (min-width: 768px) {

    .phi--articles-section {
        padding-top: 5rem;
        border-top: 1.5px solid #BFBFBF;
      }
      

    .phi--articles-section {
        padding-top: 5rem;
        padding-bottom: 5rem;
     }

     .phi--articles-section {
        padding-bottom: 5rem;
     }

     .phi--articles-section {
        padding-bottom: 5rem;
      }
    
  } 