/* Single-entry layout: services, consulting, posts */
.single { padding: 100px 5%; }
.single__inner { max-width: var(--container-max); margin: 0 auto; padding: 0 12%; }
.single__head { display: flex; flex-direction: column; margin-bottom: 50px; }
.single__title { margin-bottom: 30px; font-family: var(--font-poppins); font-size: 30px; font-weight: 700; line-height: 40px; color: #fff; }
.single__content { display: flex; flex-direction: column; align-items: center; margin-bottom: 30px; }
.single__body { max-width: 100%; font-family: var(--font-montserrat); font-weight: 600; line-height: 24px; color: #fff; text-align: start; }
.single__body p { margin: 0 0 .9rem; }

.single__meta { display: flex; flex-direction: row; margin-bottom: 50px; }
.single__tags { width: 60%; flex: none; display: flex; flex-direction: column; justify-content: center; }
.post-tags { list-style: none; font-family: var(--font-poppins); font-size: 14px; font-weight: 400; line-height: 14px; color: var(--e-global-color-accent); }
.post-tags a { color: var(--e-global-color-accent); }
/* the original's empty 14px tag-icon slot + 5px text padding */
.post-tags li { padding-inline-start: 19px; }
.single__share { flex: 1; display: flex; flex-direction: row; justify-content: flex-end; align-items: center; gap: 20px; }
.single__share-label { font-family: var(--font-poppins); font-size: 14px; font-weight: 400; line-height: 24px; color: #9C9EA6; }
.share-buttons { display: flex; gap: 10px; }
.share-btn {
  display: flex; align-items: center; justify-content: center; width: 43px; height: 43px; border-radius: 99.9em;
  background-color: var(--e-global-color-secondary); color: #fff; cursor: pointer; transition: background-color .2s;
}
.share-btn:hover, .share-btn:focus-visible { background-color: var(--e-global-color-accent); }
.share-btn__icon .icon { width: 18px; height: 18px; }

.author-panel { margin-bottom: 30px; padding: 20px; background-color: var(--e-global-color-secondary); }
.author-panel__inner { display: flex; flex-direction: column; gap: 10px; }
.author-box { display: flex; align-items: center; }
.author-box__avatar { flex-shrink: 0; margin-inline-end: 25px; }
.author-box__avatar img { width: 100px; height: 100px; border-radius: 500px; object-fit: cover; vertical-align: baseline; }
.author-box__text { flex: 1; }
.author-box__name {
  margin: 8px 0 5px; font-family: var(--font-montserrat); font-size: 15px; font-weight: 700; line-height: 18px;
  text-transform: uppercase; color: var(--e-global-color-accent);
}
.author-box__bio { margin-bottom: 10px; font-family: var(--font-montserrat); font-size: 17px; line-height: 25.5px; color: #fff; }
.author-box__bio p { margin: 0; }
.author-social { display: flex; gap: 15px; height: 14px; line-height: 0; }
.author-social__icon { display: inline-flex; width: 14px; height: 14px; color: var(--e-global-color-secondary); }
.author-social__icon .icon { width: 14px; height: 14px; }

.single__nav { margin-bottom: 50px; padding: 20px; }
.post-nav { display: flex; align-items: center; }
.post-nav__link { width: calc(50% - .5px); overflow: hidden; }
.post-nav__link a { display: flex; align-items: center; }
.post-nav__link--next a { justify-content: flex-end; text-align: end; }
.post-nav__text { display: flex; flex-direction: column; overflow: hidden; }
.post-nav__link--prev .post-nav__text { margin-inline-start: 15px; }
.post-nav__link--next .post-nav__text { margin-inline-end: 15px; }
.post-nav__label { font-family: var(--font-poppins); font-size: 14px; font-weight: 400; line-height: 21px; text-transform: uppercase; color: #B0B0B0; }
.post-nav__label:hover { color: var(--e-global-color-accent); }
.post-nav__title {
  font-family: var(--font-poppins); font-size: 16px; font-weight: 600; line-height: 24px; color: var(--e-global-color-accent);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.post-nav__arrow { display: flex; font-size: 24px; color: var(--e-global-color-secondary); transition: color .3s; }
.post-nav__arrow:hover { color: var(--e-global-color-accent); }
.post-nav__arrow .icon { width: 24px; height: 24px; }
.post-nav__sep-wrap { align-self: stretch; }
.post-nav__sep { width: 1px; height: 100%; min-height: 45px; background-color: #D5D8DC; }

@media (max-width: 1100px) {
  .single { padding: 50px 4%; }
  .single__inner { padding: 0; }
  .single__tags { width: 467.55px; }
  .share-btn { width: 24.75px; height: 24.75px; }
  .share-btn__icon .icon { width: 15px; height: 15px; }
}
@media (max-width: 767px) {
  .single { padding: 30px 5%; }
  .single__title { font-size: 26px; }
  .single__meta { flex-wrap: wrap; gap: 16px; }
  .single__tags { width: 100%; }
  .single__share { justify-content: flex-start; }
  .author-panel__inner { gap: 10px; }
  .single__nav { margin-bottom: 30px; padding: 20px 0; }
}
