/* Single-post article layout and content components. */

body.single {
  --elbi-article-measure: 800px;
  --elbi-article-gap: 30px;
}

body.single #content,
body.single #primary,
body.single #secondary,
body.single article.post,
body.single .entry-content-wrap,
body.single .entry-content {
  min-width: 0;
}

body.single #content {
  overflow: visible;
}

body.single .af-breadcrumbs {
  margin-top: 18px;
  padding: 11px 16px;
  overflow: hidden;
  border: 1px solid var(--elbi-border);
  border-radius: var(--elbi-radius-sm);
  background: var(--elbi-white);
  color: var(--elbi-muted);
  font-size: 13px;
  line-height: 1.7;
  text-overflow: ellipsis;
}

body.single .af-breadcrumbs .trail-items {
  margin: 0;
  padding: 0;
  font-size: inherit;
  white-space: nowrap;
}

body.single .af-breadcrumbs a {
  color: var(--elbi-blue-dark);
}

body.single .section-block-upper {
  gap: var(--elbi-article-gap);
  margin-top: 20px;
}

body.single #primary,
body.single #secondary,
body.single.rtl .container-wrapper #primary,
body.single.rtl .container-wrapper #secondary {
  width: auto;
  padding: 0;
  float: none;
}

body.single #primary {
  flex: 1 1 0;
}

body.single #secondary {
  flex: 0 0 30%;
  align-self: flex-start;
}

body.single #secondary.sidebar-sticky-top,
body.single #secondary.sidebar-sticky-bottom {
  position: static;
}

body.single article.post {
  text-align: right;
}

body.single .entry-content-wrap {
  margin: 0 0 20px;
  padding: 28px;
  border: 1px solid var(--elbi-border);
  border-radius: var(--elbi-radius);
  background: var(--elbi-white);
  box-shadow: var(--elbi-shadow);
}

body.single.aft-default-mode main.site-main .entry-content-wrap {
  box-shadow: var(--elbi-shadow);
}

body.single .entry-content-wrap > .entry-header {
  width: 100%;
  margin-inline: 0;
}

body.single .entry-content-wrap > .read-img.pos-rel {
  width: 100%;
  margin-inline: auto;
}

body.single .entry-content-wrap > .color-pad {
  width: min(100%, var(--elbi-article-measure));
  margin-inline: auto;
}

body.single .entry-header .read-details,
body.single .entry-header-details {
  min-width: 0;
}

body.single .entry-header .figure-categories {
  margin-bottom: 10px;
  line-height: 1.5;
}

body.single .entry-header .cat-links {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0;
  padding: 0;
}

body.single .entry-header .cat-links li {
  margin: 0;
}

body.single .entry-header .reviewnews-categories {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 2px 9px;
  border: 1px solid var(--elbi-red-border);
  border-radius: 3px;
  background: var(--elbi-red-soft);
  color: var(--elbi-red-dark);
  font-size: 12.5px;
  line-height: 1.5;
  font-weight: 700;
}

body.single .entry-header .reviewnews-categories:hover,
body.single .entry-header .reviewnews-categories:focus {
  background: var(--elbi-red);
  color: var(--elbi-white);
}

body.single-post .entry-header .entry-title {
  max-width: none;
  margin: 0 0 12px;
  padding-block: 2px;
  overflow-wrap: anywhere;
  color: var(--elbi-charcoal);
  font-size: clamp(32px, 3vw, 44px);
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: 0;
}

body.single .entry-header .aft-post-excerpt-and-meta {
  padding-top: 8px;
}

body.single .entry-header .aft-post-excerpt-and-meta .post-excerpt {
  margin: 0 0 15px;
  padding-inline-start: 15px;
  border: 0;
  border-inline-start: 3px solid var(--elbi-blue);
  color: #475467;
  font-size: 16px;
  line-height: 1.8;
  font-weight: 400;
}

body.single .af-single-article .entry-header .entry-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 14px;
  margin: 0;
  color: var(--elbi-muted);
  font-size: 13.5px;
  line-height: 1.65;
}

