/* File Name: home.css
Path: wp-content/themes/navisa-blog/assets/css/home.css
Module: Home Page Styles
Structure Location: themes/navisa-blog/assets/css/home.css */

/* ========== Home Page Specific ========== */

/* Main carousel on home */
.home-carousel {
margin-top: 0;
border-radius: var(--radius-lg);
box-shadow: var(--shadow-medium);
}

/* Latest posts list on home */
.home-latest-posts {
margin-top: 20px;
}

.home-latest-posts .post-list-item {
margin-bottom: 10px;
}

/* Special styling for the first post in the list */
.home-latest-posts .post-list-item:first-child {
border: 1px solid var(--primary-color);
box-shadow: var(--shadow-medium);
}

/* Home page section titles with accent line */
.home-section-title {
display: flex;
align-items: center;
gap: 12px;
font-size: 1.2rem;
font-weight: 700;
margin-bottom: 12px;
}

.home-section-title i {
color: var(--primary-color);
font-size: 1.4rem;
}

/* Horizontal scroll container for tabs or quick access */
.home-quick-access {
display: flex;
gap: 12px;
overflow-x: auto;
padding: 8px 0;
scroll-snap-type: x mandatory;
-webkit-overflow-scrolling: touch;
}

.home-quick-access::-webkit-scrollbar {
display: none;
}

.home-quick-access .quick-item {
flex: 0 0 auto;
padding: 8px 16px;
background: var(--surface);
border-radius: 20px;
font-size: 0.85rem;
font-weight: 500;
color: var(--text-secondary);
box-shadow: var(--shadow-light);
scroll-snap-align: start;
transition: all var(--transition-fast);
}

.home-quick-access .quick-item.active,
.home-quick-access .quick-item:active {
background: var(--primary-color);
color: var(--text-on-primary);
}