/*
Theme Name: MenteNerd
Theme URI: https://mentenerd.com.br
Author: Antigravity
Author URI: https://mentenerd.com.br
Description: A Cyberpunk/Tech theme for MenteNerd with high-performance features.
Version: 1.9.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mentenerd
Tags: blog, dark, tech, cyberpunk, neon
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500&family=Space+Grotesk:wght@500;700&display=swap');

/* WordPress Alignment Classes */
.alignleft {
    float: left;
    margin-right: 1.5rem;
}

.alignright {
    float: right;
    margin-left: 1.5rem;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.alignfull {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    max-width: 100vw;
    width: 100vw;
}

.alignwide {
    margin-left: -120px;
    margin-right: -120px;
    max-width: 100vw;
    width: calc(100% + 240px);
}

/* Post Content & Typography Fixes for Tailwind Reset */
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4 {
    color: #fff;
    margin-top: 2.5rem !important;
    margin-bottom: 1.25rem !important;
    font-weight: 800 !important;
    line-height: 1.3;
}

.entry-content h2 {
    font-size: 1.875rem;
}

.entry-content h3 {
    font-size: 1.5rem;
}

.entry-content p {
    margin-bottom: 1.5rem !important;
    line-height: 1.8;
}

.entry-content a {
    color: #00ff9d;
    text-decoration: underline;
}

.entry-content ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.entry-content img {
    height: auto;
    max-width: 100%;
    border-radius: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Screen Reader Text */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

/* Force Transparency on Inputs to fix White Background Issue */
input[type="search"],
input[type="text"],
input[type="email"],
textarea {
    background-color: transparent !important;
    color: #ffffff !important;
    border: 1px solid #374151 !important;
    /* gray-700 */
}

input[type="search"]:focus,
input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
    border-color: #00f0ff !important;
    /* neonBlue */
    outline: none !important;
    box-shadow: 0 0 0 1px #00f0ff !important;
}

::placeholder {
    color: #6b7280 !important;
    /* gray-500 */
    opacity: 1;
}

/* Featured Carousel Styles */
.featured-carousel .carousel-container {
    display: flex;
    will-change: transform;
}

.featured-carousel .carousel-slide .slide-content {
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Active slide content must be visible and centered */
.featured-carousel .carousel-slide.active-slide .slide-content {
    transform: translateY(0) !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: flex !important;
    /* Preserves flex centering from Tailwind */
}

.featured-carousel .carousel-slide.active-slide .slide-content * {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Ensure slide-content is transitioning */
.featured-carousel .slide-content {
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1) !important;
    opacity: 0;
    transform: translateY(1rem);
}

.carousel-dot.active-dot {
    background-color: #00f0ff !important;
    width: 2rem !important;
}

.featured-carousel .carousel-slide {
    width: 100vw;
    min-width: 100%;
    flex: 0 0 100%;
}

.logo-brain-fix {
    mix-blend-mode: screen !important;
    filter: brightness(1.1) contrast(1.1);
}

@keyframes progress-bar {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

.carousel-dot.active-dot::after {
    content: '';
    display: block;
    height: 100%;
    background: white;
    width: 0;
    border-radius: inherit;
    animation: progress-bar 5000ms linear forwards;
}