.focus\:text-primary:focus, .hover\:text-primary:hover, .text-primary, .text-primary-focus:focus, .text-primary-hover:hover
{
    color: #4F46E5 !important;
}

a 
{
    text-decoration: none !important;
}

a:hover 
{
    text-decoration: none !important;
    color: #4F46E5 !important;
}

.position-absolute>h2>a:hover 
{
    color: #fff !important;
}

.position-absolute>h4>a:hover 
{
    color: #fff !important;
}

/* ========================================
   GLAMZN HEADER STYLES - PROFESSIONAL DESIGN
   ======================================== */

/* Top Bar Container */
.glamzn-topbar {
    background: linear-gradient(135deg, #4F46E5 0%, #6366F1 100%) !important;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.15);
    min-height: 42px;
}

.glamzn-topbar-container {
    background: transparent !important;
}

/* Info Section - Left Side */
.glamzn-info-section {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: rgba(255, 255, 255, 0.95);
}

/* Date & Time Styling */
.glamzn-datetime {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.glamzn-date {
    font-weight: 500;
}

.glamzn-time {
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.glamzn-separator {
    color: rgba(255, 255, 255, 0.4);
    margin: 0 4px;
}

/* Weather Section */
.glamzn-weather {
    font-size: 13px;
    font-weight: 500;
}

.glamzn-city {
    font-weight: 500;
}

.glamzn-temp {
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.glamzn-humidity {
    font-weight: 500;
    font-variant-numeric: tabular-nums;
}

/* Geo Location Button */
.glamzn-geo-btn {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    color: white;
    margin-left: 4px;
}

.glamzn-geo-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.05);
}

/* User Section */
.glamzn-user-section {
    font-size: 13px;
    padding-left: 16px;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.glamzn-username {
    font-weight: 600;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.glamzn-login-btn {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 13px;
}

.glamzn-login-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    color: white !important;
    transform: translateY(-1px);
}

/* Social Section - Right Side */
.glamzn-social-section {
    padding-right: 8px;
}

.glamzn-social-link {
    color: rgba(255, 255, 255, 0.85) !important;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.glamzn-social-link:hover {
    color: white !important;
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

/* ========================================
   GLAMZN CHANNELS NAVIGATION - MODERN DESIGN
   ======================================== */

/* Main Navigation Container */
.glamzn-channels-nav {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.glamzn-channels-nav::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.glamzn-channels-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: nowrap;
    white-space: nowrap;
}

/* Channel Item Styling */
.glamzn-channel-item {
    flex-shrink: 0;
    position: relative;
}

.glamzn-channel-link {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-decoration: none;
    color: #1f2937;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border-radius: 8px;
    background: transparent;
}

.glamzn-channel-name {
    position: relative;
    z-index: 2;
}

/* Hover Effect with Background Highlight */
.glamzn-channel-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    background: rgba(79, 70, 229, 0.08);
    border-radius: 8px;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
}

/* Underline Effect */
.glamzn-channel-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #4F46E5, #6366F1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
    border-radius: 2px;
    z-index: 1;
}

.glamzn-channel-link:hover {
    color: #4F46E5 !important;
}

.glamzn-channel-link:hover::before {
    opacity: 1;
}

.glamzn-channel-link:hover::after {
    width: calc(100% - 32px);
}

/* Active State */
.glamzn-channel-item.active .glamzn-channel-link,
.glamzn-channel-link.active {
    color: #4F46E5 !important;
}

.glamzn-channel-item.active .glamzn-channel-link::before,
.glamzn-channel-link.active::before {
    opacity: 1;
}

.glamzn-channel-item.active .glamzn-channel-link::after,
.glamzn-channel-link.active::after {
    width: calc(100% - 32px);
}

/* Dropdown Icon */
.glamzn-dropdown-icon {
    font-size: 12px;
    transition: transform 0.3s ease;
    opacity: 0.7;
}

.glamzn-channel-link:hover .glamzn-dropdown-icon {
    opacity: 1;
    transform: translateY(2px);
}

/* Add invisible bridge between link and dropdown */
.glamzn-channel-item::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 15px;
    background: transparent;
    z-index: 999;
    pointer-events: auto;
    display: none;
}

.glamzn-channel-item:hover::before {
    display: block;
}

/* Subchannel Dropdown */
.glamzn-subchannel-dropdown {
    min-width: 220px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.06);
    padding: 8px;
    margin-top: 0;
    z-index: 1000;
    background: white;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
    transition-delay: 0s;
    pointer-events: none;
}

/* Fix for dropdown visibility on focus/hover */
.glamzn-channel-item:hover .glamzn-subchannel-dropdown,
.glamzn-channel-item:focus-within .glamzn-subchannel-dropdown {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
    transition-delay: 0.1s;
}

/* Keep dropdown visible when hovering over it */
.glamzn-subchannel-dropdown:hover {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
}

.glamzn-subchannel-link {
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    color: #4b5563;
    border-radius: 6px;
}

.glamzn-subchannel-link:hover {
    color: #4F46E5 !important;
    background: rgba(79, 70, 229, 0.08) !important;
    transform: translateX(4px);
}

/* Dark Mode Support */
.dark .glamzn-channel-link {
    color: #e5e7eb;
}

.dark .glamzn-channel-link:hover {
    color: #a5b4fc !important;
}

.dark .glamzn-channel-link:hover::before {
    background: rgba(165, 180, 252, 0.15);
}

.dark .glamzn-subchannel-dropdown {
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4), 0 2px 8px rgba(0, 0, 0, 0.3);
    background: #1f2937;
}

