.elementor-1311 .elementor-element.elementor-element-f432f68{--display:flex;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-1311 .elementor-element.elementor-element-f432f68:not(.elementor-motion-effects-element-type-background), .elementor-1311 .elementor-element.elementor-element-f432f68 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#FFFFFF;}.elementor-1311 .elementor-element.elementor-element-14be1f2{width:100%;max-width:100%;}.elementor-1311 .elementor-element.elementor-element-14be1f2 > .elementor-widget-container{margin:0px 0px 0px 0px;padding:0px 0px 0px 0px;}:root{--page-title-display:none;}@media(min-width:768px){.elementor-1311 .elementor-element.elementor-element-f432f68{--content-width:100%;}}/* Start custom CSS for shortcode, class: .elementor-element-14be1f2 */.digital-card-container {
  display: flex;
  justify-content: center;
    
}

.digital-card-frame {
  background: white;
  width: 95%;
}
.hoviat-avatar-wrap {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    background: #f3f4f6;
    flex-shrink: 0;
        display: block;
    margin-left: auto;
    margin-right: auto;

}

/* خود تصویر */
.hoviat-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover; /* مهم‌ترین خط */
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.digital-card h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 4px;
  color:#194687;
}

.digital-card .subtitle {
  text-align: center;
  color: #194687;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.card-section {
  border-radius: 16px;
  margin-bottom: 20px;
  padding: 15px;
  padding-right: 25px;
  padding-left: 25px;
  background-color: #e9f9ff;
  border: 1px solid #b8e6ff;
}


.section-name {
  margin-bottom: 10px;
  color: #194687;
text-align:center;}

.card-field {
  display: flex;
  justify-content: space-between;
  font-size: 1.1rem;
  color: #333;
}

.card-field span {
  font-weight: bold;
}
.card-row {
      margin-bottom: 15px;
    }
.card-red {
     color: #DC3C1B;
     margin-bottom: 15px;

}
.card-img {
    display: block;
  margin-left: auto;
  margin-right: auto;
}
.disease-card {
    background-color: #f0faff;
    border-radius: 16px;
    padding: 15px;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.disease-card:hover {
    transform: translateY(-2px);
}
.medication-list{
    margin-right: 17px;
}
/* از دسکتاپ به بالا: سه ستون */
@media (min-width: 992px) {
    .card-sections-wrapper {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        margin: 20px; /* فاصله بین ستون‌ها */
    }

    .card-section-block {
        background: white;          /* رنگ زمینه دلخواه */
        border-radius: 16px;       /* گردی گوشه‌ها */
        padding: 10px;
    }
    .card-section-block.diseases{
        margin-top:-10px
    }
}/* End custom CSS */