/*
Theme Name: 123
*/


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --neon-pink: #FF00FF;
    --neon-blue: #00FFFF;
    --dark-bg: #000000;
    --card-bg: rgba(30, 30, 30, 0.7);
    --text-color: #E0E0E0;
    --hover-glow: 0 0 20px rgba(255, 0, 255, 0.8);
}



body {
    font-family: 'Rajdhani', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Orbitron', sans-serif;
    color: var(--neon-pink);
    text-shadow: 0 0 10px rgba(255, 0, 255, 0.5);
}

a {
    color: var(--neon-pink);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    text-shadow: var(--hover-glow);
}


.site-header {
    background: rgba(20, 20, 20, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 0, 255, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

.site-logo {
    max-height: 50px;
    filter: drop-shadow(0 0 10px rgba(255, 0, 255, 0.5));
}

.navbar-nav .nav-link {
    color: var(--text-color);
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    margin: 0 1rem;
    position: relative;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--neon-pink), var(--neon-blue));
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

.navbar-nav .nav-link.active {
    color: var(--neon-pink);
    text-shadow: 0 0 10px rgba(255, 0, 255, 0.5);
}


.hero-banner {
    background: linear-gradient(180deg, rgba(255,0,255,0.1) 0%, transparent 100%);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(255,0,255,0.03) 2px,
        rgba(255,0,255,0.03) 4px
    );
    animation: scan-line 8s linear infinite;
}

@keyframes scan-line {
    0% { transform: translateY(0); }
    100% { transform: translateY(20px); }
}

.hero-title {
    font-size: 3rem;
    background: linear-gradient(45deg, var(--neon-pink), var(--neon-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}


.main-content {
    padding: 3rem 0;
    min-height: 80vh;
}


.article-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 0, 255, 0.3);
    border-radius: 0;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.article-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--neon-pink), var(--neon-blue), var(--neon-pink));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.article-card:hover::before {
    opacity: 1;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 0, 255, 0.3);
}

.card-body {
    padding: 2rem;
}

.article-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.article-meta {
    font-size: 0.9rem;
    color: rgba(224, 224, 224, 0.7);
    margin-bottom: 1rem;
}

.article-meta span {
    margin-right: 1rem;
}

.category-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(255, 0, 255, 0.2);
    border: 1px solid var(--neon-pink);
    font-size: 0.8rem;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.category-badge:hover {
    background: rgba(255, 0, 255, 0.4);
    box-shadow: 0 0 10px rgba(255, 0, 255, 0.5);
}


.sidebar {
    padding-left: 2rem;
}

.widget {
    background: var(--card-bg);
    border: 1px solid rgba(0, 255, 255, 0.3);
    padding: 1.5rem;
    margin-bottom: 2rem;
    position: relative;
}

.widget::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(-45deg, transparent 30%, rgba(0, 255, 255, 0.1) 0);
}

.widget-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--neon-blue);
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}


.site-footer {
    background: rgba(20, 20, 20, 0.9);
    border-top: 1px solid rgba(255, 0, 255, 0.3);
    padding: 3rem 0 2rem;
    margin-top: 3rem;
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 20"><rect x="0" y="0" width="2" height="20" fill="%23FF00FF" opacity="0.1"/><rect x="10" y="0" width="1" height="20" fill="%2300FFFF" opacity="0.1"/><rect x="20" y="0" width="3" height="20" fill="%23FF00FF" opacity="0.1"/></svg>') repeat-x;
    filter: contrast(200%);
}

.footer-text {
    text-align: center;
    animation: glitch 3s infinite;
}

@keyframes glitch {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(-1px, 1px); }
    40% { transform: translate(1px, -1px); }
    60% { transform: translate(-1px, 0); }
    80% { transform: translate(1px, 0); }
}


.single-post .post-content {
    background: var(--card-bg);
    padding: 3rem;
    border: 1px solid rgba(255, 0, 255, 0.3);
}

.post-content h2, .post-content h3 {
    margin: 2rem 0 1rem;
}

.post-content p {
    margin-bottom: 1.5rem;
}

