/* ============================================
   POST PAGE STYLES
   ============================================ */

/* Post Header Section */
.post-header-section {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    padding: 40px 0 60px;
    color: #fff;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s;
}

.breadcrumb a:hover {
    color: #fff;
}

.breadcrumb span {
    color: rgba(255, 255, 255, 0.6);
}

.post-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.live-badge {
    animation: glow 2s ease-in-out infinite;
}

.post-main-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.post-meta-info {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    font-size: 1rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.95;
}

.meta-item i {
    font-size: 1.1rem;
}

/* Post Content Section */
.post-content-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.post-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
}

/* Main Content */
.post-main-content {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.post-video-container {
    position: relative;
    background: #000;
}

.video-preview-wrapper {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 500px;
    background: #000;
    overflow: hidden;
}

.video-thumbnail-post {
    width: 100%;
    height: auto;
    display: block;
}

.post-main-video {
    width: 100%;
    height: auto;
    display: block;
}

.video-caption {
    padding: 20px 30px;
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: #2c3e50;
}

.video-caption i {
    color: #dc2626;
    font-size: 1.2rem;
}

/* Article Content */
.post-article {
    padding: 40px;
}

.post-article h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 40px 0 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.post-article h2:first-child {
    margin-top: 0;
}

.post-article h2 i {
    color: #dc2626;
}

.post-article p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.post-article strong {
    color: #2c3e50;
    font-weight: 700;
}

/* Highlights Grid */
.highlights-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.highlight-card {
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 25px;
    transition: all 0.3s;
}

.highlight-card:hover {
    border-color: #dc2626;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(220, 38, 38, 0.15);
}

.highlight-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.highlight-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
}

.highlight-card p {
    font-size: 0.95rem;
    color: #666;
    margin: 0;
}

/* Info Table */
.info-table {
    background: #f8f9fa;
    border-radius: 12px;
    overflow: hidden;
    margin: 30px 0;
    border: 1px solid #e0e0e0;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid #e0e0e0;
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    font-weight: 600;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-label i {
    color: #dc2626;
    width: 20px;
}

.info-value {
    font-weight: 700;
    color: #dc2626;
}

/* Standards Box */
.standards-box {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.05) 0%, rgba(185, 28, 28, 0.05) 100%);
    border-left: 4px solid #dc2626;
    border-radius: 12px;
    padding: 30px;
    margin: 30px 0;
}

.standards-box h3 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 15px;
    margin-top: 25px;
}

.standards-box h3:first-child {
    margin-top: 0;
}

.standards-box ul {
    list-style: none;
    padding: 0;
}

.standards-box li {
    padding: 10px 0;
    color: #555;
    font-size: 1.05rem;
}

.standards-box strong {
    color: #dc2626;
}

/* Benefits List */
.benefits-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.benefits-list li {
    padding: 12px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.05rem;
    color: #555;
}

.benefits-list i {
    color: #28a745;
    font-size: 1.2rem;
}

/* CTA Box */
.cta-box {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: #fff;
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    margin: 40px 0;
    box-shadow: 0 10px 30px rgba(220, 38, 38, 0.3);
}

.cta-box h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.cta-box p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    opacity: 0.95;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    color: #dc2626;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Share Section */
.share-section {
    background: #f8f9fa;
    padding: 30px 40px;
    border-top: 1px solid #e0e0e0;
}

.share-section h3 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.share-section h3 i {
    color: #dc2626;
}

.share-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 25px;
    border-radius: 8px;
    color: #fff;
    font-weight: 600;
    transition: all 0.3s;
}

.share-btn.facebook {
    background: #1877f2;
}

.share-btn.twitter {
    background: #1da1f2;
}

.share-btn.whatsapp {
    background: #25d366;
}

