/* ============================================
   HanelReview - Main Stylesheet
   SEO-Friendly, Fast-Loading, Responsive
   ============================================ */

/* === CSS Variables === */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #dbeafe;
    --secondary: #f59e0b;
    --secondary-dark: #d97706;
    --accent: #10b981;
    --danger: #ef4444;
    --dark: #1e293b;
    --dark-2: #334155;
    --gray: #64748b;
    --gray-light: #94a3b8;
    --gray-lighter: #e2e8f0;
    --gray-bg: #f8fafc;
    --white: #ffffff;
    --shadow-sm: 0 1px 2px rgba(0,0,0,.05);
    --shadow: 0 1px 3px rgba(0,0,0,.1), 0 1px 2px rgba(0,0,0,.06);
    --shadow-md: 0 4px 6px rgba(0,0,0,.07), 0 2px 4px rgba(0,0,0,.06);
    --shadow-lg: 0 10px 15px rgba(0,0,0,.1), 0 4px 6px rgba(0,0,0,.05);
    --shadow-xl: 0 20px 25px rgba(0,0,0,.1), 0 10px 10px rgba(0,0,0,.04);
    --radius-sm: 6px;
    --radius: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: all .3s ease;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --max-width: 1280px;
}

/* === Reset & Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.7;
    color: var(--dark);
    background: var(--gray-bg);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* Skip Link */
.skip-link {
    position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden;
    z-index: 9999; padding: 12px 24px; background: var(--primary); color: white;
}
.skip-link:focus { position: fixed; left: 10px; top: 10px; width: auto; height: auto; }

/* === Container === */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }

/* === Header === */
.site-header {
    position: sticky; top: 0; z-index: 1000;
    background: var(--white);
    border-bottom: 1px solid var(--gray-lighter);
    box-shadow: var(--shadow-sm);
}
.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    height: 70px; gap: 20px;
}
.site-logo a {
    display: flex; align-items: center; gap: 10px;
    font-size: 1.5rem; font-weight: 800; color: var(--dark);
}
.site-logo a:hover { color: var(--primary); }
.logo-icon {
    display: flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white; font-size: 1.1rem;
}

/* Navigation */
.main-nav { display: flex; }
.nav-menu { display: flex; gap: 5px; }
.nav-link {
    display: block; padding: 8px 16px; border-radius: var(--radius-sm);
    font-weight: 500; color: var(--dark-2); font-size: .95rem;
    transition: var(--transition);
}
.nav-link:hover { color: var(--primary); background: var(--primary-light); }

/* Dropdown Menu */
.has-dropdown { position: relative; }
.dropdown-menu {
    position: absolute; top: 100%; left: 0; min-width: 220px;
    background: var(--white); border-radius: var(--radius); box-shadow: 0 8px 24px rgba(0,0,0,.12);
    padding: 8px 0; z-index: 100; opacity: 0; visibility: hidden;
    transform: translateY(8px); transition: all .2s ease;
}
.has-dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu li { list-style: none; }
.dropdown-menu a {
    display: block; padding: 9px 18px; color: var(--dark-2); font-size: .9rem;
    font-weight: 500; transition: var(--transition);
}
.dropdown-menu a:hover { color: var(--primary); background: var(--primary-light); }

.header-actions { display: flex; align-items: center; gap: 8px; }
.search-toggle, .mobile-toggle {
    display: flex; align-items: center; justify-content: center;
    width: 42px; height: 42px; border-radius: var(--radius-sm);
    color: var(--dark-2); font-size: 1.1rem;
    transition: var(--transition);
}
.search-toggle:hover, .mobile-toggle:hover { background: var(--gray-lighter); color: var(--primary); }

.mobile-toggle { display: none; flex-direction: column; gap: 5px; }
.mobile-toggle span {
    display: block; width: 22px; height: 2px; background: var(--dark);
    transition: var(--transition);
}
.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Search Overlay */
.search-overlay {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white); border-bottom: 2px solid var(--primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-10px); opacity: 0; visibility: hidden;
    transition: var(--transition);
}
.search-overlay.active { transform: translateY(0); opacity: 1; visibility: visible; }
.search-form {
    display: flex; align-items: center; gap: 10px; padding: 16px 0;
}
.search-form input {
    flex: 1; padding: 12px 20px; border: 2px solid var(--gray-lighter);
    border-radius: var(--radius); font-size: 1rem; outline: none;
    transition: var(--transition);
}
.search-form input:focus { border-color: var(--primary); }
.search-form button { padding: 12px 20px; border-radius: var(--radius); color: var(--gray); }
.search-form button[type="submit"] {
    background: var(--primary); color: white; font-weight: 600;
}
.search-close { font-size: 1.2rem; }

/* Mobile Menu */
.mobile-menu {
    position: fixed; top: 70px; left: 0; right: 0; bottom: 0;
    background: var(--white); z-index: 999;
    transform: translateX(-100%); transition: var(--transition);
    overflow-y: auto;
}
.mobile-menu.active { transform: translateX(0); }
.mobile-menu-inner { padding: 20px; }
.mobile-nav li { border-bottom: 1px solid var(--gray-lighter); }
.mobile-nav a {
    display: block; padding: 14px 0; color: var(--dark);
    font-weight: 500; font-size: 1.05rem;
}
.mobile-sub-nav { padding-left: 18px; }
.mobile-sub-nav li { border-bottom: 1px solid var(--gray-lighter); }
.mobile-sub-nav a {
    display: block; padding: 10px 0; color: var(--gray); font-size: .95rem; font-weight: 400;
}

/* === Hero Section === */
.hero-section {
    background: linear-gradient(135deg, #1e3a5f 0%, #2563eb 50%, #3b82f6 100%);
    color: white; padding: 80px 0; text-align: center;
    position: relative; overflow: hidden;
}
.hero-section::before {
    content: ''; position: absolute; inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.05)" d="M0,128L48,138.7C96,149,192,171,288,176C384,181,480,171,576,144C672,117,768,75,864,69.3C960,64,1056,96,1152,112C1248,128,1344,128,1392,128L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom center;
    background-size: cover;
}
.hero-content { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }
.hero-title { font-size: 2.8rem; font-weight: 800; line-height: 1.2; margin-bottom: 16px; }
.hero-title .highlight { color: var(--secondary); }
.hero-subtitle { font-size: 1.15rem; opacity: .9; margin-bottom: 32px; line-height: 1.6; }
.hero-search { max-width: 560px; margin: 0 auto 40px; }
.hero-search form {
    display: flex; background: white; border-radius: 50px;
    overflow: hidden; box-shadow: var(--shadow-xl);
}
.hero-search input {
    flex: 1; padding: 16px 24px; border: none; outline: none;
    font-size: 1rem; color: var(--dark);
}
.hero-search button {
    padding: 16px 28px; background: var(--secondary); color: white;
    font-weight: 600; font-size: .95rem; white-space: nowrap;
    transition: var(--transition);
}
.hero-search button:hover { background: var(--secondary-dark); }
.hero-stats { display: flex; justify-content: center; gap: 48px; }
.stat-item { text-align: center; }
.stat-number { display: block; font-size: 2rem; font-weight: 800; }
.stat-label { font-size: .85rem; opacity: .8; }

/* === Sections === */
.section { padding: 60px 0; }
.section-header {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 32px; flex-wrap: wrap; gap: 12px;
}
.section-header.center { flex-direction: column; text-align: center; }
.section-title { font-size: 1.6rem; font-weight: 700; color: var(--dark); }
.section-title i { color: var(--primary); margin-right: 8px; }
.section-subtitle { color: var(--gray); font-size: 1.05rem; max-width: 600px; }
.section-link { color: var(--primary); font-weight: 600; font-size: .95rem; }
.section-link:hover { text-decoration: underline; }

