/*--------------------------------------------------------------
# Premium News Portal Styles
# Modern, Professional UI with Micro-animations
--------------------------------------------------------------*/

:root {
    /* Premium Color Palette */
    --premium-primary: #1a1a2e;
    --premium-secondary: #16213e;
    --premium-accent: #e94560;
    --premium-accent-light: #ff6b6b;
    --premium-gradient-start: #667eea;
    --premium-gradient-end: #764ba2;
    --premium-gold: #d4af37;
    --premium-silver: #c0c0c0;

    /* Glass Effect */
    --glass-bg: rgba(255, 255, 255, 0.95);
    --glass-border: rgba(255, 255, 255, 0.18);
    --glass-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.15);
    --shadow-hover: 0 12px 48px rgba(0, 0, 0, 0.2);

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Dark Mode Premium Colors */
.dark-mode {
    --glass-bg: rgba(30, 30, 45, 0.95);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
}

/*--------------------------------------------------------------
# Premium Footer with Time Widget
--------------------------------------------------------------*/
#footer {
    background: linear-gradient(135deg, var(--premium-primary) 0%, var(--premium-secondary) 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

#footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--premium-accent), transparent);
}

.footer-inner {
    padding: 60px 0 40px;
}

/* Time Widget Styles */
.footer-time-widget {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 20px;
}

.time-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.time-display .current-time {
    font-size: 2rem;
    font-weight: 700;
    font-family: 'Inter', var(--vr-font-primary), sans-serif;
    letter-spacing: 2px;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.time-display .time-separator {
    animation: blink 1s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

.time-display .current-date {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.time-display .timezone {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    gap: 4px;
}

.time-display .timezone svg {
    width: 12px;
    height: 12px;
}

/* Weather Widget (Optional Enhancement) */
.footer-weather-widget {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    backdrop-filter: blur(10px);
}

/* Footer Copyright Premium */
.footer-copyright {
    background: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
}

.footer-copyright .copyright {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-copyright .nav-footer ul {
    display: flex;
    gap: 20px;
    justify-content: flex-end;
    margin: 0;
    padding: 0;
}

.footer-copyright .nav-footer ul li {
    list-style: none;
}

.footer-copyright .nav-footer ul li a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    transition: color var(--transition-fast);
}

.footer-copyright .nav-footer ul li a:hover {
    color: var(--premium-accent);
}

/* Footer Widget Title */
#footer .widget-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

#footer .widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--premium-accent);
    border-radius: 2px;
}

/* Newsletter Premium */
#footer .newsletter .form-newsletter {
    margin-top: 20px;
}

#footer .newsletter-inputs {
    display: flex;
    gap: 10px;
}

#footer .newsletter-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    border-radius: 8px;
    padding: 12px 16px;
}

#footer .newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

#footer .newsletter-button {
    background: linear-gradient(135deg, var(--premium-accent), var(--premium-accent-light));
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-weight: 600;
    transition: all var(--transition-fast);
}

#footer .newsletter-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(233, 69, 96, 0.4);
}

/* Footer Social Links */
.footer-social-links ul {
    display: flex;
    gap: 12px;
    margin: 20px 0 0;
    padding: 0;
}

.footer-social-links ul li {
    list-style: none;
}

.footer-social-links ul li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    transition: all var(--transition-fast);
}

.footer-social-links ul li a:hover {
    background: var(--premium-accent);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(233, 69, 96, 0.4);
}

/*--------------------------------------------------------------
# Responsive Adjustments
--------------------------------------------------------------*/
@media (max-width: 991px) {
    .footer-time-widget {
        flex-direction: column;
        gap: 15px;
    }

    .time-display .current-time {
        font-size: 1.5rem;
    }
}

@media (max-width: 767px) {
    .footer-inner {
        padding: 40px 0 30px;
    }

    #footer .newsletter-inputs {
        flex-direction: column;
    }

    .footer-copyright .nav-footer ul {
        justify-content: center;
        margin-top: 15px;
    }
}

.post-item .image {
    border-radius: 10px ;
    border: 3px solid red;
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    background-color: #fafafa;
    --bs-aspect-ratio: 61.9%;
    overflow: hidden;
}

.footer-posts .post-item-small-title a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.15s ease;
}

#footer .newsletter .form-newsletter {
    display: none;
    margin-top: 20px;
}
.post-content img, .post-text img {
    pointer-events: none;
    border-radius: 10px;
    border: 2px solid red;
}

