.element-news-details {
    display: flex;
    flex-direction: column;
    width: 1400px;
    align-items: center;
    position: relative;
    background-color: var(--colors-dark-white);
  }

/* Responsive Styles */
@media (max-width: 1199px) {
  .element-news-details {
    width: 100%;
    padding: 0 16px;
  }
}

@media (max-width: 991px) {
  .element-news-details {
    padding: 0 12px;
  }
}

@media (max-width: 767px) {
  .element-news-details {
    padding: 0 8px;
  }
}
  
  .element-news-details .navbar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: var(--spaces-space-3);
    padding: var(--spaces-space-5) var(--spaces-space-18) var(--spaces-space-5)
      var(--spaces-space-18);
    position: relative;
    align-self: stretch;
    width: 100%;
    flex: 0 0 auto;
    margin-top: 80px;
  }

@media (max-width: 991px) {
  .element-news-details .navbar {
    padding: var(--spaces-space-5) var(--spaces-space-6);
    margin-top: 80px;
  }
}

@media (max-width: 767px) {
  .element-news-details .navbar {
    padding: var(--spaces-space-3) var(--spaces-space-4);
    margin-top: 80px;
  }
}
  
  .element-news-details .text-wrapper {
    color: var(--colors-dark-dark-500);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    position: relative;
    width: fit-content;
    margin-top: -1.00px;
    font-family: var(--regular-regular-m-font-family);
    font-weight: var(--regular-regular-m-font-weight);
    font-size: var(--regular-regular-m-font-size);
    text-align: left;
    letter-spacing: var(--regular-regular-m-letter-spacing);
    line-height: var(--regular-regular-m-line-height);
    white-space: nowrap;
    direction: rtl;
    font-style: var(--regular-regular-m-font-style);
  }
  
  .element-news-details .div {
    color: var(--colors-dark-dark-500);
    position: relative;
    width: fit-content;
    margin-top: -1.00px;
    font-family: var(--regular-regular-m-font-family);
    font-weight: var(--regular-regular-m-font-weight);
    font-size: var(--regular-regular-m-font-size);
    letter-spacing: var(--regular-regular-m-letter-spacing);
    line-height: var(--regular-regular-m-line-height);
    white-space: nowrap;
    font-style: var(--regular-regular-m-font-style);
  }
  
  .element-news-details .text-wrapper-2 {
    color: var(--colors-primary-primary);
    position: relative;
    width: fit-content;
    margin-top: -1.00px;
    font-family: var(--regular-regular-m-font-family);
    font-weight: var(--regular-regular-m-font-weight);
    font-size: var(--regular-regular-m-font-size);
    text-align: left;
    letter-spacing: var(--regular-regular-m-letter-spacing);
    line-height: var(--regular-regular-m-line-height);
    white-space: nowrap;
    direction: rtl;
    font-style: var(--regular-regular-m-font-style);
  }
  
  .element-news-details .text-wrapper-3 {
    color: var(--colors-primary-primary);
    position: relative;
    width: fit-content;
    margin-top: -1.00px;
    font-family: var(--regular-regular-m-font-family);
    font-weight: var(--regular-regular-m-font-weight);
    font-size: var(--regular-regular-m-font-size);
    letter-spacing: var(--regular-regular-m-letter-spacing);
    line-height: var(--regular-regular-m-line-height);
    white-space: nowrap;
    font-style: var(--regular-regular-m-font-style);
  }
  
  .element-news-details .img {
    position: relative;
    width: 18px;
    height: 18px;
   }
   html[dir="rtl"] .element-news-details .img {
    transform: rotate(180deg);
  }
  
  .element-news-details .frame {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    gap: var(--spaces-space-13);
    padding: var(--spaces-space-11) var(--spaces-space-18) var(--spaces-space-16)
      var(--spaces-space-18);
    position: relative;
    align-self: stretch;
    width: 100%;
    flex: 0 0 auto;
  }

@media (max-width: 991px) {
  .element-news-details .frame {
    flex-direction: column;
    align-items: stretch;
    gap: var(--spaces-space-8);
    padding: var(--spaces-space-8) var(--spaces-space-6);
  }
}

@media (max-width: 767px) {
  .element-news-details .frame {
    padding: var(--spaces-space-6) var(--spaces-space-4);
    gap: var(--spaces-space-6);
  }
}
  
  .element-news-details .left {
    display: flex;
    flex-direction: column;
    width: 400px;
    align-items: flex-start;
    gap: var(--spaces-space-12);
    position: relative;
  }

@media (max-width: 1199px) {
  .element-news-details .left {
    width: 350px;
  }
}

@media (max-width: 991px) {
  .element-news-details .left {
    width: 100%;
    order: 2;
  }
}