/* === Featured Grid === */
/* === Featured Grid (1 big + 4 side) === */
.featured-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
}
.featured-main {
    background: var(--white); border-radius: var(--radius-lg);
    overflow: hidden; box-shadow: var(--shadow); transition: var(--transition);
}
.featured-main:hover { box-shadow: var(--shadow-lg); }
.featured-main-img {
    display: block; position: relative; overflow: hidden; aspect-ratio: 16/10;
}
.featured-main-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.featured-main:hover .featured-main-img img { transform: scale(1.03); }
.featured-main-body { padding: 20px 24px 24px; }
.featured-main-body h3 { font-size: 1.35rem; font-weight: 700; line-height: 1.4; margin: 8px 0; }
.featured-main-body h3 a { color: var(--dark); }
.featured-main-body h3 a:hover { color: var(--primary); }
.fm-cat {
    display: inline-flex; align-items: center; gap: 4px;
    background: #f0f9ff; color: var(--primary); font-size: .75rem; font-weight: 700;
    padding: 3px 10px; border-radius: 4px; text-transform: uppercase; text-decoration: none;
}
.fm-cat:hover { background: var(--primary); color: #fff; }
.fm-author { font-size: .82rem; color: #94a3b8; }
.fm-author i { margin-right: 4px; }

/* Side cards */
.featured-side { display: flex; flex-direction: column; gap: 16px; }
.featured-side-card {
    display: flex; gap: 14px; background: var(--white); border-radius: var(--radius-lg);
    padding: 12px; box-shadow: var(--shadow); transition: var(--transition);
}
.featured-side-card:hover { box-shadow: var(--shadow-lg); }
.fsc-img {
    width: 110px; height: 90px; flex-shrink: 0; border-radius: 10px; overflow: hidden; display: block;
}
.fsc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.featured-side-card:hover .fsc-img img { transform: scale(1.05); }
.fsc-body { flex: 1; display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.fsc-body h4 { font-size: .95rem; font-weight: 700; line-height: 1.4; margin: 4px 0; }
.fsc-body h4 a { color: var(--dark); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.fsc-body h4 a:hover { color: var(--primary); }

/* === Categories Grid === */
.categories-section { background: var(--white); }
.categories-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}
.category-card {
    display: flex; flex-direction: column; align-items: center;
    text-align: center; padding: 32px 20px; border-radius: var(--radius-lg);
    background: var(--gray-bg); border: 2px solid transparent;
    transition: var(--transition);
}
.category-card:hover {
    border-color: var(--primary); background: var(--primary-light);
    transform: translateY(-4px); box-shadow: var(--shadow-md);
}
.category-icon {
    width: 64px; height: 64px; border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white; display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; margin-bottom: 16px;
}
.category-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.category-card p { font-size: .85rem; color: var(--gray); margin-bottom: 12px; }
.category-count { font-size: .8rem; color: var(--primary); font-weight: 600; }

/* === Posts Grid === */
.posts-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}
.post-card {
    background: var(--white); border-radius: var(--radius-lg);
    overflow: hidden; box-shadow: var(--shadow);
    transition: var(--transition);
}
.post-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.post-thumbnail {
    display: block; position: relative; overflow: hidden;
    aspect-ratio: 16/10;
}
.post-thumbnail img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .5s ease;
}
.post-card:hover .post-thumbnail img { transform: scale(1.05); }
.placeholder-img {
    width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--gray-lighter), var(--gray-bg));
    color: var(--gray-light); font-size: 2.5rem;
}
.rating-badge {
    position: absolute; top: 12px; right: 12px;
    background: var(--secondary); color: white; padding: 4px 10px;
    border-radius: 20px; font-size: .8rem; font-weight: 700;
    display: flex; align-items: center; gap: 4px;
}
.post-content { padding: 20px; }
.post-meta {
    display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
    margin-bottom: 10px; font-size: .82rem;
}
.category-tag {
    background: var(--primary-light); color: var(--primary);
    padding: 3px 10px; border-radius: 20px; font-weight: 600;
    font-size: .78rem;
}
.post-meta time { color: var(--gray-light); }
.post-content h2, .post-content h3 {
    font-size: 1.05rem; font-weight: 700; line-height: 1.4;
    margin-bottom: 8px;
}
.post-content h2 a, .post-content h3 a { color: var(--dark); }
.post-content h2 a:hover, .post-content h3 a:hover { color: var(--primary); }
.post-content > p { color: var(--gray); font-size: .9rem; line-height: 1.6; }
.post-footer {
    display: flex; align-items: center; justify-content: space-between;
    margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--gray-lighter);
}
.views { color: var(--gray-light); font-size: .82rem; }
.read-more {
    color: var(--primary); font-weight: 600; font-size: .85rem;
    display: flex; align-items: center; gap: 4px;
}
.read-more:hover { gap: 8px; }

/* Load More Button */
.btn-load-more {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 32px; border-radius: 50px;
    background: var(--primary); color: #fff;
    font-weight: 600; font-size: .95rem;
    text-decoration: none; transition: all .2s;
    box-shadow: 0 2px 8px rgba(59,130,246,.3);
}
.btn-load-more:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 4px 16px rgba(59,130,246,.4); }

