.post-title {
    position: relative;
}

.post-title__inner {
    min-width: 0;
}

.post-title__navigation {
    margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.post-title__all-posts,
.post-title__category {
    color: inherit;
}

.post-title__all-posts--left-style-fallback::after {
    order: -1;
    transform: rotate(180deg);
}

.post-title__all-posts--left-style-fallback:focus-visible::after {
    transform: rotate(180deg) translateX(4px);
}

@media (hover: hover) and (pointer: fine) {
    .post-title__all-posts--left-style-fallback:hover::after {
        transform: rotate(180deg) translateX(4px);
    }
}

.post-title__category.base-theme-button-link--transparent-rounded {
    font-size: var(--font-size-s);
    padding-bottom: 6px;
    padding-top: 6px;
}

.post-title__categories {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.post-title__heading {
    margin: 0;
}

.post-title__media {
    margin: clamp(2.5rem, 6vw, 5rem) 0 0;
    overflow: hidden;
}

.post-title__image {
    border-radius: 0.375rem;
    display: block;
    height: auto;
    width: 100%;
}

.post-title__footer {
    align-items: flex-end;
    display: flex;
    gap: 2rem;
    justify-content: space-between;
    margin-top: clamp(2.5rem, 6vw, 5rem);
}

.post-title__details {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem clamp(2rem, 5vw, 4rem);
}

.post-title__detail {
    display: grid;
    gap: 0.4rem;
    margin: 0;
}

.post-title__detail--with-icon {
    column-gap: 0.75rem;
    grid-template-columns: 1.25rem auto;
}

.post-title__detail--with-icon > span {
    grid-column: 1 / -1;
    grid-row: 1;
}

.post-title__detail--with-icon > strong {
    grid-column: 2;
    grid-row: 2;
}

.post-title__detail-icon {
    align-self: center;
    grid-column: 1;
    grid-row: 2;
    height: 1.25rem;
    width: 1.25rem;
}

.post-title__detail strong {
    font-weight: 600;
}

.post-title__sharing {
    align-items: center;
    display: flex;
    flex: 0 0 auto;
    gap: 0.75rem;
}

.post-title__share-link {
    align-items: center;
    appearance: none;
    background: transparent;
    border: 0;
    color: inherit;
    cursor: pointer;
    display: inline-flex;
    justify-content: center;
    margin: 0;
    min-height: 1.5rem;
    min-width: 1.5rem;
    padding: 0;
    text-decoration: none;
}

.post-title__share-link img {
    display: block;
    height: 1rem;
    width: 1rem;
}

.post-title__share-link:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 0.25rem;
}

.post-title__copy-wrap {
    position: relative;
}

.post-title__copy-status {
    background: #111;
    border-radius: 0.25rem;
    bottom: calc(100% + 0.65rem);
    color: #fff;
    font-size: 0.75rem;
    left: 50%;
    opacity: 0;
    padding: 0.35rem 0.5rem;
    pointer-events: none;
    position: absolute;
    transform: translate(-50%, 0.25rem);
    transition: opacity 160ms ease, transform 160ms ease;
    white-space: nowrap;
}

.post-title__copy-status.is-visible {
    opacity: 1;
    transform: translate(-50%, 0);
}

@media (max-width: 767px) {
    .post-title__navigation {
        margin-bottom: 1.5rem;
    }

    .post-title__heading:not([class*="heading-size-"]) {
        font-size: clamp(2rem, 10vw, 3rem);
    }

    .post-title__footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .post-title__sharing {
        align-self: flex-start;
    }
}

@media (max-width: 479px) {
    .post-title__details {
        align-items: flex-start;
        flex-direction: column;
        gap: 1.25rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .post-title__copy-status {
        transition: none;
    }
}