@media (max-width: 767px) {
  .element-news-details .left {
    gap: var(--spaces-space-8);
    background: var(--colors-dark-dark-50);
    padding: 16px;
  }
}
  
  .element-news-details .text-wrapper-4 {
    position: relative;
    align-self: stretch;
    margin-top: -1.00px;
    font-family: var(--bold-bold-3xl-font-family);
    font-weight: var(--bold-bold-3xl-font-weight);
    color: var(--colors-dark-dark-700);
    font-size: var(--bold-bold-3xl-font-size);
    letter-spacing: var(--bold-bold-3xl-letter-spacing);
    line-height: var(--bold-bold-3xl-line-height);
    font-style: var(--bold-bold-3xl-font-style);
    text-align: right;  
  }

@media (max-width: 1199px) {
  .element-news-details .text-wrapper-4 {
    font-size: 24px;
  }
}

@media (max-width: 991px) {
  .element-news-details .text-wrapper-4 {
    font-size: 22px;
    text-align: right;
  }
}

@media (max-width: 767px) {
  .element-news-details .text-wrapper-4 {
    font-size: 20px;
  }
}
  
  .element-news-details .list {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: var(--spaces-space-11);
    position: relative;
    align-self: stretch;
    width: 100%;
    flex: 0 0 auto;
  }
  
  .element-news-details .news {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: var(--spaces-space-11);
    padding: var(--spaces-space-11);
    position: relative;
    align-self: stretch;
    width: 100%;
    flex: 0 0 auto;
    background-color: var(--colors-dark-white);
    border-radius: var(--spaces-space-8);
    border: 1px solid;
    border-color: var(--colors-dark-dark-200);
  }
  
  .element-news-details .image {
    position: relative;
    align-self: stretch;
    width: 100%;
    height: 200px;
    object-fit: cover;
  }

@media (max-width: 991px) {
  .element-news-details .image {
    height: 180px;
  }
}

@media (max-width: 767px) {
  .element-news-details .image {
    height: 160px;
  }
}

@media (max-width: 479px) {
  .element-news-details .image {
    height: 140px;
  }
}
  
  .element-news-details .content {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: var(--spaces-space-7);
    position: relative;
    align-self: stretch;
    width: 100%;
    flex: 0 0 auto;
  }
  
  .element-news-details .text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spaces-space-7);
    position: relative;
    align-self: stretch;
    width: 100%;
    flex: 0 0 auto;
  }
  
  .element-news-details .frame-2 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--spaces-space-2);
    position: relative;
    align-self: stretch;
    width: 100%;
    flex: 0 0 auto;
  }
  
  .element-news-details .time {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: var(--spaces-space-3);
    position: relative;
    align-self: stretch;
    width: 100%;
    flex: 0 0 auto;
  }
  
  .element-news-details .text-wrapper-5 {
    position: relative;
    width: fit-content;
    margin-top: -1.00px;
    font-family: var(--regular-regular-l-font-family);
    font-weight: var(--regular-regular-l-font-weight);
    color: var(--colors-dark-dark-800);
    font-size: var(--regular-regular-l-font-size);
    text-align: left;
    letter-spacing: var(--regular-regular-l-letter-spacing);
    line-height: var(--regular-regular-l-line-height);
    direction: rtl;
    font-style: var(--regular-regular-l-font-style);
  }
  
  .element-news-details .p {
    align-self: stretch;
    font-family: var(--bold-bold-xl-font-family);
    font-weight: var(--bold-bold-xl-font-weight);
    color: var(--colors-dark-dark-800);
    font-size: var(--bold-bold-xl-font-size);
    line-height: var(--bold-bold-xl-line-height);
    direction: rtl;
    text-align: right;
    position: relative;
    letter-spacing: var(--bold-bold-xl-letter-spacing);
    font-style: var(--bold-bold-xl-font-style);
  }
  
  .element-news-details .button {
    all: unset;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spaces-space-3);
    padding: var(--spaces-space-5) var(--spaces-space-10) var(--spaces-space-5)
      var(--spaces-space-10);
    position: relative;
    flex: 0 0 auto;
    border-radius: var(--spaces-space-19);
    border: 1px solid;
    border-color: var(--colors-dark-dark-800);
    box-shadow: var(--card-shadow);
  }

@media (max-width: 767px) {
  .element-news-details .button {
    padding: var(--spaces-space-4) var(--spaces-space-8);
    min-height: 44px;
  }
}
  
  .element-news-details .text-wrapper-6 {
    position: relative;
    width: fit-content;
    margin-top: -1.00px;
    font-family: var(--bold-bold-m-font-family);
    font-weight: var(--bold-bold-m-font-weight);
    color: var(--colors-dark-dark-800);
    font-size: var(--bold-bold-m-font-size);
    text-align: center;
    letter-spacing: var(--bold-bold-m-letter-spacing);
    line-height: var(--bold-bold-m-line-height);
    white-space: nowrap;
    direction: rtl;
    font-style: var(--bold-bold-m-font-style);
  }
  
  .element-news-details .frame-3 {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: var(--spaces-space-15);
    position: relative;
    flex: 1;
    flex-grow: 1;
  }

