/* Blog Landing Page Styles */
body {
    overflow-x: hidden;
}

.blog-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Tiny Slider Section */
.tiny-slider-section {
    padding: 40px 0;
    background: #fff1c3 !important;
    overflow: visible;
    margin: 0 -15%;
    padding-left: 15%;
    padding-right: 15%;
}

.tiny-slider-wrapper {
    position: relative;
    width: 100%;
    margin: 0 auto;
    overflow: visible;
    border-radius: 16px;
}

.tiny-slider-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    align-items: center;
    justify-content: center;
    padding: 0;
    gap: 20px;
}

.tiny-slide {
    width: 100%;
    height: 400px;
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    flex-shrink: 0;
    opacity: 1;
    transform: scale(1);
    transition: transform 0.5s ease;
    z-index: 1;
}

.tiny-slide.prev-slide {
    width: 20%;
    margin-right: -20%;
    z-index: 0;
}


.tiny-slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
    width: 100%;
}



.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 198, 11, 0.4) 0%, rgba(255, 198, 11, 0.6) 100%);
    z-index: 2;
}

.slide-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #343434;
    padding: 2rem;
}

.slide-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.3);
    color: #343434;
}

.slide-content p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    max-width: 400px;
    line-height: 1.5;
}

.slide-btn {
    background: #FFC60B !important;
    color: #343434;
    border: 2px solid #FFC60B;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slide-btn:hover {
    background: #e6b209 !important;
    border-color: #e6b209;
    transform: translateY(-2px);
}

/* Navigation Controls - Hidden */
.tiny-nav {
    display: none;
}

/* Dots Indicator */
.tiny-dots {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.tiny-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #CACACA;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tiny-dot.active {
    background: #FFC60B !important;
    transform: scale(1.3);
    box-shadow: 0 2px 8px rgba(255, 198, 11, 0.4);
}

.tiny-dot:hover {
    background: #FFC60B;
}

.blog-search {
    max-width: 500px;
    margin: 0 auto;
    position: relative;
}

.blog-search input {
    width: 100%;
    padding: 15px 20px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    outline: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.blog-search button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: #FFC60B !important;
    border: none;
    color: #343434;
    padding: 10px 20px;
    border-radius: 50px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.blog-search button:hover {
    background: #e6b209 !important;
}

/* Featured Posts Section */
.featured-posts {
    padding: 80px 0;
    background: #fff1c3 !important;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #343434;
    margin-bottom: 1rem;
}

.section-title p {
    font-size: 1.125rem;
    color: #343434;
    max-width: 600px;
    margin: 0 auto;
}

.featured-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.featured-main {
    background: #FCFAF1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featured-main-link {
    text-decoration: none;
    display: block;
    color: inherit;
}

.featured-main-link:hover .featured-main {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.featured-main:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.featured-main img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.featured-main-content {
    padding: 2rem;
}

.featured-main .category {
    background: #FFC60B !important;
    color: #343434;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
}

.featured-main h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #343434;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.featured-main h3 a {
    color: #343434;
    text-decoration: none;
}

.featured-main-link:hover .featured-main h3 {
    color: #FFC60B;
}

.featured-main p {
    color: #343434;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.featured-main .meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #343434;
    font-size: 0.875rem;
}

.featured-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.post-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.post-link:hover .post {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

.featured-sidebar .post {
    background: #FCFAF1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.featured-sidebar .post:hover {
    transform: translateY(-3px);
}

.featured-sidebar .post img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.featured-sidebar .post-content {
    padding: 1.5rem;
}

.featured-sidebar .post .category {
    background: #FFC60B !important;
    color: #343434;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 0.75rem;
}

.featured-sidebar .post h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #343434;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.post-link:hover .post h4 {
    color: #FFC60B;
}

.featured-sidebar .post .meta {
    color: #343434;
    font-size: 0.75rem;
}

/* Categories Section */
.categories {
    padding: 80px 0;
    background: #FCFAF1;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.category-card {
    background: #FCFAF1;
    border: 2px solid #CACACA;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.category-card:hover {
    border-color: #FFC60B !important;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 198, 11, 0.2);
}

.category-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #FFC60B, #e6b209);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #343434;
    font-size: 1.5rem;
}