/* === Trust Section === */
.trust-section { background: linear-gradient(135deg, #f0f9ff, #e0f2fe); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.trust-card {
    text-align: center; padding: 32px 24px; background: var(--white);
    border-radius: var(--radius-lg); box-shadow: var(--shadow);
    transition: var(--transition);
}
.trust-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.trust-icon {
    width: 56px; height: 56px; border-radius: 50%;
    background: var(--primary-light); color: var(--primary);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem; margin: 0 auto 16px;
}
.trust-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.trust-card p { font-size: .88rem; color: var(--gray); line-height: 1.6; }

/* === Content with Sidebar === */
.content-with-sidebar {
    display: grid; grid-template-columns: 1fr 340px; gap: 40px;
    align-items: start;
}

/* === Sidebar === */
.widget {
    background: var(--white); border-radius: var(--radius-lg);
    padding: 24px; margin-bottom: 24px; box-shadow: var(--shadow);
}
.widget-title {
    font-size: 1.1rem; font-weight: 700; margin-bottom: 16px;
    padding-bottom: 12px; border-bottom: 2px solid var(--primary-light);
}
.search-input-wrap {
    display: flex; border: 2px solid var(--gray-lighter); border-radius: var(--radius);
    overflow: hidden;
}
.search-input-wrap input {
    flex: 1; padding: 10px 14px; border: none; outline: none; font-size: .95rem;
}
.search-input-wrap button {
    padding: 10px 14px; color: var(--gray); transition: var(--transition);
}
.search-input-wrap button:hover { color: var(--primary); }

.popular-post-item {
    display: flex; gap: 14px; padding: 12px 0;
    border-bottom: 1px solid var(--gray-lighter);
}
.popular-post-item:last-child { border-bottom: none; }
.popular-number {
    min-width: 32px; height: 32px; border-radius: 50%;
    background: var(--primary-light); color: var(--primary);
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: .85rem; flex-shrink: 0;
}
.popular-content h4 { font-size: .88rem; font-weight: 600; line-height: 1.4; margin-bottom: 4px; }
.popular-content h4 a { color: var(--dark); }
.popular-content h4 a:hover { color: var(--primary); }
.popular-meta { display: flex; gap: 10px; font-size: .78rem; color: var(--gray-light); }
.popular-meta .rating-badge { position: static; font-size: .75rem; padding: 2px 6px; }

.category-list li a {
    display: flex; justify-content: space-between; align-items: center;
    padding: 10px 0; color: var(--dark-2); border-bottom: 1px solid var(--gray-lighter);
    font-size: .92rem;
}
.category-list li:last-child a { border-bottom: none; }
.category-sub-list { padding-left: 14px; }
.category-sub-list li a {
    font-size: .85rem; padding: 7px 0; color: var(--gray);
}
.category-sub-list li a:hover { color: var(--primary); }
.category-list .count {
    background: var(--gray-lighter); padding: 2px 8px; border-radius: 12px;
    font-size: .78rem; font-weight: 600;
}

.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-item {
    display: inline-block; padding: 5px 12px; background: var(--gray-bg);
    border: 1px solid var(--gray-lighter); border-radius: 20px;
    font-size: .82rem; color: var(--dark-2); transition: var(--transition);
}
.tag-item:hover { background: var(--primary-light); color: var(--primary); border-color: var(--primary); }

/* === Breadcrumb === */
.breadcrumb { background: var(--white); border-bottom: 1px solid var(--gray-lighter); }
.breadcrumb ol {
    display: flex; align-items: center; gap: 8px; padding: 14px 0;
    font-size: .88rem; flex-wrap: wrap;
}
.breadcrumb li { display: flex; align-items: center; gap: 8px; }
.breadcrumb li::after { content: '/'; color: var(--gray-light); }
.breadcrumb li:last-child::after { display: none; }
.breadcrumb a { color: var(--gray); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb li[aria-current] { color: var(--dark); font-weight: 500; }

/* === Page Header === */
.page-header {
    padding: 40px 0; background: var(--white);
    border-bottom: 1px solid var(--gray-lighter);
    text-align: center;
}
.page-title { font-size: 2rem; font-weight: 800; margin-bottom: 8px; }
.page-desc { color: var(--gray); font-size: 1.05rem; }
.result-count { color: var(--primary); font-weight: 600; font-size: .92rem; margin-top: 8px; }

/* === Single Post === */
.single-post { padding: 40px 0; }
.article-header { margin-bottom: 24px; }
.article-header .post-meta { margin-bottom: 16px; font-size: .88rem; }
.article-header h1 { font-size: 2.2rem; font-weight: 800; line-height: 1.3; margin-bottom: 16px; }
.article-excerpt { font-size: 1.1rem; color: var(--gray); line-height: 1.7; }
.updated-badge { color: var(--accent); font-weight: 500; }

.article-thumbnail {
    border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 32px;
}
.article-thumbnail img { width: 100%; height: auto; }

/* Review Summary Box */
.review-summary-box {
    background: linear-gradient(135deg, #fefce8, #fef3c7);
    border: 2px solid var(--secondary);
    border-radius: var(--radius-lg); padding: 32px; margin-bottom: 32px;
}
.review-rating-big { text-align: center; margin-bottom: 24px; }
.rating-circle { display: inline-flex; align-items: baseline; gap: 2px; }
.rating-number { font-size: 3.5rem; font-weight: 800; color: var(--secondary-dark); }
.rating-max { font-size: 1.5rem; color: var(--gray); }
.rating-stars { display: flex; justify-content: center; gap: 4px; margin: 8px 0; font-size: 1.2rem; }
.rating-stars i { color: var(--gray-lighter); }
.rating-stars i.active { color: var(--secondary); }
.product-name { color: var(--gray); font-size: .95rem; }

.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.pros h3 { color: var(--accent); }
.cons h3 { color: var(--danger); }
.pros-cons h3 { font-size: 1rem; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.pros-cons ul { display: flex; flex-direction: column; gap: 8px; }
.pros-cons li { display: flex; align-items: flex-start; gap: 8px; font-size: .92rem; line-height: 1.5; }
.pros li i { color: var(--accent); margin-top: 4px; flex-shrink: 0; }
.cons li i { color: var(--danger); margin-top: 4px; flex-shrink: 0; }

/* Table of Contents */
.toc-wrapper {
    background: var(--gray-bg); border: 1px solid var(--gray-lighter);
    border-radius: var(--radius); margin-bottom: 32px; overflow: hidden;
}
.toc-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 20px; background: var(--white);
    border-bottom: 1px solid var(--gray-lighter);
}
.toc-header h3 { font-size: 1rem; display: flex; align-items: center; gap: 8px; }
.toc-toggle { color: var(--gray); padding: 4px; }
.toc-content { padding: 16px 20px; }
.toc-content ol { list-style: decimal; padding-left: 20px; }
.toc-content li { padding: 4px 0; }
.toc-content a { color: var(--dark-2); font-size: .92rem; }
.toc-content a:hover { color: var(--primary); }

/* Article Content */
.article-content {
    font-size: 1.05rem; line-height: 1.8; margin-bottom: 32px;
}
.article-content h2 {
    font-size: 1.5rem; font-weight: 700; margin: 40px 0 16px;
    padding-bottom: 10px; border-bottom: 2px solid var(--primary-light);
}
.article-content h3 { font-size: 1.25rem; font-weight: 600; margin: 32px 0 12px; }
.article-content h4 { font-size: 1.1rem; font-weight: 600; margin: 24px 0 10px; }
.article-content p { margin-bottom: 16px; }
.article-content ul, .article-content ol { margin: 16px 0; padding-left: 24px; }
.article-content ul { list-style: disc; }
.article-content ol { list-style: decimal; }
.article-content li { margin-bottom: 8px; }
.article-content img {
    border-radius: var(--radius); margin: 24px 0;
    box-shadow: var(--shadow);
}
.article-content blockquote {
    border-left: 4px solid var(--primary); padding: 16px 24px;
    background: var(--primary-light); margin: 24px 0; border-radius: 0 var(--radius) var(--radius) 0;
    font-style: italic; color: var(--dark-2);
}
.article-content table {
    width: 100%; border-collapse: collapse; margin: 24px 0;
    border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
}
.article-content th, .article-content td {
    padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--gray-lighter);
}
.article-content th { background: var(--primary); color: white; font-weight: 600; }
.article-content tr:hover { background: var(--gray-bg); }
.article-content a { color: var(--primary); text-decoration: underline; }
.article-content strong { font-weight: 700; }

/* Verdict Box */
.verdict-box {
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
    border: 2px solid var(--accent); border-radius: var(--radius-lg);
    padding: 28px; margin-bottom: 32px;
}
.verdict-box h3 {
    font-size: 1.2rem; margin-bottom: 12px;
    display: flex; align-items: center; gap: 8px; color: var(--accent);
}
.verdict-box p { font-size: 1.02rem; line-height: 1.7; }
.verdict-rating { margin-top: 16px; font-size: .95rem; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

/* Product CTA */
.product-cta {
    text-align: center; padding: 28px; background: var(--gray-bg);
    border-radius: var(--radius-lg); margin-bottom: 32px;
}
.btn-cta {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 16px 40px; background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    color: white; border-radius: 50px; font-weight: 700;
    font-size: 1.1rem; box-shadow: var(--shadow-md);
    transition: var(--transition);
}
.btn-cta:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); color: white; }
.product-price { margin-top: 12px; color: var(--gray); font-size: .92rem; }

/* Tags */
.article-tags {
    display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
    margin-bottom: 24px; padding: 20px 0; border-top: 1px solid var(--gray-lighter);
}
.article-tags > span { color: var(--gray); font-weight: 600; }

/* Share Buttons */
.share-buttons {
    display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
    margin-bottom: 32px; padding: 20px 0; border-top: 1px solid var(--gray-lighter);
}
.share-buttons > span { font-weight: 600; color: var(--dark); }
.share-btn {
    width: 40px; height: 40px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: white; font-size: .9rem; transition: var(--transition);
}
.share-btn:hover { transform: translateY(-2px); color: white; }
.share-btn.facebook { background: #1877f2; }
.share-btn.twitter { background: #1da1f2; }
.share-btn.pinterest { background: #bd081c; }
.share-btn.copy-link { background: var(--gray); }

/* Author Box */
.author-box {
    display: flex; gap: 20px; align-items: center;
    padding: 24px; background: var(--gray-bg);
    border-radius: var(--radius-lg); margin-bottom: 40px;
}
.author-avatar img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; }
.author-avatar-initial { width: 80px; height: 80px; border-radius: 50%; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 2rem; font-weight: 700; flex-shrink: 0; }
.author-info h4 { font-size: 1.05rem; margin-bottom: 6px; }
.author-info p { color: var(--gray); font-size: .9rem; line-height: 1.6; }

/* Related Posts */
.related-posts { margin-top: 48px; }
.related-posts h2 {
    font-size: 1.3rem; margin-bottom: 24px;
    display: flex; align-items: center; gap: 8px;
}
.related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.related-card {
    background: var(--white); border-radius: var(--radius);
    overflow: hidden; box-shadow: var(--shadow); transition: var(--transition);
}
.related-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.related-thumbnail { display: block; aspect-ratio: 16/10; overflow: hidden; }
.related-thumbnail img { width: 100%; height: 100%; object-fit: cover; }
.related-card h3 { padding: 12px 16px 4px; font-size: .92rem; line-height: 1.4; }
.related-card h3 a { color: var(--dark); }
.related-card h3 a:hover { color: var(--primary); }
.related-card time { padding: 0 16px 12px; display: block; font-size: .78rem; color: var(--gray-light); }

/* === Pagination === */
.pagination {
    display: flex; justify-content: center; align-items: center; gap: 8px;
    margin-top: 40px; padding-top: 32px;
}
.page-link {
    display: flex; align-items: center; justify-content: center;
    min-width: 42px; height: 42px; padding: 0 14px;
    border: 1px solid var(--gray-lighter); border-radius: var(--radius-sm);
    color: var(--dark-2); font-weight: 500; font-size: .92rem;
    background: var(--white); transition: var(--transition);
}
.page-link:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }
.page-link.active { background: var(--primary); color: white; border-color: var(--primary); }

/* === No Results === */
.no-results {
    text-align: center; padding: 60px 20px; color: var(--gray);
}
.no-results i { font-size: 3rem; margin-bottom: 16px; color: var(--gray-light); }
.no-results h2 { font-size: 1.4rem; color: var(--dark); margin-bottom: 8px; }
.btn { display: inline-block; padding: 12px 28px; border-radius: var(--radius); font-weight: 600; transition: var(--transition); }
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-dark); color: white; }

