/*
Theme Name: Hello Elementor Child
Theme URI: https://elementor.com/
Description: A child theme for Hello Elementor
Author: Your Name
Author URI: https://yourwebsite.com/
Template: hello-elementor
Version: 1.0.0
Text Domain: hello-child
*/

.posts h2 {
    color: #303F9F !important;
	margin-top: 20px;
	margin-bottom: 20px;
	font-size: 20px;
}

.posts h3 {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.8em;
    margin-bottom: 5px;
	color: #FE0207;
}

.posts h4 {
    color: #000 !important;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.6em;
    margin-bottom: 0;
    margin-top: 20px;
}

.posts h5 {
    color: #000 !important;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.6em;
    margin-bottom: 0;
    margin-top: 20px;
}

.posts p[style*="text-align: left"] {
    background-color: #f2f5f5;
    border-right: 6px solid var(--e-global-color-primary);
    margin: 10px 0;
    border-radius: 5px;
    padding: 6px;
    text-align: right !important;
}

.posts p[style*="text-align: left"] span {
    background-color: transparent !important;

}

.posts img {
    border-radius: 10px !important;
	  margin-bottom: 10px;
}

.posts p {
    padding-top: 5px;
    padding-bottom: 5px;
    line-height: 2.8rem;
	  margin-block-end: unset;
	  margin-bottom:5px;
	  text-align: justify;
}

.posts p span {
	font-size: 18px !important;
    font-weight: 700 !important;
}

.posts a {
	font-size: 17px;
    color: #FE0207;
    font-weight: 600;
    background-color: transparent !important;
}

.posts ul {
    padding: 0px 7px 0px 7px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.posts ol {
	  padding: 0px 7px 0px 7px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

@media only screen and (max-width: 600px) {
    .posts h2 {
        font-size: 18px;
        font-weight: 700;
        line-height: 1.7em;
        margin-bottom: 0px;
        margin-top: 3px;

    }
}

@media only screen and (max-width: 600px) {
    .posts h3 {
        font-size: 16px;
        font-weight: 700;
        margin-bottom: 0px;
        margin-right: -4px;
        margin-left: -17px;
    }
}

@media only screen and (max-width: 600px) {
    .posts h4 {
        font-size: 14px;
        font-weight: 700;
        line-height: 1.5em;
        margin-bottom: 0px;
        margin-right: -4px;
        margin-top: 10px;
    }
}

@media only screen and (max-width: 600px) {
    .posts p {
        margin-bottom: 0px;
        margin-top: 3px;
        font-size:15px;
    }

    .posts p[style*="text-align: center"] span {
        font-size: 12px !important;
        font-weight: 700;
    }
}

.posts ul li {
    display: flex;
    align-items: baseline;
    position: relative;
    padding: 5px 0px 5px 0px;
}

.posts ul li b {
	    color: black;
}
.posts ol li {

    align-items: baseline;
    position: relative;
    padding: 5px 0px 5px 0px;
}

.posts ul li:before {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    background: #FE0207;
    border-radius: 50%;
    margin-left: 10px;
    border: 2px solid #FE0207;
}

#ez-toc-container {
	display:none;
}

.icon svg {
	fill:black !important;
}

.elementor-post__title {
	text-align: center;
}

.elementor-post__excerpt p {
	    text-align: justify;
}

.elementor-post__meta-data {
	    padding: 15px 30px !important;
}

.pricing-list-container {

    width: 100%;
    border-radius: 5px;
    border: 1px solid #D1D1D1;
    overflow: hidden;
}



.list-header {
    text-align: center;
    padding: 20px;
    background-color: var(--e-global-color-primary);
    color: #fff;

}



.list-header h2 {
    margin: 0;
    font-size: 24px;
}



.price-list {
    list-style: none;
    padding: 0;
    margin: 0;
}



.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid #ecf0f1;
    transition: background-color 0.3s, transform 0.2s;

}



.price-item:last-child {
    border-bottom: none;
}



.price-item:hover {

    background-color: #fdfdfd;
    transform: scale(1.02);
}



.item-details h3 {

    margin: 0 0 5px 0;
    font-size: 18px;
    color: #000;
    font-weight: 400 !important;

}



.item-details p {
    margin: 0;
    font-size: 14px;
    color: #7f8c8d;

}



.item-action {

    display: flex;
    align-items: center;
    gap: 20px;
    /* فاصله بین قیمت و دکمه */

}



.price {
    font-size: 17px;
    font-weight: 600;
    color: #FE0207;
    white-space: nowrap;
    /* جلوگیری از شکستن قیمت در چند خط */

}

/* استایل‌های ریسپانسیو برای صفحه‌های نمایش کوچک */
@media (max-width: 768px) {
    .price-item {
        flex-direction: column; /* چیدمان را از افقی به عمودی تغییر می‌دهد */
        align-items: flex-start; /* آیتم‌ها را از ابتدای ردیف (چپ) تراز می‌کند */
        gap: 15px; /* فاصله بین بخش توضیحات و بخش قیمت/دکمه */
        padding: 15px; /* پدینگ را برای موبایل کمی کمتر می‌کنیم */
    }

    .item-action {
        width: 100%; /* بخش قیمت و دکمه عرض کامل را اشغال می‌کند */
        justify-content: space-between; /* قیمت در یک سمت و دکمه در سمت دیگر قرار می‌گیرد */
    }

    .list-header h2 {
        font-size: 18px; /* اندازه فونت عنوان در موبایل کمی کوچکتر می‌شود */
    }

    .item-details h3 {
        font-size: 16px; /* اندازه فونت نام آیتم */
    }

    .price {
        font-size: 15px; /* اندازه فونت قیمت */
    }
}