.post-content img {
    max-width: 100%;
    height: auto;
    filter: contrast(1.1) brightness(0.9);
    border: 1px solid rgba(255, 0, 255, 0.2);
    transition: all 0.3s ease;
}

.post-content img:hover {
    filter: contrast(1.2) brightness(1) drop-shadow(0 0 20px rgba(255, 0, 255, 0.5));
}


.breadcrumbs {
    padding: 1rem 0;
    font-size: 0.9rem;
}

.breadcrumbs a {
    color: var(--neon-pink);
}

.breadcrumbs .separator {
    margin: 0 0.5rem;
    color: var(--neon-blue);
}

.breadcrumbs .current {
    animation: text-flicker 2s infinite;
}

@keyframes text-flicker {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}


@media (max-width: 991px) {
    .sidebar {
        padding-left: 0;
        margin-top: 3rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .navbar-nav {
        text-align: center;
    }
    
    .navbar-nav .nav-link {
        margin: 0.5rem 0;
    }
}

@media (max-width: 767px) {
    .article-card {
        margin-bottom: 1.5rem;
    }
    
    .card-body {
        padding: 1.5rem;
    }
    
    .hero-banner {
        padding: 2rem 0;
    }
}


.screen-reader-text {
    position: absolute;
    left: -9999px;
}


.neon-highlight {
    background: linear-gradient(to right, rgba(255, 0, 255, 0.3), rgba(0, 255, 255, 0.3));
    padding: 0 0.25rem;
    animation: highlight-pulse 2s ease-in-out infinite;
}

@keyframes highlight-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}


.error-404 {
    text-align: center;
    padding: 5rem 0;
}

.error-404 h1 {
    font-size: 6rem;
    animation: glitch 2s infinite;
}


.comments-area {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--card-bg);
    border: 1px solid rgba(0, 255, 255, 0.3);
}

.comment-list {
    list-style: none;
}

.comment {
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-left: 3px solid var(--neon-pink);
}


.pagination {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 3rem;
}

.pagination .nav-links {
    display: flex;
    gap: 0.5rem;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--card-bg);
    border: 1px solid var(--neon-pink);
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.pagination a:hover {
    background: rgba(255, 0, 255, 0.2);
    box-shadow: 0 0 15px rgba(255, 0, 255, 0.5);
    transform: translateY(-2px);
}

.pagination .current {
    background: var(--neon-pink);
    color: var(--dark-bg);
    font-weight: bold;
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.6);
}

.pagination .prev,
.pagination .next {
    background: rgba(0, 255, 255, 0.1);
    border-color: var(--neon-blue);
}

.pagination .prev:hover,
.pagination .next:hover {
    background: rgba(0, 255, 255, 0.3);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
}

div.card-body > p{ 
  line-height: 1.5;
  height: 4.5em;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  text-overflow: ellipsis;
  word-wrap: break-word;
  word-break: break-word;
}

h2.article-title{ 
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-decoration: none;
}

article.article-card > a  > img{ 
  aspect-ratio: 2/1;
  object-fit: cover;
  object-position: center;
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: block;
}

@media (min-width: 982px) { 
  ul.navbar-nav.ms-auto>*:nth-child(n+6) {
    display: none;
  }
}


figure.wp-block-image >a >img { 
  max-width: 100%;
}
@media (min-width: 768px) {
  figure.wp-block-image >a >img {
    max-width: 66%;
  }
}
@media (min-width: 992px) {
  figure.wp-block-image >a >img {
    max-width: 33%;
  }
}




.article-placeholder {
    aspect-ratio: 2/1;
    width: 100%;
    overflow: hidden;
}

.article-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s ease;
}

.article-placeholder:hover {
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    border-color: #adb5bd;
}

.placeholder-icon {
    font-size: 2rem;
    opacity: 0.5;
    filter: grayscale(1);
}


.article-placeholder::after {
    content: "not image";
    position: absolute;
    bottom: 10px;
    font-size: 0.75rem;
    color: #6c757d;
    opacity: 0.7;
}