@media (max-width: 991px) {
  .element-news-details .frame-3 {
    align-items: stretch;
    order: 1;
    gap: var(--spaces-space-8);
  }
}

@media (max-width: 767px) {
  .element-news-details .frame-3 {
    gap: var(--spaces-space-6);
  }
}
  
  .element-news-details .details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--spaces-space-12);
    position: relative;
    align-self: stretch;
    width: 100%;
    flex: 0 0 auto;
  }
  
  .element-news-details .frame-4 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--spaces-space-10);
    position: relative;
    align-self: stretch;
    width: 100%;
    flex: 0 0 auto;
  }
  
  .element-news-details .text-wrapper-7 {
    align-self: stretch;
    margin-top: -1.00px;
    font-family: var(--bold-bold-4xl-font-family);
    font-weight: var(--bold-bold-4xl-font-weight);
    color: var(--colors-dark-dark-700);
    font-size: var(--bold-bold-4xl-font-size);
    line-height: var(--bold-bold-4xl-line-height);
    position: relative;
    letter-spacing: var(--bold-bold-4xl-letter-spacing);
    font-style: var(--bold-bold-4xl-font-style);
    text-align: right;
  }

@media (max-width: 1199px) {
  .element-news-details .text-wrapper-7 {
    font-size: 28px;
  }
}

@media (max-width: 991px) {
  .element-news-details .text-wrapper-7 {
    font-size: 24px;
    text-align: center;
  }
}

@media (max-width: 767px) {
  .element-news-details .text-wrapper-7 {
    font-size: 20px;
    text-align: right;
  }
}
  
  .element-news-details .text-wrapper-8 {
    position: relative;
    width: fit-content;
    margin-top: -1.00px;
    font-family: var(--regular-regular-l-font-family);
    font-weight: var(--regular-regular-l-font-weight);
    color: var(--colors-dark-dark-800);
    font-size: var(--regular-regular-l-font-size);
    text-align: center;
    letter-spacing: var(--regular-regular-l-letter-spacing);
    line-height: var(--regular-regular-l-line-height);
    direction: rtl;
    font-style: var(--regular-regular-l-font-style);
  }
  
  .element-news-details .placeholder-image {
    height: 420px;
    object-fit: cover;
    position: relative;
    align-self: stretch;
    width: 100%;
  }

@media (max-width: 1199px) {
  .element-news-details .placeholder-image {
    height: 350px;
  }
}

@media (max-width: 991px) {
  .element-news-details .placeholder-image {
    height: 250px;
  }
}

@media (max-width: 767px) {
  .element-news-details .placeholder-image {
    height: 200px;
  }
}

@media (max-width: 479px) {
  .element-news-details .placeholder-image {
    height: 180px;
  }
}
  
  .element-news-details .details-2 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--spaces-space-11);
    position: relative;
    align-self: stretch;
    width: 100%;
    flex: 0 0 auto;
  }
  
  .element-news-details .text-wrapper-9 {
    margin-top: -1.00px;
    position: relative;
    align-self: stretch;
    font-family: var(--regular-regular-xl-font-family);
    font-weight: var(--regular-regular-xl-font-weight);
    color: var(--colors-dark-dark-700);
    font-size: var(--regular-regular-xl-font-size);
    letter-spacing: var(--regular-regular-xl-letter-spacing);
    line-height: var(--regular-regular-xl-line-height);
    direction: rtl;
    font-style: var(--regular-regular-xl-font-style);
  }
  
  .element-news-details .text-wrapper-10 {
    position: relative;
    align-self: stretch;
    font-family: var(--regular-regular-xl-font-family);
    font-weight: var(--regular-regular-xl-font-weight);
    color: var(--colors-dark-dark-700);
    font-size: var(--regular-regular-xl-font-size);
    letter-spacing: var(--regular-regular-xl-letter-spacing);
    line-height: var(--regular-regular-xl-line-height);
    font-style: var(--regular-regular-xl-font-style);
  }
  
  .element-news-details .placeholder-image-2 {
    height: 372px;
    position: relative;
    align-self: stretch;
    width: 100%;
  }

@media (max-width: 1199px) {
  .element-news-details .placeholder-image-2 {
    height: 300px;
  }
}

@media (max-width: 991px) {
  .element-news-details .placeholder-image-2 {
    height: 220px;
  }
}

@media (max-width: 767px) {
  .element-news-details .placeholder-image-2 {
    height: 180px;
  }
}

