@media screen and (min-width: 992px) {
  .search-more-detail-page:has(.pager) {
    padding-bottom: 55px;
  }
  .search-more-detail-page {
    /* padding-bottom: 30px; */
    padding-bottom: 20px;
  }
  .search-more-detail-page .block-title {
    padding-bottom: 32px;
  }
}
@media screen and (min-width: 768px) and (max-width: 991px) {
  .content-top-section .page-title {
    font-size: 24px;
    margin-top: 19px;
  }
  .content-top-section .metainfo__content,
  .content-top-section .author-name a,
  .content-top-section .node-created-date {
    font-size: 14px;
  }
  .content-top-section .article__special-fields {
    font-size: 12px;
    margin-bottom: 18px;
  }
  .detail-field.author-field {
    margin-bottom: 18px;
  }
  .detail-page-body .files-field .download-wrapper .close-icon {
    width: 13px;
  }
  .detail-page-body .files-field .download-wrapper {
    padding-top: 30px;
  }
  /* .content-middle-section {
    margin: 0 -15px;
    padding: 24px 15px;
  } */
  /* .comment-form__wrapper {
    margin-left: -15px;
    margin-right: -15px;
    width: calc(100% + 30px) !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .stream-comment-item article.comment {
    margin-left: -15px;
    margin-right: -15px;
    width: calc(100% + 30px);
  }
  .comments article.comment {
    margin-right: -15px;
    width: calc(100% + 15px);
  } */
  /* .enhanced-detail-page .comment-form__wrapper {
    padding: 24px 15px 0px;
  } */
  .enhanced-detail-page .node-type-header.section-title {
    padding-bottom: 40px;
  }
  .search-more-detail-page .block-title {
    padding-top: 60px;
  }
}

@media screen and (max-width: 767px) {
  body.enhanced-detail-page article.card {
    max-width: 100%;
  }
  .content-top-section .metainfo__avatar img {
    width: 36px;
    height: 36px;
  }
  .content-top-section .metainfo__content,
  .content-top-section .author-name a {
    font-size: 12px;
    line-height: 15px;
  }
  .content-top-section .metainfo__content .content-info > span {
    max-width: 170px;
  }
  .content-top-section .page-title {
    font-size: 20px;
    line-height: 23px;
    margin-top: 13px;
    margin-bottom: 11px;
  }
  .content-top-section .article__special-fields {
    font-size: 10px !important;
    line-height: 12px !important;
    margin-bottom: 12px;
  }
  .content-top-section .attendee_list {
    font-size: 12px;
    line-height: 15px;
    margin-bottom: 11px;
  }
  .content-middle-section .event-organization-detail {
    font-size: 15px;
    line-height: 18px;
    margin-bottom: 11px;
  }
  .content-top-section .metainfo__content {
    max-width: 59%;
  }
  .content-top-section .node-created-date {
    font-size: 12px;
  }
  /* .detail-page-body .files-field .download_label::before {
    width: 24px;
    height: 24px;
    background-size: 15px !important;
    top: 0px;
  } */
  /* .detail-page-body .files-field .download_label {
    padding-left: 30px;
  } */
  .detail-page-body .files-field .download-wrapper {
    top: 30px;
  }
  .detail-page-body .files-field .download-wrapper .close-icon {
    width: 10px;
  }
  /* *********Task #383302 and #383312 27-11-24*********** */
  .detail-page-body .files-field .download-wrapper {
    padding-top: 25px;
  }
  .content-middle-section .custom-image,
  .content-middle-section .custom-image img {
    /* min-height: 208px; */
    max-height: 208px;
  }
  .content-middle-section .detail-page-body .desc span {
    font-size: 15px !important;
    font-family: "Inter" !important;
    line-height: 18px;
    /* line-height: 19px; */
  }
  /* #383604 */
  .content-middle-section .detail-page-body,
  .content-middle-section .detail-field.author-field,
  .post-text,
  .content-middle-section .detail-page-body a,
  .detail-page-body .post-file span.file-link a {
    font-size: 15px;
    line-height: 18px;
    /* line-height: 19px; */
  }
  .content-middle-section .detail-page-body {
    margin-bottom: 24px;
  }
  .detail-page-body .post-file span.file-link::before {
    top: -3px;
  }
  .content-middle-section {
    margin: 0 -12px;
    padding: 12px 12px;
  }
  /* .comment-form__wrapper {
    margin-left: -15px;
    margin-right: -15px;
    width: calc(100% + 30px) !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .stream-comment-item article.comment {
    margin-left: -15px;
    margin-right: -15px;
    width: calc(100% + 30px);
  }
  .comments article.comment {
    margin-right: -15px;
    width: calc(100% + 15px);
  } */
  .path-highlight-event .content-middle-section span {
    display: inline;
  }
  /* images inside the body-tag */
  .detail-page-body img {
    margin-bottom: 12px;
  }
  .enhanced-detail-page .comment-form__wrapper {
    padding: 12px 12px 0;
  }
  .enhanced-detail-page .comment-form__wrapper:has(+ .comment-form__wrapper) {
    padding: 12px;
  }
  .content-middle-section .custom-image,
  .content-middle-section .event-register-section {
    margin-bottom: 10px;
  }
  .path-highlight-event   .country-field   .field--name-field-organization   .field--item   a {
    font-size: 15px;
    line-height: 18px;
  }
  .content-middle-section {
    border-top: 1px solid var(--primary-color);
    border-bottom: 1px solid var(--primary-color);
  }
  /* Comment section */
  .comment-form__wrapper {
    margin-left: -12px;
    margin-right: -12px;
    width: calc(100% + 24px) !important;
    padding-left: 12px;
    padding-right: 12px;
  }
  .stream-comment-item article.comment {
    margin-left: -12px;
    margin-right: -12px;
    width: calc(100% + 24px);
  }
  .comments article.comment {
    margin-right: -12px;
    width: calc(100% + 12px);
    margin-left: 0px;
  }
  .content-bottom-section > section > .card {
    max-width: 100%;
  }
  .content-middle-section .event-register-section .btn-primary-lg a {
    font-size: 12px;
    line-height: 15px;
  }
  .content-middle-section .bottom-additional-fields {
    margin-bottom: 12px;
  }
  .enhanced-detail-page .node-type-header.section-title {
    padding-bottom: 20px;
  }
  .search-more-detail-page .block-title {
    padding-top: 20px;
  }
  .detail-page-body .files-field .download-wrapper {
    border-radius: 12px;
  }
  body .create-new-content-button a {
    top: -45px;
  }
  .bottom-additional-fields .btn-primary-sm a,
  .bottom-additional-fields .btn-primary-lg a {
    font-size: 12px;
    line-height: 12px;
  }
}
