/* Reset & Base - RFI Style */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --rfi-red: #E20A17;
    --rfi-dark-red: #C00915;
    --text-black: #000000;
    --text-gray: #666666;
    --bg-gray: #f4f4f4;
    --bg-white: #ffffff;
    --border-light: #dddddd;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.5;
    color: var(--text-black);
    background: var(--bg-gray);
    font-size: 15px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header - RFI Style */
header {
    background: var(--bg-white);
    border-bottom: 3px solid var(--rfi-red);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    max-width: 1200px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 2rem;
}

header h1 {
    margin: 0;
}

header h1 a {
    text-decoration: none;
    color: var(--rfi-red);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 2rem;
    font-weight: 700;
}

header h1 .logo {
    height: 50px;
    width: auto;
    display: block;
}

header h1 span {
    color: var(--rfi-red);
}

.nav-left {
    display: flex;
    gap: 1.5rem;
}

.nav-right {
    display: flex;
    gap: 2rem;
}

nav a {
    text-decoration: none;
    color: var(--text-black);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    padding: 0.5rem 0;
    transition: color 0.2s;
}

nav a:hover {
    color: var(--rfi-red);
}

/* Main Content - RFI Style */
main {
    padding: 2rem 20px 3rem;
    min-height: calc(100vh - 200px);
    background: var(--bg-gray);
}

main h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-black);
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Articles Grid - RFI Rich Layout */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

/* Featured Article - Large */
.article-card:first-child {
    grid-column: 1 / 9;
    grid-row: 1 / 3;
}

.article-card:first-child img {
    height: 400px;
}

.article-card:first-child .article-content h3 {
    font-size: 1.8rem;
    line-height: 1.3;
}

.article-card:first-child .article-content p {
    -webkit-line-clamp: 3;
    font-size: 1rem;
}

/* Right Sidebar Articles - Smaller */
.article-card:nth-child(2),
.article-card:nth-child(3) {
    grid-column: 9 / 13;
}

.article-card:nth-child(2) img,
.article-card:nth-child(3) img {
    height: 180px;
}

/* Middle Row - Medium Articles */
.article-card:nth-child(4),
.article-card:nth-child(5),
.article-card:nth-child(6) {
    grid-column: span 4;
}

/* Bottom Rows - Standard 3-column */
.article-card:nth-child(n+7) {
    grid-column: span 4;
}

.article-card {
    background: var(--bg-white);
    overflow: hidden;
    transition: box-shadow 0.2s;
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.article-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.article-content {
    padding: 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Red Category Tag - RFI Style */
.article-category {
    display: inline-block;
    background: var(--rfi-red);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.3rem 0.6rem;
    margin-bottom: 0.75rem;
    letter-spacing: 0.5px;
}

.article-content h3 {
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.4;
}

.article-content h3 a {
    text-decoration: none;
    color: var(--text-black);
    transition: color 0.2s;
}

.article-content h3 a:hover {
    color: var(--rfi-red);
}

.article-content p {
    color: var(--text-gray);
    margin-bottom: 0.75rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.9rem;
}

.article-meta {
    margin-top: auto;
    padding-top: 0.5rem;
    border-top: 1px solid #eeeeee;
}

.article-meta time {
    color: var(--text-gray);
    font-size: 0.8rem;
}

.read-more {
    display: none;
}

/* Articles List - RFI Rich Layout */
.articles-list {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.5rem;
}

/* First 3 articles - Mixed layout */
.article-item:first-child {
    grid-column: 1 / 8;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.article-item:first-child .article-image {
    grid-column: 1;
}

.article-item:first-child .article-image img {
    height: 300px;
}

.article-item:first-child .article-info {
    grid-column: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.article-item:first-child .article-info h3 {
    font-size: 1.6rem;
}

.article-item:nth-child(2),
.article-item:nth-child(3) {
    grid-column: 8 / 13;
}

.article-item:nth-child(2) img,
.article-item:nth-child(3) img {
    height: 140px;
}

/* Row 2 - 3 equal columns */
.article-item:nth-child(4),
.article-item:nth-child(5),
.article-item:nth-child(6) {
    grid-column: span 4;
}

/* Remaining articles - standard 3-column */
.article-item:nth-child(n+7) {
    grid-column: span 4;
}

.article-item {
    background: var(--bg-white);
    overflow: hidden;
    transition: box-shadow 0.2s;
    display: flex;
    flex-direction: column;
}

.article-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.article-image {
    width: 100%;
}

.article-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.article-info {
    padding: 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.article-info h3 {
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.4;
}

.article-info h3 a {
    text-decoration: none;
    color: var(--text-black);
    transition: color 0.2s;
}

.article-info h3 a:hover {
    color: var(--rfi-red);
}

.article-info p {
    color: var(--text-gray);
    line-height: 1.5;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-info .article-meta {
    margin-top: auto;
    padding-top: 0.5rem;
    border-top: 1px solid #eeeeee;
}

/* Article Detail - RFI Style */
.article-detail {
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-white);
    padding: 2rem;
}

.article-detail h1 {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-black);
    margin-bottom: 1rem;
}

.article-meta-detail {
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--rfi-red);
}

.article-meta-detail time {
    color: var(--text-gray);
    font-size: 0.85rem;
}

.article-image-main {
    margin: 1.5rem 0;
}

.article-image-main img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    display: block;
}

.article-body {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-black);
    margin-bottom: 2rem;
}

.article-body p {
    margin-bottom: 1rem;
    white-space: pre-wrap;
}

.article-footer {
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-light);
}

