.post {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 40px;
}

.inside-article {
    padding: 0;
}
.featured-image {
    position: relative;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
    margin-bottom: 0;
}

.featured-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.featured-image:hover img {
    transform: scale(1.02);
}
.entry-header {
    padding: 40px 40px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    position: relative;
}

.entry-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.entry-header > * {
    position: relative;
    z-index: 2;
}

.entry-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 20px 0;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
.entry-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 0.9rem;
    opacity: 0.9;
    flex-wrap: wrap;
}

.entry-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.entry-meta a {
    color: #000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.entry-meta a:hover {
    color: #667eea;
    text-decoration: underline;
}
.entry-content {
    padding: 40px;
    max-width: none;
}
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    color: #1a202c;
    font-weight: 700;
    line-height: 1.3;
    margin: 2em 0 1em 0;
    position: relative;
}

.entry-content h1 {
    font-size: 2.2rem;
    border-bottom: 3px solid #667eea;
    padding-bottom: 10px;
}

.entry-content h2 {
    font-size: 1.8rem;
    color: #2d3748;
    position: relative;
    padding-left: 20px;
}

.entry-content h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 60%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 2px;
}

.entry-content h3 {
    font-size: 1.5rem;
    color: #4a5568;
}

.entry-content h4 {
    font-size: 1.3rem;
    color: #4a5568;
}
.entry-content p {
    margin: 1.5em 0;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4a5568;
}

.entry-content p:first-of-type {
    font-size: 1.2rem;
    font-weight: 500;
    color: #2d3748;
    background: linear-gradient(135deg, #f7fafc, #edf2f7);
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #667eea;
}
.entry-content a {
    color: #667eea;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
    font-weight: 500;
}

.entry-content a:hover {
    color: #5a67d8;
    border-bottom-color: #667eea;
}
.entry-content ul,
.entry-content ol {
    margin: 1.5em 0;
    padding-left: 0;
}

.entry-content ul li,
.entry-content ol li {
    margin: 0.8em 0;
    padding-left: 30px;
    position: relative;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #4a5568;
}

.entry-content ul li::before {
    content: '▶';
    position: absolute;
    left: 0;
    top: 0;
    color: #667eea;
    font-size: 0.8em;
}

.entry-content ol {
    counter-reset: list-counter;
}

.entry-content ol li::before {
    content: counter(list-counter);
    counter-increment: list-counter;
    position: absolute;
    left: 0;
    top: 0;
    background: #667eea;
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8em;
    font-weight: 600;
}
.entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 2em 0;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.entry-content table th {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    font-weight: 600;
    text-align: left;
    padding: 15px;
    font-size: 0.95rem;
}

.entry-content table td {
    padding: 15px;
    border-bottom: 1px solid #e2e8f0;
    color: #4a5568;
    font-size: 0.95rem;
}

.entry-content table tr:hover {
    background-color: #f7fafc;
}

.entry-content table tr:last-child td {
    border-bottom: none;
}

.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.entry-content img:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.wp-block-image {
    margin: 2em 0;
    text-align: center;
}

.entry-content blockquote {
    background: linear-gradient(135deg, #f7fafc, #edf2f7);
    border-left: 4px solid #667eea;
    margin: 2em 0;
    padding: 20px 30px;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    font-size: 1.1rem;
    color: #2d3748;
    position: relative;
}

.entry-content blockquote::before {
    content: '"';
    font-size: 4rem;
    color: #cbd5e0;
    position: absolute;
    top: -10px;
    left: 15px;
    font-family: Georgia, serif;
}

.entry-content code {
    background: #f7fafc;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.9em;
    color: #e53e3e;
    border: 1px solid #e2e8f0;
}

.entry-content pre {
    background: #1a202c;
    color: #e2e8f0;
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 2em 0;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.9rem;
    line-height: 1.5;
}

.entry-content pre code {
    background: none;
    padding: 0;
    border: none;
    color: inherit;
}

.entry-meta {
    padding: 20px 40px;
    background: #f7fafc;
    border-top: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cat-links a {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: transform 0.3s ease;
}

.cat-links a:hover {
    transform: translateY(-1px);
}

.post-navigation {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 30px 40px;
    background: #f7fafc;
    border-top: 1px solid #e2e8f0;
}

.nav-previous,
.nav-next {
    flex: 1;
    max-width: 45%;
}

.nav-previous a,
.nav-next a {
    display: block;
    padding: 15px 20px;
    background: white;
    border-radius: 8px;
    text-decoration: none;
    color: #4a5568;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    font-weight: 500;
}

.nav-previous a:hover,
.nav-next a:hover {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.nav-next {
    text-align: right;
}

.comments-area {
    background: #f7fafc;
    padding: 40px;
    border-top: 1px solid #e2e8f0;
}

.comment-reply-title {
    color: #2d3748;
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.comment-form {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.comment-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    line-height: 1.5;
    resize: vertical;
    min-height: 120px;
    transition: border-color 0.3s ease;
}

.comment-form textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.comment-form .submit {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.comment-form .submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

@media (max-width: 768px) {
    .site-main {
        padding: 0 10px;
        margin: 0;
    }
    
    .entry-header {
        padding: 30px 20px 20px;
    }
    
    .entry-title {
        font-size: 1.8rem;
    }
    
    .entry-content {
        padding: 30px 20px;
    }
    
    .entry-content h2 {
        font-size: 1.5rem;
    }
    
    .entry-content h3 {
        font-size: 1.3rem;
    }
    
    .post-navigation {
        flex-direction: column;
        padding: 20px;
    }
    
    .nav-previous,
    .nav-next {
        max-width: 100%;
    }
    
    .nav-next {
        text-align: left;
    }
    
    .comments-area {
        padding: 30px 20px;
    }
    
    .comment-form {
        padding: 20px;
    }
    
    .entry-meta {
        padding: 15px 20px;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .featured-image img {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .entry-title {
        font-size: 1.5rem;
    }
    
    .entry-content {
        padding: 20px 15px;
    }
    
    .entry-content p {
        font-size: 1rem;
    }
    
    .entry-content h2 {
        font-size: 1.3rem;
    }
    
    .entry-content h3 {
        font-size: 1.2rem;
    }
    
    .featured-image img {
        height: 200px;
    }
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #5a67d8, #6b46c1);
}

html {
    scroll-behavior: smooth;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.post {
    animation: fadeInUp 0.6s ease-out;
}

.entry-content p:first-of-type {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

@media print {
    .post-navigation,
    .comments-area,
    .entry-meta {
        display: none;
    }
    
    .entry-content {
        padding: 0;
    }
    
    .entry-header {
        background: none;
        color: black;
        padding: 0 0 20px 0;
    }
    
    .entry-title {
        color: black;
        text-shadow: none;
    }
}