@media (max-width: 479px) {
  .element-news-details .placeholder-image-2 {
    height: 160px;
  }
}
  
  .element-news-details .placeholder-image-3 {
    height: 350px;
    position: relative;
    align-self: stretch;
    width: 100%;
  }

@media (max-width: 1199px) {
  .element-news-details .placeholder-image-3 {
    height: 280px;
  }
}

@media (max-width: 991px) {
  .element-news-details .placeholder-image-3 {
    height: 200px;
  }
}

@media (max-width: 767px) {
  .element-news-details .placeholder-image-3 {
    height: 170px;
  }
}

@media (max-width: 479px) {
  .element-news-details .placeholder-image-3 {
    height: 150px;
  }
}
  
  .element-news-details .line {
    height: 4px;
    position: relative;
    align-self: stretch;
    width: 100%;
  }
  
  .element-news-details .comments {
    align-items: center;
    gap: 24px;
    display: flex;
    flex-direction: column;
    position: relative;
    align-self: stretch;
    width: 100%;
    flex: 0 0 auto;
  }
  
  .element-news-details .frame-5 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    align-self: stretch;
    width: 100%;
    flex: 0 0 auto;
    flex-direction: row-reverse;
  }
  
  .element-news-details .frame-6 {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    position: relative;
    flex: 0 0 auto;
     
    border-radius: 6px;
    padding: 8px 12px;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
 
  
  .element-news-details .text-2 {
    width: fit-content;
    margin-top: -1.00px;
    font-family: var(--captions-caption-2-font-family);
    font-weight: var(--captions-caption-2-font-weight);
    color: var(--colors-dark-dark-600);
    font-size: var(--captions-caption-2-font-size);
    line-height: var(--captions-caption-2-line-height);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    direction: ltr;
    position: relative;
    letter-spacing: var(--captions-caption-2-letter-spacing);
    font-style: var(--captions-caption-2-font-style);
    border: none;
    background: transparent;
    outline: none;
    cursor: pointer;
    padding: 0;
    margin: 0;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    
  }
  
  .element-news-details .text-2:focus {
    outline: none;
  }
  
  /* Custom select dropdown styling */
  .element-news-details .text-2 option {
    background-color: white;
    color: var(--colors-dark-dark-600);
    padding: 8px 12px;
    border: none;
    cursor: pointer;
  }
  
  .element-news-details .text-2 option:hover {
    background-color: #f8f9fa;
  }
  
  /* Add chevron icon to select */
  .element-news-details .frame-6::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid #666;
    margin-right: 4px;
    transition: transform 0.3s ease;
  }
  
  .element-news-details .frame-6:hover::after {
    border-top-color: #333;
  }
  
  .element-news-details .medium-length-hero {
    position: relative;
    width: fit-content;
    margin-top: -1.00px;
    font-family: var(--bold-bold-3xl-font-family);
    font-weight: var(--bold-bold-3xl-font-weight);
    color: var(--ui-colors-text-heading);
    font-size: var(--bold-bold-3xl-font-size);
    text-align: center;
    letter-spacing: var(--bold-bold-3xl-letter-spacing);
    line-height: var(--bold-bold-3xl-line-height);
    direction: rtl;
    font-style: var(--bold-bold-3xl-font-style);
  }
  
  .element-news-details .add-comment {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    gap: var(--spacing-gap-between-items-SM-3);
    padding: var(--spacing-gap-between-items-SM-2);
    position: relative;
    align-self: stretch;
    width: 100%;
    flex: 0 0 auto;
    background-color: var(--colors-dark-dark-50);
    border-radius: var(--spaces-space-8);
    border: 1px solid;
    border-color: var(--colors-dark-dark-200);
  }
  
  .element-news-details .input-textarea {
    flex-direction: column;
    align-items: flex-end;
    display: flex;
    gap: var(--spaces-space-4);
    position: relative;
    align-self: stretch;
    width: 100%;
    flex: 0 0 auto;
    text-align: right;
  }
  
  .element-news-details .title {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    position: relative;
    align-self: stretch;
    width: 100%;
    flex: 0 0 auto;
  }
  
  .element-news-details .frame-7 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spaces-space-2);
    position: relative;
    flex: 0 0 auto;
  }
  
  .element-news-details .text-wrapper-11 {
    width: fit-content;
    font-family: var(--medium-medium-m-font-family);
    font-weight: var(--medium-medium-m-font-weight);
    color: var(--colors-dark-dark-800);
    white-space: nowrap;
    position: relative;
    margin-top: -1.00px;
    font-size: var(--medium-medium-m-font-size);
    letter-spacing: var(--medium-medium-m-letter-spacing);
    line-height: var(--medium-medium-m-line-height);
    direction: rtl;
    font-style: var(--medium-medium-m-font-style);
  }
  
  .element-news-details .field {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: var(--spaces-space-1);
    position: relative;
    align-self: stretch;
    width: 100%;
    flex: 0 0 auto;
  }
  
  .element-news-details .input {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    position: relative;
    align-self: stretch;
    width: 100%;
    text-align: right;
    flex: 0 0 auto;
    background-color: var(--colors-dark-white);
    border-radius: var(--spaces-space-5);
    border: 1px solid;
    border-color: var(--colors-dark-dark-400);
    margin-bottom: 15px;
    min-height: 150px;
  }
  
  .element-news-details .input-field {
    align-items: center;
    justify-content: center;
    padding: var(--spaces-space-6) var(--spaces-space-6) var(--spaces-space-17)
      var(--spaces-space-6);
    display: flex;
    gap: var(--spaces-space-4);
    position: relative;
    align-self: stretch;
    width: 100%;
    flex: 0 0 auto;
  }
  
  .element-news-details .text-wrapper-12 {
    flex: 1;
    font-family: var(--regular-regular-m-font-family);
    font-weight: var(--regular-regular-m-font-weight);
    color: var(--colors-dark-dark-500);
    position: relative;
    margin-top: -1.00px;
    font-size: var(--regular-regular-m-font-size);
    letter-spacing: var(--regular-regular-m-letter-spacing);
    line-height: var(--regular-regular-m-line-height);
    direction: rtl;
    font-style: var(--regular-regular-m-font-style);
  }
  
  .element-news-details .continue-button {
    display: flex;
    align-items: flex-start;
    position: relative;
    align-self: stretch;
    width: 100%;
    flex: 0 0 auto;
  }