/* === Search Page === */
.search-page-form {
    max-width: 560px; margin: 20px auto 0;
    display: flex; gap: 10px;
}
.search-page-form input {
    flex: 1; padding: 12px 20px; border: 2px solid var(--gray-lighter);
    border-radius: var(--radius); outline: none; font-size: 1rem;
}
.search-page-form input:focus { border-color: var(--primary); }
.search-page-form button {
    padding: 12px 24px; background: var(--primary); color: white;
    border-radius: var(--radius); font-weight: 600;
    display: flex; align-items: center; gap: 8px;
}

/* === Footer === */
.site-footer { background: var(--dark); color: rgba(255,255,255,.8); padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.footer-logo {
    display: flex; align-items: center; gap: 10px; margin-bottom: 16px;
    font-size: 1.3rem; font-weight: 800; color: white;
}
.footer-about { font-size: .9rem; line-height: 1.7; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
    width: 38px; height: 38px; border-radius: 50%;
    background: rgba(255,255,255,.1); color: white;
    display: flex; align-items: center; justify-content: center;
    transition: var(--transition);
}
.footer-social a:hover { background: var(--primary); }
.footer-heading { color: white; font-size: 1.05rem; font-weight: 700; margin-bottom: 20px; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,.7); font-size: .9rem; }
.footer-links a:hover { color: white; }
.footer-contact li { display: flex; align-items: center; gap: 8px; }
.footer-contact i { width: 16px; color: var(--primary); }

.footer-bottom {
    margin-top: 40px; padding: 24px 0; border-top: 1px solid rgba(255,255,255,.1);
    text-align: center; font-size: .85rem;
}
.footer-disclaimer { color: rgba(255,255,255,.5); font-size: .78rem; margin-top: 8px; }

/* === Back to Top === */
.back-to-top {
    position: fixed; bottom: 24px; right: 24px;
    width: 48px; height: 48px; border-radius: 50%;
    background: var(--primary); color: white;
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow-lg); z-index: 100;
    opacity: 0; visibility: hidden; transform: translateY(20px);
    transition: var(--transition);
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--primary-dark); transform: translateY(-2px); }

/* === Responsive === */
@media (max-width: 1024px) {
    .content-with-sidebar { grid-template-columns: 1fr; }
    .sidebar { order: 2; }
    .trust-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .main-nav { display: none; }
    .mobile-toggle { display: flex; }
    
    .hero-title { font-size: 1.8rem; }
    .hero-subtitle { font-size: 1rem; }
    .hero-stats { gap: 24px; }
    .stat-number { font-size: 1.5rem; }
    
    .hero-search form { flex-direction: column; border-radius: var(--radius); }
    .hero-search input { border-radius: var(--radius) var(--radius) 0 0; }
    .hero-search button { border-radius: 0 0 var(--radius) var(--radius); padding: 14px; }
    
    .featured-grid { grid-template-columns: 1fr; gap: 16px; }
    .featured-main-img { aspect-ratio: 16/9; }
    .featured-main-body { padding: 14px 16px 16px; }
    .featured-main-body h3 { font-size: 1.1rem; }
    .featured-side { gap: 12px; }
    .featured-side-card { padding: 10px; gap: 10px; }
    .fsc-img { width: 90px; height: 72px; }
    .fsc-body h4 { font-size: .85rem; }
    
    .posts-grid { grid-template-columns: 1fr; }
    
    .article-header h1 { font-size: 1.6rem; }
    .pros-cons { grid-template-columns: 1fr; }
    .related-grid { grid-template-columns: 1fr; }
    
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    
    .section { padding: 40px 0; }
    .section-title { font-size: 1.3rem; }
}

@media (max-width: 480px) {
    .container { padding: 0 15px; }
    .header-inner { height: 60px; }
    .hero-section { padding: 50px 0; }
    .hero-title { font-size: 1.5rem; }
    .categories-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .category-card { padding: 20px 12px; }
    .category-icon { width: 48px; height: 48px; font-size: 1.2rem; }
    .rating-number { font-size: 2.5rem; }
}

/* === Print Styles === */
@media print {
    .site-header, .site-footer, .sidebar, .share-buttons, .back-to-top,
    .related-posts, .product-cta, .search-overlay, .mobile-menu { display: none !important; }
    body { font-size: 12pt; color: #000; background: #fff; }
    .content-with-sidebar { grid-template-columns: 1fr; }
    a { color: #000; text-decoration: underline; }
    .article-content { font-size: 11pt; }
}

/* === Author Profile Page === */
.author-profile-section { padding: 40px 0 20px; }
.author-profile-card {
    display: flex; gap: 30px; align-items: center;
    padding: 32px; background: var(--white);
    border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
}
.author-avatar-large img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; }
.avatar-placeholder-lg {
    width: 120px; height: 120px; border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex; align-items: center; justify-content: center;
    font-size: 2.5rem; color: white;
}
.author-info h1 { font-size: 1.6rem; margin-bottom: 4px; }
.author-role { display: inline-block; padding: 2px 10px; background: var(--primary-bg); color: var(--primary); border-radius: 20px; font-size: .8rem; font-weight: 600; margin-bottom: 8px; }
.author-bio { color: var(--gray); font-size: .95rem; line-height: 1.7; margin-bottom: 12px; max-width: 600px; }
.author-stats-bar { display: flex; gap: 20px; margin-bottom: 12px; }
.author-stats-bar .stat-item { font-size: .9rem; color: var(--gray); }
.author-stats-bar .stat-item strong { color: var(--dark); font-size: 1.1rem; }
.author-social { display: flex; gap: 10px; }
.author-social a { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--gray-bg); color: var(--gray); transition: var(--transition); }
.author-social a:hover { background: var(--primary); color: white; }
.section-title-sm { font-size: 1.2rem; margin-bottom: 24px; padding-bottom: 12px; border-bottom: 2px solid var(--gray-bg); }

/* Auto-link styling */
a.auto-link { color: var(--primary); text-decoration: none; border-bottom: 1px dotted var(--primary); }
a.auto-link:hover { border-bottom-style: solid; }

@media (max-width: 768px) {
    .author-profile-card { flex-direction: column; text-align: center; padding: 24px; }
    .author-info { display: flex; flex-direction: column; align-items: center; }
    .author-stats-bar { justify-content: center; }
    .author-social { justify-content: center; }
}

/* ============================================
   LOAN TEMPLATE - Vay Tiền Page
   Premium Professional Design
   ============================================ */

/* Hero Section */
.loan-hero {
    position: relative;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 40%, #1a365d 70%, #0f172a 100%);
    color: #fff;
    padding: 70px 0 60px;
    text-align: center;
    overflow: hidden;
}
.loan-hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(59,130,246,0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(16,185,129,0.1) 0%, transparent 40%),
        radial-gradient(circle at 60% 80%, rgba(139,92,246,0.08) 0%, transparent 40%);
    pointer-events: none;
}
.loan-hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='1.5'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}
.loan-hero-inner {
    position: relative;
    z-index: 1;
}
.loan-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(16,185,129,0.15);
    border: 1px solid rgba(16,185,129,0.3);
    color: #6ee7b7;
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 20px;
    backdrop-filter: blur(6px);
}
.loan-hero-badge i { font-size: 0.9rem; }
.loan-hero h1 {
    font-size: 2.8rem;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 14px;
    background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}
