:root {
      
    --card__template-main-color:#2e0455  ;
    --card__template-second-color:#70086a ;
    --card__template-label-color: #d4088c;
    --card__template-text-color: #fff;
    --card__template-lines-color: rgba(255,255,255,.2);
    --card__template-text-font: "HacenMaghreb";
    --card__template__toptext--first-weight: 400;
    --card__template__toptext--second-weight: 500;
  
    --card__template-background: linear-gradient(165deg,var(--card__template-main-color) 53.33%, var(--card__template-second-color) 100%);
}

.card__template {
    font-family: var(--card__template-text-font);
    position: relative;
    width: 450px;
    aspect-ratio: .63;
    overflow: hidden;
    border-radius: 1rem;
    padding: 2.5rem 2rem;
    background: var(--card__template-background);
    background-position-x: 0%;
    background-position-y: 0%;
    background-position: bottom right;
}
.card__template-before{
    position: absolute;
    right: 0;
    bottom: 0;
    width: 88%;
    height: 213px;
    z-index: 100 !important;
}
.card__template.landscape {
    width: 775px;
    aspect-ratio: 1.6;
    padding: 1.75rem 2rem;
}



.card__template.landscape::before {
    width: 48%;
    height: 164px;
}

.card__template__element {
    position: absolute;
    width: 72px;
    height: 72px;
    top: 25%;
    left: 15%;
}

.card__template.landscape .card__template__element {
    left: 7%;
    top: 33%;
}

.card__template__header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: end;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.card__template__header img {
    max-height: 85px;
    max-width: 200px;
}

.card__template.landscape .card__template__header img {
    max-height: 85px;
}

.card__template__toptext--first {
    font-weight: var(--card__template__toptext--first-weight);
    color: var(--card__template-label-color);
    text-align: left;
    font-size: 1.7rem;
}

.card__template__toptext--second {
    font-weight: var(--card__template__toptext--second-weight);
    color: var(--card__template-text-color);
    text-align: left;
    font-size: 1.6rem;
    margin-top: -8px;
}

.card__template__body {
    position: relative;
    z-index: 10;
    margin-top: 7rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    text-align: center;
    gap: 2.5rem;
    color: var(--card__template-text-color);
}

.card__template.landscape .card__template__body {
    margin-top: 3rem !important;
    gap: 1.75rem;
    text-align: right !important;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    width: 70%;
    margin-right: 4rem;
 
}

.card__template::after {
    content: "";
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(49.34% 49.34% at 50.2% 49.54%,  var(--card__template-second-color) 15%, #0000 93%);
    left: -50%;
    top: -40%;
    opacity: .3;
}

.card__template.landscape::after {
    top: -70%;
    left: -40%;
}
 
.card__template.landscape .card__template__ni {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: .75rem;
  }
.card__template__ni img {
    width: 72px;
    height: 72px;
    border-radius: 100px;
    margin-bottom: .5rem;
  }
.card__template.landscape .card__template__image {
    width: 68px;
    height: 68px;
    margin-bottom: 24px;
  }
.card__template__name {
    font-weight: var(--tt-font-weight-bold);
    font-size: 1.75rem;
}

.card__template__numbers {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: start;
    gap: 1.2rem;
}

.card__template.landscape .card__template__numbers {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.card__template__number--item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    gap: 1.5rem;
    font-size: 20px;
}

.card__template.landscape .card__template__number--item {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: start !important;
    -ms-flex-align: start !important;
    align-items: start !important;
    gap: 0;
}

.card__template.landscape .card__template__number--item .card__template__ntitle,
.card__template.landscape .card__template__number--item .card__template__num {
    text-align: right !important;
}

.card__template__ntitle {
    color: var(--card__template-label-color);
    text-align: right;
    min-width: 80px;
}

.card__template__ntitle span {
    font-weight: var(--tt-font-weight-bold);
}

.card__template.landscape .card__template__ntitle span {
    font-weight: var(--tt-font-weight-normal);
}

.card__template.landscape .card__template__ntitle {
   
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: .4rem;
}

.card__template__nsep {
    height: 50%;
    width: 1px;
    background-color: var(--card__template-lines-color);
    color:#0000;
}

.card__template.landscape .card__template__nsep {
    background-color: var(--card__template-lines-color);
}

.card__template.landscape .card__template__number--item .card__template__nsep {
    display: none;
}

.card__template.landscape .card__template__number--item .card__template__ntitle,
.card__template.landscape .card__template__number--item .card__template__num {
    text-align: right !important;
}

.card__template__num {
    font-size: 24px;
    font-weight: var(--tt-font-weight-normal);
}


.card__template__sub {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    gap: 1rem;
    border: 1px solid var(--card__template-lines-color);
    border-radius: 12px;
    padding: .5rem 1rem;
}

.card__template.landscape .card__template__sub {
    -ms-flex-pack: distribute;
    justify-content: space-around;
}

.card__template__sub--item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    gap: .65rem;
}

.card__template__sub--title {
    font-weight: var(--tt-font-weight-normal);
    font-size: 16px;
    color: var(--card__template-label-color);
    text-align: right;
}

.card__template__sub--date {
    font-weight: var(--tt-font-weight-normal);
    color: var(--card__template-text-color);
    font-size: 24px;
}

.card__template__sub--sep {
    height: 50%;
    width: 1px;
    background-color: var(--card__template-lines-color);
    color:#0000;
}


.cls-1 {
    fill: none;
    stroke: var(--card__template-lines-color);
    stroke-miterlimit: 10;
    stroke-width: 0.3px;
}



@media (max-width: 575px) {
    .card__template {
        height: 400px;
   
      }
    .card__template.landscape {
        width: 350px;
        padding: 12px;
      }
    .show-xs {
        display: block !important;  
    }
    .hide-xs {
        display: none !important;
    }
    .card__template.landscape {
        width: 320px;
        height: 220px;
         
      }
      .card__template::after {
     
        width: 150px;
        height: 150px;
       
      }
      .card__template.landscape::after {
        top: -40%;
        left: -30%;
      }
      .card__template-before {
        height: 120px;
    
      }
      .card__template__element {
        position: absolute;
        width: 30px;
        height: 30px;
        top: 25%;
        left: 15%;
      }
      .card__template__header img {
        max-height: 50px;
        max-width: 100px;
      }
      .card__template.landscape .card__template__header img {
        max-height: 35px;
      }
      .card__template__toptext--first {
      
        font-size: 1rem;
      }
      .card__template__toptext--second {
        font-size: 0.9rem;
   
      }
      .card__template__body {
        margin-top: 1rem;
        gap: 1rem;
    
      }
      .card__template.landscape .card__template__body {
        margin-top: 5px !important;
        gap: 0.2rem;
        width: 90%;
        margin-right: 1rem;
      }
      .card__template__ni img {
        width: 50px;
        height: 50px;
 
      }
      .card__template.landscape .card__template__image {
        width: 35px;
        height: 35px;
        margin-bottom: 5px;
      }
      .card__template__name {
         
        font-size: 1rem;
      }
      .card__template__number--item {
       
        font-size: 14px;
      }
      .card__template__num {
        font-size: 16px;
     
      }
      .card__template__sub--title {
      
        font-size: 12px;
       
      }
      .card__template__sub--date {
       
        font-size: 14px;
      }
}
