.tkh-topic-layout {
display: grid;
grid-template-columns: minmax(0, 1fr) minmax(280px, 330px);
gap: 32px;
align-items: start;
}
.tkh-topic-main {
min-width: 0;
}
.tkh-topic-header {
margin-bottom: 26px;
}
.tkh-topic-title {
margin-bottom: 12px;
}
.tkh-topic-description > :last-child {
margin-bottom: 0;
}
.tkh-category-groups {
display: grid;
gap: 28px;
}
.tkh-category-box {
background: #fff;
border: 1px solid rgba(0, 0, 0, .09);
border-radius: 4px;
overflow: hidden;
}
.tkh-category-box__header {
padding: 15px 18px;
border-bottom: 1px solid rgba(0, 0, 0, .08);
}
.tkh-category-box__header h2 {
margin: 0;
font-size: 22px;
line-height: 1.2;
}
.tkh-category-box__items {
padding: 0 18px;
}
.tkh-category-card {
display: grid;
grid-template-columns: minmax(180px, 38%) minmax(0, 1fr);
gap: 20px;
padding: 18px 0;
border-bottom: 1px solid rgba(0, 0, 0, .08);
}
.tkh-category-card:last-child {
border-bottom: 0;
}
.tkh-category-card__media {
position: relative;
min-width: 0;
}
.tkh-category-card__media > a {
display: block;
aspect-ratio: 16 / 9;
overflow: hidden;
background: rgba(0, 0, 0, .05);
}
.tkh-category-card__media img,
.tkh-category-card__placeholder {
display: block;
width: 100%;
height: 100%;
object-fit: cover;
}
.tkh-category-card__badge {
position: absolute;
left: 10px;
top: 10px;
padding: 4px 8px;
background: rgba(20, 20, 20, .88);
color: #fff;
font-size: 11px;
font-weight: 700;
line-height: 1.2;
text-transform: uppercase;
}
.tkh-category-card__body {
min-width: 0;
}
.tkh-category-card__meta {
display: flex;
flex-wrap: wrap;
gap: 5px 12px;
margin-bottom: 7px;
font-size: 12px;
opacity: .68;
}
.tkh-category-card__title {
margin: 0 0 8px;
font-size: 21px;
line-height: 1.25;
}
.tkh-category-card__title a {
color: inherit;
}
.tkh-category-card__excerpt {
margin: 0 0 8px;
}
.tkh-category-card__more {
font-weight: 600;
}
.tkh-category-box__pager {
display: flex;
justify-content: space-between;
align-items: center;
gap: 12px;
padding: 13px 18px;
border-top: 1px solid rgba(0, 0, 0, .08);
}
.tkh-pager-button {
cursor: pointer;
padding: 7px 12px;
border: 1px solid rgba(0, 0, 0, .16);
border-radius: 3px;
background: transparent;
color: inherit;
}
.tkh-pager-button:disabled {
cursor: default;
opacity: .35;
}
.tkh-pager-status {
font-size: 12px;
opacity: .65;
}
.tkh-category-box.is-loading .tkh-category-box__items {
opacity: .45;
pointer-events: none;
}
.tkh-topic-sidebar > .sidebar,
.tkh-topic-sidebar > div {
width: 100%;
}
@media (max-width: 991px) {
.tkh-topic-layout {
grid-template-columns: 1fr;
}
}
@media (max-width: 640px) {
.tkh-category-card {
grid-template-columns: 1fr;
gap: 12px;
}
.tkh-category-box__items {
padding: 0 14px;
}
.tkh-category-box__header,
.tkh-category-box__pager {
padding-left: 14px;
padding-right: 14px;
}
} .tkh2-post-topics {
margin: 28px 0 8px;
padding: 16px 18px;
border: 1px solid rgba(0, 0, 0, .07);
border-radius: 6px;
background: rgba(0, 0, 0, .028);
}
.tkh2-post-topics__title {
display: block;
margin-bottom: 10px;
font-size: 14px;
line-height: 1.3;
}
.tkh2-post-topics__chips {
display: flex;
flex-wrap: wrap;
gap: 8px;
}
.tkh2-topic-chip {
display: inline-flex;
align-items: center;
min-height: 28px;
padding: 5px 10px;
border: 1px solid rgba(0, 0, 0, .10);
border-radius: 999px;
background: rgba(255, 255, 255, .72);
color: inherit;
font-size: 12px;
font-weight: 600;
line-height: 1.2;
text-decoration: none;
}
.tkh2-topic-chip--linked:hover,
.tkh2-topic-chip--linked:focus {
background: rgba(0, 0, 0, .055);
color: inherit;
text-decoration: none;
}