/* Card container */
.pkg-card {
    max-width: 326px;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 320px;
    position: relative;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    box-shadow: #0000001c 0px 1px 9px;
    padding: 25px;
    transition: transform .1s, border-color .18s, box-shadow .18s;
}

.pkg-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(16,24,40,.08);
    border-color: color-mix(in srgb,var(--uicolor-2) 30%,#fff);
}

/* Thumbnail */
.pkg-thumb img {
    width: 100%;
    height: 100%;
    display: block;
}

/* Hot badge */
.pkg-badge {
    position: absolute;
    top: -9px;
    left: 0;
    background: var(--uicolor-2);
    color: white;
    padding: 6px 10px;
    border-radius: 999px 999px 999px 0;
    font-size: 10px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .06);
    white-space: nowrap;
    overflow: hidden;
    display: none;
}

/* Content */
.pkg-content {display: flex;gap: 12px;margin: 10px 0 8px;flex-wrap: wrap;flex: 1;}

.log-bein-thumb {
    display: flex;
    gap: 6px;
    align-items: baseline;
    background: #fff;
    border: 1px dashed #eaeaea;
    border-radius: 10px;
    padding: 5px 6px;
    align-items: center;
    height: max-content;
}

.log-bein-thumb img {
    height: auto;
    width: auto;
}

/* Title */
.pkg-title {
    font-weight: 500;
    margin: 0 0 5px 0;
}
.pkg-title a {
    color: var(--uicolor-2);
    text-decoration: none;
    font-size: 22px;
    position: relative;
    z-index: 1;
}

.pkg-title a:hover {
    color: #ff5a1f;
}

/* Subtitle */
.pkg-subtitle {
    font-size: 18px;
    color: #555;
    font-weight: 700;
    line-height: 27px;
    overflow: hidden;
}

/* On-Demand & Channels */
.pkg-info {
    display: flex;
    gap: 10px;
    font-size: 13px;
    color: #333;
    align-items: stretch;
    flex-direction: column;
    align-content: flex-start;
}


.pkg-thumb {
    min-width: 80px;
    height: 80px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: color-mix(in srgb, #8b5cf6 14%, #fff);
    border: 1px solid color-mix(in srgb, #8b5cf6 24%, #fff);
    font-size: 20px;
    overflow: hidden;
    max-width: 46px;
}

.pkg-info2 span {
    display: flex;
    gap: 6px;
    align-items: baseline;
    background: var(--background);
    color: #000000;
    height: max-content;
    border: 1px dashed #eaeaea;
    border-radius: 10px;
    padding: 6px 9px;
    font-size: 16px;
    font-weight: 700;
}

.pkg-info2 {
    display: flex;
    gap: 11px;
    flex-wrap: wrap;
    flex: 1;
    margin: 10px 0 15px;
    justify-content: center;
}

.btn-soft {
    border: 1px solid #e5e7eb;
    background: white;
    border-radius: 10px;
    padding: 10px 11px;
    font-weight: 900;
    cursor: pointer;
    width: max-content;
    font-size: 18px;
    transition: all 120ms ease;
}

.btn-soft:hover {
    transform: translateY(-1px);
    background: var(--uicolor);
    color: white;
    border-color: var(--uicolor);
}

.grid-cards-posts {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}