.dark .glamzn-subchannel-link {
    color: #d1d5db;
}

.dark .glamzn-subchannel-link:hover {
    color: #a5b4fc !important;
    background: rgba(165, 180, 252, 0.1) !important;
}

/* Animation for dropdown appearance */
@keyframes glamznDropdownSlide {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.glamzn-subchannel-dropdown:not(.d-none) {
    animation: glamznDropdownSlide 0.3s ease;
}

/* Responsive Adjustments */
@media (max-width: 1400px) {
    .glamzn-channel-link {
        padding: 10px 12px;
        font-size: 13px;
    }
}

@media (max-width: 1200px) {
    .glamzn-info-section {
        gap: 12px !important;
    }

    .glamzn-channel-link {
        padding: 8px 10px;
        font-size: 13px;
    }

    .glamzn-channels-list {
        gap: 4px !important;
    }
}

@media (max-width: 992px) {
    .glamzn-weather {
        font-size: 12px;
    }

    .glamzn-datetime {
        font-size: 12px;
    }

    .glamzn-channel-link {
        padding: 8px 12px;
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    .glamzn-topbar {
        min-height: 38px;
    }

    .glamzn-info-section {
        gap: 8px !important;
    }

    .glamzn-datetime {
        font-size: 11px;
    }

    .glamzn-social-link {
        width: 28px;
        height: 28px;
    }

    .glamzn-channel-link {
        padding: 6px 10px;
        font-size: 12px;
    }

    .glamzn-channels-list {
        gap: 2px !important;
    }
}

.col-md-4>article 
{
    margin: 5px;
}

.block-footer>.btn-alt-primary {
    background-color: #4F46E5 !important;
    color: white !important;
}

#body-content{
    margin-left: 7%;
    margin-right: 7%;
}


.featured-image {
    overflow: hidden;
}

.do-scale-up {
    transition: transform 0.4s ease;
}

.do-scale-up:hover {
    transform: scale(1.1);
}

/* Alternative : pour que le zoom fonctionne au survol du conteneur article */
article.post:hover .do-scale-up {
    transform: scale(1.1);
}

.bg-primary, .bg-primary-focus:focus, .bg-primary-hover:hover, .focus\:bg-primary:focus, .hover\:bg-primary:hover {
    background-color: #4F46E5 !important;
}

a:hover .bg-black {
    background-color: #4F46E5 !important;
}

.btn-primary {
    background-color: #4F46E5 !important;
    color: white !important;
    border: none !important;
}

.btn:hover
{
    background-color: #4840e4 !important;
    color: white !important;
}

/* ========================================
   MENU MOBILE - STYLE SIMPLE ET PRO
   ======================================== */

/* Lien "Tout voir" dans le menu mobile */
.category-parent-link a {
    display: block;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 500;
    color: #4F46E5;
    background: #f8f9fa;
    border-radius: 4px;
    margin-bottom: 4px;
}

/* Mode sombre */
.dark .category-parent-link a {
    background: rgba(255, 255, 255, 0.05);
    color: #8B9AFF;
}

/* Sous-catégories - taille réduite */
#uc-menu-panel .uc-nav-sub li a {
    font-size: 14px;
    padding: 8px 16px;
}

/* Séparateur */
#uc-menu-panel .uc-nav-sub .hr {
    margin: 4px 0;
}

/* Espacement du menu */
#uc-menu-panel .uc-nav-sub {
    padding-top: 4px;
    padding-bottom: 4px;
}