@media (max-width: 767px) {
  .element-news-details .continue-button {
    justify-content: center;
  }
}
  
  .element-news-details .button-2 {
    all: unset;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spaces-space-3);
    padding: var(--spaces-space-5) var(--spaces-space-10) var(--spaces-space-5)
      var(--spaces-space-10);
    position: relative;
    flex: 0 0 auto;
    background-color: var(--colors-primary-primary);
    border-radius: var(--spaces-space-19);
    box-shadow: var(--card-shadow);
  }

@media (max-width: 767px) {
  .element-news-details .button-2 {
    padding: var(--spaces-space-4) var(--spaces-space-8);
    min-height: 44px;
    width: 100%;
  }
}
  
  .element-news-details .text-wrapper-13 {
    width: fit-content;
    font-family: var(--bold-bold-m-font-family);
    font-weight: var(--bold-bold-m-font-weight);
    color: var(--colors-dark-white);
    text-align: center;
    white-space: nowrap;
    position: relative;
    margin-top: -1.00px;
    font-size: var(--bold-bold-m-font-size);
    letter-spacing: var(--bold-bold-m-letter-spacing);
    line-height: var(--bold-bold-m-line-height);
    direction: rtl;
    font-style: var(--bold-bold-m-font-style);
  }
  
  .element-news-details .comments-2 {
    align-items: flex-start;
    gap: var(--spacing-gap-between-items-SM-2);
    display: flex;
    flex-direction: column;
    position: relative;
    align-self: stretch;
    width: 100%;
    flex: 0 0 auto;
  }
  
  .element-news-details .comments-3 {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: var(--spacing-gap-between-items-SM-3);
    padding: var(--spacing-gap-between-items-SM-2);
    position: relative;
    align-self: stretch;
    width: 100%;
    flex: 0 0 auto;
    background-color: var(--colors-dark-white);
    border-radius: var(--spacing-radius-small-box);
    border: 1px solid;
    border-color: var(--colors-dark-dark-200);
  }
  
  .element-news-details .frame-8 {
    display: flex;
    align-items: flex-start;
    gap: var(--spaces-space-8);
    position: relative;
    align-self: stretch;
    width: 100%;
    flex: 0 0 auto;
  }
  
  .element-news-details .frame-9 {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-start;
    gap: 12px;
    position: relative;
    flex: 1;
    flex-grow: 1;
  }
  
  .element-news-details .comment-header {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    position: relative;
    align-self: stretch;
    width: 100%;
    flex: 0 0 auto;
  }
  
  .element-news-details .timestamp-container {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    position: relative;
    flex: 0 0 auto;
  }
  
  .element-news-details .calendar-icon {
    width: 14px;
    height: 14px;
    opacity: 0.5;
  }
  
  .element-news-details .text-wrapper-14 {
    width: fit-content;
    margin-top: -1.00px;
    font-family: var(--regular-regular-m-font-family);
    font-weight: var(--regular-regular-m-font-weight);
    color: #666;
    font-size: 12px;
    line-height: 1.4;
    white-space: nowrap;
    direction: rtl;
    position: relative;
    letter-spacing: var(--regular-regular-m-letter-spacing);
    font-style: var(--regular-regular-m-font-style);
  }
  
  .element-news-details .text-wrapper-15 {
    width: fit-content;
    margin-top: -1.00px;
    font-family: var(--bold-bold-l-font-family);
    font-weight: var(--bold-bold-l-font-weight);
    color: #000;
    font-size: 16px;
    line-height: 1.4;
    direction: rtl;
    position: relative;
    letter-spacing: var(--regular-regular-l-letter-spacing);
    font-style: var(--regular-regular-l-font-style);
  }
  
  .element-news-details .text-wrapper-16 {
    align-self: stretch;
    font-family: var(--regular-regular-l-font-family);
    font-weight: var(--regular-regular-l-font-weight);
    color: #000;
    font-size: 14px;
    line-height: 1.6;
    direction: rtl;
    position: relative;
    letter-spacing: var(--bold-bold-l-letter-spacing);
    font-style: var(--bold-bold-l-font-style);
    margin-top: 8px;
  }
  
  .element-news-details .interaction-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
    position: relative;
    align-self: stretch;
    width: 100%;
    flex: 0 0 auto;
    margin-top: 8px;
  }
  
  .element-news-details .interaction-item {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    position: relative;
    flex: 0 0 auto;
    cursor: pointer;
    transition: opacity 0.3s ease;
  }
  
  .element-news-details .interaction-item:hover {
    opacity: 0.8;
  }
  
  .element-news-details .reply-icon {
    width: 16px;
    height: 16px;
    opacity: 0.5;
  }
  
  .element-news-details .text-3 {
    width: fit-content;
    margin-top: -1.00px;
    font-family: var(--regular-regular-m-font-family);
    font-weight: var(--regular-regular-m-font-weight);
    color: #666;
    font-size: 12px;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    direction: rtl;
    position: relative;
    letter-spacing: var(--regular-regular-l-letter-spacing);
    font-style: var(--regular-regular-l-font-style);
  }
  
  .element-news-details .img-2 {
    position: relative;
    width: 16px;
    height: 16px;
    opacity: 0.5;
    transform: scaleX(-1); /* Flip horizontally for RTL */
  }
  
  .element-news-details .social-medias {
    position: relative;
    width: 16px;
    height: 16px;
    opacity: 0.5;
  }
  
  .element-news-details .placeholder-image-4 {
    position: relative;
    width: 60px;
    height: 60px;
    aspect-ratio: 1;
    object-fit: cover;
  }
  
  .element-news-details .line-2 {
    height: 1px;
    background-color: #e0e0e0;
    position: relative;
    align-self: stretch;
    width: 100%;
    margin: 20px 0;
  }
  
  .element-news-details .frame-14 {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    position: relative;
    align-self: stretch;
    width: 100%;
    flex: 0 0 auto;
  }
  
  .element-news-details .frame-15 {
    display: flex;
    align-items: flex-start;
    gap: var(--spaces-space-8);
    position: relative;
    flex: 1;
    flex-grow: 1;
  }
  
  .element-news-details .interface-essential {
    position: relative;
    width: 32px;
    height: 32px;
  }
  
  .element-news-details .pagination {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spaces-space-8);
    position: relative;
    flex: 0 0 auto;
  }

