/* assets/css/style.css */
.magazine-slider-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.magazine-slider-row {
    display: flex;
    gap: 30px;
}

.featured-post-column {
    flex: 2;
}

.recent-posts-column {
    flex: 1;
}

.featured-post {
    position: relative;
}

.featured-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 4px;
}

.featured-content {
    padding: 20px 0;
}

.post-categories {
    margin-bottom: 10px;
}

.post-categories a {
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.post-categories a:hover {
    color: #333;
}

.featured-content h2 {
	color: #333;
    margin: 10px 0;
    font-size: 24px;
}

.featured-content h2 a {
    text-decoration: none;
	color: #333;
    transition: color 0.3s ease;
}

.featured-content h2 a:hover {
    color: #333;
}

.post-excerpt {
    color: #333;
    margin-bottom: 15px;
    line-height: 1.6;
}

.read-more {
    display: inline-block;
    padding: 8px 15px;
    background: linear-gradient(135deg,rgb(110,179,88) 0%,rgb(110,179,88) 21%,rgb(196,199,85) 100%);
    color: #fff !important;
    text-decoration: none;
    border-radius: 3px;
    transition: background-color 0.3s ease;
}

.read-more:hover {
    background: ##6eb358;
}

.recent-posts-scroll {
    max-height: 600px;
    overflow-y: auto;
    padding-right: 10px;
}

.recent-post {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
    transition: transform 0.3s ease;
}

.recent-post:hover {
    transform: translateX(5px);
}

.post-thumbnail {
    flex: 0 0 100px;
}

.post-thumbnail img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 3px;
}

.post-info {
    flex: 1;
}

.post-info h3 {
	color: #333;
    margin: 0 0 5px 0;
    font-size: 16px;
    line-height: 1.4;
}

.post-info h3 a {
	color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-info h3 a:hover {
    color: #333;
}

.post-date {
    color: #6eb358;
    font-size: 13px;
}

/* Scrollbar Styling */
.recent-posts-scroll::-webkit-scrollbar {
    width: 6px;
}

.recent-posts-scroll::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.recent-posts-scroll::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
    transition: background-color 0.3s ease;
}

.recent-posts-scroll::-webkit-scrollbar-thumb:hover {
    background: #666;
}

/* Responsive Design */
@media (max-width: 768px) {
    .magazine-slider-row {
        flex-direction: column;
    }
    
    .featured-post-column,
    .recent-posts-column {
        flex: 1;
    }

    .recent-posts-scroll {
        max-height: 400px;
    }
}