/* WordPress Specific Styles */

/* Download Button Container */
.download_container {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.download_container:hover {
    transform: scale(1.1);
}

.download_icon {
    font-size: 20px;
    line-height: 40px;
}

/* Blog Item Cards */
.our-blog-item {
    position: relative;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.our-blog-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

/* Post Info Section */
.post-infos {
    padding: 20px;
}

.post-date {
    display: inline-block;
    background: #0066cc;
    color: #fff;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 15px;
}

/* Video Dimensions */
.my-video11-dimensions {
    width: 100%;
    height: 250px !important;
    object-fit: cover;
}

.vjs-poster {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-js {
    width: 100% !important;
    height: 250px !important;
}

/* Pagination */
.pagination-wrapper {
    text-align: center;
    margin: 40px 0;
}

.pagination-wrapper .nav-links {
    display: inline-block;
}

.pagination-wrapper .page-numbers {
    display: inline-block;
    padding: 8px 15px;
    margin: 0 5px;
    background: #f8f9fa;
    border-radius: 4px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #dee2e6;
}

.pagination-wrapper .page-numbers:hover,
.pagination-wrapper .page-numbers.current {
    background: #0066cc;
    color: #fff;
    border-color: #0066cc;
}

.pagination-wrapper .page-numbers.prev,
.pagination-wrapper .page-numbers.next {
    font-weight: 600;
}

/* Post Navigation */
.post-navigation {
    border-top: 1px solid #e0e0e0;
    padding-top: 30px;
}

.post-navigation a {
    color: #0066cc;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.post-navigation a:hover {
    color: #0052a3;
    text-decoration: underline;
}

/* Post Meta */
.post-meta span {
    margin-right: 15px;
    color: #666;
    font-size: 14px;
}

.post-meta a {
    color: #0066cc;
    text-decoration: none;
}

.post-meta a:hover {
    text-decoration: underline;
}

/* Post Content */
.post-content,
.page-content {
    line-height: 1.8;
    font-size: 16px;
}

.post-content h2,
.post-content h3,
.post-content h4,
.page-content h2,
.page-content h3,
.page-content h4 {
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

.post-content p,
.page-content p {
    margin-bottom: 20px;
}

/* Post Tags */
.post-tags {
    padding: 15px 0;
    border-top: 1px solid #e0e0e0;
}

.post-tags a {
    display: inline-block;
    padding: 5px 12px;
    margin: 5px 5px 5px 0;
    background: #f8f9fa;
    border-radius: 15px;
    color: #333;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s ease;
}

.post-tags a:hover {
    background: #0066cc;
    color: #fff;
}

/* Category Links */
.category a,
.categories a {
    color: #0066cc;
    text-decoration: none;
}

.category a:hover,
.categories a:hover {
    text-decoration: underline;
}

/* WordPress Alignment Classes */
.alignleft {
    float: left;
    margin: 0 20px 20px 0;
}

.alignright {
    float: right;
    margin: 0 0 20px 20px;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .my-video11-dimensions,
    .video-js {
        height: 200px !important;
    }
    
    .post-infos {
        padding: 15px;
    }
    
    .post-infos h1 {
        font-size: 18px;
    }
    
    .post-infos h4 {
        font-size: 14px;
    }
}

/* Header Background Image */
.header-background-image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.header-background-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 0;
}

.header-background-image .container {
    position: relative;
    z-index: 1;
}

/* Comments */
.comments-area {
    margin-top: 50px;
    padding-top: 50px;
    border-top: 2px solid #e0e0e0;
}

.comment-list {
    list-style: none;
    padding: 0;
}

.comment-body {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 20px;
}

.comment-author {
    font-weight: 600;
    color: #333;
}

.comment-meta {
    font-size: 13px;
    color: #666;
    margin-bottom: 10px;
}

.comment-content p {
    margin-bottom: 10px;
}

.reply {
    margin-top: 10px;
}

.comment-reply-link {
    color: #0066cc;
    text-decoration: none;
    font-size: 14px;
}

.comment-reply-link:hover {
    text-decoration: underline;
}
