/* components styles */
.srk-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    background: #fff;
}

.srk-card__thumb {
    display: block;
    min-height: 160px;
    border-radius: 10px;
    overflow: hidden;
    background: #f5f5f5;
}

.srk-card__thumb img {
    display: block;
    width: 100%;
    height: auto;
}

.srk-card__body {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.srk-card__title {
    margin: 0;
    font-size: 18px;
    line-height: 1.4;
}

.srk-card__title a {
    color: inherit;
    text-decoration: none;
}

.srk-card__meta,
.srk-card__desc {
    color: #666;
    font-size: 14px;
}

.srk-card__meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.srk-card__meta span {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    border-radius: 999px;
    background: #f3f4f6;
    font-size: 12px;
    line-height: 1.4;
}

.srk-card__desc {
    line-height: 1.75;
}

.srk-card__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 160px;
    color: #888;
}

.srk-card__resource-strip {
    display: grid;
    gap: 8px;
}

.srk-card__resource-strip span,
.srk-card__text-link {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 6px 10px;
    border-radius: 999px;
    background: #111;
    color: #fff;
    font-size: 12px;
    text-decoration: none;
}

.srk-card__text-link:hover,
.srk-card__title a:hover {
    text-decoration: underline;
}

.srk-ranking-list {
    margin: 0;
    padding-left: 20px;
}

.srk-ranking-list li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
    line-height: 1.6;
}

.srk-ranking-list li:last-child {
    margin-bottom: 0;
}

.srk-ranking-list li span {
    color: #666;
    font-size: 12px;
    white-space: nowrap;
}

.srk-card--hero {
    min-height: 320px;
    justify-content: center;
}

.srk-card--resource .srk-card__thumb,
.srk-card--hero .srk-card__thumb {
    min-height: 220px;
}

.srk-card--post .srk-card__thumb {
    min-height: 150px;
}

.srk-card--picture .srk-card__thumb {
    min-height: 200px;
}

.srk-card--post .srk-card__body {
    gap: 10px;
}

.srk-card--picture .srk-card__desc {
    font-size: 13px;
}

.srk-card--ranking,
.srk-card--topic {
    padding: 18px;
    border-radius: 16px;
}

.srk-card--ranking .srk-card__body,
.srk-card--topic .srk-card__body {
    gap: 12px;
}

.srk-card--vip {
    min-height: 220px;
    justify-content: center;
}
