/* --- CSS Convention: Scoped to .home-v2-container --- */
:root {
    --v2-brand-yellow: #FCD34D;
    --v2-brand-black: #111111;
    --v2-brand-gray: #666666;
    --v2-font-serif: 'Merriweather', serif;
    --v2-font-sans: 'Inter', sans-serif;
}

.home-v2-container {
    font-family: var(--v2-font-sans);
    color: #1a202c;
    width: 100%;
}

.v2-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

.v2-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.v2-bg-gray {
    background-color: #f3f4f6;
}

.v2-bg-white {
    background-color: #ffffff;
}

/* Utilities */
.v2-uppercase {
    text-transform: uppercase;
}

.v2-font-bold {
    font-weight: 700;
}

.v2-text-white {
    color: #fff;
}

.v2-bg-yellow {
    background-color: var(--v2-brand-yellow);
}

.v2-text-yellow {
    color: var(--v2-brand-yellow);
}

.v2-object-cover {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.v2-relative {
    position: relative;
}

.v2-absolute {
    position: absolute;
}

.v2-inset-0 {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.v2-w-full {
    width: 100%;
}

.v2-h-full {
    height: 100%;
}

/* Grids */
.v2-grid {
    display: grid;
    gap: 4px;
}

.v2-grid-12 {
    grid-template-columns: repeat(12, 1fr);
}

.v2-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.v2-flex-col {
    display: flex;
    flex-direction: column;
}

.v2-gap-1 {
    gap: 4px;
}

/* Responsive */
@media (max-width: 768px) {
    .v2-grid-12 {
        grid-template-columns: 1fr;
    }

    .v2-grid-3 {
        grid-template-columns: 1fr;
    }

    .v2-col-span-8,
    .v2-col-span-4 {
        grid-column: span 1 / span 1;
    }

    .v2-h-600 {
        height: auto;
    }

    .v2-h-mobile-400 {
        height: 400px;
    }
}

@media (min-width: 769px) {
    .v2-col-span-8 {
        grid-column: span 8;
    }

    .v2-col-span-4 {
        grid-column: span 4;
    }

    .v2-col-span-3 {
        grid-column: span 3;
    }

    .v2-col-span-5 {
        grid-column: span 5;
    }

    .v2-h-600 {
        height: 600px;
    }

    .v2-h-half {
        height: 50%;
    }
}

/* Effects */
.v2-img-hover-zoom {
    overflow: hidden;
}

.v2-img-hover-zoom img {
    transition: transform 0.5s ease;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.v2-img-hover-zoom:hover img {
    transform: scale(1.05);
}

.v2-gradient-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0) 100%);
}

/* Typography */
.v2-title-serif {
    font-family: var(--v2-font-serif);
}

.v2-section-title {
    font-size: 2.25rem;
    font-weight: 700;
    font-family: var(--v2-font-serif);
    color: var(--v2-brand-black);
}

.v2-section-sub {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #6b7280;
    display: block;
    margin-bottom: 0.25rem;
}

/* Specific Components */
/* Hero */
.hero-main-article {
    position: relative;
    height: 100%;
}

.hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 1.5rem;
    width: 100%;
}

@media(min-width: 768px) {
    .hero-content {
        padding: 2.5rem;
        width: 75%;
    }
}

.hero-cat-tag {
    background-color: var(--v2-brand-yellow);
    color: #000;
    padding: 0.25rem 0.5rem;
    margin-right: 0.5rem;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
}

/* Content Body */
.content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-top: 3rem;
    margin-bottom: 5rem;
}

@media(min-width: 1024px) {
    .content-grid {
        grid-template-columns: 4fr 5fr 3fr;
    }

    .col-mid {
        border-right: 1px solid #f3f4f6;
        padding-right: 2rem;
    }

    .col-right {
        padding-left: 1rem;
    }
}

/* Articles */
.article-list-item {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.article-list-thumb {
    width: 33.33%;
    flex-shrink: 0;
    overflow: hidden;
}

.article-list-content {
    width: 66.66%;
}

.article-meta {
    font-size: 0.75rem;
    color: #9ca3af;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.sidebar-item {
    margin-bottom: 2rem;
}


/* Text Clamping Utilities */
.v2-line-clamp-1 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.v2-line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.v2-line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}