body.single .entry-header .entry-meta > span,
body.single .entry-header .entry-meta a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

body.single .entry-header .entry-meta > span {
  margin: 0;
}

body.single .entry-header .entry-meta > span.item-metadata {
  display: inline-flex;
  width: auto;
}

body.single .entry-header .entry-meta a {
  color: #475467;
}

body.single .entry-header .entry-meta i {
  color: #98a2b3;
  font-size: 12px;
  line-height: 1;
}

body.single .entry-content-wrap > .read-img.pos-rel {
  margin-top: 20px;
  margin-bottom: 24px;
}

body.single .entry-content-wrap > .read-img .post-thumbnail,
body.single .entry-content-wrap > .read-img .post-thumbnail.original {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  border-radius: var(--elbi-radius-sm);
}

body.single .entry-content-wrap > .read-img .post-thumbnail img,
body.single .entry-content-wrap > .read-img .post-thumbnail.original img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  margin: 0;
  border-radius: inherit;
  object-fit: contain;
}

body.single-post .entry-content-wrap > .read-img .aft-image-caption {
  display: block;
  padding: 8px 4px 0;
  background: transparent;
  color: var(--elbi-muted);
  font-size: 13px;
  line-height: 1.65;
}

body.single-post .entry-content-wrap > .read-img .aft-image-caption p {
  margin: 0;
  text-align: right;
  font-style: normal;
}

body.single .entry-content {
  margin: 0;
  color: #20252b;
  font-size: 19px;
  line-height: 1.9;
  overflow-wrap: break-word;
}

body.single .entry-content > :first-child {
  margin-top: 0;
}

body.single .entry-content > :last-child {
  margin-bottom: 0;
}

body.single .entry-content p {
  margin-top: 0;
  margin-bottom: 22px;
  font-size: inherit;
  line-height: inherit;
}

body.single .entry-content a:not(.wp-block-button__link) {
  color: var(--elbi-blue);
  text-decoration-color: rgba(11, 78, 170, 0.42);
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  border-bottom: 0;
}

body.single .entry-content a:not(.wp-block-button__link):hover,
body.single .entry-content a:not(.wp-block-button__link):focus {
  color: var(--elbi-red);
  text-decoration-color: currentColor;
}

body.single .entry-content h2,
body.single .entry-content h3,
body.single .entry-content h4 {
  clear: both;
  margin-bottom: 14px;
  padding-block: 2px;
  color: var(--elbi-charcoal);
  line-height: 1.45;
  font-weight: 700;
  overflow-wrap: anywhere;
}

body.single .entry-content h2 {
  margin-top: 38px;
  font-size: clamp(28px, 2.2vw, 30px);
}

body.single .entry-content h3 {
  margin-top: 32px;
  font-size: clamp(23px, 1.8vw, 25px);
}

body.single .entry-content h4 {
  margin-top: 28px;
  font-size: clamp(20px, 1.55vw, 22px);
}

body.single .entry-content :is(ul, ol) {
  margin: 0 0 24px;
  padding-inline-start: 1.55em;
  padding-inline-end: 0;
}

body.single .entry-content :is(ul, ol) li {
  margin-bottom: 8px;
  padding-inline-start: 0.25em;
}

body.single .entry-content :is(ul, ol) li::marker {
  color: var(--elbi-red);
  font-weight: 700;
}

body.single .entry-content blockquote,
body.single .entry-content .wp-block-quote,
body.single .entry-content .wp-block-pullquote blockquote {
  max-width: 100%;
  margin: 26px 0;
  padding: 18px 22px;
  border: 0;
  border-inline-start: 4px solid var(--elbi-red);
  border-radius: 0 var(--elbi-radius-sm) var(--elbi-radius-sm) 0;
  background: var(--elbi-soft);
  color: #344054;
  text-align: right;
}

body.single .entry-content blockquote p,
body.single .entry-content .wp-block-pullquote blockquote p {
  margin-bottom: 8px;
  font-size: 1.05em;
  line-height: 1.8;
}

