
/* Reset */
/* * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  margin-top: 0 !important;
}
body {
  font-family: Vazir;
  padding: 30px 0;
  direction: rtl;
}
input:focus,
button:focus,
textarea:focus,
select:focus {
  outline: none;
}
a {
  text-decoration: none;
  color: #444444;
}
a:hover {
  color: var(--main-color);
}
input:focus {
  outline: 0;
}
p {
  color: #444444;
  text-align: justify;
}
p,
h1,
h2,
h3,
h4,
h5,
h6,
b,
strong,
pre {
  line-height: 2rem;
}
small {
  line-height: 1.6rem;
}
ul {
  list-style: none;
}
img {
  max-width: 100%;
} */


.cta-container{
    display: block;
    margin: 30px auto;
    width: 100%;
    max-width: 990px;
}
.cta-wrapper{
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    flex-direction: row;
    margin: 0 auto;
    background-color: #f9f9f9;
    border-radius: 20px;
}
.cta-wrapper .cta-image{
    width: 30%;
    overflow: hidden;
}
.cta-wrapper .cta-image img{
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 20px;
    object-fit: cover;
}

.cta-wrapper .cta-content{
    width:50%;
    padding: 12px;
    padding: 40px 50px;
    align-self: center;
}
.cta-wrapper .cta-content .title{
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 10px;
}
.cta-wrapper .cta-content .excerpt{
    font-size: 0.9rem;
    font-weight: 400;
    text-align: right;
}

.cta-wrapper .cta-button{
    text-align: center;
    width:20%;
    padding: 12px;
    align-self: center;
}
.cta-wrapper .cta-button a{
    display: inline-block;
    background-color: #0D83DD;
    color: #ffffff;
    padding: 10px 12px;
    border-radius: 10px;
    vertical-align: middle;
}
.cta-wrapper .cta-button svg{
    display: inline-block;
    vertical-align: middle;
    margin-right: 6px;
}

.template1 .cta-wrapper{
    background-color: #142B39;
}
.template2 .cta-wrapper{
    background-color: #0D83DD;
}
.template3 .cta-wrapper{
    background-color: #18293E;
}
.template4 .cta-wrapper{
    background-color: #9AB9E8;
}
.template5 .cta-wrapper{
    background-color: #2C54AC;
}
.template6 .cta-wrapper{
    background-color: #142B39;
}
.template7 .cta-wrapper{
    background-color: #0D83DD;
}
.template8 .cta-wrapper{
    background-color: #FFFFFF;
}

.template1 .cta-content strong,
.template1 .cta-content p{
    color: #fff;
}
.template2 .cta-content strong,
.template2 .cta-content p{
    color: #fff;
}
.template3 .cta-content strong,
.template3 .cta-content p{
    color: #fff;
}
.template4 .cta-content strong,
.template4 .cta-content p{
    color: #fff;
}
.template5 .cta-content strong,
.template5 .cta-content p{
    color: #fff;
}
.template6 .cta-content strong,
.template6 .cta-content p{
    color: #fff;
}
.template7 .cta-content strong,
.template7 .cta-content p{
    color: #fff;
}

.template1 .cta-wrapper .cta-button a{
    background-color: #0D83DD;
    color: #ffffff;
}
.template2 .cta-wrapper .cta-button a{
    background-color: #FFFFFF;
    color: #0D83DD;
}
.template3 .cta-wrapper .cta-button a{
    background-color: #F39C12;
    color: #18293E;
}
.template4 .cta-wrapper .cta-button a{
    background-color: #FFFFFF;
    color: #0D83DD;
}
.template5 .cta-wrapper .cta-button a{
    background-color: #F39C12;
    color: #ffffff;
}
.template6 .cta-wrapper .cta-button a{
    background-color: #F39C12;
    color: #18293E;
}

.template2 .cta-image{
    padding: 12px;
    display: block;
    margin: 0 auto;
    text-align: center;
    align-self: center;
}
.template2 .cta-image img{
    display: inline-block;
    width: auto;
    width: 160px;
}

.template5 .cta-image{
    padding: 12px;
    display: block;
    margin: 0 auto;
    text-align: center;
    align-self: center;
}
.template5 .cta-image img{
    display: inline-block;
    width: auto;
    width: 160px;
}


@media screen and (max-width: 768px) {
    .cta-container {
        padding: 0 16px;
    }
    .cta-wrapper{
        flex-direction: column;
        align-items: center;
        padding-bottom: 16px;
    }
    .cta-wrapper .cta-image{
        width: 100%;
        margin-bottom: 20px;
    }
    .cta-wrapper .cta-content{
        width: 100%;
        padding: 20px;
    }
    .cta-wrapper .cta-button{
        width: 100%;
        text-align: center;
    }
    
}