/* Marketing Kit Styles */
.mk-hero {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: white;
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.mk-hero::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(249, 115, 22, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.mk-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin: 0 auto;
}

.mk-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(to right, #ffffff, #e2e8f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.mk-hero p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #94a3b8;
    margin-bottom: 30px;
}

.mk-hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.mk-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Filter Bar */
.mk-filter-bar {
    position: sticky;
    top: 70px;
    z-index: 90;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 16px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
}

.mk-filter-header-mobile {
    display: none;
    width: 100%;
    justify-content: space-between;
    align-items: center;
}

.mk-filter-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    display: flex;
    align-items: center;
    color: #475569;
}

.mk-filter-content {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
    width: 100%;
}

.mk-filter-group {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.mk-filter-btn {
    background: #f1f5f9;
    border: 1px solid transparent;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mk-filter-btn:hover {
    background: #e2e8f0;
}

.mk-filter-btn.active {
    background: #fff0eb; /* Brand light orange */
    color: #ea580c;      /* Brand orange */
    border-color: #fdba74;
}

/* Grids */
.mk-section {
    margin-bottom: 60px;
}

.mk-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: #1e293b;
}

.mk-grid, .mk-featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

/* Cards */
.mk-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.04);
    border: 1px solid #f1f5f9;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.mk-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}

.mk-card-media {
    position: relative;
    background: #f8fafc;
    overflow: hidden;
}

.mk-card[data-type="poster"] .mk-card-media, 
.mk-card[data-type="video"] .mk-card-media {
    /* No forced aspect ratio to avoid letterboxing */
}

.mk-card-media img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.mk-card:hover .mk-card-media img {
    transform: scale(1.05);
}

.mk-placeholder-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    color: #94a3b8;
    font-weight: 600;
    font-size: 1.2rem;
}

.mk-placeholder-large {
    aspect-ratio: 4/5;
    font-size: 2rem;
    border-radius: 12px;
}

.mk-video-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0,0,0,0.6);
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    z-index: 2;
    backdrop-filter: blur(4px);
}

.mk-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 3;
}

.mk-card:hover .mk-card-overlay {
    opacity: 1;
}

.mk-card-content {
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.mk-card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.mk-badge {
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mk-badge-poster { background: #eff6ff; color: #2563eb; }
.mk-badge-video { background: #fef2f2; color: #dc2626; }
.mk-badge-caption { background: #f0fdf4; color: #16a34a; }

.mk-badge-lang {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 500;
}

.mk-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.mk-card-title a { color: inherit; text-decoration: none; }
.mk-card-title a:hover { color: #ea580c; }

.mk-platform-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    margin-bottom: 10px;
}

.mk-plat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.mk-plat-icon svg {
    width: 20px;
    height: 20px;
}

.mk-plat-whatsapp { color: #25D366; }
.mk-plat-instagram { color: #E1306C; }
.mk-plat-facebook { color: #1877F2; }
.mk-plat-youtube { color: #FF0000; }

.mk-card-footer {
    background: #013493;
    margin: 10px -16px -12px -16px;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #e2e8f0;
}

.mk-view-details-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition: color 0.2s ease;
}

.mk-view-details-link:hover {
    color: #ef7305;
}

.mk-stats {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Detail Page */
.mk-detail-container {
    padding-top: 40px;
    padding-bottom: 80px;
}

.mk-back-link {
    margin-bottom: 30px;
}

.mk-back-link a {
    color: #64748b;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.mk-back-link a:hover {
    color: #1e293b;
}

.mk-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

@media (max-width: 900px) {
    .mk-detail-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.mk-detail-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 16px;
    line-height: 1.2;
}

.mk-detail-stats {
    color: #64748b;
    font-size: 0.95rem;
    margin-bottom: 30px;
}

.mk-caption-box, .mk-hashtags-box {
    background: #f8fafc;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
    border: 1px solid #e2e8f0;
}

.mk-caption-box h4, .mk-hashtags-box h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #64748b;
    margin-bottom: 12px;
}

.mk-caption-content, .mk-hashtags-content {
    font-size: 1rem;
    line-height: 1.6;
    color: #334155;
    margin-bottom: 16px;
}

.mk-detail-actions {
    margin-top: 40px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
}

.mk-btn-block {
    width: 100%;
    justify-content: center;
    padding: 14px;
    font-size: 1.05rem;
}

.mk-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #10b981;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3);
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1000;
}

.mk-toast.show {
    transform: translateY(0);
    opacity: 1;
}

.mk-empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    background: #f8fafc;
    border-radius: 16px;
    color: #64748b;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .mk-filter-header-mobile {
        display: flex;
    }
    
    .mk-filter-content {
        display: none;
        flex-direction: column;
        gap: 16px;
        margin-top: 16px;
        padding-top: 16px;
        border-top: 1px solid #e2e8f0;
    }
    
    .mk-filter-content.active {
        display: flex;
    }
    
    .mk-filter-bar {
        padding: 8px 16px;
    }
    
    .mk-filter-group:not(:last-child) {
        width: 100%;
        border-bottom: 1px solid #e2e8f0;
        padding-bottom: 16px;
    }
    
    .mk-detail-actions {
        flex-direction: column;
        align-items: stretch;
    }
}

