/* ====================================
   GLAMZN CHANNEL PROFILE PAGE STYLES
   ==================================== */

/* Channel Header Styles */
.channel-header-modern {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.05) 0%, rgba(124, 58, 237, 0.05) 100%);
    padding: 2rem;
    border-radius: 16px;
    margin-bottom: 2rem;
    border: 1px solid rgba(79, 70, 229, 0.1);
}

.dark .channel-header-modern {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1) 0%, rgba(124, 58, 237, 0.1) 100%);
    border-color: rgba(79, 70, 229, 0.2);
}

.channel-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
}

.dark .channel-title {
    color: #f9fafb;
}

.channel-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #6b7280;
}

.dark .channel-description {
    color: #9ca3af;
}

.channel-follow {
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.channel-follow:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(79, 70, 229, 0.3);
}

/* Ensure Article Cards are Visible */
.col-12.col-sm-6.col-lg-4 {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

article.card {
    display: flex !important;
    flex-direction: column;
    visibility: visible !important;
    opacity: 1 !important;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.dark article.card {
    background: #1f2937;
    border-color: rgba(255, 255, 255, 0.08);
}

article.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.dark article.card:hover {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

/* Card Image Container */
.card .position-relative {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: 200px;
    overflow: hidden;
}

.card-img-top {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

article.card:hover .card-img-top {
    transform: scale(1.05);
}

/* Card Body */
.card-body {
    display: flex !important;
    flex-direction: column;
    visibility: visible !important;
    opacity: 1 !important;
    padding: 1.25rem;
    flex: 1;
}

.dark .card-body {
    background-color: #1f2937;
}

/* Card Title */
.card-title {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.dark .card-title {
    color: #f9fafb;
}

/* Card Description Text */
.card-text {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    font-size: 0.875rem;
    line-height: 1.5;
    color: #6b7280;
    margin-bottom: 1rem;
}

.dark .card-text {
    color: #9ca3af;
}

.card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.card-title a:hover {
    color: #4F46E5;
}

.dark .card-title a:hover {
    color: #818cf8;
}

/* Badge */
.badge {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 6px;
}

/* Meta Information */
.card-body .d-flex {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.card-body small {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: #6b7280;
}

.dark .card-body small {
    color: #9ca3af;
}

.card-body img {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Grid Layout for Posts */
.row.gy-4.gx-3 {
    display: flex !important;
    flex-wrap: wrap !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin: 0 -0.5rem;
}

.row.gy-4.gx-3 > .col-12,
.row.gy-4.gx-3 > .col-sm-6,
.row.gy-4.gx-3 > .col-lg-4 {
    padding: 0 0.5rem;
    margin-bottom: 1.5rem;
}

/* Newsletter Section */
.newsletter-section {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin: 3rem 0;
}

.newsletter-card {
    background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 8px 24px rgba(79, 70, 229, 0.3);
}

.newsletter-content {
    text-align: center;
    color: white;
}

.newsletter-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.newsletter-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.newsletter-description {
    font-size: 1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.newsletter-input-wrapper {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 50px;
    padding: 0.5rem;
    max-width: 500px;
    margin: 0 auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.newsletter-input-icon {
    color: #6b7280;
    margin-left: 1rem;
}

.newsletter-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    background: transparent;
}

.newsletter-submit-btn {
    background: #4F46E5;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.newsletter-submit-btn:hover {
    background: #4338ca;
    transform: scale(1.05);
}

.newsletter-benefits {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    font-size: 0.875rem;
}

.benefit-item i {
    font-size: 1.25rem;
}

/* Sidebar Promo Widget */
.sidebar-promo-widget {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.promo-card {
    display: block;
    padding: 2rem;
    border-radius: 16px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.promo-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.promo-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.promo-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.promo-tagline {
    font-size: 0.875rem;
    opacity: 0.9;
    margin-bottom: 0.75rem;
}

.promo-description {
    font-size: 0.875rem;
    line-height: 1.6;
    opacity: 0.85;
    margin-bottom: 1.5rem;
}

.promo-cta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    transition: gap 0.3s ease;
}

.promo-card:hover .promo-cta {
    gap: 1rem;
}

/* Latest Articles Widget */
.latest-articles-widget {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    padding: 1.25rem;
}

.dark .latest-articles-widget {
    background: #1f2937;
    border-color: rgba(255, 255, 255, 0.08);
}

.widget-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.latest-article-card {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    padding: 0.75rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.latest-article-card:hover {
    background: rgba(0, 0, 0, 0.02);
    transform: translateX(5px);
}

.dark .latest-article-card:hover {
    background: rgba(255, 255, 255, 0.05);
}

.latest-article-card img {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100%;
    border-radius: 6px;
}

.article-title-small {
    font-size: 0.875rem;
    line-height: 1.3;
    font-weight: 600;
    color: #1f2937;
}

.dark .article-title-small {
    color: #f9fafb;
}

/* Pagination */
.nav-pagination {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Play Icon for Videos */
.position-absolute.top-50.start-50 {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Sticky Sidebar */
.sticky-top {
    position: sticky;
    top: 100px;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .channel-header-modern {
        padding: 1.5rem;
    }

    .channel-title {
        font-size: 1.5rem;
    }

    .sticky-top {
        position: static;
        margin-top: 2rem;
    }

    .newsletter-benefits {
        gap: 1rem;
    }
}

@media (max-width: 767px) {
    .channel-title {
        font-size: 1.25rem;
    }

    .newsletter-card {
        padding: 2rem 1.5rem;
    }

    .newsletter-title {
        font-size: 1.5rem;
    }

    .newsletter-benefits {
        flex-direction: column;
        gap: 0.75rem;
    }
}

/* Force visibility for all important elements */
.panel,
.panel > *,
.row,
.col-12,
.col-sm-6,
.col-lg-4,
.col-lg-8,
.card,
.card *,
.sidebar-content,
.sidebar-content * {
    visibility: visible !important;
}

/* Ensure text is readable */
p, span, div, a, h1, h2, h3, h4, h5, h6 {
    color: inherit;
}

.text-dark {
    color: #1f2937 !important;
}

.dark .text-dark {
    color: #f9fafb !important;
}

.text-muted {
    color: #6b7280 !important;
}

.dark .text-muted {
    color: #9ca3af !important;
}