.loan-hero-subtitle {
    font-size: 1.15rem;
    color: #94a3b8;
    font-weight: 400;
    margin-bottom: 28px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Hero Stats */
.loan-hero-stats {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}
.hero-stat {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    color: #cbd5e1;
    background: rgba(255,255,255,0.06);
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(4px);
}
.hero-stat i {
    color: #60a5fa;
    font-size: 0.85rem;
}
.hero-stat strong { color: #fff; }

/* Top Picks Section */
.loan-top-picks {
    max-width: 920px;
    margin: 0 auto;
}
.loan-top-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fbbf24;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.loan-top-title i {
    font-size: 1.1rem;
}
.loan-top-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.top-pick-card {
    position: relative;
    background: rgba(255,255,255,0.97);
    border-radius: 16px;
    padding: 28px 20px 20px;
    text-align: center;
    transition: transform 0.3s cubic-bezier(0.4,0,0.2,1), box-shadow 0.3s;
    border: 1px solid rgba(255,255,255,0.1);
}
.top-pick-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    border-radius: 16px 16px 0 0;
    background: linear-gradient(90deg, #3b82f6, #10b981, #8b5cf6);
}
.top-pick-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}
.pick-rank {
    position: absolute;
    top: 12px;
    left: 14px;
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 800;
    box-shadow: 0 3px 8px rgba(37,99,235,0.3);
}
.pick-logo-wrap {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    background: #f1f5f9;
    border: 2px solid #e2e8f0;
}
.pick-logo-wrap img {
    max-width: 50px;
    max-height: 50px;
    object-fit: contain;
}
.pick-logo-initial {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    font-weight: 900;
    color: #3b82f6;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
}
.pick-name {
    font-weight: 800;
    color: #1e293b;
    font-size: 1.05rem;
    margin-bottom: 6px;
    letter-spacing: -0.3px;
}
.pick-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 6px;
}
.pick-stars {
    color: #f59e0b;
    font-size: 0.75rem;
}
.pick-stars i { margin-right: 1px; }
.pick-score {
    font-size: 0.78rem;
    font-weight: 700;
    color: #1e293b;
    background: #fef3c7;
    padding: 2px 7px;
    border-radius: 4px;
}
.pick-amount {
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 14px;
    font-weight: 500;
}
.btn-pick {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff !important;
    padding: 11px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.92rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
    box-shadow: 0 4px 12px rgba(16,185,129,0.3);
}
.btn-pick:hover {
    background: linear-gradient(135deg, #059669, #047857);
    box-shadow: 0 6px 20px rgba(16,185,129,0.4);
    transform: translateY(-1px);
}
.btn-pick i { font-size: 0.82rem; }
.pick-info {
    display: block;
    margin-top: 8px;
    font-size: 0.78rem;
    color: #64748b;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}
.pick-info:hover { color: #3b82f6; }

/* Loan Page Content */
.loan-page-content {
    padding: 40px 0 50px;
    background: #f8fafc;
}
.loan-intro {
    max-width: 900px;
    margin: 0 auto 30px;
}
.loan-body-content {
    max-width: 900px;
    margin: 30px auto 0;
}

/* Loan Cards Section */
.loan-cards-section {
    max-width: 960px;
    margin: 0 auto;
}
.loan-cards-header {
    text-align: center;
    margin-bottom: 30px;
}
.loan-cards-header h2 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.loan-cards-header h2 i {
    color: #3b82f6;
    font-size: 1.3rem;
}
.loan-cards-header p {
    color: #64748b;
    font-size: 0.92rem;
}

/* Individual Loan Card */
.loan-card {
    position: relative;
    display: grid;
    grid-template-columns: 48px 180px 1fr 220px;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: visible;
    margin-bottom: 14px;
    background: #fff;
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.loan-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    transform: translateY(-3px);
    border-color: #cbd5e1;
}
.loan-card-top {
    border-color: #fbbf24;
    border-width: 2px;
    background: linear-gradient(135deg, #fffbeb 0%, #ffffff 6%);
}

/* Rank Column */
.loan-card-rank {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border-right: 1px solid #f1f5f9;
    border-radius: 16px 0 0 16px;
}
.rank-num {
    font-size: 1.1rem;
    font-weight: 900;
    color: #94a3b8;
}
.loan-card-top .rank-num {
    color: #f59e0b;
}
.loan-card:nth-child(-n+3) .rank-num {
    color: #3b82f6;
    font-size: 1.2rem;
}

/* Top Badge */
.loan-card-badge {
    position: absolute;
    top: 0;
    left: 60px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    padding: 4px 14px 5px;
    font-size: 0.7rem;
    font-weight: 800;
    border-radius: 0 0 8px 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
    box-shadow: 0 3px 8px rgba(245,158,11,0.35);
    display: flex;
    align-items: center;
    gap: 5px;
}
.loan-card-badge i { font-size: 0.65rem; }

/* Logo Area */
.loan-card-logo {
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-right: 1px solid #f1f5f9;
    background: #fafbfc;
}
.loan-card-logo img {
    max-width: 100px;
    max-height: 50px;
    object-fit: contain;
}
.loan-logo-initial {
    width: 70px;
    height: 50px;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    font-weight: 900;
    color: #3b82f6;
    border: 1px solid #bfdbfe;
}
.loan-card-provider {
    font-size: 0.85rem;
    font-weight: 800;
    color: #1e293b;
    text-align: center;
    letter-spacing: -0.2px;
}
.loan-card-stars {
    display: flex;
    align-items: center;
    gap: 4px;
}
.loan-card-stars .loan-stars {
    color: #f59e0b;
    font-size: 0.7rem;
}
.loan-card-stars .loan-stars i { margin-right: 0; }
.loan-card-stars .loan-score {
    font-weight: 800;
    color: #1e293b;
    font-size: 0.78rem;
    background: #fef3c7;
    padding: 1px 6px;
    border-radius: 4px;
}

/* Info Area */
.loan-card-info {
    padding: 18px 20px;
}
.loan-info-row {
    display: flex;
    gap: 20px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}
.loan-info-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}
.info-icon {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: #eff6ff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.info-icon i {
    font-size: 0.75rem;
    color: #3b82f6;
}
.loan-info-item .info-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.info-value {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    color: #1e293b;
}

/* Features Grid */
.loan-features-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.loan-feature {
    font-size: 0.78rem;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 5px;
    background: #f0fdf4;
    padding: 3px 10px;
    border-radius: 6px;
    border: 1px solid #dcfce7;
}
.loan-feature i {
    color: #10b981;
    font-size: 0.7rem;
    flex-shrink: 0;
}

/* Action Area */
.loan-card-action {
    padding: 18px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-left: 1px solid #f1f5f9;
    overflow: visible;
    border-radius: 0 16px 16px 0;
}

/* Apply Button */
.btn-loan-apply {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff !important;
    padding: 12px 20px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.92rem;
    text-decoration: none;
    border: none;
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
    box-shadow: 0 4px 12px rgba(16,185,129,0.25);
}
.btn-loan-apply:hover {
    background: linear-gradient(135deg, #059669, #047857);
    box-shadow: 0 6px 20px rgba(16,185,129,0.4);
    transform: translateY(-1px);
}
.btn-loan-apply i { font-size: 0.82rem; }

.loan-detail-link {
    font-size: 0.8rem;
    color: #3b82f6;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.2s;
}
.loan-detail-link:hover { color: #2563eb; text-decoration: underline; }
.loan-detail-link i { font-size: 0.72rem; }

.loan-info-link {
    font-size: 0.72rem;
    color: #94a3b8;
    text-decoration: none;
    font-weight: 500;
    white-space: nowrap;
}
.loan-info-link:hover { color: #64748b; }

/* Info link under info row */
.loan-info-under {
    margin-top: -4px;
    margin-bottom: 8px;
}
.loan-info-under .loan-tooltip {
    bottom: auto;
    top: calc(100% + 8px);
    left: 0;
    transform: translateX(0);
}
.loan-info-under .loan-tooltip::after {
    top: auto;
    bottom: 100%;
    left: 20px;
    transform: none;
    border-top-color: transparent;
    border-bottom-color: #334155;
}
.loan-info-under:hover .loan-tooltip {
    transform: translateY(4px);
}

/* Tooltip for *Thông tin */
.loan-tooltip-wrap {
    position: relative;
    display: inline-block;
}
.loan-tooltip {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #334155, #1e293b);
    color: #e2e8f0;
    padding: 14px 18px;
    border-radius: 12px;
    font-size: 0.82rem;
    line-height: 1.65;
    width: 320px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25), 0 0 0 1px rgba(255,255,255,0.08);
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s cubic-bezier(0.4,0,0.2,1);
    z-index: 100;
    pointer-events: none;
    text-align: left;
    backdrop-filter: blur(8px);
}
.loan-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 7px solid transparent;
    border-top-color: #1e293b;
}
.loan-tooltip-wrap:hover .loan-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-4px);
}
.top-pick-card .loan-tooltip {
    bottom: calc(100% + 8px);
    width: 280px;
}
.loan-card-action .loan-tooltip-wrap {
    width: 100%;
    text-align: center;
}

/* Show More Button */
.loan-show-more {
    text-align: center;
    margin: 28px 0;
}
.btn-show-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 40px;
    border: 2px solid #3b82f6;
    color: #3b82f6;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.92rem;
    cursor: pointer;
    background: #fff;
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}
.btn-show-more:hover {
    background: #3b82f6;
    color: #fff;
    box-shadow: 0 6px 20px rgba(59,130,246,0.3);
    transform: translateY(-2px);
}
.btn-show-more i {
    font-size: 0.8rem;
    transition: transform 0.3s;
}
.btn-show-more.expanded i {
    transform: rotate(180deg);
}

/* TOC for Loan Page */
.loan-page-content .toc-wrapper {
    max-width: 900px;
    margin: 0 auto 30px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px 24px;
}
.toc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}
.toc-header h3 {
    font-size: 1rem;
    color: #1e293b;
    margin: 0;
}
.toc-toggle {
    background: none;
    border: none;
    color: #64748b;
    cursor: pointer;
    font-size: 1rem;
    padding: 4px;
}
.toc-content { margin-top: 12px; }
.toc-content ol {
    list-style: decimal;
    padding-left: 20px;
    margin: 0;
}
.toc-content ol li {
    margin-bottom: 6px;
    font-size: 0.9rem;
}
.toc-content ol li a {
    color: #2563eb;
    text-decoration: none;
}
.toc-content ol li a:hover {
    text-decoration: underline;
}