/* Buttons - RFI Style */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--rfi-red);
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    transition: background 0.2s;
}

.btn:hover {
    background: var(--rfi-dark-red);
}

.view-all {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-light);
}

/* Pagination - Minimal */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border-color);
}

.pagination span {
    color: var(--text-secondary);
    font-size: 0.9rem;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    font-weight: 500;
}

/* Error Page - Clean */
.error-page {
    text-align: center;
    padding: 6rem 2rem;
    max-width: 600px;
    margin: 0 auto;
}

.error-page h1 {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.error-page p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* Footer - RFI Style */
footer {
    background: #2a2a2a;
    color: #ffffff;
    padding: 2.5rem 0;
    margin-top: 3rem;
}

footer .container {
    text-align: center;
}

footer p {
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
}

footer a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s;
    margin: 0 0.5rem;
}

footer a:hover {
    color: var(--rfi-red);
}

/* Responsive - RFI Style */
@media (max-width: 992px) {
    /* Tablet - 2 column layout */
    .articles-grid {
        grid-template-columns: repeat(8, 1fr);
    }
    
    .article-card:first-child {
        grid-column: 1 / 9;
        grid-row: 1;
    }
    
    .article-card:nth-child(2),
    .article-card:nth-child(3) {
        grid-column: span 4;
    }
    
    .article-card:nth-child(n+4) {
        grid-column: span 4;
    }
    
    .articles-list {
        grid-template-columns: repeat(8, 1fr);
    }
    
    .article-item:first-child {
        grid-column: 1 / 9;
    }
    
    .article-item:nth-child(2),
    .article-item:nth-child(3) {
        grid-column: span 4;
    }
    
    .article-item:nth-child(n+4) {
        grid-column: span 4;
    }
}