@media (max-width: 767px) {
  .element-news-details .pagination {
    gap: var(--spaces-space-4);
    flex-wrap: wrap;
  }
}

@media (max-width: 479px) {
  .element-news-details .pagination {
    gap: var(--spaces-space-2);
  }
}
  
  .element-news-details .arrow {
    width: 42px;
    height: 42px;
    margin-top: -1.00px;
    margin-bottom: -1.00px;
    margin-left: -1.00px;
    border-color: var(--colors-dark-dark-800);
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 10px;
    padding: 10px;
    position: relative;
    border-radius: 50px;
    border: 1px solid;
    box-shadow: var(--shadow);
  }

@media (max-width: 767px) {
  .element-news-details .arrow {
    width: 36px;
    height: 36px;
    padding: 8px;
  }
}

@media (max-width: 479px) {
  .element-news-details .arrow {
    width: 32px;
    height: 32px;
    padding: 6px;
  }
}
  
  .element-news-details .div-wrapper {
    display: flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: space-around;
    gap: 10px;
    padding: 10px;
    position: relative;
    margin-top: -1.00px;
    margin-bottom: -1.00px;
    border-radius: 50px;
    border: 1px solid;
    border-color: var(--colors-dark-dark-300);
    box-shadow: var(--shadow);
  }

@media (max-width: 767px) {
  .element-news-details .div-wrapper {
    width: 36px;
    height: 36px;
    padding: 8px;
  }
}