/* === Loan Template Responsive === */
@media (max-width: 1024px) {
    .loan-card {
        grid-template-columns: 44px 160px 1fr 180px;
    }
    .loan-info-row { gap: 14px; }
}

@media (max-width: 768px) {
    .loan-hero { padding: 50px 0 40px; }
    .loan-hero h1 { font-size: 1.8rem; }
    .loan-hero-subtitle { font-size: 0.95rem; }
    .loan-hero-stats { gap: 10px; }
    .hero-stat { font-size: 0.8rem; padding: 6px 12px; }
    .loan-top-grid { grid-template-columns: 1fr; max-width: 340px; margin: 0 auto; }
    .pick-rank { top: 10px; left: 10px; }

    .loan-card {
        grid-template-columns: 1fr;
    }
    .loan-card-rank {
        display: none;
    }
    .loan-card-logo {
        flex-direction: row;
        border-right: none;
        border-bottom: 1px solid #f1f5f9;
        padding: 14px 16px;
        justify-content: flex-start;
        gap: 12px;
    }
    .loan-card-info { padding: 14px 16px; }
    .loan-info-row { flex-direction: column; gap: 10px; }
    .loan-features-grid { flex-direction: column; }
    .loan-card-action {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        padding: 14px 16px;
        border-top: 1px solid #f1f5f9;
        border-left: none;
        background: #fafbfc;
    }
    .btn-loan-apply {
        width: auto;
        padding: 11px 30px;
    }
    .loan-cards-header h2 { font-size: 1.3rem; }
}
    .loan-card-action {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 16px;
        border-top: 1px solid #f1f5f9;
    }
    .btn-loan-apply {
        padding: 10px 24px;
    }
}

@media (max-width: 480px) {
    .loan-hero h1 { font-size: 1.4rem; }
    .loan-hero-stats { flex-direction: column; align-items: center; }
    .loan-card-action {
        flex-direction: column;
        align-items: center;
    }
    .btn-loan-apply { width: 100%; }
    .loan-cards-header h2 { font-size: 1.1rem; }
    .loan-cards-header h2 i { display: none; }
}

/* ============================================
   LOAN SINGLE TEMPLATE - Trang đánh giá chi tiết
   Premium Professional Design
   ============================================ */

/* Header Bar */
.ls-header {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-bottom: 1px solid #e2e8f0;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.ls-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.ls-header-left {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.ls-title {
    font-size: 1.8rem;
    font-weight: 900;
    color: #0f172a;
    margin: 0;
    letter-spacing: -0.5px;
}
.ls-header-meta {
    display: flex;
    align-items: center;
    gap: 12px;
}
.ls-header-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #ecfdf5;
    color: #059669;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    border: 1px solid #a7f3d0;
}
.ls-header-badge i {
    font-size: 0.7rem;
}
.ls-header-score {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #f59e0b;
}
.btn-ls-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff !important;
    padding: 14px 36px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(16,185,129,0.3);
    letter-spacing: 0.3px;
}
.btn-ls-cta:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    box-shadow: 0 6px 20px rgba(16,185,129,0.45);
    transform: translateY(-2px);
}
.btn-ls-cta i {
    font-size: 0.85rem;
}

/* Hero Section - Logo + Rating + Amount */
.ls-hero {
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 48px 0 40px;
    border-bottom: 1px solid #e2e8f0;
}
.ls-hero-card {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
    background: #fff;
    border-radius: 20px;
    padding: 40px 40px 32px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06), 0 1px 4px rgba(0,0,0,0.04);
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}
.ls-hero-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #10b981, #3b82f6, #8b5cf6);
}
.ls-hero-logo-wrap {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    border: 1px solid #f1f5f9;
    padding: 12px;
}
.ls-hero-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.ls-rating-block {
    margin-bottom: 4px;
}
.ls-rating-label {
    font-size: 0.72rem;
    font-weight: 800;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}
.ls-stars-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
}
.ls-stars-big {
    color: #f59e0b;
    font-size: 2rem;
    display: flex;
    gap: 4px;
    filter: drop-shadow(0 1px 2px rgba(245,158,11,0.3));
}
.ls-stars-big i {
    margin: 0;
}
.ls-score-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #1e293b, #334155);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 900;
    box-shadow: 0 2px 8px rgba(30,41,59,0.3);
}
.ls-hero-divider {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #cbd5e1, transparent);
    margin: 0 auto 20px;
}
.ls-amount-block {
    margin-bottom: 8px;
}
.ls-info-label {
    font-size: 0.72rem;
    font-weight: 800;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 6px;
}
.ls-amount-big {
    font-size: 2rem;
    font-weight: 900;
    color: #0f172a;
    line-height: 1.3;
    letter-spacing: -0.5px;
}
.ls-info-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8rem;
    color: #64748b;
    text-decoration: none;
    padding: 4px 0;
    transition: color 0.2s;
}
.ls-info-link:hover {
    color: #2563eb;
}
.ls-info-link i {
    font-size: 0.7rem;
}

/* Info Table: Thông tin | Ưu điểm | Nhược điểm */
.ls-info-table {
    padding: 40px 0;
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
}
.ls-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    max-width: 960px;
    margin: 0 auto;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.ls-info-col {
    padding: 24px;
}
.ls-info-col h3 {
    font-size: 0.95rem;
    font-weight: 800;
    color: #1e293b;
    margin: 0 0 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.ls-info-col h3 i {
    font-size: 0.85rem;
    opacity: 0.7;
}
.ls-info-col + .ls-info-col {
    border-left: 1px solid #e2e8f0;
}
.ls-detail-table {
    width: 100%;
}
.ls-detail-table tr td {
    padding: 8px 0;
    font-size: 0.85rem;
    color: #475569;
    vertical-align: middle;
    border-bottom: 1px solid #f1f5f9;
}
.ls-detail-table tr:last-child td {
    border-bottom: none;
}
.ls-detail-table tr td:first-child {
    white-space: nowrap;
    padding-right: 16px;
    color: #64748b;
}
.ls-detail-table tr td:first-child i {
    width: 20px;
    margin-right: 8px;
    color: #94a3b8;
    text-align: center;
}
.ls-detail-table tr td:last-child {
    font-weight: 600;
    color: #1e293b;
}
.ls-detail-table tr td:last-child a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
}
.ls-detail-table tr td:last-child a:hover {
    text-decoration: underline;
}

