.hpt-wrapper > .hpt-item {
    padding: var(--uht-item-spacing, 26px) 0;
}

.hpt-wrapper > .hpt-item + .hpt-item {
    border-top: 1px solid #e7e7e7;
}

.hpt-wrapper > .hpt-item--block {
    border-top: 1px solid #e1e1e1;
    border-bottom: 1px solid #e1e1e1;
    padding-top: 28px;
    padding-bottom: 28px;
}

.hpt-wrapper > .hpt-item--block + .hpt-item {
    border-top: none;
}

.hpt-featured-block {
    padding: 0;
}

.hpt-featured-block-grid,
.hpt-featured-compact-list {
    display: grid;
    gap: var(--uht-block-gap, 24px);
}

.hpt-block-heading {
    position: relative;
    display: inline-block;
    margin: 0 0 28px;
    padding-bottom: 12px;
    color: var(--uht-title-color, inherit);
}

.hpt-block-heading::before {
    content: '';
    position: absolute;
    right: 0;
    left: 0;
    bottom: 0;
    height: 1px;
    background: var(--uht-heading-rule-color, #d9d9d9);
}

.hpt-block-heading::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    width: 54px;
    height: 3px;
    border-radius: 99px;
    background: var(--uht-accent-color, currentColor);
}

.hpt-featured-entry-title {
    margin: 0 0 10px;
    color: var(--uht-title-color, inherit);
}

.hpt-featured-entry-title a {
    color: var(--uht-title-color, inherit);
    text-decoration: none;
}

.hpt-featured-block--stack .hpt-featured-block-grid {
    grid-template-columns: 1fr;
}

.hpt-featured-block--stack .hpt-featured-entry .hpt-thumb-small img {
    width: 100%;
    height: var(--uht-featured-stack-image-height, 230px);
    object-fit: cover;
    border-radius: var(--uht-image-radius, 10px);
}

.hpt-featured-block--lead-grid .hpt-featured-block-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
}

.hpt-featured-block--lead-grid .hpt-featured-entry:first-child {
    grid-column: 1 / -1;
}

.hpt-featured-block--lead-grid .hpt-featured-entry:first-child .hpt-thumb-small img {
    width: 100%;
    height: var(--uht-featured-lead-grid-main-image-height, 320px);
    object-fit: cover;
    border-radius: var(--uht-image-radius, 10px);
}

.hpt-featured-block--lead-grid .hpt-featured-entry:not(:first-child) {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.hpt-featured-block--lead-grid .hpt-featured-entry:not(:first-child) .hpt-thumb-small img {
    width: 100%;
    height: var(--uht-featured-lead-grid-side-image-height, 140px);
    object-fit: cover;
    border-radius: var(--uht-image-radius, 10px);
}

.hpt-featured-block--lead-grid .hpt-featured-entry:not(:first-child) .hpt-featured-entry-title {
    margin-bottom: 8px;
}

.hpt-featured-block--compact-list .hpt-featured-compact-list {
    grid-template-columns: 1fr;
}

.hpt-featured-block--compact-list .hpt-featured-entry {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 170px;
    gap: 18px;
    align-items: start;
}

.hpt-featured-block--compact-list .hpt-thumb-small {
    order: 2;
}

.hpt-featured-block--compact-list .hpt-thumb-small img {
    width: 100%;
    height: var(--uht-featured-compact-image-height, 150px);
    object-fit: cover;
    border-radius: var(--uht-image-radius, 10px);
}

.hpt-featured-block--compact-list .hpt-featured-entry-title {
    margin-bottom: 8px;
}

.hpt-featured-block--lead-side-list .hpt-featured-block-grid {
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
}

.hpt-featured-block--lead-side-list .hpt-featured-side-list {
    display: grid;
    gap: 0;
    order: 2;
    align-content: start;
    border-top: 1px solid #ececec;
}

.hpt-featured-block--lead-side-list .hpt-featured-side-item {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    padding: 10px 0;
    border-bottom: 1px solid #ececec;
}

.hpt-featured-block--lead-side-list .hpt-featured-side-item .hpt-thumb-small img {
    width: 100%;
    height: var(--uht-side-image-height, 40px);
    object-fit: cover;
    border-radius: var(--uht-image-radius, 10px);
}

.hpt-featured-block--lead-side-list .hpt-featured-side-title {
    margin: 0 0 6px;
}

.hpt-featured-block--lead-side-list .hpt-featured-side-title a {
    color: var(--uht-title-color, inherit);
    text-decoration: none;
}

.hpt-featured-block--lead-side-list .hpt-featured-side-item .hpt-meta {
    gap: 6px;
}

.hpt-featured-block--lead-side-list .hpt-featured-side-item .hpt-author img.avatar {
    width: 20px;
    height: 20px;
}

.hpt-featured-block--lead-side-list .hpt-featured-lead {
    order: 1;
    justify-self: end;
    width: 100%;
    max-width: 520px;
}

.hpt-featured-block--lead-side-list .hpt-featured-lead .hpt-thumb-small img {
    width: 100%;
    height: var(--uht-lead-image-height, 185px);
    object-fit: cover;
    border-radius: var(--uht-image-radius, 10px);
}

.hpt-featured-block--lead-side-list .hpt-featured-lead .hpt-featured-entry-title {
    margin-top: 14px;
    margin-bottom: 12px;
}

.hpt-featured-block--lead-side-list .hpt-featured-lead .hpt-featured-excerpt {
    margin: 0 0 10px;
    color: var(--uht-excerpt-color, inherit);
    line-height: 1.7;
}

.hpt-featured-block--lead-side-list .hpt-featured-lead .hpt-meta {
}

.hpt-featured-block--opinion-list .hpt-featured-compact-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 28px;
}