body.single .entry-content blockquote p:last-child,
body.single .entry-content blockquote cite:last-child {
  margin-bottom: 0;
}

body.single .entry-content blockquote cite {
  display: block;
  margin-top: 10px;
  color: var(--elbi-muted);
  font-size: 14px;
  font-style: normal;
}

body.single .entry-content .wp-block-pullquote {
  padding: 0;
  border: 0;
}

body.single .entry-content :is(img, video) {
  max-width: 100%;
  height: auto;
}

body.single .entry-content :is(figure, .wp-caption) {
  max-width: 100%;
}

body.single .entry-content figure.wp-block-image,
body.single .entry-content .wp-caption {
  margin-top: 26px;
  margin-bottom: 26px;
}

body.single .entry-content figure.wp-block-image img,
body.single .entry-content .wp-caption img {
  display: block;
  width: auto;
  max-width: 100%;
  margin-inline: auto;
  border-radius: var(--elbi-radius-sm);
}

body.single .entry-content :is(figcaption, .wp-caption-text, .gallery-caption) {
  margin: 7px 0 0;
  padding: 0 4px;
  background: transparent;
  color: var(--elbi-muted);
  font-size: 13px;
  line-height: 1.65;
  text-align: right;
}

body.single .entry-content .gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 26px 0;
}

body.single .entry-content .gallery .gallery-item {
  width: auto;
  max-width: none;
  margin: 0;
  float: none;
}

body.single .entry-content .gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--elbi-radius-sm);
  object-fit: cover;
}

body.single .entry-content .wp-block-gallery {
  gap: 12px;
  margin-block: 26px;
}

body.single .entry-content :is(
    .wp-block-embed,
    .wp-block-video,
    .wp-block-embed__wrapper,
    .wp-video,
    .video-container
  ) {
  max-width: 100%;
}

body.single .entry-content .wp-block-embed {
  margin: 26px 0;
}

body.single .entry-content .wp-block-embed__wrapper {
  position: relative;
  width: 100%;
}

body.single .entry-content .wp-embed-aspect-16-9 .wp-block-embed__wrapper,
body.single .entry-content .is-type-video .wp-block-embed__wrapper {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--elbi-radius-sm);
  background: #101828;
}

body.single .entry-content .wp-embed-aspect-16-9 iframe,
body.single .entry-content .is-type-video iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

body.single .entry-content iframe {
  max-width: 100%;
}

body.single .entry-content .wp-block-table {
  max-width: 100%;
  margin: 26px 0;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
}

body.single .entry-content table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
  font-size: 16px;
  line-height: 1.65;
}

body.single .entry-content table:not(.wp-calendar-table) {
  display: block;
  max-width: 100%;
  overflow-x: auto;
}

body.single .entry-content :is(th, td) {
  padding: 11px 13px;
  border: 1px solid var(--elbi-border);
  text-align: right;
  vertical-align: top;
}

body.single .entry-content th {
  background: var(--elbi-soft);
  color: var(--elbi-charcoal);
  font-weight: 700;
}

body.single .entry-content .wp-block-button {
  margin: 24px 0;
}

body.single .entry-content .wp-block-button__link {
  padding: 10px 19px;
  border: 1px solid var(--elbi-blue);
  border-radius: var(--elbi-radius-sm);
  background: var(--elbi-blue);
  color: var(--elbi-white);
  font-size: 16px;
  line-height: 1.5;
  font-weight: 700;
}

body.single .entry-content .wp-block-button__link:hover,
body.single .entry-content .wp-block-button__link:focus {
  border-color: var(--elbi-blue-dark);
  background: var(--elbi-blue-dark);
  color: var(--elbi-white);
}

body.single .entry-content :is(pre, code, kbd, samp) {
  direction: ltr;
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  text-align: left;
}

body.single .entry-content pre,
body.single .entry-content .wp-block-code {
  max-width: 100%;
  margin: 24px 0;
  padding: 18px;
  overflow-x: auto;
  border: 1px solid #344054;
  border-radius: var(--elbi-radius-sm);
  background: #101828;
  color: #f2f4f7;
  font-size: 14px;
  line-height: 1.7;
}

