.elementor-1004 .elementor-element.elementor-element-fa71bfb{--display:flex;--flex-direction:column;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--align-items:center;--padding-top:100px;--padding-bottom:100px;--padding-left:0px;--padding-right:0px;}.elementor-1004 .elementor-element.elementor-element-1ed0eeb{--display:flex;--align-items:center;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );}.elementor-widget-heading .elementor-heading-title{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );color:var( --e-global-color-primary );}.elementor-1004 .elementor-element.elementor-element-672d298 .elementor-heading-title{font-family:"Montserrat", Sans-serif;font-size:24px;font-weight:700;color:#000000;}.elementor-widget-text-editor{font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-size:var( --e-global-typography-text-font-size );font-weight:var( --e-global-typography-text-font-weight );color:var( --e-global-color-text );}.elementor-widget-text-editor.elementor-drop-cap-view-stacked .elementor-drop-cap{background-color:var( --e-global-color-primary );}.elementor-widget-text-editor.elementor-drop-cap-view-framed .elementor-drop-cap, .elementor-widget-text-editor.elementor-drop-cap-view-default .elementor-drop-cap{color:var( --e-global-color-primary );border-color:var( --e-global-color-primary );}.elementor-1004 .elementor-element.elementor-element-982aa55{text-align:center;font-family:"Roboto", Sans-serif;font-size:18px;font-weight:400;color:#000000;}.elementor-1004 .elementor-element.elementor-element-7522048{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-1004 .elementor-element.elementor-element-86eb726{--display:flex;}.elementor-widget-breadcrumbs{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-weight:var( --e-global-typography-secondary-font-weight );}.elementor-1004 .elementor-element.elementor-element-0fbaa40{font-family:"Roboto", Sans-serif;font-size:12px;font-weight:400;color:#727272;}.elementor-1004 .elementor-element.elementor-element-0fbaa40 a{color:#727272;}.elementor-1004 .elementor-element.elementor-element-003ca2f{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--margin-top:30px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;}.elementor-1004 .elementor-element.elementor-element-50fb0d3{--display:flex;}.elementor-1004 .elementor-element.elementor-element-a4f0b41 .elementor-heading-title{font-family:"Roboto", Sans-serif;font-size:22px;font-weight:500;}.elementor-1004 .elementor-element.elementor-element-5e40102{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-1004 .elementor-element.elementor-element-5e56c97{--display:flex;}.elementor-1004 .elementor-element.elementor-element-a4d9e43{text-align:justify;font-family:"Roboto", Sans-serif;font-size:16px;font-weight:400;}.elementor-1004 .elementor-element.elementor-element-b2589b1{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--margin-top:60px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;}.elementor-1004 .elementor-element.elementor-element-d36578f{--display:flex;}.elementor-1004 .elementor-element.elementor-element-bfa0073 .elementor-heading-title{font-family:"Roboto", Sans-serif;font-size:22px;font-weight:500;}.elementor-1004 .elementor-element.elementor-element-3d057d1{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-1004 .elementor-element.elementor-element-68d1bc1{--display:flex;}:root{--page-title-display:none;}@media(max-width:1024px){.elementor-widget-text-editor{font-size:var( --e-global-typography-text-font-size );}.elementor-1004 .elementor-element.elementor-element-982aa55{font-size:15px;}}@media(max-width:767px){.elementor-1004 .elementor-element.elementor-element-672d298 .elementor-heading-title{font-size:22px;}.elementor-widget-text-editor{font-size:var( --e-global-typography-text-font-size );}.elementor-1004 .elementor-element.elementor-element-982aa55{font-size:14px;}.elementor-1004 .elementor-element.elementor-element-a4f0b41 .elementor-heading-title{font-size:18px;}.elementor-1004 .elementor-element.elementor-element-a4d9e43{font-size:13px;}.elementor-1004 .elementor-element.elementor-element-bfa0073 .elementor-heading-title{font-size:18px;}}/* Start custom CSS for html, class: .elementor-element-44c2efc */@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

:root{
    --hermes-purple:#8c3d82;
    --line-color:#d2d2d2;
    --card-width: 660px;
}


.hermes-timeline{
    position:relative;
    max-width:1200px;
    margin:0 auto;
    padding:20px 0;
    font-family:'Roboto',sans-serif;
}

.timeline-line{
    position:absolute;
    left:50%;
    top:0;
    width:2px;
    height:100%;
    background:var(--line-color);
    transform:translateX(-50%);
}

.timeline-item{
    position:relative;
    display:flex;
    width:100%;
    min-height:210px;
}

.timeline-item.left{
    justify-content:flex-start;
}

.timeline-item.right{
    justify-content:flex-end;
}

/* دایره */

.timeline-dot{
    position:absolute;
    top:32px;
    left:50%;
    width:12px;
    height:12px;
    background:var(--hermes-purple);
    border-radius:50%;
    transform:translateX(-50%);
    z-index:5;
}

/* باکس سال */

.timeline-year{
    position:absolute;
    top:20px;
    background:var(--hermes-purple);
    color:#fff;
    padding:10px 18px;
    font-size:16px;
    font-weight:400;
    border-radius:3px;
    box-shadow:0 2px 6px rgba(0,0,0,.10);
    z-index:4;
    white-space: nowrap; /* برای 2020-2021 */
}

.timeline-item.right .timeline-year{
    left:50%;
    transform:translateX(-135%);
}

.timeline-item.left .timeline-year{
    right:50%;
    transform:translateX(135%);
}
.wide-year{
    min-width: 110px;
    text-align: center;
}

.timeline-item.right .wide-year{
    left: calc(50% - 135px);
}

.timeline-item.left .wide-year{
    right: calc(50% - -13px);
}

/* محتوا */

.timeline-content{
    width:calc(50% - 25px);
    margin-bottom: ;: 20px;   /* فاصله یکسان بالا */
}

.timeline-content h3{
    margin:20px 0 15px;
    font-size:20px;
    font-weight:500;
    color:#222;
    line-height:1.4;
}


.timeline-card {
    background: #fff;
    padding: 18px 20px;
    border-radius: 3px;
    font-size: 14px;
    line-height: 1.9;
    color: #444;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);

    height: auto;              /* مهم: ارتفاع خودکار */
    box-sizing: border-box;

    word-wrap: break-word;
    word-break: normal;  
    /* اصلاح مهم */
    word-break: break-all;
    overflow-wrap: break-word; /* جایگزین مدرن */
}


/* موبایل */

@media (max-width: 1024px) {

    .hermes-timeline {
        padding: 10px 0;
    }

    /* فونت‌ها کوچکتر */
    .timeline-content h3 {
        font-size: 18px;
    }

    .timeline-card {
        font-size: 13px;
        line-height: 1.8;
        padding: 16px 18px;
    }

    .timeline-year {
        font-size: 14px;
        padding: 8px 14px;
    }
}

@media (max-width: 1024px) {

    /* خط وسط و دایره‌ها حذف */
    .timeline-line,
    .timeline-dot {
        display: none;
    }

    /* هر آیتم تبدیل به کارت ساده */
    .timeline-item {
        display: block;
        width: 100%;
        min-height: auto;
        margin-bottom: 35px;
        
    }

    /* حذف چپ و راست */
    .timeline-item.left,
    .timeline-item.right {
        justify-content: flex-start;
    }

    /* کانتنت کامل عرض */
    .timeline-content {
        width: 100%;
    }

    /* سال */
    .timeline-year {
        position: relative;
        display: inline-block;
        top: 0;
        left: 0 !important;
        right: 0 !important;
        transform: none !important;

        font-size: 13px;
        padding: 5px 10px;
        margin-bottom: 8px;
        border-radius: 4px;
    }

    /* تیتر */
    .timeline-content h3 {
        font-size: 16px;
        margin: 0 0 10px 0;
    }

    /* کارت متن */
    .timeline-card {
        font-size: 13px;
        line-height: 1.8;
        padding: 14px 16px;
        border-radius: 6px;
    }
}/* End custom CSS */