/*
Theme Name: Newsfy child
Theme URI: http://landing.rivaxstudio.com/newsfy/
Author: RivaxStudio
Author URI: https://themeforest.net/user/rivaxstudio/
Description: Modern and Powerful WordPress theme for news & magazine sites.
Version: 1.0
Requires PHP: 8.0
Tested up to: 6.8
Template:  newsfy
License: Themeforest.net
License URI: http://themeforest.net/licenses
Text Domain: newsfy
Tags: grid-layout, left-sidebar, right-sidebar, flexible-header, footer-widgets, featured-images, translation-ready
*/


.rank-math-list .rank-math-answer {
    display: none;
}

.rank-math-list-item.active .rank-math-answer {
    display: block;
}

.rank-math-question {
    cursor: pointer;
}

/* ===== FAQ Section Design ===== */

.rank-math-list{
    margin: 30px auto;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.rank-math-list-item{
    border: 2px solid rgba(128, 128, 128, 0.67);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.rank-math-list-item.active{
    border-color: #ff4936;
}

/* Question */

.rank-math-question{
    margin: 0;
    padding: 18px 50px 18px 18px;
    position: relative;
    cursor: pointer;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 600;
    transition: 0.3s ease;
}


/* Plus Icon */

.rank-math-question::after{
    content: "+";
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: #FF4936;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 400;
    transition: all 0.3s ease;
}

.rank-math-list-item.active .rank-math-question::after{
    transform: translateY(-50%) rotate(45deg);
    color: #FF4936;
}

/* Answer */

.rank-math-answer{
    display: none;
    padding: 0 18px 18px;
}

.rank-math-list-item.active .rank-math-answer{
    display: block;
    animation: faqFade 0.3s ease;
}

.rank-math-answer p,
.rank-math-answer li{
    color: #151516;
    font-size: 16px;
    line-height: 1.9;
	margin: 0;
}

.rank-math-answer strong{
    color: #151516;
}

.rank-math-answer ul{
    padding-left: 20px;
    margin-top: 12px;
}

.rank-math-answer li{
    margin-bottom: 8px;
}

/* Animation */

@keyframes faqFade{
    from{
        opacity:0;
        transform: translateY(-10px);
    }
    to{
        opacity:1;
        transform: translateY(0);
    }
}

/* Mobile */

@media(max-width:768px){

    .rank-math-list{
        margin: 40px auto;
        gap: 14px;
    }

    .rank-math-question{
        font-size: 17px;
        padding: 20px 60px 20px 18px;
    }

    .rank-math-question::after{
        width: 36px;
        height: 36px;
        right: 16px;
        font-size: 24px;
    }

    .rank-math-answer{
        padding: 0 18px 20px;
    }

    .rank-math-answer p,
    .rank-math-answer li{
        font-size: 15px;
    }
}


.wpcf7-form .row{
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.wpcf7-form .col-6{
    width: calc(50% - 15px);
}

.wpcf7-form .col-12{
    width: 100%;
}

.wpcf7-form .col-6 input,
.wpcf7-form .col-12 textarea{
    width: 100%;
    box-sizing: border-box;
}

/* Mobile Responsive */
@media(max-width: 767px){
  .wpcf7-form .col-6{
        width: 100%;
    }
	.wpcf7-form .row {gap: 0;}
}