body.single .entry-content .wp-block-code code {
  padding: 0;
  background: transparent;
}

body.single .entry-content .tags-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin: 28px 0 0;
  color: var(--elbi-muted);
  font-size: 13px;
  font-weight: 600;
}

body.single .entry-content .tags-links a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 4px 10px;
  border: 1px solid var(--elbi-border);
  border-radius: 999px;
  background: var(--elbi-soft);
  color: #475467;
  line-height: 1.4;
  text-decoration: none;
}

body.single .entry-content .tags-links a:hover,
body.single .entry-content .tags-links a:focus {
  border-color: var(--elbi-red);
  background: var(--elbi-red-soft);
  color: var(--elbi-red-dark);
}

body.single .entry-content .aft-social-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--elbi-border);
}

body.single .aft-social-share > a,
body.single .aft-social-share > .aft-jpshare {
  display: inline-flex;
  margin: 0;
}

body.single .aft-social-share a i,
body.single .aft-social-share .aft-jpshare i {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  border-radius: 50%;
  font-size: 15px;
  line-height: 1;
}

body.single .aft-social-share a:focus-visible,
body.single .aft-social-share .aft-jpshare i:focus-visible {
  outline: 2px solid var(--elbi-red);
  outline-offset: 3px;
}

body.single .navigation.post-navigation {
  margin-top: 28px;
  padding: 18px 0 0;
  border-top: 1px solid var(--elbi-border);
}

body.single .navigation.post-navigation .nav-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

body.single .navigation.post-navigation :is(.nav-previous, .nav-next) {
  width: auto;
  float: none;
  text-align: right;
}

body.single .navigation.post-navigation a {
  height: 100%;
  padding: 6px 0;
  border: 0;
  border-radius: 0;
  color: #344054;
  font-size: 14px;
  line-height: 1.55;
}

body.single .navigation.post-navigation a:hover,
body.single .navigation.post-navigation a:focus {
  border-color: #cfd4dc;
  color: var(--elbi-red);
}

body.single .reviewnews-author-bio {
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--elbi-border);
}

body.single .reviewnews-author-bio .author-box-content {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--elbi-border);
  border-radius: var(--elbi-radius);
  background: var(--elbi-soft);
}

body.single .reviewnews-author-bio .author-avatar {
  flex: 0 0 72px;
}

body.single .reviewnews-author-bio .author-avatar img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
}

body.single .reviewnews-author-bio .author-info {
  min-width: 0;
  flex: 1 1 auto;
}

body.single .reviewnews-author-bio .author-name {
  margin: 0 0 5px;
  font-size: 19px;
}

body.single .reviewnews-author-bio :is(.author-role, .author-description) {
  margin: 0 0 8px;
  color: var(--elbi-muted);
  font-size: 14px;
  line-height: 1.7;
}

body.single .reviewnews-author-bio .author-description:empty {
  display: none;
}

body.single .reviewnews-author-bio .author-website-and-posts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  font-size: 13px;
}

body.single .comments-area,
body.single .af-reated-posts {
  margin-bottom: 20px;
  padding: 22px;
  border: 1px solid var(--elbi-border);
  border-radius: var(--elbi-radius);
  background: var(--elbi-white);
  box-shadow: none;
}

body.single .comments-area :is(.comments-title, #reply-title) {
  margin: 0 0 20px;
  padding-inline-start: 11px;
  border: 0;
  border-inline-start: 3px solid var(--elbi-red);
  color: var(--elbi-charcoal);
  font-size: 21px;
  line-height: 1.45;
  font-weight: 700;
}

body.single.rtl
  :is(#secondary, .af-reated-posts, .above-footer-widget-section)
  .widget-title.header-after1 {
  display: flex;
  min-height: 34px;
  align-items: center;
  margin: 0 0 var(--elbi-heading-gap);
  padding: 0;
  border: 0;
  background: transparent;
  text-align: right;
}

body.single
  :is(.af-reated-posts, .above-footer-widget-section)
  .af-container-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
}

