/*
Theme Name: 123
*/



* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    background: radial-gradient(circle at top, #0a1929, #061220);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(0, 188, 212, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 188, 212, 0.03) 1px, transparent 1px);
    background-size: 30px 30px;
    pointer-events: none;
    z-index: 1;
}

.container {
    position: relative;
    z-index: 2;
}


h1, h2, h3, h4, h5, h6 {
    font-family: 'Exo 2', sans-serif;
    font-weight: 600;
    color: #FFFFFF;
}

h1 { font-size: 1.8rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.2rem; }

a {
    color: #00BCD4;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #00FFD4;
    text-shadow: 0 0 8px rgba(0, 255, 212, 0.5);
}


.site-header {
    background: rgba(10, 25, 41, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 188, 212, 0.3);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-family: 'Exo 2', sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: #00FFD4;
    text-shadow: 0 0 20px rgba(0, 255, 212, 0.5);
    transition: all 0.3s ease;
}

.logo:hover {
    text-shadow: 0 0 30px rgba(0, 255, 212, 0.8);
    transform: translateY(-2px);
}


.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 30px;
}

.main-navigation a {
    position: relative;
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    padding: 8px 0;
    transition: all 0.3s ease;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00BCD4, #00FFD4);
    transition: width 0.3s ease;
}

.main-navigation a:hover::after {
    width: 100%;
}


.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #00FFD4;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
}


.article-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 188, 212, 0.2);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    margin-bottom: 30px;
}

.article-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #00BCD4, #00FFD4);
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 188, 212, 0.3);
    border-color: rgba(0, 255, 212, 0.5);
}

.article-thumbnail {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.article-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.article-card:hover .article-thumbnail img {
    transform: scale(1.05);
}

.article-thumbnail::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 25, 41, 0.3);
    backdrop-filter: blur(2px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.article-card:hover .article-thumbnail::after {
    opacity: 1;
}

.article-content {
    padding: 20px;
}

.article-title {
    margin-bottom: 10px;
    line-height: 1.4;
}

.article-title a {
    color: #FFFFFF;
    transition: all 0.3s ease;
}

.article-title a:hover {
    color: #00FFD4;
    text-shadow: 0 0 10px rgba(0, 255, 212, 0.5);
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.85rem;
    color: #00BCD4;
}

.article-meta time {
    display: flex;
    align-items: center;
    gap: 5px;
}

.article-category {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(0, 188, 212, 0.1);
    border: 1px solid rgba(0, 188, 212, 0.3);
    border-radius: 4px;
    font-size: 0.8rem;
    position: relative;
    overflow: hidden;
}

.article-category::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(0, 255, 212, 0.4), transparent);
    transition: all 0.3s ease;
}

.article-card:hover .article-category::before {
    width: 100px;
    height: 100px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.article-excerpt {
    line-height: 1.6;
    margin-bottom: 15px;
}


.sidebar {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 188, 212, 0.2);
    border-radius: 8px;
    padding: 20px;
}

.widget {
    margin-bottom: 30px;
}

.widget-title {
    color: #00FFD4;
    font-size: 1.1rem;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0, 188, 212, 0.3);
}

.category-cloud a {
    display: inline-block;
    padding: 6px 14px;
    margin: 4px;
    background: rgba(0, 188, 212, 0.05);
    border: 1px solid #00BCD4;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.category-cloud a:hover {
    background: rgba(0, 255, 212, 0.1);
    border-color: #00FFD4;
    box-shadow: 0 0 10px rgba(0, 255, 212, 0.3);
}


.breadcrumb {
    padding: 15px 0;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb-separator {
    color: #00BCD4;
    margin: 0 10px;
}

.breadcrumb-current {
    color: #00FFD4;
}

.single-content {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 188, 212, 0.2);
    border-radius: 8px;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.single-content::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(0, 188, 212, 0.02) 10px,
        rgba(0, 188, 212, 0.02) 20px
    );
    animation: slide 20s linear infinite;
}

@keyframes slide {
    0% { transform: translate(0, 0); }
    100% { transform: translate(20px, 20px); }
}

.single-content h1 {
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.single-content .article-meta {
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.entry-content {
    position: relative;
    z-index: 1;
    line-height: 1.8;
}

.entry-content p {
    margin-bottom: 20px;
}

.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 188, 212, 0.2);
    margin: 20px 0;
}


.post-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    gap: 20px;
}

.post-navigation a {
    flex: 1;
    padding: 15px 25px;
    background: linear-gradient(90deg, #00BCD4, #00FFD4);
    border-radius: 6px;
    color: #061220;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
}

.post-navigation a:hover {
    background: linear-gradient(90deg, #00FFD4, #00BCD4);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 255, 212, 0.4);
}


.site-footer {
    background: rgba(10, 25, 41, 0.95);
    border-top: 1px solid rgba(0, 188, 212, 0.3);
    padding: 40px 0 20px;
    margin-top: 60px;
    position: relative;
}

.site-footer::before,
.site-footer::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    border: 2px solid #00BCD4;
}

.site-footer::before {
    top: 20px;
    left: 20px;
    border-right: none;
    border-bottom: none;
}

.site-footer::after {
    bottom: 20px;
    right: 20px;
    border-left: none;
    border-top: none;
}

.footer-content {
    text-align: center;
    position: relative;
    z-index: 1;
}


@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 188, 212, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(0, 188, 212, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 188, 212, 0);
    }
}

.loading {
    animation: pulse 1.5s infinite;
}


@media (max-width: 991px) {
    .main-navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(10, 25, 41, 0.98);
        border-top: 1px solid rgba(0, 188, 212, 0.3);
    }

    .main-navigation.toggled {
        display: block;
    }

    .main-navigation ul {
        flex-direction: column;
        padding: 20px;
    }

    .menu-toggle {
        display: block;
    }

    .single-content {
        padding: 20px;
    }

    .post-navigation {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    h1 { font-size: 1.5rem; }
    h2 { font-size: 1.3rem; }
    h3 { font-size: 1.1rem; }
    
    .article-content {
        padding: 15px;
    }
}

div.article-excerpt > 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;
}

div.article-content > h2.article-title{ 
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-decoration: none;
}

div.entry-thumbnail > a  > img{ 
  aspect-ratio: 2/1;
  object-fit: cover;
  object-position: center;
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: block;
}

@media (min-width: 782px) { 
  ul.navbar-nav.ms-auto>*:nth-child(n+6) {
    display: none;
  }
}


div.entry-content >p >img { 
  max-width: 100%;
}
@media (min-width: 768px) {
  div.entry-content >p >img {
    max-width: 66%;
  }
}
@media (min-width: 992px) {
  div.entry-content >p >img {
    max-width: 33%;
  }
}




div.article-thumbnail.mb-3 {
    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;
}