/* Ưu điểm */
.ls-pros {
    background: linear-gradient(180deg, #f0fdf4 0%, #ecfdf5 100%);
}
.ls-pros h3 { color: #059669; }
.ls-pros h3 i { color: #10b981; opacity: 1; }
.ls-pros ul { list-style: none; padding: 0; margin: 0; }
.ls-pros li {
    font-size: 0.85rem;
    color: #15803d;
    padding: 7px 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.5;
}
.ls-pros li i {
    color: #10b981;
    margin-top: 3px;
    flex-shrink: 0;
    font-size: 0.75rem;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #dcfce7;
    border-radius: 50%;
}

/* Nhược điểm */
.ls-cons {
    background: linear-gradient(180deg, #fef2f2 0%, #fff1f2 100%);
}
.ls-cons h3 { color: #dc2626; }
.ls-cons h3 i { color: #ef4444; opacity: 1; }
.ls-cons ul { list-style: none; padding: 0; margin: 0; }
.ls-cons li {
    font-size: 0.85rem;
    color: #991b1b;
    padding: 7px 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.5;
}
.ls-cons li i {
    color: #ef4444;
    margin-top: 3px;
    flex-shrink: 0;
    font-size: 0.7rem;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fecaca;
    border-radius: 50%;
}

/* Content Area */
.ls-content-area {
    padding: 40px 0 60px;
    background: #fafbfc;
}
.ls-main {
    max-width: 800px;
    margin: 0 auto;
}

/* TOC */
.ls-toc {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 0;
    margin-bottom: 36px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
.ls-toc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 800;
    color: #1e293b;
    padding: 18px 24px;
    background: linear-gradient(135deg, #f8fafc, #fff);
    border-bottom: 1px solid #e2e8f0;
    transition: background 0.2s;
}
.ls-toc-header:hover {
    background: #f1f5f9;
}
.toc-toggle {
    background: #f1f5f9;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s;
}
.toc-toggle:hover {
    background: #e2e8f0;
}
.ls-toc-content {
    padding: 16px 24px;
}
.ls-toc-content ol {
    list-style: decimal;
    padding-left: 20px;
    margin: 0;
}
.ls-toc-content ol li {
    margin-bottom: 6px;
    font-size: 0.9rem;
    padding: 2px 0;
}
.ls-toc-content ol li a {
    color: #475569;
    text-decoration: none;
    transition: color 0.2s;
}
.ls-toc-content ol li a:hover {
    color: #2563eb;
}
.ls-toc-content.collapsed { display: none; }

/* Article Body */
.ls-article-body {
    background: #fff;
    border-radius: 16px;
    padding: 36px 40px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    margin-bottom: 36px;
}
.ls-article-body h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0f172a;
    margin-top: 36px;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f1f5f9;
}
.ls-article-body h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1e293b;
    margin-top: 28px;
    margin-bottom: 10px;
}
.ls-article-body p {
    line-height: 1.8;
    color: #475569;
}

/* Provider Card Inline (compact) */
.ls-provider-card-inline {
    display: grid;
    grid-template-columns: 200px 1fr 200px;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    margin: 36px 0;
    background: #fff;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.ls-provider-card-inline:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}
.ls-pci-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border-right: 1px solid #f1f5f9;
    background: linear-gradient(180deg, #fafbfc, #f8fafc);
    gap: 8px;
}
.ls-pci-left img {
    max-width: 80px;
    max-height: 50px;
    object-fit: contain;
}
.ls-pci-info strong {
    display: block;
    font-size: 0.9rem;
    text-align: center;
    color: #0f172a;
}
.ls-pci-stars {
    color: #f59e0b;
    font-size: 0.75rem;
    text-align: center;
}
.ls-pci-stars span {
    color: #1e293b;
    font-weight: 800;
    margin-left: 4px;
    font-size: 0.8rem;
}
.ls-pci-mid {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
}
.ls-pci-feat {
    font-size: 0.84rem;
    color: #334155;
    line-height: 1.4;
}
.ls-pci-feat i {
    color: #10b981;
    margin-right: 6px;
    font-size: 0.75rem;
}
.ls-pci-right {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    border-left: 1px solid #f1f5f9;
    background: linear-gradient(180deg, #f0fdf4, #ecfdf5);
}
.ls-pci-amount {
    font-size: 1rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.3;
}
.btn-ls-apply {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff !important;
    padding: 10px 24px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(16,185,129,0.25);
}
.btn-ls-apply:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    box-shadow: 0 4px 14px rgba(16,185,129,0.4);
    transform: translateY(-1px);
}

/* Featured Banner Card */
.ls-featured-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    border-radius: 20px;
    padding: 36px 40px;
    margin: 36px 0;
    color: #fff;
    box-shadow: 0 8px 32px rgba(15,23,42,0.25);
    position: relative;
    overflow: hidden;
}
.ls-featured-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(16,185,129,0.1) 0%, transparent 70%);
    pointer-events: none;
}
.ls-fb-left {
    position: relative;
    z-index: 1;
}
.ls-fb-label {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #10b981;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.ls-fb-label i {
    font-size: 0.8rem;
}
.ls-fb-name {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}
.ls-fb-bonus-label {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #94a3b8;
    margin-bottom: 4px;
}
.ls-fb-amount {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: #e2e8f0;
}
.ls-fb-btns {
    display: flex;
    gap: 12px;
}
.btn-ls-green {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff !important;
    padding: 14px 30px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 4px 14px rgba(16,185,129,0.3);
}
.btn-ls-green:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    box-shadow: 0 6px 20px rgba(16,185,129,0.45);
    transform: translateY(-2px);
}
.btn-ls-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.05);
    color: #fff !important;
    padding: 14px 30px;
    border: 2px solid rgba(255,255,255,0.15);
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
    backdrop-filter: blur(4px);
}
.btn-ls-outline:hover {
    border-color: rgba(255,255,255,0.4);
    background: rgba(255,255,255,0.1);
    transform: translateY(-1px);
}
.ls-fb-right {
    position: relative;
    z-index: 1;
}
.ls-fb-logo-wrap {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.08);
}
.ls-fb-logo-wrap img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* FAQ Accordion */
.ls-faq {
    margin: 40px 0;
}
.ls-faq > h2 {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    color: #0f172a;
}
.ls-faq > h2 i {
    color: #3b82f6;
    font-size: 1.3rem;
}
.ls-faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.ls-faq-item {
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    transition: all 0.3s;
    box-shadow: 0 1px 4px rgba(0,0,0,0.02);
}
.ls-faq-item:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.ls-faq-item.open {
    border-color: #bfdbfe;
    box-shadow: 0 4px 16px rgba(59,130,246,0.08);
}
.ls-faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background: #fff;
    border: none;
    padding: 18px 24px;
    font-size: 0.95rem;
    font-weight: 700;
    color: #1e293b;
    cursor: pointer;
    text-align: left;
    transition: background 0.2s;
    gap: 16px;
}
.ls-faq-question span strong {
    color: #3b82f6;
    margin-right: 6px;
}
.ls-faq-question:hover {
    background: #f8fafc;
}
.ls-faq-question i {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: #94a3b8;
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    border-radius: 50%;
    font-size: 0.75rem;
}
.ls-faq-item.open .ls-faq-question {
    background: #f0f9ff;
}
.ls-faq-item.open .ls-faq-question i {
    transform: rotate(180deg);
    background: #dbeafe;
    color: #3b82f6;
}
.ls-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), padding 0.35s ease;
}
.ls-faq-item.open .ls-faq-answer {
    max-height: 500px;
    padding: 0 24px 20px;
}
.ls-faq-answer p {
    color: #475569;
    line-height: 1.8;
    margin: 0;
    padding-top: 8px;
    border-top: 1px solid #e2e8f0;
}