body.single .af-reated-posts .latest-posts-grid.af-sec-post,
body.single .above-footer-widget-section .col-4 {
  width: auto;
  min-width: 0;
  padding: 0;
  float: none;
  clear: none;
}

body.single
  :is(.af-reated-posts, .above-footer-widget-section)
  .read-single {
  height: 100%;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--elbi-border);
  border-radius: var(--elbi-radius-sm);
  background: var(--elbi-white);
  box-shadow: var(--elbi-shadow);
}

body.single
  :is(.af-reated-posts, .above-footer-widget-section)
  .read-img.read-bg-img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: 0;
}

body.single
  :is(.af-reated-posts, .above-footer-widget-section)
  .read-img
  img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.single
  :is(.af-reated-posts, .above-footer-widget-section)
  .read-details {
  padding: 12px 13px 14px;
}

body.single
  :is(.af-reated-posts, .above-footer-widget-section)
  .read-title
  h3 {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
}

body.single
  :is(.af-reated-posts, .above-footer-widget-section)
  .read-title
  h3
  a {
  display: -webkit-box;
  min-height: 3.1em;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

body.single
  :is(.af-reated-posts, .above-footer-widget-section)
  .entry-meta {
  color: var(--elbi-muted);
  font-size: 12px;
  line-height: 1.55;
}

body.single .comments-area .comment-list {
  margin: 0 0 28px;
  padding: 0;
}

body.single .comments-area .comment {
  margin: 0 0 20px;
  padding: 0 0 20px;
  border: 0;
  border-bottom: 1px solid var(--elbi-border);
}

body.single .comments-area .comment-author img {
  width: 48px;
  height: 48px;
  margin: 0 0 10px 14px;
  float: right;
  border-radius: 50%;
  object-fit: cover;
}

body.single .comments-area :is(.comment-content, .reply, .comment div#respond) {
  margin-right: 62px;
  margin-left: 0;
}

body.single .comments-area .comment-metadata {
  color: var(--elbi-muted);
  font-size: 12px;
}

body.single .comments-area .comment-content {
  color: #344054;
  font-size: 16px;
  line-height: 1.8;
}

body.single .comments-area .reply a {
  margin-top: 8px;
  padding: 3px 10px;
  border: 1px solid var(--elbi-border);
  border-radius: 999px;
  color: var(--elbi-blue);
  font-size: 12px;
}

body.single .comments-area .children {
  margin: 18px 62px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--elbi-border);
}

body.single #respond p {
  margin: 0 0 12px;
}

body.single #respond label {
  display: block;
  margin-bottom: 6px;
  color: #344054;
  font-size: 14px;
  font-weight: 600;
}

body.single #respond :is(input[type="text"], input[type="email"], input[type="url"], textarea) {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #d0d5dd;
  border-radius: var(--elbi-radius-sm);
  background: var(--elbi-white);
  color: var(--elbi-text);
  font-size: 15px;
  line-height: 1.6;
}

body.single #respond textarea {
  height: 176px;
  min-height: 176px;
  max-height: 320px;
  resize: vertical;
}

body.single #respond .comment-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 14px;
}

body.single #respond
  :is(
    .comment-notes,
    .comment-form-comment,
    .comment-form-url,
    .comment-form-cookies-consent,
    .form-submit
  ) {
  grid-column: 1 / -1;
}

body.single #respond :is(input, textarea):focus {
  outline: 0;
  border-color: var(--elbi-blue);
  box-shadow: 0 0 0 3px rgba(11, 78, 170, 0.12);
}

body.single #respond .comment-form-cookies-consent {
  display: flex;
  align-items: center;
  gap: 8px;
}

body.single #respond .comment-form-cookies-consent input {
  flex: 0 0 auto;
  margin: 0;
}

body.single #respond .comment-form-cookies-consent label {
  width: auto;
  padding: 0;
  float: none;
  font-weight: 400;
}

