/* Post-only author metadata and sharing. Reading styles live in ahmed-reading.css. */
#ah-post.ah-post-arranged .c-post-header__meta {
    display: none !important;
  }
  #ah-post .ah-post-byline {
    --ah-avatar-size: 44px;

    position: relative;
    direction: rtl;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap;

    width: 100%;
    box-sizing: border-box;
    margin: 24px 0 0 !important;
    padding: 0 0 12px !important;

    font-size: 16px;
    line-height: 1.6;
    color: #697386;
    white-space: nowrap;

    border-bottom: 1px solid #dce0e7;
  }
  #ah-post .ah-post-byline::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -1px;
    width: var(--ah-avatar-size);
    height: 3px;
    background: #071331;
  }

  #ah-post .ah-post-byline__row {
    direction: rtl;
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 18px;

    margin-inline-start: 0;
    margin-inline-end: auto;
    max-width: none;

    font-size: inherit;
    white-space: nowrap;
  }

  #ah-post .ah-post-author {
    display: inline-flex;
    flex: 0 0 auto;
    flex-direction: row;
    align-items: center;
    gap: 10px;

    margin: 0 !important;
    font-size: inherit !important;
    color: inherit;
    text-decoration: none !important;
    border: 0;
    box-shadow: none;
    white-space: nowrap;
  }

  #ah-post .ah-post-author span {
    font-size: inherit !important;
    font-weight: 500;
  }

  #ah-post .ah-post-author img {
    display: block;
    flex: 0 0 auto;
    width: var(--ah-avatar-size);
    height: var(--ah-avatar-size);
    margin: 0 !important;
    border-radius: 50%;
    object-fit: cover;
  }

  #ah-post .ah-post-details {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    flex-wrap: nowrap;
    gap: 18px;

    margin: 0 !important;
    font-size: inherit !important;
    white-space: nowrap;
  }

  #ah-post .ah-post-details > * {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    margin: 0 !important;
    font-size: inherit !important;
    white-space: nowrap;
  }
  #ah-post .ah-post-details > *::before {
    content: "";
    display: inline-block;
    flex: 0 0 auto;
    width: 1px;
    height: 15px;
    margin-inline-end: 18px;
    background: #929baa;
  }

  #ah-post .ah-post-author:focus-visible {
    outline: 2px solid #5965da;
    outline-offset: 4px;
  }
  #ah-post .ah-post-share {
    margin: 24px 0 32px;
  }

  #ah-post .ah-post-share:empty {
    display: none;
  }

  #ah-post .ah-post-share .c-share {
    width: 100%;
    margin: 0;
  }

  #ah-post .ah-post-share ul {
    display: grid !important;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none;
  }

  #ah-post .ah-post-share li {
    min-width: 0;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none;
  }

  #ah-post .ah-post-share li::before {
    content: none !important;
  }

  #ah-post .ah-post-share li a,
  #ah-post .ah-post-share li button {
    display: flex !important;
    align-items: center;
    justify-content: center;

    width: 100% !important;
    height: 44px !important;
    box-sizing: border-box;
    padding: 0 !important;
    margin: 0 !important;

    color: #071331;
    background: #e9ecf1;
    border: 0 !important;
    border-radius: 6px !important;
    box-shadow: none !important;
    text-decoration: none !important;
    cursor: pointer;
  }

  #ah-post .ah-post-share li a:hover,
  #ah-post .ah-post-share li button:hover {
    background: #dce1ec;
  }

  #ah-post .ah-post-share a:focus-visible,
  #ah-post .ah-post-share button:focus-visible {
    outline: 2px solid #5965da;
    outline-offset: 3px;
  }
  @media (max-width: 600px) {

    #ah-post .ah-post-byline {
      --ah-avatar-size: 36px;

      margin-top: 20px !important;
      padding-bottom: 10px !important;
      font-size: 14px;
    }

    #ah-post .ah-post-byline__row,
    #ah-post .ah-post-details {
      gap: 8px;
    }

    #ah-post .ah-post-author {
      gap: 7px;
    }

    #ah-post .ah-post-details > *::before {
      height: 13px;
      margin-inline-end: 8px;
    }

    #ah-post .ah-post-share {
      margin: 20px 0 28px;
    }

    #ah-post .ah-post-share ul {
      gap: 7px;
    }
  }