.category-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #343434;
    margin-bottom: 0.5rem;
}

.category-card p {
    color: #343434;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.category-count {
    background: #fff1c3;
    color: #343434;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-block;
}

/* Latest Posts Section */
.latest-posts {
    padding: 80px 0;
    background: #fff1c3 !important;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.post-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.post-card-link:hover .post-card {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.post-card {
    background: #FCFAF1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.post-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.post-card-content {
    padding: 1.5rem;
}

.post-card .category {
    background: #FFC60B !important;
    color: #343434;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
}

.post-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #343434;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.post-card h3 a {
    color: #343434;
    text-decoration: none;
}

.post-card-link:hover .post-card h3 {
    color: #FFC60B;
}

.post-card p {
    color: #343434;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.post-card .meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #343434;
    font-size: 0.875rem;
}

.read-more {
    color: #FFC60B !important;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #e6b209 !important;
}

.post-card .meta .read-more {
    cursor: pointer;
}

/* Newsletter Section */
.newsletter {
    background: linear-gradient(135deg, #FFC60B 0%, #e6b209 100%);
    color: #343434;
    padding: 60px 0;
    text-align: center;
}

.newsletter h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.newsletter p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.newsletter-form {
    max-width: 400px;
    margin: 0 auto;
    display: flex;
    gap: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 16px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
}

.newsletter-form button {
    background: #343434;
    color: #FCFAF1;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.newsletter-form button:hover {
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .tiny-slider-section {
        padding: 30px 0;
    }
    
    .tiny-slider-wrapper {
        width: 100%;
        border-radius: 12px;
    }
    
    .tiny-slide {
        height: 320px;
        width: 100%;
    }
    
    .tiny-slide.active {
        width: 100%;
    }
    
    .tiny-slide.prev-slide {
        width: 20%;
        margin-right: -20%;
    }
    
    
    
    
    .tiny-slider-track {
        padding: 0;
        gap: 15px;
    }
    
    .slide-content {
        padding: 1.5rem;
    }
    
    .slide-content h3 {
        font-size: 1.5rem;
    }
    
    .slide-content p {
        font-size: 0.9rem;
        margin-bottom: 1.2rem;
    }
    
    .slide-btn {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
    
    .tiny-nav {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .prev-tiny {
        left: -20px;
    }
    
    .next-tiny {
        right: -20px;
    }
    
    .featured-grid {
        grid-template-columns: 1fr;
    }
    
    .featured-main img {
        height: 200px;
    }
    
    .featured-main-content {
        padding: 1.5rem;
    }
    
    .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .blog-container {
        padding: 0 15px;
    }
    
    .tiny-slider-section {
        padding: 20px 0;
    }
    
    .tiny-slider-wrapper {
        width: 100%;
        border-radius: 8px;
    }
    
    .tiny-slide {
        height: 280px;
        width: 100%;
    }
    
    .tiny-slide.active {
        width: 100%;
    }
    
    .tiny-slide.prev-slide {
        width: 20%;
        margin-right: -20%;
    }
    
    
    
    
    .tiny-slider-track {
        padding: 0;
        gap: 10px;
    }
    
    .slide-content {
        padding: 1rem;
    }
    
    .slide-content h3 {
        font-size: 1.3rem;
    }
    
    .slide-content p {
        font-size: 0.8rem;
        margin-bottom: 1rem;
    }
    
    .slide-btn {
        padding: 6px 12px;
        font-size: 0.75rem;
    }
    
    .tiny-nav {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .prev-tiny {
        left: -17px;
    }
    
    .next-tiny {
        right: -17px;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .featured-posts,
    .categories,
    .latest-posts {
        padding: 60px 0;
    }
}