@media (max-width: 768px) {
    /* Mobile - single column */
    .articles-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .article-card:first-child,
    .article-card:nth-child(2),
    .article-card:nth-child(3),
    .article-card:nth-child(n+4) {
        grid-column: 1;
        grid-row: auto;
    }
    
    .article-card:first-child img {
        height: 250px;
    }
    
    .article-card:first-child .article-content h3 {
        font-size: 1.4rem;
    }
    
    .article-card:nth-child(2) img,
    .article-card:nth-child(3) img {
        height: 200px;
    }
    
    .articles-list {
        grid-template-columns: 1fr;
    }
    
    .article-item:first-child,
    .article-item:nth-child(2),
    .article-item:nth-child(3),
    .article-item:nth-child(n+4) {
        grid-column: 1;
        grid-template-columns: 1fr;
    }
    
    .article-item:first-child .article-image,
    .article-item:first-child .article-info {
        grid-column: 1;
    }
    
    .article-item:first-child .article-image img {
        height: 200px;
    }
    
    .article-item:first-child .article-info h3 {
        font-size: 1.2rem;
    }

    header .container {
        flex-direction: column;
        gap: 1rem;
    }

    nav {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    nav a {
        font-size: 0.8rem;
    }

    .article-detail {
        padding: 1rem;
    }
    
    main h2 {
        font-size: 1.2rem;
    }
}

/* ========================================
   Article Detail Page - SEO Optimized
   ======================================== */

/* Breadcrumb Navigation */
.breadcrumb {
    padding: 1rem 0;
    margin-bottom: 1.5rem;
}

.breadcrumb ol {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.breadcrumb li {
    display: flex;
    align-items: center;
}

.breadcrumb li:not(:last-child)::after {
    content: "›";
    margin-left: 0.5rem;
    color: var(--text-secondary);
    font-weight: 700;
}

.breadcrumb a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: var(--rfi-red);
}

.breadcrumb li[aria-current="page"] {
    color: var(--text-black);
    font-weight: 600;
    max-width: 400px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Article Header */
.article-header {
    margin-bottom: 2rem;
}

.article-category {
    margin-bottom: 1rem;
}

.category-badge {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    background: var(--rfi-red);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-detail h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-black);
    font-weight: 700;
}

/* Social Share */
.article-share {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 0;
    margin: 1.5rem 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.share-label {
    font-weight: 700;
    color: var(--text-black);
    font-size: 0.9rem;
}

.share-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.2s;
    color: white;
}

.share-btn.facebook {
    background: #1877f2;
}

.share-btn.facebook:hover {
    background: #145dbf;
}

.share-btn.twitter {
    background: #1da1f2;
}

.share-btn.twitter:hover {
    background: #0d8bd9;
}

.share-btn.telegram {
    background: #0088cc;
}

.share-btn.telegram:hover {
    background: #006ba6;
}

.share-btn svg {
    flex-shrink: 0;
}

/* Article Tags */
.article-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 1.5rem 0;
    margin-top: 2rem;
    border-top: 1px solid var(--border-light);
}

.tags-label {
    font-weight: 700;
    color: var(--text-black);
    font-size: 0.9rem;
}

.tag {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    background: var(--bg-grey);
    color: var(--text-black);
    text-decoration: none;
    font-size: 0.85rem;
    border-radius: 3px;
    transition: background 0.2s;
}

.tag:hover {
    background: var(--border-light);
    color: var(--rfi-red);
}

/* Button Secondary */
.btn-secondary {
    background: var(--text-black);
}

.btn-secondary:hover {
    background: #1a1a1a;
}

/* Related Articles */
.related-articles {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px solid var(--border-light);
}

.related-articles h2 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--text-black);
    font-weight: 700;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.related-card {
    display: block;
    background: white;
    border: 1px solid var(--border-light);
    transition: all 0.3s;
    overflow: hidden;
}

