.td-lp-child-section {
    margin: 0 0 30px;
}

.td-lp-child-heading {
    align-items: flex-end;
    display: flex;
    gap: 20px;
    justify-content: space-between;
    margin-bottom: 14px;
}

.td-lp-child-heading span {
    color: #9f315b;
    display: block;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
    margin-bottom: 3px;
}

.td-lp-child-heading h2 {
    color: #1f2933;
    font-size: 22px;
    font-weight: 900;
    line-height: 1.35;
    margin: 0;
}

.td-lp-child-heading p {
    color: #657482;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.6;
    margin: 0;
    text-align: right;
}

.td-lp-child-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.td-lp-child-card {
    background: #fff;
    border: 1px solid #dce3ea;
    border-radius: 12px;
    color: #1f2933;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    text-decoration: none;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.td-lp-child-card:hover {
    border-color: #bd4a78;
    box-shadow: 0 12px 28px rgba(159, 49, 91, .13);
    color: #1f2933;
    text-decoration: none;
    transform: translateY(-2px);
}

.td-lp-child-card:focus-visible {
    border-color: #bd4a78;
    box-shadow: 0 0 0 3px rgba(189, 74, 120, .18);
    outline: 2px solid transparent;
}

.td-lp-child-media {
    aspect-ratio: 5 / 4;
    background: linear-gradient(180deg, #f7f9fb 0%, #eef3f7 100%);
    border-bottom: 1px solid #e4e9ed;
    display: flex;
    justify-content: center;
    min-height: 0;
    overflow: hidden;
    padding: 10px;
}

.td-lp-child-media--collection {
    display: grid;
    gap: 8px;
    grid-template-rows: minmax(0, 2fr) minmax(0, 1fr);
}

.td-lp-child-media-primary,
.td-lp-child-media-secondary {
    align-items: center;
    background: #fff;
    border: 1px solid #dce3ea;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    min-height: 0;
    overflow: hidden;
}

.td-lp-child-media:not(.td-lp-child-media--collection) .td-lp-child-media-primary {
    height: 100%;
    width: 100%;
}

.td-lp-child-media-summary {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: 0;
}

.td-lp-child-media img {
    height: 100%;
    object-fit: contain;
    width: 100%;
}

.td-lp-child-media-count {
    align-items: center;
    background: #e4eaf0;
    border: 1px solid #d4dde5;
    border-radius: 8px;
    color: #526371;
    display: flex;
    font-size: 18px;
    font-weight: 900;
    justify-content: center;
    letter-spacing: .02em;
}

.td-lp-child-media-placeholder {
    color: #82909c;
    font-size: 12px;
    font-weight: 800;
}

.td-lp-child-copy {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 14px;
}

.td-lp-child-copy > strong {
    color: #1f2933;
    font-size: 16px;
    font-weight: 900;
    line-height: 1.45;
}

.td-lp-child-total {
    color: #7a8792;
    font-size: 11px;
    font-weight: 800;
    margin-top: 3px;
}

.td-lp-child-description {
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    color: #657482;
    display: -webkit-box;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.65;
    margin-top: 6px;
    overflow: hidden;
}

.td-lp-child-action {
    align-items: center;
    color: #9f315b;
    display: inline-flex;
    font-size: 12px;
    font-weight: 900;
    margin-top: auto;
    padding-top: 11px;
}

.td-lp-child-action .td-inline-arrow-icon {
    height: 16px;
    margin-left: 5px;
    transition: transform .18s ease;
    width: 16px;
}

.td-lp-child-card:hover .td-lp-child-action .td-inline-arrow-icon {
    transform: translateX(3px);
}

@media (max-width: 900px) {
    .td-lp-child-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .td-lp-child-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }

    .td-lp-child-heading p {
        text-align: left;
    }

    .td-lp-child-grid {
        grid-template-columns: 1fr;
    }

    .td-lp-child-card {
        display: grid;
        grid-template-columns: 132px minmax(0, 1fr);
    }

    .td-lp-child-media {
        aspect-ratio: auto;
        border-bottom: 0;
        border-right: 1px solid #e4e9ed;
        min-height: 164px;
        padding: 8px;
    }

    .td-lp-child-media--collection,
    .td-lp-child-media-summary {
        gap: 6px;
    }

    .td-lp-child-media-count {
        font-size: 14px;
    }

    .td-lp-child-copy {
        padding: 12px;
    }

    .td-lp-child-copy > strong {
        font-size: 15px;
    }
}
