/* video_card.css - Dedicated styling for YouTube Video Tutorial Cards */

.record-video-cards-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
}

.record-video-card {
    background-color: var(--bg-card);
    border-radius: var(--radius-card, 20px);
    border: 1px solid var(--border-color);
    border-top: 3px solid #E11D48; /* Distinct cinema/video accent bar */
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

html.dark-theme .record-video-card {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    border-top-color: #F43F5E;
}

.record-video-card-header {
    padding: 18px 22px 12px 22px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.record-video-card-title-group {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    width: 100%;
}

.record-video-card-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background-color: rgba(225, 29, 72, 0.1);
    color: #E11D48;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

html.dark-theme .record-video-card-icon {
    background-color: rgba(244, 63, 94, 0.15);
    color: #FB7185;
}

.record-video-card-icon .telltale-icon {
    width: 22px;
    height: 22px;
}

.record-video-card-heading-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.record-video-card-badge {
    font-family: var(--font-mono, monospace);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #E11D48;
}

html.dark-theme .record-video-card-badge {
    color: #FB7185;
}

.record-video-card-title {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.35;
}

.record-video-card-summary {
    padding: 0 22px 14px 22px;
    color: var(--text-secondary, var(--text-primary));
    font-size: 0.98rem;
    line-height: 1.6;
}

.record-video-card-summary p {
    margin: 0 0 8px 0;
}

.record-video-card-summary p:last-child {
    margin-bottom: 0;
}

.record-video-player-container {
    padding: 0 18px 16px 18px;
}

.record-video-player-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    border-radius: 12px;
    overflow: hidden;
    background-color: #000000;
    border: 1px solid rgba(128, 128, 128, 0.2);
}

.record-video-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.record-video-card-footer {
    padding: 10px 22px;
    background-color: rgba(0, 0, 0, 0.02);
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

html.dark-theme .record-video-card-footer {
    background-color: rgba(255, 255, 255, 0.02);
}

.record-video-external-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-sans);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--accent-color);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.record-video-external-link:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.record-video-external-arrow {
    font-size: 0.95rem;
    line-height: 1;
}
