/**
 * TechDoot 28 Custom Blocks Unified Stylesheet
 * Consumes global design tokens: --td-primary, --td-accent, --td-card, --td-surface, etc.
 */

/* 1. Hero Block */
@media (max-width: 992px) {
    .td-hero-grid {
        grid-template-columns: 1fr !important;
    }
    .td-hero-main {
        min-height: 340px !important;
    }
}

/* 8. Post Carousel */
.td-carousel-track::-webkit-scrollbar {
    display: none;
}
.td-carousel-track {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* 20. FAQ Block */
.td-faq-item.active .td-faq-answer {
    display: block !important;
    border-top: 1px solid var(--td-border);
}
.td-faq-item.active .td-faq-icon {
    transform: rotate(45deg);
}
.td-faq-icon {
    font-size: 1.25rem;
    font-weight: 700;
    transition: transform 0.2s ease;
}

/* 21. Pros & Cons */
@media (max-width: 768px) {
    .td-pros-cons {
        grid-template-columns: 1fr !important;
    }
}

/* 22. Comparison Table */
.td-comparison-wrap table tr:hover td {
    background-color: var(--td-surface);
}

/* 23. Product Card */
@media (max-width: 640px) {
    .td-product-card {
        flex-direction: column !important;
        align-items: flex-start !important;
    }
}

/* 27. Stats Block */
@media (max-width: 768px) {
    .td-stats-block {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}