@media (max-width: 479px) {
  .element-news-details .div-wrapper {
    width: 32px;
    height: 32px;
    padding: 6px;
  }
}
  
  .element-news-details .text-wrapper-17 {
    position: relative;
    width: fit-content;
    margin-top: -1.00px;
    font-family: var(--regular-regular-m-font-family);
    font-weight: var(--regular-regular-m-font-weight);
    color: var(--colors-dark-dark-800);
    font-size: var(--regular-regular-m-font-size);
    text-align: right;
    letter-spacing: var(--regular-regular-m-letter-spacing);
    line-height: var(--regular-regular-m-line-height);
    white-space: nowrap;
    font-style: var(--regular-regular-m-font-style);
  }
  
  .element-news-details .arrow-2 {
    width: 44px;
    height: 44px;
    margin-top: -2.00px;
    margin-bottom: -2.00px;
    background-color: var(--colors-dark-dark-800);
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 10px;
    padding: 10px;
    position: relative;
    border-radius: 50px;
    border: 1px solid;
    box-shadow: var(--shadow);
    border-color: var(--colors-dark-dark-800);
  }

@media (max-width: 767px) {
  .element-news-details .arrow-2 {
    width: 38px;
    height: 38px;
    padding: 8px;
  }
}

@media (max-width: 479px) {
  .element-news-details .arrow-2 {
    width: 34px;
    height: 34px;
    padding: 6px;
  }
}
  
  .element-news-details .text-wrapper-18 {
    margin-top: -2.00px;
    color: var(--colors-dark-white);
    position: relative;
    width: fit-content;
    font-family: var(--regular-regular-m-font-family);
    font-weight: var(--regular-regular-m-font-weight);
    font-size: var(--regular-regular-m-font-size);
    text-align: right;
    letter-spacing: var(--regular-regular-m-letter-spacing);
    line-height: var(--regular-regular-m-line-height);
    white-space: nowrap;
    font-style: var(--regular-regular-m-font-style);
  }
  
  .element-news-details .arrows-diagrams-wrapper {
    width: 42px;
    height: 42px;
    margin-top: -1.00px;
    margin-bottom: -1.00px;
    margin-right: -1.00px;
    border-color: var(--colors-dark-dark-800);
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 10px;
    padding: 10px;
    position: relative;
    border-radius: 50px;
    border: 1px solid;
    box-shadow: var(--shadow);
  }

@media (max-width: 767px) {
  .element-news-details .arrows-diagrams-wrapper {
    width: 36px;
    height: 36px;
    padding: 8px;
  }
}

@media (max-width: 479px) {
  .element-news-details .arrows-diagrams-wrapper {
    width: 32px;
    height: 32px;
    padding: 6px;
  }
}

/* RTL responsive adjustments for frame-5 */
@media (max-width: 768px) {
  .element-news-details .frame-5 {
    flex-direction: row;
    gap: 15px;
    align-items: stretch;
  }
  
  .element-news-details .frame-6 {
    align-self: flex-start;
  }
  
  .element-news-details .medium-length-hero {
    text-align: right;
  }
}

/* New comment structure based on reference HTML */
.element-news-details .comment-frame {
  display: flex;
  align-items: flex-start;
  gap: var(--spaces-space-8);
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
}

.element-news-details .comment-div {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--spaces-space-4);
  position: relative;
  flex: 1;
  flex-grow: 1;
}

.element-news-details .comment-frame-2 {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--spaces-space-3);
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
}

.element-news-details .comment-frame-3 {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  gap: var(--spaces-space-2);
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
  justify-content: space-between;
    align-items: center;
}

.element-news-details .comment-frame-4 {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: var(--spaces-space-2);
  position: relative;
  flex: 0 0 auto;
 
}

.element-news-details .comment-text-wrapper {
  width: fit-content;
  margin-top: -1.00px;
  font-family: var(--regular-regular-m-font-family);
  font-weight: var(--regular-regular-m-font-weight);
  color: #666;
  font-size: 12px;
  line-height: 1.4;
  white-space: nowrap;
  direction: rtl;
  position: relative;
  letter-spacing: var(--regular-regular-m-letter-spacing);
  font-style: var(--regular-regular-m-font-style);
}

.element-news-details .comment-text-wrapper-2 {
  width: fit-content;
  margin-top: -1.00px;
  font-family: var(--bold-bold-l-font-family);
  font-weight: var(--bold-bold-l-font-weight);
  color: #000;
  font-size: 16px;
  line-height: 1.4;
  direction: rtl;
  position: relative;
  letter-spacing: var(--regular-regular-l-letter-spacing);
  font-style: var(--regular-regular-l-font-style);
}

.element-news-details .comment-text-wrapper-3 {
  align-self: stretch;
  font-family: var(--regular-regular-l-font-family);
  font-weight: var(--regular-regular-l-font-weight);
  color: #000;
  font-size: 14px;
  line-height: 1.6;
  position: relative;
  letter-spacing: var(--bold-bold-l-letter-spacing);
  font-style: var(--bold-bold-l-font-style);
  text-align: right;
}