.related-card:hover {
    border-color: var(--rfi-red);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.related-image {
    display: block;
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.related-card:hover .related-image img {
    transform: scale(1.05);
}

.related-content {
    padding: 1.25rem;
}

.related-content h3 {
    font-size: 1rem;
    line-height: 1.4;
    margin-bottom: 0.75rem;
}

.related-content h3 a {
    color: var(--text-black);
    text-decoration: none;
    transition: color 0.2s;
}

.related-card:hover .related-content h3 a {
    color: var(--rfi-red);
}

.related-content time {
    display: block;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Mobile Responsive for Detail Page */
@media (max-width: 768px) {
    .article-detail h1 {
        font-size: 1.75rem;
    }
    
    .article-share {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .share-buttons {
        width: 100%;
    }
    
    .share-btn {
        flex: 1;
        justify-content: center;
        min-width: 0;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
    
    .breadcrumb li[aria-current="page"] {
        max-width: 200px;
    }
}

/* ========================================
   Homepage Layout - Three-Tier Structure
   ======================================== */

/* Featured Section - Large Story + Small Cards */
.featured-section {
    background: white;
    padding: 3rem 0;
    border-bottom: 1px solid var(--border-light);
}

.featured-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

/* Main Featured Story (Left) */
.featured-main {
    display: flex;
    flex-direction: column;
}

.featured-image {
    display: block;
    width: 100%;
    height: 450px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.featured-main:hover .featured-image img {
    transform: scale(1.02);
}

.featured-content {
    flex: 1;
}

.category-tag {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
    background: var(--bg-grey);
    color: var(--text-black);
}

.category-tag.red {
    background: var(--rfi-red);
    color: white;
}

.featured-content h2 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 700;
}

.featured-content h2 a {
    color: var(--text-black);
    text-decoration: none;
    transition: color 0.2s;
}

.featured-content h2 a:hover {
    color: var(--rfi-red);
}

.featured-excerpt {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.featured-content time {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    font-weight: 600;
}

/* Featured Sidebar (Right) - Small Stories */
.featured-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.featured-small {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 1rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-light);
}

.featured-small:last-child {
    border-bottom: none;
}

.small-image {
    display: block;
    width: 120px;
    height: 80px;
    overflow: hidden;
}

.small-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.featured-small:hover .small-image img {
    transform: scale(1.05);
}

.small-content h3 {
    font-size: 0.95rem;
    line-height: 1.4;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.small-content h3 a {
    color: var(--text-black);
    text-decoration: none;
    transition: color 0.2s;
}

.featured-small:hover .small-content h3 a {
    color: var(--rfi-red);
}

.small-content time {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* Category News Grid Section */
.category-section {
    background: var(--bg-grey);
    padding: 3rem 0;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.news-card {
    background: white;
    border: 1px solid var(--border-light);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    border-color: var(--rfi-red);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.news-image {
    display: block;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-content h3 {
    font-size: 1.1rem;
    line-height: 1.4;
    margin: 0.75rem 0;
    flex: 1;
}

.news-content h3 a {
    color: var(--text-black);
    text-decoration: none;
    transition: color 0.2s;
}

.news-card:hover .news-content h3 a {
    color: var(--rfi-red);
}

.news-excerpt {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.news-content time {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Dark Magazine Section */
.magazine-section {
    background: #1a1a1a;
    color: white;
    padding: 4rem 0;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: white;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.magazine-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.magazine-card {
    background: #2a2a2a;
    transition: all 0.3s;
    overflow: hidden;
}

.magazine-card:hover {
    background: #333;
    transform: translateY(-4px);
}

.magazine-image {
    display: block;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.magazine-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.magazine-card:hover .magazine-image img {
    transform: scale(1.05);
}

.magazine-content {
    padding: 1.5rem;
}

.magazine-content h3 {
    font-size: 1.2rem;
    line-height: 1.3;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.magazine-content h3 a {
    color: white;
    text-decoration: none;
    transition: color 0.2s;
}

.magazine-card:hover .magazine-content h3 a {
    color: var(--rfi-red);
}

.magazine-content p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #b0b0b0;
}

/* Enhanced Footer */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    padding: 3rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col h4 {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1.25rem;
    color: white;
}

.footer-col p {
    font-size: 0.85rem;
    line-height: 1.6;
    color: #b0b0b0;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col ul li a {
    color: #b0b0b0;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s;
}

.footer-col ul li a:hover {
    color: var(--rfi-red);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 4px;
    transition: all 0.2s;
}

.social-links a:hover {
    background: var(--rfi-red);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding: 2rem 0 1rem;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: #808080;
}

/* Responsive Design for Homepage */
@media (max-width: 1024px) {
    .featured-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .magazine-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .featured-image {
        height: 300px;
    }
    
    .featured-content h2 {
        font-size: 1.75rem;
    }
    
    .category-grid {
        grid-template-columns: 1fr;
    }
    
    .magazine-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .featured-small {
        grid-template-columns: 100px 1fr;
    }
    
    .small-image {
        width: 100px;
        height: 70px;
    }
}