.hpt-featured-block--opinion-list .hpt-featured-entry {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
}

.hpt-featured-block--opinion-list .hpt-thumb-opinion {
    display: block;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
}

.hpt-featured-block--opinion-list .hpt-thumb-opinion img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hpt-featured-block--opinion-list .hpt-featured-entry-title {
    margin-bottom: 6px;
}

.hpt-featured-block--opinion-list .hpt-meta {
    gap: 8px;
}

.hpt-featured-block--opinion-list .hpt-author {
    gap: 0;
}

.hpt-featured-block--opinion-list .hpt-author img.avatar {
    width: 24px;
    height: 24px;
}

.hpt-shell {
    width: 100%;
    min-width: 0;
}

.hpt-wrapper {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 28px;
    row-gap: var(--uht-grid-gap, 44px);
    width: 100%;
    margin: 0;
    align-items: start;
}

.hpt-item {
    display: block;
    width: 100%;
    min-width: 0;
    margin: 0;
}

.hpt-large,
.hpt-small {
    grid-column: 1 / -1;
}

.hpt-thumb {
    display: block;
    overflow: hidden;
}

.hpt-item img {
    width: 100%;
    display: block;
    object-fit: cover;
}

.hpt-thumb-large {
    margin-bottom: 16px;
}

.hpt-large img {
    height: var(--uht-large-image-height, 360px);
    border-radius: var(--uht-image-radius, 10px);
}

.hpt-content {
    min-width: 0;
}

.hpt-title {
    margin: 0 0 14px;
    color: var(--uht-title-color, inherit);
}

.hpt-title a {
    color: var(--uht-title-color, inherit);
    text-decoration: none;
}

.hpt-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    color: var(--uht-meta-color, inherit);
}

.hpt-author {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: inherit;
    text-decoration: none;
}

.hpt-author img.avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: block;
}

.hpt-date {
    line-height: 1.2;
}

.hpt-small-card {
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr);
    gap: var(--uht-block-gap, 24px);
    align-items: start;
}

.hpt-thumb-small {
    margin: 0;
}

.hpt-small-card .hpt-thumb-small {
    grid-column: 1;
    grid-row: 1;
}

.hpt-small-card .hpt-thumb-small img {
    width: 100%;
    height: var(--uht-small-image-height, 170px);
    object-fit: cover;
    display: block;
    border-radius: var(--uht-image-radius, 10px);
}

.hpt-small .hpt-content {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-self: start;
    min-width: 0;
    padding-top: 0;
}

.hpt-small .hpt-title {
    margin: 0 0 10px;
}

.hpt-small .hpt-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 0;
}

.hpt-small .hpt-author {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hpt-small .hpt-author img.avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
}

@media (max-width: 768px) {
    .hpt-featured-block--lead-grid .hpt-featured-block-grid,
    .hpt-featured-block--stack .hpt-featured-block-grid,
    .hpt-featured-block--compact-list .hpt-featured-compact-list,
    .hpt-featured-block--lead-side-list .hpt-featured-block-grid,
    .hpt-featured-block--opinion-list .hpt-featured-compact-list,
    .hpt-wrapper {
        grid-template-columns: 1fr;
    }

    .hpt-featured-block--lead-grid .hpt-featured-entry:not(:first-child),
    .hpt-featured-block--compact-list .hpt-featured-entry,
    .hpt-featured-block--lead-side-list .hpt-featured-side-item,
    .hpt-featured-block--opinion-list .hpt-featured-entry,
    .hpt-small-card {
        grid-template-columns: 1fr;
    }

    .hpt-featured-block--lead-grid .hpt-thumb-small img,
    .hpt-featured-block--compact-list .hpt-thumb-small img,
    .hpt-featured-block--stack .hpt-thumb-small img,
    .hpt-featured-block--lead-side-list .hpt-thumb-small img,
    .hpt-large img,
    .hpt-small-card .hpt-thumb-small img {
        height: auto;
    }

    .hpt-featured-block--opinion-list .hpt-thumb-opinion {
        width: 48px;
        height: 48px;
    }

    .hpt-large,
    .hpt-small {
        grid-column: 1 / -1;
    }
}