.share-btn.telegram {
    background: #0088cc;
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Sidebar */
.post-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-card {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.sidebar-card h3 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-card h3 i {
    color: #dc2626;
}

/* Quick Info Card */
.quick-info-card {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.05) 0%, rgba(185, 28, 28, 0.05) 100%);
    border-top: 4px solid #dc2626;
}

.quick-info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0;
}

.quick-info-item:last-child {
    border-bottom: none;
}

.qi-label {
    font-weight: 600;
    color: #2c3e50;
}

.qi-value {
    font-weight: 700;
    color: #dc2626;
}

/* Related Posts */
.related-post-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.related-post-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.related-post-item img {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    object-fit: cover;
}

.related-post-info h4 {
    font-size: 1rem;
    margin-bottom: 8px;
    line-height: 1.4;
}

.related-post-info h4 a {
    color: #2c3e50;
    transition: color 0.3s;
}

.related-post-info h4 a:hover {
    color: #dc2626;
}

.related-date {
    font-size: 0.85rem;
    color: #999;
}

/* Apply Card */
.apply-card {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: #fff;
    text-align: center;
}

.apply-card h3 {
    color: #fff;
}

.apply-card h3 i {
    color: #fff;
}

.apply-card p {
    margin-bottom: 20px;
    opacity: 0.95;
}

.sidebar-apply-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #fff;
    color: #dc2626;
    padding: 15px 25px;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s;
}

.sidebar-apply-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Responsive */
@media (max-width: 992px) {
    .post-layout {
        grid-template-columns: 1fr;
    }
    
    .post-main-title {
        font-size: 2.2rem;
    }
    
    .highlights-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .post-main-title {
        font-size: 1.8rem;
    }
    
    .post-meta-info {
        gap: 15px;
        font-size: 0.9rem;
    }
    
    .post-article {
        padding: 25px;
    }
    
    .share-section {
        padding: 25px;
    }
    
    .share-buttons {
        flex-direction: column;
    }
    
    .share-btn {
        justify-content: center;
    }
}


/* Video Password Protection Styles for Post Page */
.video-preview-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.video-preview-overlay:hover {
    background: rgba(0, 0, 0, 0.7);
}

.play-preview-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: #fff;
    border: none;
    padding: 25px 40px;
    border-radius: 16px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.4);
}

.play-preview-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(220, 38, 38, 0.5);
}

.play-preview-btn i {
    font-size: 2.5rem;
}

.countdown-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    padding: 15px 25px;
    border-radius: 12px;
    z-index: 10;
}

.countdown-content {
    text-align: center;
    color: #fff;
}

.countdown-timer {
    font-size: 2rem;
    font-weight: 700;
    color: #dc2626;
    margin-bottom: 5px;
}

.countdown-content p {
    font-size: 0.85rem;
    opacity: 0.9;
    margin: 0;
}

.password-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.password-modal {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.4s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.password-header {
    margin-bottom: 20px;
}

.password-header i {
    font-size: 3rem;
    color: #dc2626;
    margin-bottom: 15px;
}

.password-header h3 {
    font-size: 1.5rem;
    color: #1f2937;
    margin: 0;
}

.password-modal p {
    color: #6b7280;
    margin-bottom: 25px;
}

.pin-input {
    width: 100%;
    padding: 15px;
    font-size: 1.5rem;
    text-align: center;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    outline: none;
    letter-spacing: 8px;
    font-weight: 700;
    transition: all 0.3s;
}

.pin-input:focus {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.pin-input.shake {
    animation: shake 0.5s;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

.password-actions {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.verify-btn, .cancel-btn {
    flex: 1;
    padding: 15px;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.verify-btn {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
}

.verify-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
}

.cancel-btn {
    background: #f3f4f6;
    color: #6b7280;
}

.cancel-btn:hover {
    background: #e5e7eb;
    color: #1f2937;
}

.pin-hint {
    margin-top: 20px;
    font-size: 0.85rem;
    color: #9ca3af;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.pin-hint i {
    color: #dc2626;
}