.element-news-details .comment-frame-5 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
  margin-top: 8px;
}

.element-news-details .comment-frame-6 {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  position: relative;
  flex: 0 0 auto;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.element-news-details .comment-frame-6:hover {
  opacity: 0.8;
}

.element-news-details .comment-text {
  width: fit-content;
  margin-top: -1.00px;
  font-family: var(--regular-regular-m-font-family);
  font-weight: var(--regular-regular-m-font-weight);
  color: #666;
  font-size: 12px;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  direction: rtl;
  position: relative;
  letter-spacing: var(--regular-regular-l-letter-spacing);
  font-style: var(--regular-regular-l-font-style);
}

.element-news-details .comment-placeholder-image {
  position: relative;
  width: 60px;
  height: 60px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
}

.element-news-details .comment-line {
  height: 1px;
  background-color: #e0e0e0;
  position: relative;
  align-self: stretch;
  width: 100%;
  margin: 20px 0;
}

.element-news-details .comment-frame-7 {
  display: flex;
  align-items: flex-start;
  gap: var(--spaces-space-4);
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
}

.element-news-details .comment-frame-8 {
  display: flex;
  align-items: flex-start;
  gap: var(--spaces-space-8);
  position: relative;
  flex: 1;
  flex-grow: 1;
}

.element-news-details .comment-interface-essential {
  position: relative;
  width: 14px;
  height: 14px;
  opacity: 0.5;
}

.element-news-details .comment-interface-essential-2 {
  position: relative;
  width: 20px;
  height: 20px;
  opacity: 0.5;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.element-news-details .comment-interface-essential-2:hover {
  opacity: 0.8;
}

.element-news-details .comment-img {
  position: relative;
  width: 16px;
  height: 16px;
  opacity: 0.5;
}

.element-news-details .comment-social-medias {
  position: relative;
  width: 16px;
  height: 16px;
  opacity: 0.5;
}

/* Pagination Styles - Matching News List */
.pagination-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  direction: rtl;
}


.pagination-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #e0e0e0;
  background: white;
  color: #666;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: pointer;
  user-select: none;
}

.pagination-btn:hover {
  border-color: #333;
  color: #333;
}

.pagination-btn.active {
  background: #333;
  color: white;
  border-color: #333;
}

.pagination-btn.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.pagination-btn.disabled:hover {
  border-color: #e0e0e0;
  color: #666;
}

.pagination-arrow {
  color: #333;
}

.pagination-arrow:hover {
  background: #f8f9fa;
}

.pagination-number {
  font-family: inherit;
}

.pagination-dots {
  cursor: default;
  font-weight: bold;
  letter-spacing: 1px;
}

.pagination-dots:hover {
  border-color: #e0e0e0;
  color: #666;
}

@media (max-width: 768px) {
  .pagination-container {
    gap: 6px;
  }
  
  .pagination-btn {
    width: 36px;
    height: 36px;
    font-size: 13px;
  }
}

/* RTL Styles */
html[dir="rtl"] .element-news-details .text-wrapper-4 {
  text-align: left;
}

html[dir="rtl"] .element-news-details .text-wrapper-7 {
  text-align: left;
}

html[dir="rtl"] .element-news-details .text-wrapper-10 {
  text-align: left;
}

 

html[dir="rtl"] .element-news-details .input {
  align-items: flex-start;
}

html[dir="rtl"] .element-news-details .comment-text-wrapper-3 {
  text-align: left;
}

html[dir="rtl"] .element-news-details textarea {
  text-align: left;
}

/* RTL Text Alignment Overrides */
html[dir="rtl"] .element-news-details .text-wrapper-4,
html[dir="rtl"] .element-news-details .text-wrapper-5,
html[dir="rtl"] .element-news-details .text-wrapper-6,
html[dir="rtl"] .element-news-details .text-wrapper-7,
html[dir="rtl"] .element-news-details .text-wrapper-8,
html[dir="rtl"] .element-news-details .text-wrapper-9,
html[dir="rtl"] .element-news-details .text-wrapper-10,
html[dir="rtl"] .element-news-details .text-wrapper-11,
html[dir="rtl"] .element-news-details .text-wrapper-13,
html[dir="rtl"] .element-news-details .text-wrapper-16,
html[dir="rtl"] .element-news-details .p,
html[dir="rtl"] .element-news-details .medium-length-hero {
  text-align: left !important;
}

html[dir="rtl"] .element-news-details .comment-text-wrapper,
html[dir="rtl"] .element-news-details .comment-text-wrapper-2,
html[dir="rtl"] .element-news-details .comment-text-wrapper-3,
html[dir="rtl"] .element-news-details .comment-text {
  text-align: left !important;
}
  