.news-banner{
    border-bottom: 2px solid var(--border-color);
    margin-top: 2em;
}
.news-background img {
    width: 100%;
    height: auto;
    display: block;
    outline: none;
}
/* Fashion News Section - Mobile First */
.fashion-news-section {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
    border-bottom: 2px solid var(--border-color);
}

/* News List */
.news-list {
    display: flex;
    flex-direction: column;
}

/* News Item - Mobile First */
.news-item {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 30px 0;
    border-bottom: 1px solid var(--border-secondary);
    border-right: none;
}

.news-item:first-child {
    padding-top: 0;
}

.news-item:last-child {
    border-bottom: none;
}

/* News Image */
.news-image {
    width: 100%;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.news-item:hover .news-image img {
    transform: scale(1.05);
}

/* News Content */
.news-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
}

.news-title {
    font-family: var(--font-accent);
    font-weight: 600;
    font-size: 30px;
    line-height: 1.3;
    color: #000;
    margin: 0;
}

/* News Meta */
.news-meta {
    font-family: var(--font-heading);    
    font-size: 16px;
    color:  #5B5858;;
    display: flex;
    align-items: center;
    gap: 5px;
}

.news-category {
    font-weight: 700;
}

.news-separator {
    font-weight: 400;
}

.news-date {
    font-weight: 400;
}

/* News Excerpt */
.news-excerpt {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6;
    color: #1d1d1d;
    margin: 8px 0;
}
/* Pagination - Mobile First */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.page-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    border: 2px solid var(--border-color);
    color: var(--border-color);
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.page-btn:hover {
    background-color: var(--border-color);
    color: #fff;
}

.page-btn.active {
    background-color: var(--border-color);
    color: #fff;
}

.prev-btn,
.next-btn {
    font-size: 18px;
}
/* News Detail Article - Mobile First */
.news-detail-article {
    width: 100%;
    padding: 20px 0px;
    border-bottom: 2px solid var(--border-color);
}

/* Main Category Title (FASHION) */
.detail-main-title {
    font-family: var(--font-accent);
    font-weight: 400;
    font-style: normal;
    font-size: 40px;
    line-height: 100%;
    letter-spacing: 0px;
    text-align: center;
    vertical-align: middle;
    margin-bottom: 30px;
}

/* News Title */
.detail-news-title {
    font-family: var(--font-accent);
    font-weight: 400;
    font-style: normal;
    font-size: 30px;
    line-height: 100%;
    letter-spacing: 0px;
    text-align: center;
    vertical-align: middle;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Short Description */
.detail-subtitle {
    font-family: var(--font-heading);
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0px;
    text-align: center;
    max-width: 674px;
    margin: 0 auto 20px;
    color: #333;
}

/* Meta Info */
.detail-meta {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 14px;
    color: #666;
    margin-bottom: 40px;
}

.detail-date,
.detail-read-time {
    font-weight: 400;
}

.detail-separator {
    margin: 0 8px;
}

/* Full Width Image */
.detail-image-full {
    width: 100%;
    margin-bottom: 40px;
    margin-left: 0;
    margin-right: 0;
}

.detail-image-full img {
    width: 100%;
    height: auto;
    display: block;
}

/* Content Section - Fixed Width 674px */
.detail-content {
    max-width: 674px;
    margin: 0 auto;
}

.detail-content p {
    font-family: var(--font-heading);
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    line-height: 23px;
    letter-spacing: 0px;
    margin-bottom: 20px;
    color: #333;
}
/* Subsection Common Styles */
.detail-subsection {
    margin-top: 60px;
}

.subsection-title {
    font-family: var(--font-accent);
    font-weight: 600;
    font-style: normal;
    font-size: 28px;
    line-height: 100%;
    letter-spacing: 0px;
    vertical-align: middle;
    max-width: 674px;
    margin: 0 auto 30px;
}

/* Subsection 1: Text + Image Side by Side */
.detail-subsection-1 .subsection-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 674px;
    margin: 0 auto;
}

.subsection-text p {
    font-family: var(--font-heading);
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    line-height: 23px;
    letter-spacing: 0px;
    margin-bottom: 20px;
}

.subsection-image-side {
    text-align: center;
}

.subsection-image-side img {
    width: 198px;
    height: 298px;
    object-fit: cover;
    display: block;
    margin: 0 auto 10px;
}

.image-caption{
    font-family: var(--font-body) !important;
    font-size: 13px !important;
    font-style: italic !important;
    color: #888 !important;
    text-align: center !important;
    line-height: 1.4 !important;
}

/* Subsection 2: Big Letter + Text + Full Image */
.detail-subsection-2 {
    max-width: 674px;
    margin-left: auto;
    margin-right: auto;
}

.subsection-row-letter {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

.big-letter {
    font-family: var(--font-heading);
    font-weight: 700;
    font-style: normal;
    font-size: 50px;
    line-height: 1;
    letter-spacing: 0px;
    color: #000;
}

.detail-subsection-2 .detail-image-full {
    margin-left: calc(-45vw + 50%);
    margin-right: calc(-45vw + 50%);
    width: 90vw;
}

/* Subsection 3: Text + Two Images + Text */
.detail-subsection-3 {
    margin-top: 60px;
}

.subsection-text-block {
    max-width: 674px;
    margin: 0 auto 40px;
}

.subsection-text-block p {
    font-family: var(--font-heading);
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    line-height: 23px;
    letter-spacing: 0px;
}

.subsection-two-images {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 674px;
    margin: 0 auto 40px;
}

.subsection-two-images img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Related Posts Section */
.related-posts-section {
    margin-top: 2em;
    padding-top: 1em;
}

.related-posts-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
    max-width: 674px;
    margin-left: auto;
    margin-right: auto;
}