body.single #respond input[type="submit"] {
  min-height: 44px;
  margin-top: 0;
  padding: 9px 20px;
  border: 1px solid var(--elbi-red);
  border-radius: var(--elbi-radius-sm);
  background: var(--elbi-red);
  color: var(--elbi-white);
  font-size: 15px;
  line-height: 1.5;
  font-weight: 700;
}

body.single #respond input[type="submit"]:hover,
body.single #respond input[type="submit"]:focus {
  border-color: var(--elbi-red-dark);
  background: var(--elbi-red-dark);
}

body.single #secondary .widget-area {
  padding: 0;
  background: transparent;
}

body.single #secondary .reviewnews-widget {
  margin-bottom: 18px;
  padding: 16px;
  border: 1px solid var(--elbi-border);
  border-radius: var(--elbi-radius);
  background: var(--elbi-white);
  box-shadow: none;
}

body.single #secondary .reviewnews-widget:last-child {
  margin-bottom: 0;
}

body.single.rtl #secondary .wp-block-heading {
  display: flex;
  min-height: 34px;
  align-items: center;
  gap: 10px;
  margin: 0 0 var(--elbi-heading-gap);
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--elbi-charcoal);
  font-size: 26px;
  line-height: 1.4;
  font-weight: 700;
  text-align: right;
}

body.single-post.rtl #secondary #block-13 .wp-block-heading {
  font-size: 22px;
}

body.single.rtl #secondary .wp-block-heading::before {
  width: 3px;
  height: 26px;
  flex: 0 0 3px;
  border-radius: 2px;
  background: var(--elbi-red);
  content: "";
}

body.single.rtl #secondary .wp-block-heading::after {
  height: 1px;
  flex: 1 1 auto;
  background: var(--elbi-border);
  content: "";
}

body.single #secondary .wp-block-search__inside-wrapper {
  gap: 7px;
}

body.single #secondary .wp-block-search__input {
  min-width: 0;
  height: 42px;
  padding: 8px 11px;
  border: 1px solid #d0d5dd;
  border-radius: var(--elbi-radius-sm);
}

body.single #secondary .wp-block-search__button {
  margin: 0;
  padding: 8px 13px;
  border-radius: var(--elbi-radius-sm);
  background: var(--elbi-blue);
  color: var(--elbi-white);
  font-size: 14px;
}

body.single #secondary .wp-block-latest-posts {
  margin: 0;
  padding: 0;
}

body.single #secondary .wp-block-latest-posts li {
  margin: 0;
  padding: 9px 0;
  border-bottom: 1px solid var(--elbi-border);
  line-height: 1.55;
}

body.single #secondary .wp-block-latest-posts li:first-child {
  padding-top: 0;
}

body.single #secondary .wp-block-latest-posts li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

body.single #secondary .wp-block-latest-posts a {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  color: #344054;
  font-size: 14.5px;
  line-height: 1.55;
  font-weight: 600;
}

body.single #secondary .wp-block-latest-posts a:hover,
body.single #secondary .wp-block-latest-posts a:focus {
  color: var(--elbi-red);
}

body.single-post #secondary .reviewnews_trending_news_widget .slick-item.pad {
  padding: 0;
}

body.single-post
  #secondary
  #reviewnews_trending_news-1
  .af-trending-widget-carousel
  .slick-list {
  margin-inline: 0;
}

body.single-post #secondary .reviewnews_trending_news_widget .af-title-subtitle-wrap {
  padding-inline-end: 72px;
}

body.single-post #secondary .reviewnews_trending_news_widget .af-sec-post .read-single {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: 11px;
  align-items: center;
  margin: 0;
  padding: 9px 0;
  border-bottom: 1px solid var(--elbi-border);
}

body.single-post #secondary .reviewnews_trending_news_widget .read-img {
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 4px;
  float: none;
}

body.single-post #secondary .reviewnews_trending_news_widget .read-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.single-post #secondary .reviewnews_trending_news_widget .read-details {
  width: auto;
  min-width: 0;
  align-self: center;
  overflow: visible;
  padding: 0;
  float: none;
}