/* Reviews Section */
.ls-reviews {
    margin: 40px 0;
}
.ls-reviews > h2 {
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    color: #0f172a;
}
.ls-reviews > h2 i {
    color: #f59e0b;
    font-size: 1.3rem;
}

/* No Reviews */
.ls-no-reviews {
    text-align: center;
    padding: 48px 24px;
    background: #f8fafc;
    border-radius: 16px;
    border: 2px dashed #e2e8f0;
}
.ls-no-reviews i {
    font-size: 2.5rem;
    color: #cbd5e1;
    margin-bottom: 12px;
    display: block;
}
.ls-no-reviews p {
    color: #64748b;
    font-size: 0.95rem;
    margin: 0;
}

/* Review Summary */
.ls-review-summary {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 32px;
    margin-bottom: 32px;
    padding: 28px;
    background: #fff;
    border-radius: 16px;
    align-items: center;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.ls-review-avg {
    text-align: center;
}
.ls-avg-score {
    font-size: 3rem;
    font-weight: 900;
    color: #0f172a;
    line-height: 1;
    letter-spacing: -1px;
}
.ls-avg-stars {
    margin: 8px 0 6px;
    color: #f59e0b;
    font-size: 1rem;
}
.ls-avg-text {
    font-size: 0.82rem;
    color: #64748b;
    font-weight: 600;
}
.ls-avg-count {
    font-size: 0.75rem;
    color: #94a3b8;
    margin-top: 2px;
}

/* Rating Bars */
.ls-rating-bars {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.ls-bar-row {
    display: grid;
    grid-template-columns: 80px 1fr 42px;
    align-items: center;
    gap: 12px;
}
.ls-bar-label {
    font-size: 0.8rem;
    color: #475569;
    font-weight: 600;
}
.ls-bar-track {
    height: 12px;
    background: #f1f5f9;
    border-radius: 6px;
    overflow: hidden;
}
.ls-bar-fill {
    height: 100%;
    border-radius: 6px;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.ls-bar-pct {
    font-size: 0.8rem;
    color: #475569;
    font-weight: 700;
    text-align: right;
}

/* Individual Reviews */
.ls-review-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.ls-review-item {
    padding: 20px 0;
    border-bottom: 1px solid #f1f5f9;
}
.ls-review-item:last-child {
    border-bottom: none;
}
.ls-rev-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}
.ls-rev-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 800;
    font-size: 1rem;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}
.ls-rev-meta {
    flex: 1;
    min-width: 0;
}
.ls-rev-author {
    font-weight: 700;
    color: #0f172a;
    font-size: 0.9rem;
}
.ls-rev-date {
    color: #94a3b8;
    font-size: 0.78rem;
    margin-top: 1px;
    display: flex;
    align-items: center;
    gap: 4px;
}
.ls-rev-date i {
    font-size: 0.7rem;
}
.ls-rev-stars-wrap {
    color: #f59e0b;
    font-size: 0.85rem;
    white-space: nowrap;
    display: flex;
    gap: 1px;
}
.ls-rev-title {
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 6px;
    font-size: 0.95rem;
}
.ls-rev-content {
    color: #475569;
    font-size: 0.9rem;
    line-height: 1.7;
}

/* Review Form */
.ls-review-form {
    margin: 48px 0;
    padding: 32px 36px;
    background: #fff;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}
.ls-review-form h2 {
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
    color: #0f172a;
}
.ls-review-form h2 i {
    color: #3b82f6;
}
.ls-form-group {
    margin-bottom: 20px;
}
.ls-form-group label {
    display: block;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
    font-size: 0.9rem;
}
.ls-required {
    color: #ef4444;
}

/* Star Picker */
.ls-star-picker {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    width: fit-content;
    transition: border-color 0.2s;
}
.ls-star-picker:hover {
    border-color: #f59e0b;
}
.ls-star-picker i {
    font-size: 1.6rem;
    color: #cbd5e1;
    cursor: pointer;
    transition: all 0.15s;
}
.ls-star-picker i.fas {
    color: #f59e0b;
    filter: drop-shadow(0 1px 2px rgba(245,158,11,0.3));
}
.ls-star-picker i:hover {
    transform: scale(1.2);
}
.ls-star-text {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 600;
    margin-left: 8px;
    min-width: 90px;
}

.ls-input, .ls-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-size: 0.9rem;
    font-family: inherit;
    color: #1e293b;
    transition: all 0.2s;
    background: #fff;
    box-sizing: border-box;
}
.ls-input:focus, .ls-textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59,130,246,0.08);
}
.ls-textarea {
    resize: vertical;
    min-height: 100px;
}
.btn-ls-submit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #1e293b, #334155);
    color: #fff;
    border: none;
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(30,41,59,0.2);
}
.btn-ls-submit:hover {
    background: linear-gradient(135deg, #334155, #475569);
    box-shadow: 0 4px 14px rgba(30,41,59,0.3);
    transform: translateY(-1px);
}
.btn-ls-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Alert Messages */
.ls-alert {
    padding: 14px 20px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}
.ls-alert i {
    font-size: 1rem;
    flex-shrink: 0;
}
.ls-alert-success {
    background: linear-gradient(135deg, #ecfdf5, #dcfce7);
    color: #166534;
    border: 1px solid #a7f3d0;
}
.ls-alert-error {
    background: linear-gradient(135deg, #fef2f2, #fee2e2);
    color: #991b1b;
    border: 1px solid #fecaca;
}
.ls-alert-warning {
    background: linear-gradient(135deg, #fffbeb, #fef3c7);
    color: #92400e;
    border: 1px solid #fde68a;
}

/* === Loan Single Responsive === */
@media (max-width: 768px) {
    .ls-header { position: static; }
    .ls-header-inner { flex-direction: column; gap: 14px; text-align: center; }
    .ls-header-meta { justify-content: center; }
    .ls-title { font-size: 1.4rem; }
    .ls-hero { padding: 32px 0 24px; }
    .ls-hero-card { padding: 28px 24px 24px; border-radius: 16px; }
    .ls-amount-big { font-size: 1.4rem; }
    .ls-stars-big { font-size: 1.6rem; }
    .ls-stars-row { gap: 8px; }
    .ls-score-badge { width: 40px; height: 40px; font-size: 0.95rem; }
    .ls-info-grid { grid-template-columns: 1fr; border-radius: 12px; }
    .ls-info-col + .ls-info-col {
        border-left: none;
        border-top: 1px solid #e2e8f0;
    }
    .ls-article-body { padding: 24px 20px; border-radius: 12px; }
    .ls-provider-card-inline {
        grid-template-columns: 1fr;
        border-radius: 12px;
    }
    .ls-pci-left {
        flex-direction: row;
        border-right: none;
        border-bottom: 1px solid #f1f5f9;
    }
    .ls-pci-right {
        border-left: none;
        border-top: 1px solid #f1f5f9;
    }
    .ls-featured-banner {
        flex-direction: column;
        text-align: center;
        padding: 28px 24px;
        border-radius: 16px;
    }
    .ls-fb-name { font-size: 1.5rem; }
    .ls-fb-btns { justify-content: center; flex-wrap: wrap; }
    .ls-fb-right { margin-top: 20px; }
    .ls-fb-logo-wrap { width: 80px; height: 80px; }
    .ls-review-summary {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 24px 20px;
    }
    .ls-review-form {
        padding: 24px 20px;
        border-radius: 16px;
    }
    .ls-faq-question { padding: 14px 18px; font-size: 0.9rem; }
    .ls-rev-header { flex-wrap: wrap; }
    .ls-rev-stars-wrap { width: 100%; margin-top: 4px; }
}

@media (max-width: 480px) {
    .ls-title { font-size: 1.2rem; }
    .ls-amount-big { font-size: 1.2rem; }
    .ls-fb-name { font-size: 1.3rem; }
    .ls-fb-amount { font-size: 1.1rem; }
    .ls-fb-btns { flex-direction: column; gap: 8px; }
    .btn-ls-cta { padding: 12px 28px; }
    .ls-hero-card { padding: 24px 16px 20px; }
    .ls-star-picker i { font-size: 1.3rem; }
}
