/* Tungo Videos & Reel Platform CSS */
.tungo-videos-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.tungo-videos-header {
    text-align: center;
    margin-bottom: 30px;
    background: #F8F9FA;
    padding: 30px 20px;
    border-radius: 16px;
    border: 1px solid #E2E8F0;
}

.tungo-page-title {
    color: #0B192C;
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 8px;
}

.tungo-page-subtitle {
    color: #64748B;
    font-size: 15px;
    margin-bottom: 20px;
}

.tungo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 10px;
    cursor: pointer;
    border: none;
    text-decoration: none;
    transition: all 0.2s ease;
}

.tungo-btn-maroon {
    background-color: #7A0C2E;
    color: #FFFFFF !important;
}

.tungo-btn-maroon:hover {
    backgroundColor: #560820;
}

.tungo-btn-block {
    width: 100%;
}

.tungo-btn-sm {
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 6px;
    background: #F1F5F9;
    color: #0B192C;
    border: 1px solid #CBD5E1;
    cursor: pointer;
    margin-right: 6px;
}

.tungo-btn-sm:hover {
    background: #7A0C2E;
    color: #FFFFFF;
}

/* Video Grid Layout */
.tungo-video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

.tungo-video-card {
    background: #FFFFFF;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid #E2E8F0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tungo-video-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(122, 12, 46, 0.12);
}

.tungo-video-thumb-wrap {
    position: relative;
    width: 100%;
    height: 180px;
    background: #0B192C;
}

.tungo-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tungo-play-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: rgba(122, 12, 46, 0.85);
    border: 2px solid #FFFFFF;
    border-radius: 50%;
    color: #FFFFFF;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tungo-play-badge .dashicons {
    font-size: 28px;
    width: 28px;
    height: 28px;
    margin-left: 3px;
}

.tungo-card-body {
    padding: 14px;
}

.tungo-card-title {
    font-size: 15px;
    font-weight: 700;
    color: #0B192C;
    margin: 0 0 6px 0;
    line-height: 1.3;
}

.tungo-card-desc {
    font-size: 13px;
    color: #64748B;
    margin-bottom: 12px;
}

.tungo-card-meta {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.tungo-author-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    margin-right: 8px;
}

.tungo-author-name {
    font-size: 12px;
    font-weight: 600;
    color: #1E293B;
    margin-right: auto;
}

.tungo-post-date {
    font-size: 11px;
    color: #94A3B8;
}

/* Modal Popup */
.tungo-modal {
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.tungo-modal-content {
    background-color: #FFFFFF;
    border-radius: 16px;
    padding: 24px;
    width: 100%;
    max-width: 550px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.tungo-modal-player-content {
    max-width: 800px;
    padding: 10px;
    background: #000;
}

.tungo-modal-close, .tungo-player-close {
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 28px;
    font-weight: bold;
    color: #64748B;
    cursor: pointer;
    z-index: 10;
}

.tungo-form-styled .tungo-form-group {
    margin-bottom: 14px;
}

.tungo-form-styled label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 13px;
    color: #1E293B;
}

.tungo-form-styled input[type="text"],
.tungo-form-styled input[type="url"],
.tungo-form-styled input[type="file"],
.tungo-form-styled select,
.tungo-form-styled textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #CBD5E1;
    border-radius: 8px;
    font-size: 14px;
    background: #FFFFFF;
}

.tungo-form-row {
    display: flex;
    gap: 12px;
}

.tungo-col-6 {
    flex: 1;
}

.tungo-responsive-video {
    width: 100%;
    max-height: 480px;
    border-radius: 8px;
}

.tungo-embed-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
}

.tungo-embed-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
