/* ===== Freshnexis Template CSS ===== */
/* Color Scheme: Deep Purple #3C096C, Accent #7209B7, Light #D6BCFA */

[v-cloak] { display: none; }

* { box-sizing: border-box; }

body {
    font-family: 'Source Sans Pro', Arial, sans-serif;
    background-color: #ffffff;
    color: #3C096C;
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
    margin: 0;
    padding: 0;
}

a { color: #3C096C; text-decoration: none; transition: color 0.2s; }
a:hover { color: #7209B7; text-decoration: none; }

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

/* ===== Breaking News Ticker ===== */
.fn-ticker {
    background: linear-gradient(135deg, #f3e8ff 0%, #ede4ff 100%);
    padding: 8px 0;
    border-bottom: 1px solid #D6BCFA;
    overflow: hidden;
}
.fn-ticker .container { display: flex; align-items: center; }
.fn-ticker-label {
    background: linear-gradient(135deg, #7209B7, #3C096C);
    color: #fff;
    padding: 4px 14px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    margin-right: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.fn-ticker-content {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
}
.fn-ticker-scroll {
    display: inline-block;
    animation: tickerScroll 30s linear infinite;
    font-size: 13px;
    color: #3C096C;
}
.fn-ticker-scroll a {
    margin-right: 40px;
    color: #3C096C;
    font-weight: 500;
}
.fn-ticker-scroll a:hover { color: #7209B7; }
@keyframes tickerScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===== Header / Navigation ===== */
.fn-header {
    background: #fff;
    border-bottom: 2px solid #f0e6ff;
    position: sticky;
    top: 0;
    z-index: 9999;
    box-shadow: 0 2px 10px rgba(60,9,108,0.06);
}
.fn-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
    height: 70px;
}
.fn-logo a {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(135deg, #7209B7, #3C096C);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}
.fn-logo img { max-height: 50px; width: auto; }
.fn-nav { display: flex; align-items: center; }
.fn-nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
    gap: 0;
}
.fn-nav-list > li { position: relative; }
.fn-nav-list > li > a {
    display: block;
    padding: 0 18px;
    line-height: 70px;
    font-size: 15px;
    font-weight: 500;
    color: #3C096C;
    transition: all 0.2s;
    position: relative;
}
.fn-nav-list > li > a:hover,
.fn-nav-list > li.active > a {
    color: #7209B7;
}
.fn-nav-list > li.active > a::after {
    content: '';
    position: absolute;
    bottom: 15px;
    left: 18px;
    right: 18px;
    height: 2px;
    background: linear-gradient(135deg, #7209B7, #3C096C);
    border-radius: 1px;
}
.fn-nav-list > li .fn-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 180px;
    box-shadow: 0 8px 24px rgba(60,9,108,0.12);
    border-radius: 0 0 8px 8px;
    border-top: 2px solid #7209B7;
    padding: 8px 0;
    z-index: 1000;
}
.fn-nav-list > li:hover .fn-dropdown { display: block; }
.fn-dropdown li a {
    display: block;
    padding: 8px 18px;
    font-size: 14px;
    color: #3C096C;
    transition: background 0.2s;
}
.fn-dropdown li a:hover { background: #f8f0ff; color: #7209B7; }
.fn-search {
    display: flex;
    align-items: center;
    margin-left: 20px;
}
.fn-search form { display: flex; }
.fn-search-input {
    border: 1px solid #D6BCFA;
    border-radius: 20px 0 0 20px;
    padding: 7px 16px;
    font-size: 13px;
    outline: none;
    width: 180px;
    color: #3C096C;
    transition: border-color 0.2s;
}
.fn-search-input:focus { border-color: #7209B7; }
.fn-search-input::placeholder { color: #b8a0d6; }
.fn-search-btn {
    background: linear-gradient(135deg, #7209B7, #3C096C);
    border: none;
    color: #fff;
    padding: 7px 16px;
    border-radius: 0 20px 20px 0;
    cursor: pointer;
    font-size: 13px;
    transition: opacity 0.2s;
}
.fn-search-btn:hover { opacity: 0.9; }

/* Mobile menu toggle */
.fn-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: #3C096C;
    cursor: pointer;
    padding: 5px;
}

/* ===== Main Layout ===== */
.fn-main { padding: 30px 0; min-height: 60vh; }
.fn-content { }
.fn-sidebar { }

/* ===== Section Titles ===== */
.fn-section-title {
    font-size: 28px;
    font-weight: 700;
    color: #3C096C;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
}
.fn-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #7209B7, #3C096C);
    border-radius: 2px;
}
.fn-section-title::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 70px;
    width: 20px;
    height: 3px;
    background: #D6BCFA;
    border-radius: 2px;
}
.fn-section-title-sm {
    font-size: 20px;
    font-weight: 700;
    color: #3C096C;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #E5E7EB;
}

/* ===== Breaking News Cards (3 col) ===== */
.fn-breaking-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}
.fn-breaking-card { }
.fn-breaking-card .fn-card-img-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    margin-bottom: 12px;
    aspect-ratio: 16/10;
    background: #f3e8ff;
}
.fn-breaking-card .fn-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.fn-breaking-card:hover .fn-card-img-wrap img { transform: scale(1.05); }
.fn-card-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(135deg, #7209B7, #3C096C);
    color: #fff;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.fn-breaking-card .fn-card-title {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 6px;
}
.fn-breaking-card .fn-card-title a { color: #1a0a3e; }
.fn-breaking-card .fn-card-title a:hover { color: #7209B7; }
.fn-card-meta {
    font-size: 12.75px;
    color: #6B7280;
}
.fn-card-meta span { margin-right: 8px; }

/* ===== Recent Articles List ===== */
.fn-recent {
    margin-bottom: 40px;
    border-bottom: 1px solid #E5E7EB;
    padding-bottom: 20px;
}
.fn-recent-list { list-style: none; padding: 0; margin: 0; }
.fn-recent-list li {
    padding: 10px 0;
    border-bottom: 1px solid #f3e8ff;
}
.fn-recent-list li:last-child { border-bottom: none; }
.fn-recent-list li a {
    font-size: 15px;
    font-weight: 600;
    color: #1a0a3e;
    display: block;
    margin-bottom: 4px;
}
.fn-recent-list li a:hover { color: #7209B7; }
.fn-recent-list li .fn-card-meta { font-size: 12px; }

/* ===== Highlights Grid (2 col) ===== */
.fn-highlights-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 30px;
}
.fn-highlight-card { padding-bottom: 20px; border-bottom: 1px solid #f0e6ff; }
.fn-highlight-card .fn-card-img-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    margin-bottom: 12px;
    aspect-ratio: 3/2;
    background: #f3e8ff;
}
.fn-highlight-card .fn-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.fn-highlight-card:hover .fn-card-img-wrap img { transform: scale(1.05); }
.fn-highlight-card .fn-card-title {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 8px;
}
.fn-highlight-card .fn-card-title a { color: #1a0a3e; }
.fn-highlight-card .fn-card-title a:hover { color: #7209B7; }
.fn-author-info {
    display: flex;
    align-items: center;
    gap: 8px;
}
.fn-author-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7209B7, #3C096C);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    overflow: hidden;
}
.fn-author-avatar img { width: 100%; height: 100%; object-fit: cover; }
.fn-author-name { font-size: 12px; color: #6B7280; font-weight: 500; }

/* ===== Sidebar ===== */
.fn-sidebar-block {
    background: #fff;
    border: 1px solid #f0e6ff;
    border-radius: 8px;
    margin-bottom: 24px;
    overflow: hidden;
}
.fn-sidebar-header {
    background: linear-gradient(135deg, #7209B7, #3C096C);
    color: #fff;
    padding: 12px 18px;
    font-size: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}
.fn-sidebar-header .fn-icon { font-size: 16px; }
.fn-sidebar-body { padding: 0; max-height: 300px; overflow-y: auto; }
.fn-sidebar-body::-webkit-scrollbar { width: 4px; }
.fn-sidebar-body::-webkit-scrollbar-thumb { background: #D6BCFA; border-radius: 2px; }
.fn-sidebar-list { list-style: none; padding: 0; margin: 0; }
.fn-sidebar-list li { border-bottom: 1px solid #f3e8ff; }
.fn-sidebar-list li:last-child { border-bottom: none; }
.fn-sidebar-list li a {
    display: block;
    padding: 10px 18px;
    font-size: 14px;
    color: #3C096C;
    transition: all 0.2s;
}
.fn-sidebar-list li a:hover { background: #f8f0ff; color: #7209B7; padding-left: 22px; }
.fn-sidebar-list li a::before {
    content: '\203A';
    margin-right: 8px;
    color: #7209B7;
    font-weight: bold;
}
.fn-sidebar-list li .fn-date {
    display: block;
    font-size: 11px;
    color: #9CA3AF;
    margin-top: 2px;
}

/* ===== Popular Posts Sidebar ===== */
.fn-popular-list { list-style: none; padding: 0; margin: 0; }
.fn-popular-list li {
    padding: 12px 18px;
    border-bottom: 1px solid #f3e8ff;
}
.fn-popular-list li:last-child { border-bottom: none; }
.fn-popular-list li a {
    font-size: 14px;
    font-weight: 500;
    color: #3C096C;
    display: block;
    margin-bottom: 4px;
}
.fn-popular-list li a:hover { color: #7209B7; }
.fn-popular-list li .fn-date {
    font-size: 11px;
    color: #9CA3AF;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ===== Sponsored News Cards ===== */
.fn-sponsored-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 30px;
}
.fn-sponsored-card {
    border: 1px solid #D6BCFA;
    border-radius: 4px;
    padding: 20px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    transition: box-shadow 0.2s;
}
.fn-sponsored-card:hover { box-shadow: 0 4px 16px rgba(60,9,108,0.08); }
.fn-sponsored-card .fn-card-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: #f3e8ff;
}
.fn-sponsored-card .fn-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.fn-sponsored-card .fn-card-info { flex: 1; }
.fn-sponsored-card .fn-card-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.5;
}
.fn-sponsored-card .fn-card-title a {
    color: #3C096C;
    text-decoration: none;
}
.fn-sponsored-card .fn-card-title a:hover { text-decoration: underline; }

/* ===== Article List (block) ===== */
.fn-article-item {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid #f0e6ff;
}
.fn-article-item:last-child { border-bottom: none; }
.fn-article-item .fn-item-img {
    width: 240px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
    background: #f3e8ff;
}
.fn-article-item .fn-item-img a { display: block; aspect-ratio: 16/10; overflow: hidden; }
.fn-article-item .fn-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.fn-article-item:hover .fn-item-img img { transform: scale(1.05); }
.fn-article-item .fn-item-content { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.fn-article-item .fn-item-content h4 {
    font-size: 17px;
    font-weight: 600;
    margin: 0 0 8px 0;
    line-height: 1.5;
}
.fn-article-item .fn-item-content h4 a { color: #1a0a3e; }
.fn-article-item .fn-item-content h4 a:hover { color: #7209B7; }
.fn-article-item .fn-item-content .fn-desc {
    font-size: 14px;
    color: #6B7280;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.fn-article-item .fn-item-content .fn-date { font-size: 12px; color: #9CA3AF; }

/* ===== Article Detail ===== */
.fn-detail { background: #fff; border-radius: 8px; padding: 30px; margin-bottom: 30px; border: 1px solid #f0e6ff; }
.fn-detail-title {
    font-size: 30px;
    font-weight: 700;
    color: #3C096C;
    margin-bottom: 15px;
    line-height: 1.3;
    word-break: break-word;
    word-wrap: break-word;
    overflow-wrap: break-word;
}
.fn-detail-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0e6ff;
    margin-bottom: 25px;
    font-size: 13px;
    color: #6B7280;
    flex-wrap: wrap;
}
.fn-detail-meta span { display: flex; align-items: center; gap: 4px; }
.fn-detail-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.fn-detail-tags a {
    background: #f3e8ff;
    color: #7209B7;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 12px;
    transition: all 0.2s;
}
.fn-detail-tags a:hover { background: #7209B7; color: #fff; }
.fn-detail-body {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    word-wrap: break-word;
}
.fn-detail-body p { margin-bottom: 16px; }
.fn-detail-body h1, .fn-detail-body h2, .fn-detail-body h3,
.fn-detail-body h4, .fn-detail-body h5, .fn-detail-body h6 {
    color: #3C096C;
    margin: 30px 0 15px;
    font-weight: 600;
}
.fn-detail-body h2 { font-size: 24px; }
.fn-detail-body h3 { font-size: 20px; }
.fn-detail-body img { max-width: 100%; height: auto; border-radius: 6px; margin: 15px 0; }
.fn-detail-body a { color: #7209B7; text-decoration: underline; }
.fn-detail-body blockquote {
    border-left: 4px solid #7209B7;
    padding: 15px 20px;
    margin: 20px 0;
    background: #f8f0ff;
    border-radius: 0 6px 6px 0;
}
.fn-detail-body pre {
    background: #1a0a3e;
    color: #e0d4f5;
    padding: 20px;
    border-radius: 6px;
    overflow-x: auto;
    font-size: 14px;
    margin: 20px 0;
}
.fn-detail-body code {
    background: #f3e8ff;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 14px;
    color: #7209B7;
}
.fn-detail-body ul, .fn-detail-body ol { padding-left: 30px; margin-bottom: 16px; }
.fn-detail-body table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.fn-detail-body th, .fn-detail-body td {
    border: 1px solid #D6BCFA;
    padding: 10px 14px;
    text-align: left;
}
.fn-detail-body th { background: #f8f0ff; font-weight: 600; color: #3C096C; }

/* Prev/Next article nav */
.fn-page-nav {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #f0e6ff;
    padding-top: 20px;
    margin-top: 30px;
    gap: 20px;
}
.fn-page-nav-item { flex: 1; }
.fn-page-nav-item.down { text-align: right; }
.fn-page-nav-item p { font-size: 12px; color: #9CA3AF; margin-bottom: 4px; }
.fn-page-nav-item a {
    font-size: 14px;
    font-weight: 500;
    color: #3C096C;
}
.fn-page-nav-item a:hover { color: #7209B7; }

/* ===== Breadcrumb ===== */
.fn-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #6B7280;
    margin-bottom: 20px;
    padding: 10px 0;
    list-style: none;
    flex-wrap: wrap;
}
.fn-breadcrumb li { display: flex; align-items: center; gap: 8px; }
.fn-breadcrumb li::after { content: '/'; color: #D6BCFA; }
.fn-breadcrumb li:last-child::after { display: none; }
.fn-breadcrumb a { color: #7209B7; }
.fn-breadcrumb a:hover { color: #3C096C; }

/* ===== Tags Block ===== */
.fn-tags-cloud { display: flex; flex-wrap: wrap; gap: 8px; padding: 15px 18px; }
.fn-tags-cloud a {
    background: #f3e8ff;
    color: #7209B7;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 13px;
    transition: all 0.2s;
}
.fn-tags-cloud a:hover { background: linear-gradient(135deg, #7209B7, #3C096C); color: #fff; }

/* ===== Pagination ===== */
.fn-pagination { display: flex; justify-content: center; padding: 30px 0; gap: 6px; flex-wrap: wrap; }
.fn-pagination a, .fn-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    border: 1px solid #D6BCFA;
    border-radius: 6px;
    font-size: 14px;
    color: #3C096C;
    transition: all 0.2s;
    text-decoration: none;
}
.fn-pagination a:hover { background: #f3e8ff; border-color: #7209B7; color: #7209B7; }
.fn-pagination .current, .fn-pagination .active {
    background: linear-gradient(135deg, #7209B7, #3C096C);
    color: #fff;
    border-color: #3C096C;
}

/* ===== Footer ===== */
.fn-footer {
    background: #3C096C;
    color: #fff;
    margin-top: 50px;
    position: relative;
}
.fn-footer-top {
    border-radius: 30px 30px 0 0;
    background: #3C096C;
    padding: 50px 0 30px;
}
.fn-footer-inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}
.fn-footer-col h4 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #fff;
    position: relative;
    padding-bottom: 10px;
}
.fn-footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: #D6BCFA;
}
.fn-footer-col ul { list-style: none; padding: 0; margin: 0; }
.fn-footer-col ul li { margin-bottom: 10px; }
.fn-footer-col ul li a {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    transition: all 0.2s;
}
.fn-footer-col ul li a:hover { color: #fff; padding-left: 5px; }
.fn-footer-logo {
    text-align: center;
    margin-bottom: 30px;
}
.fn-footer-logo a {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
}
.fn-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.15);
    padding: 20px 0;
    text-align: center;
    font-size: 13px;
    color: rgba(255,255,255,0.7);
}
.fn-footer-bottom a { color: rgba(255,255,255,0.8); margin: 0 10px; }
.fn-footer-bottom a:hover { color: #fff; }

/* ===== Scroll to Top ===== */
.fn-scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #7209B7, #3C096C);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 12px rgba(60,9,108,0.3);
    transition: all 0.3s;
    z-index: 999;
}
.fn-scroll-top:hover { transform: translateY(-3px); box-shadow: 0 6px 16px rgba(60,9,108,0.4); }
.fn-scroll-top.show { display: flex; }

/* ===== Search Page ===== */
.fn-search-result-title {
    font-size: 24px;
    font-weight: 700;
    color: #3C096C;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0e6ff;
}

/* ===== Tag Page ===== */
.fn-tag-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: #f8f0ff;
    border-radius: 8px;
    margin-bottom: 24px;
}
.fn-tag-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #7209B7, #3C096C);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
}
.fn-tag-info h2 { font-size: 20px; font-weight: 700; color: #3C096C; margin: 0 0 4px 0; }
.fn-tag-info p { font-size: 14px; color: #6B7280; margin: 0; }

/* ===== Category Box (old template compat) ===== */
.fn-cat-box {
    background: #fff;
    border: 1px solid #f0e6ff;
    border-radius: 8px;
    margin-bottom: 20px;
    overflow: hidden;
}
.fn-cat-box-header {
    padding: 14px 18px;
    border-bottom: 1px solid #f0e6ff;
}
.fn-cat-box-header h3 {
    font-size: 16px;
    font-weight: 600;
    color: #3C096C;
    margin: 0;
}
.fn-cat-box-body { padding: 10px 18px; }
.fn-cat-box-body ul { list-style: none; padding: 0; margin: 0; }
.fn-cat-box-body ul li {
    padding: 8px 0;
    border-bottom: 1px solid #f8f0ff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.fn-cat-box-body ul li:last-child { border-bottom: none; }
.fn-cat-box-body ul li a {
    font-size: 14px;
    color: #3C096C;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
    padding-right: 10px;
}
.fn-cat-box-body ul li a:hover { color: #7209B7; }
.fn-cat-box-body ul li time { font-size: 12px; color: #9CA3AF; white-space: nowrap; }

/* ===== Utility Classes ===== */
.fn-row { display: flex; flex-wrap: wrap; margin: 0 -12px; }
.fn-col-8 { flex: 0 0 66.666%; max-width: 66.666%; padding: 0 12px; }
.fn-col-4 { flex: 0 0 33.333%; max-width: 33.333%; padding: 0 12px; }
.fn-col-6 { flex: 0 0 50%; max-width: 50%; padding: 0 12px; }
.fn-col-12 { flex: 0 0 100%; max-width: 100%; padding: 0 12px; }
.fn-mb-20 { margin-bottom: 20px; }
.fn-mb-30 { margin-bottom: 30px; }
.fn-mb-40 { margin-bottom: 40px; }
.fn-text-center { text-align: center; }
.fn-hidden { display: none !important; }

/* ===== Responsive ===== */
@media (max-width: 991px) {
    .fn-col-8, .fn-col-4 { flex: 0 0 100%; max-width: 100%; }
    .fn-breaking-grid { grid-template-columns: repeat(2, 1fr); }
    .fn-highlights-grid { grid-template-columns: 1fr; }
    .fn-sponsored-grid { grid-template-columns: 1fr; }
    .fn-footer-inner { grid-template-columns: 1fr 1fr; }
    .fn-nav-list > li > a { padding: 0 12px; font-size: 14px; }
    .fn-search { display: none; }
}

@media (max-width: 768px) {
    .fn-header-inner { height: 56px; }
    .fn-menu-toggle { display: block; }
    .fn-nav-list {
        display: none;
        position: absolute;
        top: 56px;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        border-top: 1px solid #f0e6ff;
        box-shadow: 0 8px 24px rgba(60,9,108,0.1);
        z-index: 1000;
    }
    .fn-nav-list.open { display: flex; }
    .fn-nav-list > li > a { line-height: 48px; padding: 0 20px; border-bottom: 1px solid #f8f0ff; }
    .fn-nav-list > li.active > a::after { display: none; }
    .fn-nav-list > li .fn-dropdown {
        position: static;
        box-shadow: none;
        border-top: none;
        border-radius: 0;
        background: #f8f0ff;
    }
    .fn-breaking-grid { grid-template-columns: 1fr; }
    .fn-article-item { flex-direction: column; }
    .fn-article-item .fn-item-img { width: 100%; }
    .fn-detail { padding: 20px; }
    .fn-detail-title { font-size: 22px; }
    .fn-footer-inner { grid-template-columns: 1fr; gap: 30px; }
    .fn-footer-top { border-radius: 20px 20px 0 0; padding: 30px 0 20px; }
    .fn-page-nav { flex-direction: column; }
    .fn-section-title { font-size: 22px; }
    .fn-ticker .container { flex-direction: column; gap: 8px; }
    .fn-ticker-label { margin-right: 0; }
}

@media (max-width: 480px) {
    .fn-sponsored-card { flex-direction: column; align-items: center; text-align: center; }
    .fn-sponsored-card .fn-card-img { width: 60px; height: 60px; }
    .fn-cat-box-body ul li { flex-direction: column; align-items: flex-start; gap: 2px; }
    .fn-cat-box-body ul li a { padding-right: 0; }
}
