.trends-archive-page {
    direction: rtl;
    background: #faf9f6; 
    font-family: 'Inter', 'Outfit', sans-serif;
    color: #1c1917;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
    box-sizing: border-box;
}

.trends-hero-header {
    position: relative;
    padding: 220px 0 120px;
    background-image: url('https://images.unsplash.com/photo-1618221195710-dd6b41faaea6?ixlib=rb-4.0.3&auto=format&fit=crop&w=1200&q=85');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
}
.trends-hero-header .header-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(12, 10, 9, 0.6) 0%, rgba(12, 10, 9, 0.85) 100%);
    z-index: 1;
}
.trends-hero-header .header-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}
.trend-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 13px;
    margin-bottom: 25px;
    opacity: 0.75;
}
.trend-breadcrumb a {
    color: white;
    text-decoration: none;
    transition: color 0.2s;
}
.trend-breadcrumb a:hover {
    color: #bca374;
}
.trend-breadcrumb .sep {
    font-size: 10px;
}
.trends-hero-header .header-tag {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #bca374;
    font-weight: 700;
    display: block;
    margin-bottom: 12px;
}
.trends-hero-header .page-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1.5px;
    line-height: 1.1;
}
.trends-hero-header .page-subtitle {
    font-size: 16px;
    line-height: 1.8;
    color: #d6d3d1;
    font-weight: 300;
    max-width: 680px;
    margin: 0 auto;
}

.trends-grid-section {
    padding: 100px 0;
}
.trends-archive-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px 40px; 
}

.archive-trend-card {
    display: flex;
    flex-direction: column;
    background: transparent;
    transition: all 0.3s ease;
}

.archive-trend-card .img-container {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5; 
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 22px; 
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.03);
}
.archive-trend-card .img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.archive-trend-card:hover .img-container img {
    transform: scale(1.05); 
}
.archive-trend-card .img-container .card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(12, 10, 9, 0.25) 0%, transparent 100%);
}
.archive-trend-card .trend-number {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(12, 10, 9, 0.45);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #bca374;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 100px;
}

.archive-trend-card .card-body {
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}
.archive-trend-card .card-meta {
    margin-bottom: 8px;
}
.archive-trend-card .meta-tag {
    font-size: 11px;
    font-weight: 700;
    color: #bca374;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.archive-trend-card .card-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #1c1917;
    margin: 0 0 10px;
    transition: color 0.3s;
}
.archive-trend-card:hover .card-title {
    color: #bca374;
}
.archive-trend-card .card-excerpt {
    font-size: 13.5px;
    line-height: 1.7;
    color: #57534e;
    margin: 0 0 18px;
}
.archive-trend-card .card-footer {
    padding-top: 0;
    border-top: none;
}

.archive-trend-card .card-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #1c1917;
    font-weight: 700;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s ease;
}
.archive-trend-card .card-cta-btn .arrow-icon {
    font-size: 12px;
    color: #bca374;
    transition: transform 0.3s ease;
}
.archive-trend-card .card-cta-btn:hover {
    color: #bca374;
}
.archive-trend-card .card-cta-btn:hover .arrow-icon {
    transform: translateX(-4px); 
}

.no-trends-wrapper {
    padding: 80px 0;
    max-width: 400px;
    margin: 0 auto;
}

@media (max-width: 1024px) {
    .trends-archive-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 50px 30px;
    }
}
@media (max-width: 768px) {
    .trends-hero-header .page-title {
        font-size: 2.3rem;
    }
    .trends-archive-grid {
        grid-template-columns: 1fr;
        gap: 40px 0;
    }
    .trends-grid-section {
        padding: 60px 0;
    }
}