body.single-post #secondary .reviewnews_trending_news_widget .read-categories {
  margin-bottom: 2px;
}

body.single-post #secondary .reviewnews_trending_news_widget .reviewnews-categories {
  font-size: 11px;
}

body.single-post #secondary .reviewnews_trending_news_widget .read-title h3 {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.5;
}

body.single-post #secondary .reviewnews_trending_news_widget .read-title h3 a {
  display: block;
  overflow: visible;
  -webkit-line-clamp: unset;
}

body.single-post #secondary .reviewnews_trending_news_widget .entry-meta {
  gap: 3px 8px;
  color: var(--elbi-muted);
  font-size: 12px;
  line-height: 1.45;
}

body.single-post #secondary .reviewnews_trending_news_widget .trending-no {
  right: 4px;
  bottom: 4px;
  font-size: 11px;
}

body.single-post #secondary .reviewnews_trending_news_widget .af-slick-navcontrols {
  top: 21px;
  inset-inline: auto 16px;
  margin-top: 0;
}

/* More-from-category cards rendered by the existing above-footer component. */
body.single .above-footer-widget-section .af-main-banner-latest-posts {
  margin-top: var(--elbi-section-gap);
  padding-inline: 20px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

body.single .above-footer-widget-section
  .af-main-banner-latest-posts
  > .container-wrapper {
  padding: 20px;
  border: 1px solid var(--elbi-border);
  border-radius: var(--elbi-radius);
  background: var(--elbi-white);
  box-shadow: var(--elbi-shadow);
}

body.single .above-footer-widget-section .af-container-row {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

body.single .section-block-upper:not(:has(#secondary .widget)) {
  display: block;
}

body.single .section-block-upper:not(:has(#secondary .widget)) #primary {
  width: 100%;
}

body.single .section-block-upper:not(:has(#secondary .widget)) #secondary {
  display: none;
}

body.single .section-block-upper:not(:has(#secondary .widget)) .entry-content-wrap,
body.single .section-block-upper:not(:has(#secondary .widget)) .comments-area,
body.single .section-block-upper:not(:has(#secondary .widget)) .promotionspace {
  width: min(100%, 920px);
  margin-inline: auto;
}

body.single .section-block-upper:not(:has(#secondary .widget))
  .entry-content-wrap
  > :is(.entry-header, .read-img.pos-rel, .color-pad) {
  margin-inline: auto;
}

@media screen and (min-width: 1025px) {
  body.single .section-block-upper {
    display: grid;
    grid-template-columns: minmax(0, 73fr) minmax(280px, 27fr);
    align-items: start;
    direction: rtl;
  }

  body.single #primary {
    grid-column: 1;
  }

  body.single #secondary {
    grid-column: 2;
  }

  body.single #secondary.sidebar-sticky-top,
  body.single #secondary.sidebar-sticky-bottom {
    position: sticky;
    top: 100px;
    bottom: auto;
    align-self: start;
  }
}

@media screen and (min-width: 769px) and (max-width: 1024px) {
  body.single .section-block-upper {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  body.single #primary,
  body.single #secondary,
  body.single.rtl .container-wrapper #primary,
  body.single.rtl .container-wrapper #secondary {
    width: 100%;
    padding: 0;
    float: none;
  }

  body.single .entry-content-wrap > :is(.entry-header, .read-img.pos-rel, .color-pad) {
    margin-inline: auto;
  }

  body.single #secondary .widget-area {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  body.single #secondary .reviewnews-widget {
    margin: 0;
  }

  body.single #secondary .reviewnews-widget:last-child:nth-child(odd) {
    grid-column: auto;
  }

  body.single .af-reated-posts .af-container-row,
  body.single .above-footer-widget-section .af-container-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 768px) {
  body.single {
    --elbi-article-gap: 20px;
  }

  body.single.rtl #secondary .wp-block-heading {
    font-size: 22px;
  }

  body.single-post.rtl #secondary #block-13 .wp-block-heading {
    font-size: 20px;
  }

  body.single .af-breadcrumbs {
    margin-top: 14px;
    padding: 9px 12px;
    font-size: 12px;
  }

  body.single .section-block-upper {
    display: block;
    margin-top: 16px;
  }

  body.single #primary,
  body.single #secondary,
  body.single.rtl .container-wrapper #primary,
  body.single.rtl .container-wrapper #secondary {
    width: 100%;
    padding: 0;
    float: none;
  }

  body.single #secondary {
    margin-top: 20px;
  }

  body.single .entry-content-wrap {
    padding: 18px;
  }

  body.single-post .entry-header .entry-title {
    font-size: clamp(28px, 7vw, 34px);
    line-height: 1.38;
  }

  body.single .entry-header .aft-post-excerpt-and-meta .post-excerpt {
    font-size: 15px;
  }

  body.single .af-single-article .entry-header .entry-meta {
    gap: 5px;
    font-size: 13px;
  }

  body.single .entry-header .entry-meta .posts-author {
    display: inline-flex;
    margin-top: 0;
  }

  body.single .entry-content-wrap > .read-img.pos-rel {
    margin-top: 20px;
    margin-bottom: 22px;
  }

  body.single .entry-content {
    font-size: clamp(17px, 4.45vw, 18px);
    line-height: 1.9;
  }

  body.single .entry-content p {
    margin-bottom: 20px;
  }

  body.single .entry-content h2 {
    margin-top: 32px;
    font-size: clamp(25px, 6.2vw, 29px);
  }

  body.single .entry-content h3 {
    margin-top: 28px;
    font-size: clamp(22px, 5.5vw, 25px);
  }

  body.single .entry-content h4 {
    margin-top: 24px;
    font-size: clamp(19px, 4.9vw, 22px);
  }

  body.single .entry-content blockquote,
  body.single .entry-content .wp-block-quote,
  body.single .entry-content .wp-block-pullquote blockquote {
    padding: 16px 17px;
  }

  body.single .entry-content .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.single .navigation.post-navigation .nav-links {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  body.single .comments-area,
  body.single .af-reated-posts {
    padding: 20px;
  }

  body.single .af-reated-posts .af-container-row,
  body.single .above-footer-widget-section .af-container-row {
    grid-template-columns: minmax(0, 1fr);
  }

  body.single #respond .comment-form {
    grid-template-columns: minmax(0, 1fr);
  }

  body.single #respond
    :is(.comment-form-author, .comment-form-email) {
    grid-column: 1 / -1;
  }

  body.single #secondary .widget-area {
    display: block;
  }

  body.single #secondary .reviewnews-widget {
    margin-bottom: 18px;
  }

  body.single .above-footer-widget-section .af-main-banner-latest-posts {
    padding-inline: 10px;
  }

  body.single .above-footer-widget-section
    .af-main-banner-latest-posts
    > .container-wrapper {
    padding: 16px;
  }
}

@media screen and (max-width: 560px) {
  body.single .entry-content-wrap,
  body.single .comments-area,
  body.single .af-reated-posts {
    padding: 16px;
  }

  body.single .entry-header .entry-meta {
    display: flex;
  }

  body.single .entry-content :is(ul, ol) {
    padding-inline-start: 1.35em;
  }

  body.single .entry-content .gallery,
  body.single .af-reated-posts .af-container-row {
    grid-template-columns: minmax(0, 1fr);
  }

  body.single .reviewnews-author-bio .author-box-content {
    align-items: center;
    flex-direction: column;
    text-align: center;
  }

  body.single .reviewnews-author-bio .author-website-and-posts {
    justify-content: center;
  }

  body.single .comments-area .comment-author img {
    width: 42px;
    height: 42px;
    margin-left: 10px;
  }

  body.single .comments-area :is(.comment-content, .reply, .comment div#respond) {
    margin-right: 52px;
  }

  body.single .comments-area .children {
    margin-right: 28px;
  }

  body.single .aft-social-share a i,
  body.single .aft-social-share .aft-jpshare i {
    width: 38px;
    height: 38px;
  }
}
