/**
 * Dabet Theme - Custom Styles
 * 
 * Additional custom styles for Dabet theme
 */

/* Image Styles */
.wp-block-image {
    margin: 30px 0;
    text-align: center;
}

.wp-block-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.wp-block-image figcaption {
    margin-top: 10px;
    font-size: 14px;
    color: #666;
    font-style: italic;
}

/* Post and Archive Styles */
.post-meta,
.archive-meta {
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.post-meta span,
.archive-meta span {
    margin-right: 20px;
}

.post-content,
.page-content {
    font-size: 16px;
    line-height: 1.8;
}

.archive-item,
.post-item {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #e0e0e0;
}

.archive-item:last-child,
.post-item:last-child {
    border-bottom: none;
}

.archive-item h2 a,
.post-item h2 a {
    color: #1a1a2e;
    text-decoration: none;
    transition: color 0.3s ease;
}

.archive-item h2 a:hover,
.post-item h2 a:hover {
    color: #e94560;
}

.read-more,
.btn-read-more {
    display: inline-block;
    color: #e94560;
    text-decoration: none;
    font-weight: 600;
    margin-top: 15px;
    transition: all 0.3s ease;
}

.read-more:hover,
.btn-read-more:hover {
    color: #c73e54;
    padding-left: 10px;
}

/* Pagination */
.pagination {
    margin-top: 40px;
    text-align: center;
}

.pagination .nav-links {
    display: inline-flex;
    gap: 10px;
    list-style: none;
    padding: 0;
}

.pagination .page-numbers {
    display: inline-block;
    padding: 10px 15px;
    background: #f8f9fa;
    color: #1a1a2e;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
    background: #e94560;
    color: #fff;
}

/* Post Navigation */
.post-navigation {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.post-navigation .nav-previous,
.post-navigation .nav-next {
    flex: 1;
}

.post-navigation .nav-next {
    text-align: right;
}

.post-navigation a {
    color: #1a1a2e;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.post-navigation a:hover {
    color: #e94560;
}

/* Post Tags */
.post-tags {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.post-tags p {
    margin-bottom: 0;
}

.post-tags a {
    color: #e94560;
    text-decoration: none;
    margin-right: 10px;
}

.post-tags a:hover {
    text-decoration: underline;
}

/* Contact Form */
.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #1a1a2e;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #e94560;
}

.contact-form textarea {
    resize: vertical;
}

/* Sidebar Widgets */
.sidebar-widget ul {
    list-style: none;
    padding: 0;
}

.sidebar-widget ul li {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.sidebar-widget ul li:last-child {
    border-bottom: none;
}

.sidebar-widget a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.sidebar-widget a:hover {
    color: #e94560;
}

.tagcloud {
    line-height: 2;
}

.tagcloud a {
    display: inline-block;
    padding: 5px 12px;
    background: #f8f9fa;
    color: #1a1a2e;
    text-decoration: none;
    border-radius: 3px;
    font-size: 13px !important;
    margin: 0 5px 5px 0;
    transition: all 0.3s ease;
}

.tagcloud a:hover {
    background: #e94560;
    color: #fff;
}

/* Comments */
.comments-area {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #e0e0e0;
}

.comment-list {
    list-style: none;
    padding: 0;
}

.comment-list li {
    margin-bottom: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 5px;
}

.comment-author {
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 10px;
}

.comment-meta {
    font-size: 13px;
    color: #666;
    margin-bottom: 15px;
}

.comment-content {
    margin-bottom: 15px;
}

.comment-reply-link {
    color: #e94560;
    text-decoration: none;
    font-weight: 600;
}

.comment-reply-link:hover {
    text-decoration: underline;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .content-layout {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        margin-top: 30px;
    }
    
    .post-navigation {
        flex-direction: column;
    }
    
    .post-navigation .nav-next {
        text-align: left;
        margin-top: 15px;
    }
    
    .pagination .nav-links {
        flex-wrap: wrap;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .main-content {
        padding: 20px;
    }
}

/* Print Styles */
@media print {
    .site-header,
    .site-footer,
    .sidebar,
    .auth-buttons,
    .menu-toggle {
        display: none;
    }
    
    .main-content {
        box-shadow: none;
        padding: 0;
    }
}