.related-posts-header h3 {
    font-family: var(--font-heading);
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    line-height: 23px;
    letter-spacing: 0px;
    white-space: nowrap;
}

.header-line {
    flex: 1;
    height: 1px;
    background-color: #333;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 674px;
    margin: 0 auto;
}

.related-post img {
    width: 100%;
    height: auto;
    margin-bottom: 15px;
}

.related-date {
    font-family: var(--font-accent);
    font-weight: 400;
    font-style: normal;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0px;
    vertical-align: middle;
    color: #666;
    margin-bottom: 10px;
}

.related-title {
    font-family: var(--font-accent);
    font-weight: 600;
    font-style: normal;
    font-size: 20px;
    line-height: 100%;
    letter-spacing: 0px;
    vertical-align: middle;
    margin: 0;
}
/* Tablet (768px and up) */
@media (min-width: 768px) {
.fashion-news-section {
        padding: 60px 40px;
    }
        
    .news-item {
        grid-template-columns: 300px 1fr;
        gap: 30px;
        padding: 40px 0;
    }
    
    .news-image {
        overflow: hidden;
    }
    
    .news-image img {
        width: 100%;
        max-width: 306px;
        /* height: 100%; */
        object-fit: cover;
    }
    
    .news-title {
        font-size: 22px;
    }
    
    .news-meta {
        font-size: 15px;
    }
    
    .news-excerpt {
        font-size: 16px;
    }
    
    .page-btn {
        width: 45px;
        height: 45px;
    }
    /* detailed page */
    .news-detail-article {
        padding: 20px 0px;
    }
    
    .detail-main-title {
        font-size: 60px;
        margin-bottom: 40px;
    }
    
    .detail-news-title {
        font-size: 38px;
        margin-bottom: 25px;
    }
    
    .detail-subtitle {
        font-size: 18px;
        margin-bottom: 25px;
    }
    
    .detail-meta {
        font-size: 15px;
        margin-bottom: 50px;
    }
    
    .detail-image-full {
        margin-bottom: 20px;
    }
    
    .detail-content p {
        font-size: 17px;
        line-height: 25px;
        margin-bottom: 25px;
    }
    .subsection-title {
        font-size: 32px;
        margin-bottom: 40px;
    }
    
    .detail-subsection-1 .subsection-row {
        grid-template-columns: 1fr 250px;
        gap: 40px;
    }
    
    .subsection-row-letter {
        grid-template-columns: auto 1fr;
        gap: 12px;
        align-items: center;
    }
    
    .big-letter {
        font-size: 100px;
    }
    
    .subsection-two-images {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    
    .subsection-two-images img {
        width: 100%;
        height: 576px;
        object-fit: cover;
    }
    
    .related-posts-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
    
    .related-date {
        font-size: 16px;
    }
    
    .related-title {
        font-size: 22px;
    }
    .image-caption{
        font-family: var(--font-body) !important;
        font-size: 13px !important;
        font-style: italic !important;
        color: #888 !important;
        margin-top: 8px !important;
        text-align: center !important;
        line-height: 1.4 !important;
    }
}


/* Desktop (1024px and up) */
@media (min-width: 1024px) {
.fashion-news-section {
        padding: 60px 60px 80px 60px;
    }
        
    .news-item {
        grid-template-columns: 350px 1fr;
        gap: 40px;
        padding: 50px 0;
    }
    
    .news-title {
        font-size: 22px;
    }
    
    .news-meta {
        font-size: 16px;
    }
    
    .news-excerpt {
       font-size: 16px;
    }   
    .page-btn {
        width: 50px;
        height: 50px;
        font-size: 18px;
    }
    
    .pagination {
        gap: 12px;
        margin-top: 60px;
    }
    /* detailed page */
     .news-detail-article {
        padding: 2em 0;
    }
    
    .detail-main-title {
        font-size: 80px;
        margin-bottom: 20px;
    }
    
    .detail-news-title {
        font-size: 50px;
        margin-bottom: 30px;
    }
    
    .detail-subtitle {
        font-size: 18px;
        line-height: 1.6;
        margin-bottom: 20px;
    }
    
    .detail-meta {
        font-size: 16px;
        margin-bottom: 60px;
    }
    
    .detail-image-full {
        margin-bottom: 20px;
    }
    .detail-content p {
        font-size: 16px;
        line-height: 23px;
        margin-bottom: 23px;
    }
    .detail-subsection {
        margin-top: 80px;
    }
    
    .subsection-title {
        font-size: 35px;
        margin-bottom: 50px;
    }
    
    .big-letter {
        font-size: 111px;
        line-height: 23px;
    }
    .image-caption{
        font-family: var(--font-body) !important;
        font-size: 13px !important;
        font-style: italic !important;
        color: #888 !important;
        margin-top: 8px !important;
        text-align: center !important;
        line-height: 1.4 !important;
    }
    .subsection-two-images {
        gap: 20px;
    }
    
    .subsection-two-images img {
        width: 352px;
        height: 576px;
        object-fit: cover;
    }
    
    .related-posts-section {
        margin-top: 2em;
    }
    
    .related-title {
        font-size: 24px;
    }

}